- To create a placement group, navigate to EC2, and select Placement groups and Create Placement Group, as follows:
- The allocation of instances inside the placement group is a one-time-only action. If you want to modify the placement group by adding instances—you'll need to relaunch the complete cluster again with run-instances or via the console—into the placement group:
As a result, we now have a 10 GB fully-meshed EC2 network in a single AZ:
At the moment of writing this book, only these instance types are allowed for placement grouping:
- General purpose: M4, M5, M5d
- Compute optimized: C3, C4, C5, C5d, cc2.8xlarge
- Memory optimized: cr1.8xlarge, R3, R4, R5, R5d, X1, X1e, z1d
- Storage optimized: D2, H1, hs1.8xlarge, I2, I3, i3.metal
- Accelerated computing: F1, G2, G3, P2, P3