8000 GitHub - chfstudio/update-ec2hosts: Yet another simple python script (based on boto API) to update your /etc/hosts in EC2 Instance.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Yet another simple python script (based on boto API) to update your /etc/hosts in EC2 Instance.

Notifications You must be signed in to change notification settings

chfstudio/update-ec2hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

#Update-Hosts

Yet another python script for update internal ip address after EC2 Instance reboot/shutdown. It uses the "Name" tag into AMI to get all meta data.

##Remember Set valid and unique tag name into EC2 Management Console for every Instance.

##Install

 * * * * * /usr/local/bin/update-hosts.py > /dev/null 2>&1 
  • Set execution permission: chmod +x /usr/local/bin/update-hosts.py .
  • Check your updated /etc/hosts file .
  • Repeat for all Instances .

Copyright (c) 2012 Christian Ferranti [http://www.chfstudio.com] info@chfstudio.com

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

Yet another simple python script (based on boto API) to update your /etc/hosts in EC2 Instance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0