Configure and Test a Placement Group on AWS

1 hour
  • 2 Learning Objectives

About this Hands-on Lab

In this learning activity we will create a spread placement group with an instance in two different availability zones. We are going to verify that enhanced networking is enabled on that type of instance, and then we will use `aws configure` to review the Placement Group from the CLI.

Our final step will be using `iperf` to benchmark network throughput speeds between the Linux instances. Let’s get our hands dirty and jump into this Hands-On Lab.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Spread Placement Group

Create a Spread Placement Group using the AWS Console.

Add the Amazon EC2 Instances to the Spread Placement Group

Add two instances to the Spread Placement Group, and ensure they are in different availability zones.

Additional Resources

First, make sure we are in the us-east-1 region. Our tasks are as follows:

Create a Spread Placement Group and add two T3-Medium Amazon EC2 instances to the placement group. Each Instance needs to be in a different Availability Zone.

Use the CLI to Validate the Placement Group

Install iperf (NOT iperf3 as shown in the video) on the Placement Group Instances and benchmark network throughput between the instances.

Use the following commands to install iperf when prompted (NOTE: the yum repo has changed from what is shown in the video):

sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install iperf --enablerepo epel

Commands for testing iperf3

Instance 1:

sudo iperf -s -p 5201

Instance 2:

sudo iperf -c "private ip address of instance 1" -P 10 -i 1 -t 30 -V

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?