Register EC2 instance to ECS cluster without public ip

前端 未结 7 2491
礼貌的吻别
礼貌的吻别 2021-02-14 02:30

I\'m having hard times adding instances that are created in my VPC and on a private subnet(no internet gateway attached to it) to ECS cluster.

Right now the only way I\

相关标签:
7条回答
  • 2021-02-14 03:20

    I guess I've found the answer on the AWS documentation and it seems I need to use a NAT instance/Gateway :(

    Another source and also the official documentaion

    "...Container instances need external network access to communicate with the Amazon ECS service endpoint, so if your container instances are running in a private VPC, they need a network address translation (NAT) instance to provide this access. For more information, see NAT Instances in the Amazon VPC User Guide."

    0 讨论(0)
提交回复
热议问题