Configure an Amazon EC2 Instance with Dual-Homed Network Connectivity

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this Hands-On Lab we are assuming the role of AWS consultants who have been tasked with configuring an Amazon EC2 instance to support a new application. The application requires connection to two different networks, so the application server must be connected to two different subnets.

The first is public subnet, for public access to the web application. The second is where a custom database server resides. The database is a customized application, and requires the application server to have an IP address on the same subnet.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an Elastic Network Interface

Create an Elastic Network Interface.

Attach the Elastic Network Interface to an Amazon EC2 Instance

Attach the Elastic Network Interface to an Amazon EC2 Instance.

Additional Resources

Please make sure you are in the US-EAST-1 Region

Our task is configure the application server so that it connects to both the public and private subnets, and obtains an IP address on each one. The VPC is using a Class C CIDR of 192.168.0.0/24. The public subnet is using the CIDR 192.168.0.0/26, and the private subnet is using the CIDR 192.168.0.128/26.

Being consultants, we know things don't always go as planned. We need to assess the environment, take corrective action as necessary, and complete the task of dual-homing the instance.

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?