Is there a way to schedule the reboot of an RDS instance to a certain time?
I know how to manually reboot it but I didn't see any UI or documentation on how to trigger a reboot at, for example, two minutes to midnight.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Here's one way:
Use a combination of AWS services and a bit of scripting or coding. First, notice that you can reboot an instance using the CLI or an SDK like boto. You can also schedule a lambda function to occur with Cloudwatch Event Rules. So you could write a lambda to reboot the instance and schedule it to happen at a given time using CloudWatch.