/aws-turn-off-my-account

:package: :rocket: :package: Lambda stack to turn off and destroy all resources from your personal AWS Account to avoid billing surprises

Primary LanguageGoMIT LicenseMIT

AWS, Turn off my Account, please

Lambda stack to turn off and destroy all resources from your personal AWS Account to avoid billing surprises

Billing Modaf&*@&#

Resources Roadmap

  • EC2 ✅
  • EBS and Snapshots ✅
  • ALB, ELB, NLB ✅
  • RDS Instances and Clusters ✅
  • Elasticache Clusters and Replication Groups ✅
  • Elastic IP's
  • DocumentDB
  • NAT Gateways

Installation

Using Serverless Framework

  • Clone this repo
cd $GOPATH/src
git clone https://github.com/msfidelis/aws-turn-off-my-account.git
cd aws-turn-off-my-account
  • Edit your preferences in configs/prod.yml and customize your cron rate on serverless.yml

  • Deploy

make deploy 

Using console

Guenta ae

TODO

  • Release ZIP

  • Console setup

  • Cloudformation Setup

  • Tests

  • IAM Closed permissions

  • Logs