To do this we first start in Elastic IP’s in the AWS EC2 Dashboard, Then go and allocate a new address.
Now once it’s given me an IP address I can then go and Associate address.
I then choose my Webserver.
Now I have the IP address linked to my Webserver I should be able to use that IP address to link me to my Webserver.
So now that’s working I need to go back to Elastic IPs in the EC2 Menu and associate the IP address to my alternative Webserver.
Note I have ticked reassociation since this IP is already associated with my master webserver.
This show’s how easy it is to quickly change IP addresses without any downtime.