Custom Domain¶
By default JupyterHub will be available at the public IP address of the instance.
You can easily set a a custom domain, e.g. jupyterhub.domain.com
,
that the Load Balancer and JupyterHub will use.
- Optional but recommended: Configure a Elastic IP address to the EC2 instance
- Add a DNS
A record
to the domain pointing to the Elastic IP Address - On the EC2 instance create a
/opt/jupyterhub/config/jupyterhub_dns
file and write the hostname
- Execute the
/usr/local/bin/jupyterhub-boot.sh
script.
Now you should be able to access http://jupyterhub.domain.com
and login as usual.
You can also configure HTTPS.