Skip to content

Lambda Code to Stop RDS Cluster having specific tag attached.

Notifications You must be signed in to change notification settings

yash-sonani/LambdaCodeToStopRDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

LambdaCodeToStopRDS

This Lambda Code Stop Running RDS Cluster which have specific Tag using boto3 library.

Steps to create Schedule to stop RDS Cluster in AWS

  1. Create Lambda as per lambda_function.py code(Python 3.7)

  2. Schedule CloudWatch Trigger in Lambda with Schedule expression: cron(01 15 * * ? *) . This will trigger lambda function every day on 9:01 PM

  3. Add Tag(Mention in cunstom_filter) in RDS Cluster so that code identify the same.

About

Lambda Code to Stop RDS Cluster having specific tag attached.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages