SR - ICC - 2203A52146 - Lab - Assignment - 7
SR - ICC - 2203A52146 - Lab - Assignment - 7
SR - ICC - 2203A52146 - Lab - Assignment - 7
Lab Assignment # 7
Program : B. Tech (CSE)
Specialization :AIML
Course Title : Introduction to Cloud Computing
Course Code : 22CS142
Semester :V
Academic Session : 2024-2025
Name of Student : ABC
Enrollment No. : 2203A52146
Batch No. : 32
Date :1/11/2024
Submission Instructions:
1. Use the same file to complete the assignment and don’t change the settings.
2. Minimum 10 screen shots of your account should be taken to showcase your work.
3. File Format:
• Submit your assignment as a PDF document (pdf). Ensure the file is named
according to the following convention:
B_No._StudentName_ICC_A-7.
Sample: B_10_Rohit_22A523421_ICC_A7
4. Fill all the entries mentioned on top section.
5. Mention your AWS Academy Virtual Lab Account details as shown in the next page.
6. Don’t write on this page.
7. All answers should be answered from next page only.
Activity:
Creating an Application Load Balancer (ALB) on AWS is a multi-step process. Here’s a
detailed guide to setting it up using the AWS Management Console:
1. Listeners: By default, the ALB includes a listener for HTTP (port 80). You can also
add HTTPS (port 443) for SSL-encrypted connections.
2. Availability Zones: Choose the VPC and select the subnets across Availability Zones
for better redundancy. Ensure each selected subnet has an IP address assigned.
1. Create a Target Group: Define a target group where the load balancer will route
requests.
o Target Group Name: Give it a name (e.g., my-target-group).
o Target Type: Choose Instance, IP, or Lambda (depending on the type of
backend service).
o Protocol: Select the protocol for communication between the load balancer
and targets (usually HTTP).
o Port: Specify the port your targets listen on (e.g., 80 for web servers).
2. Health Checks: Configure health checks to monitor the health of targets:
o Path: Set the path (e.g., /health) the ALB will ping to check if targets are
healthy.
o Advanced Health Check Settings: Set thresholds for response time,
healthy/unhealthy thresholds, and intervals.
1. Select EC2 instances: Choose the EC2 instances you want to register as targets
within the target group.
2. Add instances to the Target Group: Specify the port and click Add to register.
Step 9: Review and Create
1. Once active, go to the Load Balancers section, select your ALB, and copy the DNS
name.
2. Open the DNS name in a browser to confirm that traffic is being routed correctly.
Conclusion
Your AWS Application Load Balancer is now set up, distributing incoming requests to your
registered targets while performing health checks to ensure that only healthy targets receive
traffic.
Screenshots: