배치 그룹
인스턴스의 물리 배치를 제어해 지연시간 또는 내결함성을 확보
이게 뭔가요? / What is this?
배치 그룹은 새로운 자원이 아니라, 이미 만든 EC2 인스턴스들을 물리적으로 어떻게 나란히 놓을지 지정하는 설정값입니다. 눈에 보이지는 않지만 실제 데이터센터 안의 랙·전원·네트워크 배치에 직접 영향을 주는, 좌석 배치도를 미리 지정해두는 것과 같은 개념입니다.
개요 / Overview
배치 그룹은 EC2 인스턴스를 물리적으로 어떻게 놓을지 지정합니다. 목적이 최저 지연시간인지, 동시 장애 회피인지에 따라 세 종류 중 하나를 고르는 단순한 문제로 출제됩니다.
동작 원리 / How it works
배치 그룹은 EC2 배치기(placement engine)에 제약을 주는 힌트입니다. Cluster는 같은 랙 근처에 몰아 넣어 홉 수를 줄이고, Spread는 서로 다른 랙(별도 전원·네트워크)에 강제로 흩뿌리고, Partition은 인스턴스를 논리 파티션으로 나눠 파티션끼리 하드웨어를 공유하지 않게 합니다. 세 방식은 목적이 배타적이므로 하나만 고르게 됩니다.
시험은 무엇을 보는가 / What the exam is testing
시험은 배치 그룹으로 "지연시간과 내결함성은 상충한다"는 것을 이해하는지 봅니다. 몰아 넣으면 빠르지만 같이 죽고, 흩뿌리면 견고하지만 노드 간 통신이 느려집니다. 문제가 어느 쪽을 원하는지만 정확히 읽으면 됩니다.
시험 포인트 / Exam points
단일 AZ 안에 인스턴스를 밀집시켜 노드 간 지연을 최소화하고 최대 100Gbps 대역폭을 얻습니다. HPC, 머신러닝 학습, 대규모 데이터 셔플에 씁니다. 대신 AZ 하나가 죽으면 전부 죽습니다.
인스턴스마다 별도 랙(전원·네트워크 분리)에 배치해 하드웨어 장애가 겹치지 않게 합니다. AZ당 최대 7개 인스턴스 제한이 있어 소수의 중요 인스턴스에 씁니다.
인스턴스를 파티션 그룹으로 나누고 파티션끼리 하드웨어를 공유하지 않게 합니다. HDFS, HBase, Cassandra처럼 복제본을 파티션에 나눠 두는 시스템에 맞습니다.
자주 틀리는 함정 / Common traps
고가용성을 요구하는데 Cluster를 고르는 것 — 단일 AZ에 밀집되므로 AZ 장애에 전멸합니다.
Spread로 대규모 클러스터를 구성하려는 것 — AZ당 7개 인스턴스 제한이 있어 수십 대 규모에는 쓸 수 없습니다.
Placement Groups
Controls physical placement for latency or fault isolation
이게 뭔가요? / What is this?
A placement group is not a new resource — it is a setting that dictates how already-created EC2 instances are physically arranged relative to each other. It cannot be seen directly, but it really does control rack, power, and network placement in the data center, much like reserving a specific seating chart in advance.
개요 / Overview
Placement groups control how instances sit on physical hardware. Questions reduce to picking one of three based on whether the goal is lowest latency or avoiding correlated failure.
동작 원리 / How it works
A placement group constrains the EC2 placement engine. Cluster packs instances near the same rack to cut hops; Spread forces them onto distinct racks with separate power and network; Partition divides instances into logical partitions that share no hardware. The three purposes are mutually exclusive, so exactly one is correct.
시험은 무엇을 보는가 / What the exam is testing
Placement groups test whether you understand that latency and fault isolation trade off. Packing is fast but fails together; spreading is resilient but slower between nodes. You only need to read which side the question wants.
시험 포인트 / Exam points
Packs instances in one AZ for minimal inter-node latency and up to 100 Gbps. Used for HPC, ML training, and heavy shuffles — but an AZ failure takes everything down.
Places each instance on distinct racks with separate power and network, limited to seven per AZ — for a small number of critical instances.
Groups instances into partitions that share no hardware, matching systems like HDFS, HBase, and Cassandra that place replicas per partition.
자주 틀리는 함정 / Common traps
Choosing Cluster when high availability is required — packed into one AZ, it dies together with that AZ.
Trying to build a large cluster with Spread — the seven-instances-per-AZ limit makes it unusable at scale.
AWS SAA Hub Pro는 독립 학습 자료이며 Amazon Web Services, Inc.의 공식 서비스가 아닙니다. 시험 정책과 서비스 사양은 AWS 공식 문서를 기준으로 확인하세요.