> For the complete documentation index, see [llms.txt](https://docs-jupyter.davidjachochavez.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-jupyter.davidjachochavez.org/aws-instance-launching/assigning-an-elastic-ip-address.md).

# Assigning an Elastic IP Address

In case your instance is stopped or failed, restarting or relaunching your instance will end up with a different public IP address. This becomes inconvenient if users have to change the address for accessing JupyterHub. This section will demonstrate the proper set-up for allocating a static IP address to your AWS instance. For this purpose, an [Elastic IP address](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-ip-addresses-eip.html) can be allocated to your account and asociated with an instance, so that users can always access your JupyterHub with the same IP.

![](/files/-MDGgA1Ae_DESnj7nnBc)

Navigate to the Elastic IP configuration on the AWS EC2 Console. Opt to allocate an elastic IP address from Amazon's pool of IPv4 addresses. Then, choose to associate this new address and select your instance. The Elastic IP is now your instance's public IP.
