전체 글 80

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

Control Tower Troubleshooting

1. Control Tower를 Decommission한 후에 다시 생성하려 할 때, 아래와 같은 에러가 발생하며 Control Tower가 생성이 불가하다 AWS Control Tower failed to set up your landing zone completely: User: arn:aws:sts::123412341234:assumed-role/AWSControlTowerAdmin/AssumeAdminRole is not authorized to perform: organizations:DescribeAccount on resource: arn:aws:organizations::123412341234:account/o-abcdefgh/123412341234 because no identity-ba..

Cloud Architecture 2022.11.11

Service Mesh

데이터 공유 제어 방법 Application에 구축된 전용 인프라 계층 service간 통신을 추상화하여 안전하고, 빠르고, 신뢰할 수 있게 만ema 추상화를 통해 복잡한 내부 네트워크 제어 및 추적 내부 네트워크 관련 로직 추가함으로써 안정성, 신뢰성, 탄력성, 표준화, 가시성, 보안성 확보 L7 network layer Service Mesh의 기능 Service Discovery Load Balancing Dynamic Request Routing Circuit Breaking Retry and Timeout TLS Distributed Tracing metrics 수집 Sidecar Pattern 기본 App 외 추가 기능을 별도의 App으로 구현하고 이를 동일한 파드 내에 배치 기본 App 로직..

Cloud Architecture 2022.06.17