The software included in the AMI uses
HTTP for communication.
We strongly encourage adding SSL termination.
This can be achieved using an external load balancer such as AWS ALB or other domain hosting services.
See DNS for more info on how to configure a custom DNS.
Configure SSL termination at the EC2 instance¶
If you need to enable SSL between the Load Balancer and the EC2 instance:
- Generate the certificates for the target DNS and move them to the EC2 instance
- Configure the DNS to point to the EC2 IP address
- Update the
/opt/jupyterhub/state/traefik.tomlfile. Uncomment the SSL lines by point them to the path of the certificates on the instance
Finally tell the JupyterHub service to use
- Create a file named:
- Restart the JuptyerHub service: