EC2 Placement Groups

A placement group is a logical grouping of instances within a single AZ.

Placement groups are recommended for applications that benefit from low network latency, high network throughput, or both. A hadoop cluser or casandra cluster where nodes have to communicate fast between each other are examples. 


Creating Placement Group & Launching Instances

First, you create a placement group and then you launch multiple instances into the placement group.

Amazon recommend that you launch the number of instances that you need in the placement group in a single launch request and that you use the same instance type for all instances in the placement group. If you try to add more instances to the placement group later, or if you try to launch more than one instance type in the placement group, you increase your chances of getting an insufficient capacity error.

Details on creating a placement group and launching instances can be found @


Terminating Placement Groups & Instances

Before you can delete your placement group, you must terminate all instances that you launched into the placement group. You can read more about deleting a placement group @

If you stop an instance in a placement group and then start it again, the start may fail if there isn't enough capacity for the instance. You may also stop and start all of the instances in the placement group, and try the launch again. Restarting the instances may migrate them to hardware that has capacity for all the requested instances.


Placement Group Pricing

There is no charge for creating a placement group.


Placement Group Limitations

Placement groups have certain limitations. Read more @


Important Notes (Exam Tips)

  1. Placement groups can’t span across multiple AZs. However, names should be unique across the AWS account.

  2. There are restrictions on the instance types that can be launched in placement groups: only compute optimized, GPU, Memory optimized, storage optimized. For example, no t2 micros.

  3. Recommendation from AWS is to use homogeneous instance types (instances of same type and same family) in a placement group.

  4. Placement groups cannot be merged.

  5. You cannot move an existing instance into a placement group; instead you can create an AMI from your instance and move that into the placement group.  

Learn Serverless from Serverless Programming Cookbook


Please first use the contact form or facebook page messaging to connect.

Offline Contact
We currently connect locally for discussions and sessions at Bangalore, India. Please follow us on our facebook page for details.
WhatsApp (Primary): (+91) 7411174113
Phone (Escalations): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About is my blog to share notes and learning materials on Cloud and Data Analytics. My current focus is on Amazon Web Services.

I like to write. I try to document what I learn and share with others. I believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream