Inspired by this instagram engineering blog, I wrote a python script to printout ec2 hostname and ip-address as ssh-config or hosts file format.
In our environment, unfortunately we don't have dns for ec2 hosts, for now.
I use /etc/hosts. Some people use ssh-config file.
This script may help others who are in similar environment where using ssh-config or hosts file to manage ec2-host mapping.
No comments:
Post a Comment