What the role "EC2 Instance Profile" is used for in regards to ECS?
Answer
EC2 Instance Profile used by ECS agent on an EC2 instance to:
- Make API calls to ECS Service
- Send logs to CloudWatch from the container
- Use secrets defined in SSM Parameter Store or Secrets Manager
- Pull container images from ECR (Registry)