EC2 Placement Groups¶
- Sometimes you want control over the AWS EC2 Instance placement strategy
- That strategy can be defined using placement groups
- When you create a placement group, you specify one of the following strategies for the group
- Cluster - clusters instances into a low-latency group in a single Availability Zone
- Spread - spreads instances across underlying hardware (max 7 instances per group per Availability Zone) - critical applications
- Partition - spreads instances across many different partitions (which rely on sets of racks) within an Availability Zone. Scales to 100s of AWS EC2 instances per group ([[Hadoop]], [[Cassandra]], [[Kafka]])
Usage¶
You can find these options under Network & Security -> Placement Groups
.
Now, when creating a new instance, we can specify a placement group.