AWS RDS Instance Scheduler

Schedule AWS instances to save money.

A while ago I decided to try and cut costs on my AWS services. This eventually lead to decoupling the Db instance for each Elastic Beanstalk application, creating a single RDS instance with individual application Dbs on it, and scheduling the on time for the instance.

Instance scheduler

It turns out for tg4a nano EC2 instances, it's cheaper to keep them running constantly, rather than turn them off at night. So, for now I've only applied the instance scheduler to the RDS instance, where it does save money by deactivating at night (or what ever custom hours I choose).

Essentially I followed the steps in the top video link below, using CloudFormation to create a stack which sets up the instance scheduler.

Key note

To get to config table to customise the active hours:

DynamoDb -> Tables -> Explore items -> ConfigTable

Links



Created: 23-Apr-2023


Login to add comments