- Newest
- Most votes
- Most comments
What you need is a Load Balancer. On the Domain hosted outside your AWS environment, you can configure a DNS records to point to the Load Balancer. Traffic will be like: (Domain) -> (Load Balancer) -> (Lightsail Containers)
You can also explore AWS Certificate manager (ACM). ACM is a service that can help you create SSL certificates for free. You can install a certificate created using ACM on your load balancer on your port listener.
Here are some useful articles to get you started: https://repost.aws/knowledge-center/lightsail-add-application-load-balancer https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-update-certificates.html
Hello,
The following documentation includes steps for configuring your container service with a custom domain and SSL/TLS certificate:
- Enabling and managing custom domains for your Amazon Lightsail container services
- Creating SSL/TLS certificates for your Amazon Lightsail container services
- SSL/TLS certificates in Lightsail
Here is one callout from the documentation about the pre-requisites for configuring a custom domain for your container service:
If you have no certificates, then you must first create and validate an SSL/TLS certificate for your domains, before you can attach it to your container service.
To use a custom domain with your Lightsail container service, the certificate for the domain must be managed in Lightsail.
I created and used TSL/SSL before creating a custom domain for the container, but I could not find information about its pricing. Is it free to do this?
Relevant content
- Accepted Answerasked 2 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 6 months ago
I transferred my domain to AWS from the Domains & DNS section in AWS LightSail. Why should I use Loadbalancer? After that, can't I use the domain I transferred from the custom domain tab in the containers section? And is the SSL definition in this custom domain tab free?