Allocation of Elastic IP address
As stated above, it is required to allocate the Elastic IP before using it. Please follow the below-demonstrated steps to allocate an elastic IP address:
Step 1: Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
Step 2: In the navigation pane, choose Network & Security, Elastic IPs.
Step 3: Choose “Allocate Elastic IP Address” option.
Step 4: Fill details requested on Allocate Elastic IP address page like, Network group, Public IPv4 address pool, Tag etc.
Step 5: Choose Allocate. You will receive message saying “Elastic IP address allocated successfully” with IP address.
Now you can use this elastic Ip and can associate it to your resources.
How To Associate Elastic IP Addresses With Resources In Your VPC ?
It is a public IPv4 address that may be accessed over the internet. One can assign an elastic IP address to the instance to facilitate internet connectivity if it doesn’t have a public IPv4 address.
In other words, a static IPv4 address intended for dynamic cloud computing is called an elastic IP address. The AWS account is assigned an elastic IP address, which is owned by the account until one releases it. One can quickly remap an Elastic IP address to another instance in the account to hide the failure of the software or instance.