Project
Reverse Dependencies for aws-sdk
The projects listed here declare aws-sdk as a runtime or development dependency
0.0
# holepunch
[![Gem Version](https://badge.fury.io/rb/holepunch.svg)](http://badge.fury.io/rb/holepunch)
[![Build Status](https://travis-ci.org/undeadlabs/holepunch.svg?branch=master)](https://travis-ci.org/undeadlabs/holepunch)
Holepunch manages AWS EC2 security groups in a declarative way through a DSL.
## Requirements
- Ruby 1.9.3 or newer.
## Installation
```bash
gem install holepunch
```
or in your Gemfile
```ruby
gem 'holepunch'
```
## Basic Configuration
You need to provide your AWS security credentials and a region. These can be
provided via the command-line options, or you can use the standard AWS
environment variables:
```bash
export AWS_ACCESS_KEY_ID='...'
export AWS_SECRET_ACCESS_KEY='...'
export AWS_REGION='us-west-2'
```
## The SecurityGroups file
Specify your security groups in a `SecurityGroups` file in your project's root.
Declare security groups that you need and the ingresses you want to expose. You
can add ingresses using `tcp`, `udp`, and `ping`. For each ingress you can list
allowed hosts using group names or CIDR notation.
```ruby
group 'web' do
desc 'Web servers'
tcp 80
end
group 'db' do
desc 'database servers'
tcp 5432, 'web'
end
group 'log' do
desc 'log server'
tcp 9999, 'web', 'db', '10.1.0.0/16'
end
```
An environment can be specified which is available through the `env` variable.
This allows you to have custom security groups per server environment.
```ruby
group "#{env}-web"
group "#{env}-db" do
tcp 5432, "#{env}-web"
end
```
Your application may depend on security groups defined by other services. Ensure
they exist using the `depends` method.
```ruby
depends 'my-other-service'
group 'my-service' do
udp 9999, 'my-other-service'
end
```
You may specify port ranges for `tcp` and `udp` using the range operator.
```ruby
group 'my-service' do
udp 5000..9999, '0.0.0.0/0'
end
```
You can specify ping/icmp rules with `icmp` (alias: `ping`).
```ruby
group 'my-service' do
ping '10.0.0.0/16'
end
```
It can be useful to describe groups of security groups you plan to launch
instances with by using the `service` declaration.
```ruby
service "#{env}-web" do
groups %W(
admin
#{env}-log-producer
#{env}-web
)
end
```
## Usage
Simply navigate to the directory containing your `SecurityGroups` file and run `holepunch`.
```
$ holepunch
```
If you need to specify an environment:
```
$ holepunch -e live
```
You can get a list of security groups for a service using the `service` subcommand.
```
$ holepunch service -e prod prod-web
admin,prod-log-producer,prod-web
```
You can also get a list of all defined services.
```
$ holepunch service --list
```
## Testing
You can run the unit tests by simply running rspec.
```
$ rspec
```
By default the integration tests with EC2 are not run. You may run them with:
```
$ rspec -t integration
```
## Authors
- Ben Scott (gamepoet@gmail.com)
- Pat Wyatt (pat@codeofhonor.com)
## License
Copyright 2014 Undead Labs, LLC.
Licensed under the MIT License: http://opensource.org/licenses/MIT
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Icinga/nagios plugin to check the status of an Amazon SQS queue
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Configurable S3 or file system image storage and processing HTTP API server. It is using HTTP Thumbnailer as image processing backend.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Open-ended information sharing framework
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
API Client for Quiet Logistics Services
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Hide your secrets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Simple utilities for cycling files through the cloud.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
A tool for managing the launch of complex CloudFormation stacks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Decenterized file storage
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Ruby Image Cropping and Caching Library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
A client for ImageFu
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Manage your AWS infrastructure a certain kid of way.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
Simple way to ls / ssh into vpns
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Start your EC2 instance in an instant.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Synchronizes data and configurations between development machines and My1HR's proprietary insurance exchange platform
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
The Intellisense API for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
This utility is focused primarily on apps that have been archived using RubyMotion.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity
0.0
models, specs of models, and assets for microsites_cluster
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Customized version of Itamae and Itamae plugin. configuration management tool like chef. Deploy without the agent. It can be deployed using the AWS Resources.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
0.0
Itamae plugin for control AWS resources
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity