Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 0m
Published
Clock icon Jun 06, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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.

  2. 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.

  3. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans