https://github.com/madetech/aws-remap-elastic-ip
Ruby script for remapping an elastic IP address on to current instance at start-time.
https://github.com/madetech/aws-remap-elastic-ip
Last synced: about 1 year ago
JSON representation
Ruby script for remapping an elastic IP address on to current instance at start-time.
- Host: GitHub
- URL: https://github.com/madetech/aws-remap-elastic-ip
- Owner: madetech
- Created: 2013-02-18T12:16:36.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-18T14:49:42.000Z (over 13 years ago)
- Last Synced: 2025-01-25T14:12:01.347Z (over 1 year ago)
- Language: Ruby
- Size: 96.7 KB
- Stars: 2
- Watchers: 48
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Elastic IP remapper
Quick-and-dirty Ruby script that remaps an elastic IP address to the EC2 instance on which it's run. Includes an upstart (for Ubuntu and friends) compatible config for launching the script at system start time.
### Usage
1. Use the [Chef installer](https://github.com/madebymade/chef-aws-remap-elastic-ip)
or..
1. Copy the repository to `/var/lib/aws/remap_ip/`
2. Copy `upstart.conf` to `/etc/init/aws_remap_ip.conf` and CHMOD to 0644
3. Edit `config.json` to reflect your environment
4. Run `gem install bundler` (if you don't already have Bundler on your system)
5. Run `bundle install` in the `/var/lib/aws/remap_ip/` directory
###License
Licensed under [New BSD License](http://opensource.org/licenses/BSD-3-Clause)