Amazon ELB Challenge - #100DaysOfCloud

Prerequisites

  1. Good knowledge of AWS services
    • Application Load Balancer
    • Target Groups
    • Amazon EC2 Instances
  2. Laptop
  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 Duration60 minutes
  4. A total of 3 attempts will be allowed for each participant. However, only the first attempt will be considered for the final winner announcement.

How to submit the challenge

  1. After building the infrastructure, click on Validate 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.
  4. Go to My Dashboard and search for the challenge - Create and distribute the traffic using the Application load balancer
  5. Make sure From Date is selected as 4 Aug 2021. Do not select the To Date.
  6. Click on the Print Report to generate the PDF. 
    • Make sure you clicked on the End Lab before generating the PDF.
  7. Email the PDF to [email protected], with the subject - #100DayOfCloud Lab Challenge 3

  8. In case of any issue, contact us immediately, grace time will be given to you. Drop us an email with the issue screenshot [email protected].
  9. On successful completion of the challenge, 200 points will be added to your #100DaysOfCloud scoreboard within 48 hours.
  10. Get BONUS 200 points on doing the following steps:
    • Share your Validation Score Screenshot on Twitter/Linkedin
    • Tag 5 friends, inviting them to take up the challenge
    • Use the correct hashtags and tag Whizlabs in your post so we can add your BONUS score.

Cloud Challenge Details

In this lab challenge, your AWS ELB skills are put to the test. You'll be given a requirement and you have to reach it using your knowledge of AWS ELB and other AWS services relevant to working with ELB. The Lab Challenge helps you understand the real-time scenarios.

A company XYZ is deploying a new web application. As a part of the infrastructure, they need a load balancer for their Testing Environment. Now your challenge is to build them a web server using an Application load balancer (ALB) with the below requirements. You need to distribute the traffic using Amazon EC2 Instances and Target Groups.

  1. Create a Security Group for the ALB and EC2, allowing HTTP and HTTPS in the inbound rule. Use this security group during both EC2 Instance and ALB creation.

  2. Create two EC2 Instances, one by one in two different AZ with t2.micro as instance type and Amazon Linux 2 as AMI. Use the User data mentioned below in the resources section. Use this same AZ during ALB creation.

  3. Create a target group and register both the EC2 Instances on port 80. Use this target group during ALB creation.

  4. Create an Application load balancer having the same AZ of EC2 Instances. Select Security group and Target group created in previous steps.

  5. Check the health of the registered instances in the target group.

  6. Copy and paste the ALB's DNS name in the browser and test the traffic shifting of EC2 Instances.

  7. Click on Validate to complete the challenge.