- Lab
- A Cloud Guru
Troubleshooting Amazon EC2 Network Connectivity
The goal of this hands-on lab is to fix the broken environment and achieve the goal as outlined below. The first video in this lab presents the scenario and the goal, while the second video provides the solution (if needed). Do your best to solve the connectivity issue without viewing the solution video. **Goal:** Fix the connectivity issue in the AWS environment so that you can update the `yum` package installer (from the command line) on the provided EC2 instance (named "web server"). This environment has been created with security in mind, so the "web server" EC2 instance has been provisioned in a private subnet and placed behind a bastion host and NAT gateway.
Path Info
Table of Contents
-
Challenge
Fix SSH Ingress to Bastion Host
The Issue
SSH traffic is being denied by the security group associated with the bastion host.
How to Fix the Issue
Add an SSH (port 22) allow rule to the security group associated with the bastion host.
-
Challenge
Fix Egress from Web Server to Internet
The Issue
The NACL protecting the web server only allows return traffic to the public subnet, not the internet.
How to Fix the Issue
Add an outbound "all traffic" allow rule to 0.0.0.0/0 to the NACL.
-
Challenge
Fix Web Server Route to Internet
The Issue
The web server does not have a route to the NAT gateway.
How to Fix the Issue
Add a route to the NAT gateway on the route table associated with the private subnet the web server is located in.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.