Jupyter Hub - AWS
  • Overview
  • Pre-requisites
  • Disclaimer
  • AWS: Instance Launching
    • Overview
    • Customizing an Instance
    • Assigning an Elastic IP Address
    • Connecting to Your Cloud
    • Ubuntu: Server Update and Add Users
  • Anaconda
    • Overview
    • Anaconda Installation
    • JupyterHub Installation and Configuration
  • R
    • R Installation
    • Update and Install IR Kernel
  • Stata
    • Overview
    • Stata Installation
    • Stata Kernel for Jupyter
  • (Optional) GitHub Extension and Packages
    • GitHub Extension
    • nbgrader
  • (Optional) Add a Custom Domain
    • Overview
    • Adding a Subdomain
  • (Optional) GitHub Authentication
    • Overview
    • Generate Cookie Secret
    • Secure Your Lab
    • Add GitHub Authentication
Powered by GitBook
On this page
  1. AWS: Instance Launching

Assigning an Elastic IP Address

PreviousCustomizing an InstanceNextConnecting to Your Cloud

Last updated 4 years ago

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 can be allocated to your account and asociated with an instance, so that users can always access your JupyterHub with the same IP.

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.

Elastic IP address