Qaisar explains the uses
of Elastic IP addresses

Adobe Flash Player or a modern browser is required to view videos on this site.

Qaisar

I want to have a public IP address for my EC2 instance that will persist even if my instance is stopped and restarted. How do I do that?

An Elastic IP address is a static AWS IP address that you can reserve for your use with EC2 instances, until you choose to release it. To allocate an Elastic IP address to your account, see Allocating an Elastic IP Address.

When you associate an Elastic IP address with an EC2 instance, it replaces the public IP address and the external hostname of the instance with that of the Elastic IP address. The publicly-accessible IP address remains in place through events that would normally cause the address to change, such as stopping and restarting the instance.

Note: This description applies to most AWS accounts, which are EC2-VPC by default. If your account is EC2-Classic, see Elastic IP Address Differences for EC2-Classic and EC2-VPC.

EIP, public IP, static, stop, start, instance


Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-08-25