joivo / 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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Go 95.8%Language:Makefile 2.6%Language:Dockerfile 1.6%