- 最新
- 最多得票
- 最多評論
Our problem is that the application running on the EC2 instance needs to use port 80 and 443. This needs to be a 1-on-1 connection with the ELB. We tried a redirect on the ELB, but that doesn't work. We don't see an option in the console (when creating the service) to add a 2nd target group. Do you know if this option exists?
Yes as per my answer. This is possible but not via the GUI. You have to do it via CLI or a deployment. Please see URL in answer.
Im not sure why you need a 2nd target? however yes, this is possible.
You can register the ECS Service to a 2nd Target group so you do not manually have to add or remove targets. You can’t do this via the GUI however.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html
相關內容
- AWS 官方已更新 2 年前
Can you confirm why you need a 2nd listner?