aws

Configure a static IP address

AWS instances are launched with a dynamic IP address by default, which means that the IP address changes every time the server is stopped and restarted. In many cases, this is not desired and so, users also have the option to assign the server a static IP address (also known as an “elastic IP”).

NOTE: For servers launched through the Bitnami Launchpad for AWS Cloud, select the cloud server you wish to modify in the Bitnami Launchpad and click the “Manage in the AWS Cloud Console” button to access the AWS EC2 dashboard.

To configure a static IP address:

  • Log in to the AWS EC2 Dashboard.

  • Select the instance in the dashboard.

  • In the left navigation bar, select the “Network & Security -> Elastic IPs” menu item.

  • Click the “Allocate New Address” button.

    AWS IP address configuration

  • Click “Allocate” in the next screen.

    AWS IP address configuration

    A new static IP address will be generated and will appear in the list of available IP addresses.

    AWS IP address configuration

Next:

  • From the “Actions” drop-down menu, select the “Associate Address” menu item.

    AWS IP address configuration

  • In the resulting dialog box, enter the instance ID of your server and click the “Associate” button.

    AWS IP address configuration

The elastic IP address will now be assigned to your server and will persist across shutdown/reboot operations.