Use a custom domain
- Register your domain with Route 53.
- Point the domain to the loadbalancer DNS.
Custom domain for your Streamlit App
Create a record in the Route53 console to pointapp.[YOUR_DOMAIN]
to the Streamlit App.

Note the
http
in the domain name.Custom domain for your FastApi App
Create a record in the Route53 console to pointapi.[YOUR_DOMAIN]
to the FastApi App.

Note the
http
in the domain name.Add HTTPS
To add HTTPS:- Create a certificate using AWS ACM. Request a certificat for
*.[YOUR_DOMAIN]

- Creating records in Route 53.

- Add the certificate ARN to Apps
Make sure the certificate is
Issued
before adding it to your Appsllm-app/workspace/prd_resources.py
file and add the load_balancer_certificate_arn
to the FastApi
and Streamlit
Apps.
workspace/prd_resources.py
- Create new Loadbalancer Listeners
The certificate should be
Issued
before applying it.https
should be working on your custom domain.
- Update existing listeners to redirect HTTP to HTTPS