Issue
Is there a good comparison table for the two types of AWS EC2 Placement Groups?
- Partition
- Spread
I have read the AWS Documentation but I am still a bit confused.
Solution
After reading the AWS Documentation a bit more and googling a little bit more, I think I have some idea. Let me try to provide the answer myself below. Comments are welcome.
Parition Placement Group
- Each partition within a PG has its own set of racks. Each rack has its own network and power source
- Good for deploying large distributed and replicated workload. There are at most 7 parititions in each AZ, but the number of instances in each partition is limited only by the account limits.
- Offer visibility into the partitions
- Partitions can be in different AZs in the same region
- A newer feature (compared to the Spread PG) introduced only in December 2018 (see Annoucement of the feature)
Spread Placement Group
- Each instance is placed in its own distinct rack. Each rack has at most one instance
- Good for deploying applications that have a smaller number of instances. You can have at most 7 instances per AZ in the group
- The group can span multiple AZs in the same region.
Answered By - leeyuiwah