You are currently viewing Create A Placement Group And Place Instances Under It

Create A Placement Group And Place Instances Under It

  • Post author:
  • Post category:AWS / EC2

Create a Placement Group and place instances under it

Hello Everyone

Welcome to CloudAffaire and this is Debjeet. In this blog post, we are going to create a Placement Group and place instances under it.

Below is the prerequisite for this demo

One active AWS account

Create a Placement Group and place instances under it

Step 1: Login to AWS console and click ‘EC2’ under compute

Create a Placement Group and place instances under it

Step 2: Navigate to ‘Placement Groups’ located under NETWORK & SECURITY. Click ‘Create Placement Group’.

Create a Placement Group and place instances under it

Step 3: Provide name and strategy for the placement group. Click ‘Create’

Create a Placement Group and place instances under it

Note: We can choose either cluster or spread as placement group strategy. In this demo, we are selecting the spread strategy so that we can utilize the free tire eligible instances.

Our new Placement Group has been created.

Create a Placement Group and place instances under it

Next, we are going to launch EC2 instances using this placement group.

Step 4: Navigate to ‘Instance’ located under INSTANCES. Click ‘Launch Instance’.

Create a Placement Group and place instances under it

Step 5: Select any free tire eligible AMI and click ‘Select’

Create a Placement Group and place instances under it

Step 6: Choose t2.micro as instance type and click ‘Next: Configure Instance Details’

Create a Placement Group and place instances under it

Step 7: Provide the number of instances and select the placement group from drop down. Click ‘Review and Launch’

Create a Placement Group and place instances under it

Note: To make the placement group effective you need to add more than one instance. You can add additional instances to this placement group later but its recommended by AWS to launch all the instance at once to avoid any capacity issue in the future. You can customize the instance’s configuration but in this demo, we are focusing on placing instances using the placement group. Hence we are skipping additional instance configurations.

Step 8: Review the instance configuration and click ‘Launch’

Step 9: Select Key Pair and click ‘Launch Instances’

Create a Placement Group and place instances under it

One success message will appear, click ‘View Instances’

Create a Placement Group and place instances under it

Three new instances have been created with different IP allocation and subnet.

Create a Placement Group and place instances under it

Hope you have enjoyed this blog post. In the next blog, we are going to discuss Key Pairs.