Project

sgviz

0.06
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A visualization tool for AWS VPC Security Groups.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
>= 0
~> 10.0

Runtime

 Project Readme

Sgviz

A visualization tool for AWS VPC Security Groups.

Installation

Add this line to your application's Gemfile:

gem 'sgviz'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sgviz

Graphviz is required to generate graphs.

$ brew install graphviz

Usage

$ sgviz generate --output-path myvpc --region ap-northeast-1 --vpc-ids vpc-146fad71

will generate

myvpc

If you're using OSX, run sgviz open to view the graph instantly.

Run sgviz help to view more usage.

CloudFormation Template

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.json

Or use Kumogata, powerful Ruby-CFn integration tool.

$ kumogata create docs/cfn/example.rb example

Or use cloudformation-ruby-dsl, another powerful CloudFormation templating tool.

TODO, Known Bugs

  • 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...

Contributing

  1. Fork it ( https://github.com/y13i/sgviz/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request