Skip to content

AWS Technologies Blog

Menu
  • Home
  • KB
  • Services
  • Resources
  • Posts
  • Find
    • Categories
    • Tags
  • About
Menu

EC2 Placement groups

Posted on January 21, 2025March 28, 2025 by wpadmin

There are 3 kinds of placement groups for EC2 instances:

Cluster groups – launch each associated instance into a single AZ within close physical proximity to each other. Same Rack.

Provides low-latency network interconnectivity and can be useful for HPC applications for instance.

Spread groups – separate instances physically across distinct hardware racks and even AZ to reduce the risk of failure-related data or service loss.

Such a setup is valuable when running that can’t tolerate multiple concurrent failures.

Partition groups – let’s associate some instances with each other, placing them in a single “partition”. But the instances within that single partition can be kept physically separated from instances from other partitions.

Partition Placement Group vs. Spread Placement Group vs. Cluster Placement Group:

FeaturePartition Placement GroupSpread Placement GroupCluster Placement Group
Fault ToleranceHigh (Instances are spread across different partitions to reduce correlated failure risks)High (Instances are spread across distinct hardware to avoid simultaneous failures)Low (Instances are in the same hardware, high risk of simultaneous failure)
Number of InstancesMultiple instances per partition (up to 7 partitions per AZ)One instance per distinct hardware unitMultiple instances, but all placed on the same physical hardware
Use CaseDistributed applications requiring high availability (e.g., Hadoop, Cassandra)Critical applications requiring high availability (e.g., microservices with fault isolation)Low-latency workloads requiring high throughput (e.g., HPC, in-memory databases)
Instance PlacementInstances are distributed across multiple partitions within an AZInstances are spread across multiple hardware units (across racks, etc.)Instances are tightly packed for low-latency

Summary of Key Limits for EC2 Partition Placement Groups:

Limit TypeDetails
Number of Partitions per AZ7 partitions (per AZ in most regions)
Instances per PartitionVaries by instance type (smaller types = more instances per partition)
Instance Type CompatibilityMust use compatible EC2 instance types (e.g., C5, M5, T3, etc.)
Max Instances in Placement GroupVaries by instance type, region, and account limits
Placement Group ScopeAll instances must be in the same AZ
Placement Group Creation Limit5 placement groups per region by default
Instance Placement ConstraintsCannot mix Cluster/Spread with Partition Placement Groups

  • Product List
  • Documentation

billing ciem containers cost cspm ebs ec2 ecs edge eks elb event Firewall fsx hybrid iam lambda NACL outpostd policies pop princing rds route53 s3 security serverless services SG siem storage vpc

  • Amazon FSx
  • aws
  • aws notes
  • billing
  • cloud
  • compute
  • containers
  • core
  • databases
  • development
  • ebs
  • ec2
  • ecs
  • edge
  • efs
  • eks
  • hybrid
  • iam
  • lambda
  • network
  • outposts
  • pricing
  • rds
  • route53
  • s3
  • security
  • serverless
  • services
  • storage
  • support
  • vpc
©2025 AWS Technologies Blog | Built using WordPress and Responsive Blogily theme by Superb