Using Amazon’s elastic IPs means that when the instance is restarted the IP remaps meaning that you don’t have to change configuration.
When an EC2 instance queries the external DNS name of an Elastic IP, the EC2 DNS server returns the internal IP address of the instance to which the Elastic IP address is currently assigned.
SSH Config
Adding the instances to the ssh config means that they can then be referenced in the Ansible inventory and all authentication is handled behind the scenes.
Adding an extra volume for Centos
Centos AMI images don’t seem to preserve the volume information on startup. In addition the root volume is limited to 8GB.
I asked about this on Stack Overflow. Currently the way i’m trying to fix it is to mount a second partition to /opt and leave the root as 8GB