1 Answer
- Newest
- Most votes
- Most comments
2
Sounds like your EC2 instances can’t register. Your EC2 instances will need access to the ECS endpoint. Either use a VPC end point or ensure they can connect to the internet.
Also you need to ensure your EC2s also have the correct iam role and policies attached.
Could you share this information about your network setup and iam role?
Relevant content
- asked 8 months ago
- asked 2 years ago
- asked 2 years ago

Thank you for replying. For my VPC I have one IPv4 CIDR. Two subnets (a private and a public one). Route table with a destination /0 and targeted on my Internet gateway. As for the IAM role I did create a role with the following permissions:
But I am not quite sure where to attach it when I'm creating my ECS cluster. Sorry if I left anything out. Other then that I normally create a cluster and then a task definition.