Overview
This is a challenge to deliver high availability of a web application via AWS Application Load Balancer that provides failover between two ec2 Instances
Challenge Progress
Task Status Possible Points Clue Deduction Points Total Earned
Completed! 48 0 48
Completed! 32 0 32
Total Points Earned: 80
Task 1: Provide high availability for two ec2 instances using the Application Load Balancer
Possible Points: 48 Clue Penalty: 0 Points Earned: 48
Completed!
Background
John, the IT Operations Manager at the AWSome Shop has tasked you with delivering high availability for the shop website that currently runs on an ec2 instance. John understands that running the website on a single ec2 instance is risky as it offers no resilience should the instance fail.
Your Task
John has tasked you with delivering high availability for the website.
Getting Started
On the Amazon EC2 service page, locate the Application Load Balancers DNS address and open it in a web browser. What error message do you see? What does this mean?
Inventory
The following have already been provisioned in the environment;
An Application Load Balancer
Listener
Target Group
Two ec2 instances; these contain the web application.
Services You Should Use
Application Load Balancer
Target Group
Task Validation
The task will automatically complete once the Application Load Balancer has been correctly configured.
Task 2: Modify the load balancing algorithm to access both the ec2 instances via the Application Load Balancer
Possible Points: 32 Clue Penalty: 0 Points Earned: 32
Enter answer here
Completed!
Background
Now high availability has been delivered, John has realised the current configuration returns the same ec2 instance when a request is sent to the Application Load Balancer.
Your Task
Make a change to configuration to allow traffic to be routed to both ec2 Instances.
Getting Started
Open the DNS name of the Application Load Balancer in a web browser. What happens when you refresh the browser window several times? What Application Load Balancer or Target group configuration could cause this to happen?
Inventory
The following have already been provisioned in the environment;
An Application Load Balancer
Listener
Target Group
Two ec2 instances; these contain the web application.
Services You Should Use
Application Load Balancer
Target Group
Task Validation
Open your web browser. Navigate to the DNS of the load balancer. Refresh the browser a few times. You should see information from both EC2 instances in the target group displayed alternately. Copy the Key1 and Key2 values displayed on the webpages. Paste these values into the answer text box at the top of the challenge page. Note: Do not put a space between the key values. They should be pasted in the format Key1Key2.
It is extremely simple. You can complete this problem by registering two instances in the target group and refreshing the web address of Alb for several times (be patient, yatos)