/selfless-service-updates

Automatical apply Amazon ElastiCache self-service updates.

Primary LanguagePythonMIT LicenseMIT

selfless-service-updates

Amazon ElastiCache recently added self-service updates. This revolutionary new feature allows you manually manage updates on your managed cache cluster.

Now, as much as I enjoy the job security of pressing "Apply Update" at four in the morning, I enjoy getting a good night's sleep much better. This simple Lambda function checks for any outstanding self-service updates and applies them. A CloudWatch Events scheduled expression will run this Lambda function at 10:00 UTC every Monday, but can be set to your preferred time.

Deploying

For easy deployment, check out this project on the AWS Serverless Application Repository. To customize the scheduled time, set "CronExpression" under "Application Settings" to the desired cron expression.

You can also build and deploy yourself using SAM.

sam deploy --guided