Hey everyone! I'm looking for an easy way to automatically stop my EC2 instances at night and start them back up in the morning without having to do it manually. These instances are just for development purposes, so keeping them running all day isn't necessary and it's getting pretty expensive. I checked out the AWS scheduler feature, but it seems more complicated than I need. I'm hoping for something straightforward and maybe visually appealing too. If anyone has experience with this or knows of simpler solutions—bonus points if it can work with other cloud services—I'd really appreciate your tips! Thanks!
3 Answers
You can also use EventBridge to create a cron job that triggers a Lambda function to stop and start your instances based on tags. It's super easy once you set it up.
Check out Resource Scheduler. You can tag your EC2 instances and then schedule them to stop/start based on those tags. It’s pretty handy! Here’s the docs for a quick setup: https://docs.aws.amazon.com/systems-manager/latest/userguide/quick-setup-scheduler.html.
I recommend trying Server Scheduler. It’s lightweight and manages stopping, starting, and even scaling your instances without much hassle. It’s way easier than using the full AWS Instance Scheduler. If you're still interested in AWS tools, setting up a Lambda function with EventBridge to manage your instances is a straightforward option. It should take about 15 minutes to set up, and after that, you can forget about it! Simple and efficient.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures