A visualization tool for AWS VPC Security Groups.
Add this line to your application's Gemfile:
gem 'sgviz'And then execute:
$ bundleOr install it yourself as:
$ gem install sgvizGraphviz is required to generate graphs.
$ brew install graphviz$ sgviz generate --output-path myvpc --region ap-northeast-1 --vpc-ids vpc-146fad71will generate
If you're using OSX, run sgviz open to view the graph instantly.
Run sgviz help to view more usage.
You can create example stack using bundled CloudFormation template.
$ aws cloudformation create-stack --stack-name example --template-body file:////path/to/this/repo/docs/cfn/example.jsonOr use Kumogata, powerful Ruby-CFn integration tool.
$ kumogata create docs/cfn/example.rb exampleOr use cloudformation-ruby-dsl, another powerful CloudFormation templating tool.
- Rebuild
- Bug: Problem with outbound edges (duplicate with inbound?).
- TODO: Internal IP address nodes.
- TODO: VPC Peerings.
- TODO: Add spec. (No test code now. Sorry.)
- TODO: Integrate EC2/ELB/RDS/ElastiCache/Redshift components in graph.
- etc...
- Fork it ( https://github.com/y13i/sgviz/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
