AWS/ECS 7

ECS Security

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..

AWS/ECS 2023.09.25

VPC Lattice

VPC Lattice 는 Service Mesh 가 아니다. VPC 와 account 간 간단한 연결과 안전성 제공 Istio나 Ambient mesh 처럼 Sidecar proxy 나 eBPF 형식의 agent 가 필요하지 않다. EC2, EKS, ECS, serverless 호환 가능 Traffic & access control Features Service Discovery 같은 service network 안에서 서비스들이 통신 가능. DNS 가 client-to-service나 service-to-service traffic을 route함. Route 53 Resolver가 VPC Lattice에 traffic 전송하고, destination service 파악 Connectivity Clien..

AWS/ECS 2023.09.22