No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.js
package.json
start.js
stop.js

README.md

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}".