Configure Application Auto Scaling using Target Tracking policy in ECS

Lab Details

  1. This lab walks you through the steps to launch, configure, and manage an HTTPD container on ECS Cluster with the application load balancer.

  2. You will practice using Amazon Elastic Container Service (ECS) Cluster by creating Task definitions and Service. During the creation of the Service inside the cluster, you will select an existing Application load balancer and Target group. 

  3. You will create an auto-scaling policy and trigger the scaling activity using ApacheBench(ab).

  4. Duration: 90 minutes

  5. AWS Region: US East (N. Virginia) us-east-1

Architecture Diagram

Task Details

  1. Launching Lab Environment

  2. Create a Security Group for the ECS Cluster

  3. Create a Key Pair for the EC2 instances, inside the ECS Cluster

  4. Launching an ECS Cluster

  5. Create Task definitions.

  6. Create a Service and start HTTPD container in ECS

  7. Navigate to the cluster instance

  8. SSH into the underlying EC2 instance

  9. Trigger scaling activity

  10. Check the scaling activities on service events

  11. Validation of the lab



Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses