AWS Instance Scheduler alternatives: Resource Scheduler, Lambda, Cloud Custodian and CostCapper
There are at least five ways to switch idle EC2 and RDS off outside working hours. Most are free or nearly free to run. The real differences are who sets them up, who keeps them working, and what happens when someone needs a machine outside the schedule.
I build CostCapper, one of the options below, so weigh this accordingly. I've tried to be fair: for many teams a free option is the right answer.
The options at a glance
| Feature | AWS Instance Scheduler | SSM Resource Scheduler | Your own Lambda | Cloud Custodian | CostCapper |
|---|---|---|---|---|---|
| What it is | AWS Solution, deployed with CloudFormation | Systems Manager Quick Setup configuration | Code you write and own | Open-source policy engine | Appliance in your AWS account |
| Software cost | Free; you pay for the AWS resources it runs on | Free; you pay for resources it uses | Free; small Lambda cost | Free; you run it | Free up to 3 machines, then from $3 per machine per month |
| EC2 | Yes | Yes | Yes | Yes | Yes |
| RDS and Aurora | Yes | No | If you write it | Not in its off-hours examples | Yes |
| Set up with | Tags plus schedules in its configuration | Tags plus a schedule in the console | IAM, code, schedules | YAML policies and a runner | A setup page: tick machines, pick hours |
| Someone needs a machine at 9 p.m. | Start it in the console; it isn't stopped again until you enforce the schedule | Start it in the console | Whatever you build | Start it in the console | Press Turn on, pick how long; it stops when the time is up |
| Who can turn machines on | People with AWS access | People with AWS access | People with AWS access | People with AWS access | Anyone you allow, with your Google, Microsoft or OIDC sign-in |
| Shows savings | No | No | No | No | Yes |
| Who maintains it | You, with AWS updates | AWS | You | You | Us; you install updates |
AWS Instance Scheduler
A free AWS Solution that you deploy with CloudFormation. You define schedules, then tag instances and databases with a schedule name (the default tag key is Schedule). It runs on Lambda and DynamoDB in your account, and it covers EC2 and RDS across accounts and regions.
Good for: a team with someone comfortable in CloudFormation who wants fixed hours on many machines for free.
Watch for: if someone starts an instance outside its running period, Instance Scheduler leaves it running unless you've set the schedule to be enforced. Out-of-hours use tends to run all night.
Systems Manager Resource Scheduler
A Quick Setup configuration in Systems Manager. You pick a tag key and value and a schedule, and it starts and stops matching EC2 instances, including across an AWS Organization. AWS maintains it.
Good for: the simplest free route for EC2 on fixed hours.
Watch for: it covers EC2 only, so databases need something else. For instances with encrypted volumes, you must add KMS key permissions to its role yourself.
Your own Lambda and EventBridge Scheduler
An afternoon's work for fixed hours, and fully under your control. We've written a step-by-step guide.
Good for: unusual logic, or teams that would rather own 50 lines of Python than adopt a tool.
Watch for: failure alarms, KMS permissions, tag drift, RDS's seven-day restart and out-of-hours requests all become yours. It's also one person's code when they leave.
Cloud Custodian
An open-source rules engine for cloud resources. Its off-hours and on-hours filters stop and start EC2 instances, and suspend and resume Auto Scaling groups, based on a tag, alongside many other policies.
Good for: teams that already use Custodian for governance.
Watch for: it's a lot of machinery to adopt for scheduling alone, and you run and update it.
CostCapper
A small server you launch in your own AWS account; it will be listed on AWS Marketplace at launch, and early access is open now. It runs working-hours schedules like the others. It also lets anyone you allow turn a machine on for a set time, from a phone, without AWS access, and it stops the machine when everyone's time is up. It handles RDS's seven-day restart, retries and reports failed starts, and shows what you saved. Its IAM role can only describe, start and stop machines.
Good for: small teams where people need machines at irregular hours, and nobody wants to maintain a scheduler.
Watch for: it's paid above 3 machines, and it's a new product. For a few small instances, the free options above may save as much.
Short version: fixed hours, EC2 only, use Resource Scheduler. Fixed hours including RDS, with a DevOps person, use Instance Scheduler. Unusual logic, write your own. People need machines outside fixed hours and you don't want to maintain anything, that's what CostCapper is for.