Skip to content

SamRoweIT/automatic-aws-db-shutdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

This repository was created together with this blog post.

Prerequisites

Development / testing

Invoke lambda on local machine (needs Docker to be installed)
sam local invoke <Function to invoke>

Deployment

From local machine

Package

sam package --template-file template.yaml --s3-bucket <S3 artifacts bucket> --output-template-file outputTemplate.yaml

Deploy

sam deploy --template-file outputTemplate.yaml --stack-name <CloudFormation stack to create/update> --capabilities CAPABILITY_IAM

Automated

Automated deployment with CodePipeline (setup explained in this blog post).

Commit and push using GIT

About

Automatically shut down AWS RDS databases using AWS Lambda and AWS SAM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%