Articles → AWS → Placement Groups In AWS

Placement Groups In AWS






Purpose





Different Strategies Of The Placement Group




  1. Cluster → In this strategy, the EC2 instances are placed close to each other in the same availability zone.
  2. Partition → In this strategy, the EC2 instances are grouped in a segment called "Partition". Each partition does not share the same underlying hardware.
  3. Spread → In this strategy, the small group of EC2 instances are placed on distinct hardware.



How To Create The Placement Group?




Picture showing the Placement Groups menu in EC2 dashboard

Click to Enlarge



Picture showing the Create placement group button for creating the new placement group

Click to Enlarge



FieldValue
Name< Custom placement group name>
Placement strategyCluster | Spread | Partition
Number of partitions< Number of partitions >
Spread levelHost (Outposts only) | Rack (No restrictions)This field is visible only if “Spread” is selected in “Placement strategy”.


Picture showing the create placement group screen with placement strategy as cluster

Click to Enlarge

Picture showing the create placement group screen with placement strategy as spread

Click to Enlarge

Picture showing the create placement group screen with placement strategy as partition

Click to Enlarge



Picture showing the placement group created in aws console

Click to Enlarge


How To Assign A Placement Group To An EC2 Instance?




Picture showing assigning the placement group to an EC2 instance

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, July 22, 2022

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250