Skip to main content
Launch this lab in the IP Lab Portal, then follow the steps below in the AWS console. Open IP Lab Portal

Overview

Prerequisites

  1. Good knowledge of AWS service
    • Elastic Compute Service (EC2)
    • Virtual Private Cloud (VPC)
    • Elastic IP Address
  2. Laptop/Desktop
  3. Internet Browser
  4. Internet connection

Challenge Instructions

  1. Region : Make sure to use us-east-1 region to create all the resources.
  2. You will be provided with the requirements of the challenge. If you are new to AWS Cloud, we recommend you go through our hands-on Labs before taking this challenge.
  3. Challenge Duration: 45 min

How to submit the challenge

  1. After building the infrastructure, click on the Validation button, to validate if you have built the required infrastructure and completed the challenge successfully.
  2. Validation status:
    • Success - You have completed the challenge successfully.
    • Failed - You have failed to complete the challenge.
  3. Once you have successfully validated the challenge, click on End Lab button to end the challenge.

Launching Challenge Environment

  1. To launch the challenge environment, Click on the Start Challenge button.
  2. Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
  3. Once the Challenge is started, you will be provided with IAM user name, Password, Access Key, and Secret Access Key.
Note : You can only start one challenge at any given time

Lab guide

Sign in to AWS Management Console

  1. Click on the Open Console button, and you will get redirected to AWS Console in a new browser tab.
  2. On the AWS sign-in page, Leave the Account ID as default. Never edit/remove the 12 digit Account ID present in the AWS Console. otherwise, you cannot proceed with the challenge.
  3. Now copy your User Name and Password in the Lab Console to the IAM Username and Password in AWS Console and click on the Sign in button.
  4. Once Signed In to the AWS Management Console, Make the default AWS Region as US East (N. Virginia) us-east-1.

Cloud Challenge Details

In this challenge, your Virtual Private Cloud (VPC) skills are put to the test. You’ll be given a requirement and you have to reach it using your knowledge of Elastic Compute (EC2) and Elastic IP Address which will be used in this challenge. This Challenge will help you understand the real-time scenarios. A company XYZ wants to set up and configure a virtual machine in Amazon’s cloud using Amazon Machine Images to launch Amazon EC2 Instances and using key pairs for SSH authentication to log in. The below are the tasks that need to be performed by you in order to create the stack.

Architecture Diagram

  1. Create a new default VPC.
  2. Create EC2 Instance with below configurations:
    • Amazon Machine Image: Amazon Linux 2023 kernel-6.1 AMI
    • Instance Type: t2.micro
    • Create Key Pair
    • Create a new Security Group with 2 ports i.e., SSH and HTTP
  3. Connect EC2 instance.
  4. Install Apache server and check web server status.
  5. Develop and release a web page with basic HTML content and restart the server and check HTTP protocol.
    • Compare the newly allocated IP address with the old one to assess any changes in the instance state.
  6. Allocate an Elastic IP Address.
  7. Associate an Elastic IP Address with a Running Instance and check IPv4 Public IP.
  8. Alter the status of an instance.
  9. Click on the Validate to complete the challenge.
  10. Delete the resources after validation.

End Challenge

  1. Sign out of the AWS Account.
  2. You have successfully completed the challenge.
  3. Click on End Challenge button from IP Lab Portal Labs console and wait till the process gets completed.

What gets checked

When you press Check my work, the platform verifies each of these:
  • Launch an EC2 Instance — Check whether an EC2 Instance is launched or not.
  • Validate EC2 Instance Type t2.micro — Check whether the EC2 instance type is t2.micro.
  • Launch EC2 AMI type Amazon Linux — Check whether the EC2 instance is launched using an Amazon AMI.
  • Create an Elastic IP — Check whether an Elastic IP is created or not.
  • Associate Elastic IP — Check whether an Elastic IP is attached to an EC2 Instance or not.