Shard Responsibility Model AWS는 Cloud'의' 보안에 책임이 있고, 사용자는 Cloud'안의' 보안에 책임이 있다. ECS Task IAM role IAM Role을 task 에 할당할 때, trust policy의 service에 "ecs-tasks.amazonaws.com" 설정해서 각 task가 EC2의 IAM role을 상속받지 않게 하라 When you add a task role to a task definition, the Amazon ECS container agent automatically creates a token with a unique credential ID This token and the role credentials are then added t..