Modify or Scale any AWS resource using schduled lambda function. This template shows schedule based vertical scaling of AWS Elasticache (redis) cluster. Here eventbridge schedule used as lambda trigger. If error occurred email is dispatched via SNS.
- Lambda
- Elasticache
- Eventbridge
- SNS
- Serverless framework
- Create config file using sample config template.
cp config.sample.yml config.yml
- Fill the relevant values in config yml file.
- AWS Profile
- redis Cluster
- Scale up & down cron time
- deploy using serverless.
sls deploy