- 最新
- 最多得票
- 最多評論
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
相關內容
- AWS 官方已更新 2 年前