- This is a very early version
- Only AWS discovery
- No resources cleanup, just reporting
- Copy and modify the example configuration file
cp garbo.cfg.example garbo.cfg.example
vim garbo.cfg
- Create a Core Resources file, eg.
--- # My applications
Backend:
- "AWS://AutoScalingGroup/us-east-1/Backend-ASG"
QA:
- "AWS://Instance/us-east-1/i-abc12345" # Mock server
- Find unused resources
python garbo.py -d -g -a /path/to/core_resources.yml
# And start a simple web server to view the resulted d3js graph (assuming Python 2.7)
python -m SimpleHTTPServer 8000
- Browse to: http://localhost:8000/d3js/index.html
usage: garbo.py [-h] [--applications APPLICATIONS] [--discovery] [--gen-d3js]
optional arguments:
-h, --help show this help message and exit
--applications APPLICATIONS, -a APPLICATIONS
YAML file containing Core Resources per application
--discovery, -d Perform a discovery (don't use stored graph).
default: False
--gen-d3js, -g Generate a json file for D3JS Directed Force Graph.
default: False