Skip to content

perevernihata/rds-lambda-stop-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is AWS Lambda function which can start and stop AWS RDS instances.

You an configure Cloudwatch rule to emit event which stops multiple instaces by theirs ids. Example of start event:

{
  "instances": ["test-instance-id-1", "test-instance-id-2"],
  "action": "start"
}

Example of stop event:

{
  "instances": ["test-instance-id-1", "test-instance-id-2"],
  "action": "stop"
}

Stopping instance will create RDS snapshot with name in format: "{instanceId}-{day}-{month}-{year}-{ticks}".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published