0
0
AWScloud~30 mins

Target groups concept in AWS - Mini Project: Build & Apply

Choose your learning style9 modes available
AWS Target Groups Setup
📖 Scenario: You are setting up a simple web application on AWS. To distribute incoming traffic evenly, you need to create a target group that will hold your application servers.
🎯 Goal: Create an AWS target group with specific settings to prepare for load balancing your web servers.
📋 What You'll Learn
Create a target group named my-target-group
Use the protocol HTTP and port 80
Set the target type to instance
Configure the health check path to /health
💡 Why This Matters
🌍 Real World
Target groups are used in AWS to manage and route traffic to groups of servers behind a load balancer.
💼 Career
Understanding target groups is important for roles in cloud infrastructure, DevOps, and site reliability engineering.
Progress0 / 4 steps
1
Create the target group dictionary
Create a dictionary called target_group with keys 'Name', 'Protocol', and 'Port'. Set the values to 'my-target-group', 'HTTP', and 80 respectively.
AWS
Need a hint?

Use a Python dictionary with the exact keys and values as specified.

2
Add the target type configuration
Add a key 'TargetType' to the target_group dictionary and set its value to 'instance'.
AWS
Need a hint?

Add the new key-value pair inside the existing dictionary.

3
Add health check configuration
Add a key 'HealthCheckPath' to the target_group dictionary and set its value to '/health'.
AWS
Need a hint?

Include the health check path in the dictionary to specify the URL path for health checks.

4
Complete the target group configuration
Add a key 'HealthCheckProtocol' to the target_group dictionary and set its value to 'HTTP' to complete the health check settings.
AWS
Need a hint?

Set the health check protocol to HTTP to match the target group's protocol.