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:
- Log into your AWS Management Console at https://aws.amazon.com/console.
- Under Compute, clickEC2.
- Under the Network and Security section, clickElastic IPs.
- ClickAllocate New Address.
- Confirm that you are allocating a new address and then clickClose.
- Select the newly created Elastic IP address.
- Under Actions, selectAssociate Address.
- ClickAssociateto confirm that you are releasing your current public IP address.
- Select the instance you launched and then clickAssociate.