Fredolini
Fredolini

Reputation: 13

Does the container instance need to have a outbound https rule and either route table with IG or NAT?

For a EC2 instance to register with a AWS ECS Cluster does it need to belong to a security group with a outbound rule on at least HTTPS and be able to connect outside the vpc? (also having the ecsinstancerole AIM role)

Upvotes: 0

Views: 316

Answers (1)

Samuel Karp
Samuel Karp

Reputation: 4682

For an EC2 instance to be managed by ECS, the ECS Agent on the instance must be able to talk to the ECS service endpoints. This means that either it needs to be in a VPC with internet access (via either an internet gateway or NAT, with appropriate security group outbound rules) or be configured to use an HTTP proxy.

Upvotes: 1

Related Questions