Clean your account AWS
Project description
[![Build Status](https://travis-ci.org/ismFerDev/Wall-e.svg?branch=master)](https://travis-ci.org/ismFerDev/Wall-e) # Wall-e(In progress) ![Alt text](walle.jpg?raw=true “WALL-E”)
Tool for clean AWS objects… ## Install ` pip install wall-e ` ` pip install git+https://git@github.com/ismFerDev/Wall-e.git `
## How it works: You must have in your aws credentials your api keys like:
` cat ~/credentials [account aws-name] aws_access_key_id = AKIA**************** aws_secret_access_key = **************************************** `
### Enter into src directory ` cd Wall-e/src/ `
### Cleaning CloudFormations: ` wall-e -a your-aws-name -r cloudformation -d dust/cloudformation_dust `
This command will clean all cloudformations if there are not in “dust/cloudformation_dust”
### Cleaning LaunchConfigurations: if you launch:
` python wall-e.py -r autoscaling -a your-aws-name ` This command clean all your launchConfigurations.
### Cleaning your instances: You must have tagged your instance with tag:Name.
and Run:
` python cli.py -r ec2 -t tag_name1 tag_name2 tag_name3 -a aws_account `
You will delete all instance not tagged with tag_name1 tag_name2 tag_name3
### Cleaning your snapshots: You must specify how many days you want to retain.
and Run:
` python wall-e.py -r snapshot -D days -a aws_account `
You will delete all snapshots older than days You will delete all instance not tagged with tag_name1 tag_name2 tag_name3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wall-e-1.0.1.tar.gz
.
File metadata
- Download URL: wall-e-1.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0ad2bf444a94ceedcd829f9f35c9d3e347af64a892eef423e1796fdc77fcfd |
|
MD5 | af56412ee81346b64583adf429be4612 |
|
BLAKE2b-256 | c6a38d652e65503d435989791f11fc635dd2cb436f39baf673a98a4eab99d151 |