Skip to main content

PLACEMENTGROUPS IN AWS

Placement groups are recommended for applications that benefit from low network latency, high network throughput, or both.
>AWS recommend to use same instance type for all instances in the placement group
>They can be of two types- cluster or spreaded
>A cluster placement group is a logical grouping of instances within a single Availability Zone.
>A spread placement group can span multiple Availability Zones, and you can have a maximum of seven running instances per Availability Zone per group.A spread placement group is a group of instances that are each placed on distinct underlying hardware.
>Name of Placement group should be unique
>An instance can be launched in one placement group at a time; it cannot span multiple placement groups.


To create a placement group.From ec2 dashboard click on placement groups.Give name and stratagy.Stratagy can be either cluster or spreaded.



Then follow normal steps as creation of an ec2 instance.While selecting instance type we want to remember that all types won't support placement groups.Here iam selecting m5 large.



 In the next window we can see an option for placement group.Here select existing placment group and select name of our placement group.Also select number of instances we want.