
Assign an Elastic IP to EC2 instance
Background: Amazon EC2 instance assigned with a public and private ip address. The public ip address changes when the instance stopped and started again but not when the instance restarted. Due to this nature service is prone to interruption if the instance stopped for maintenance and started again. Workaround: Amazon offers the Elastic IP for…