How to Use a Static IP Address (AMI)

By default, your AWS instance is provided with a public IP address. You can allocate a static IP address, which allows you to keep the same IP address when the machine fails or requires a reboot. The static IP address is called an Elastic IP address. If you associate an Elastic IP address with your instance, your current public IP address is released.
gateway90
By default, your AWS instance is provided with a public IP address. You can allocate a static IP address, which allows you to keep the same IP address when the machine fails or requires a reboot. The static IP address is called an Elastic IP address. If you associate an Elastic IP address with your instance, your current public IP address is released.
To allocate a static IP address:
  1. Log into your AWS Management Console at https://aws.amazon.com/console
  2. Under Compute, click
    EC2
    .
  3. Under the Network and Security section, click
    Elastic IPs
    .
  4. Click 
    Allocate New Address
    .
    • Confirm that you are allocating a new address and then click
      Close
      .
  5. Select the newly created Elastic IP address.
    1. Under Actions, select
      Associate Address
    2. Click
      Associate
      to confirm that you are releasing your current public IP address.
  6. Select the instance you launched and then click
    Associate
    .