- Newest
- Most votes
- Most comments
By "8080:443", I'm assuming you want the LB to listen on port 433 and forward traffic to containers running on 8080. In which case you need to do the following:
-
Create and configure a target group that is configured for port 8080.
-
Create and configure your load balancer to listen on port 443 (including specifying the SSL cert to use) and forward traffic to target group created in step1
-
When configuring the ECS service and specifically "Container to load balance" step, Select Add to Load balancer.
Select production listener port as 443:HTTPS and for target group name you can select the TG you created.
Some reference documents:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-application-load-balancer.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-service-console-v2.html
--Syd
Relevant content
- asked 4 months ago
- Accepted Answerasked 4 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago