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.
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.
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.