Lightsail Containers, SSL Certificates, and Subdomains Inquiries

0

I have two containers that I use for the backend and frontend parts of my application.

I want to assign my domain, which I purchased from another platform, to these containers, but initially, it's asking me to create an SSL/TLS certificate. Is creating this certificate a paid service, and what is the pricing for it? Can I use the SSL certificate I obtained from another platform in my container? When assigning a subdomain to a container, there is no static IP, what should I use instead?

2 Antworten
0

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

beantwortet vor 8 Monaten
  • 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?

0

Hello,

The following documentation includes steps for configuring your container service with a custom domain and SSL/TLS certificate:

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.

AWS
jscta
beantwortet vor 8 Monaten
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen