Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

y13i/sgviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Visualize AWS VPC security groups.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages