hands-on lab

Auto scaling and testing an Amazon ECS deployment

Difficulty: Beginner
Duration: Up to 1 hour
Students: 105
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Amazon Elastic Container Service (ECS) is a managed container orchestration service that you can use to run your containerized workloads in the public AWS cloud. By using Amazon ECS, you avoid the technical complexity of creating and managing the infrastructure required to securely and reliably run production workloads.

Amazon ECS supports scaling your workloads automatically in response to dynamically changing demand. Learning how to use auto scaling with Amazon ECS can make your workloads cheaper to run and more reliable.

In this hands-on lab, you will configure an Amazon ECS service to automatically scale based on an Amazon CloudWatch metric.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Configure auto scaling for an ECS service using the AWS command-line interface (CLI)
  • Perform a load test on a web application running in ECS
  • Observe the auto scaling process using the Amazon ECS console

Intended audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Elastic Container Service (ECS)
  • Application Auto Scaling
  • Amazon CloudWatch

The following content can be used to fulfill the prerequisites:

Updates

October 19th, 2023 - Resolved deployment issue

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Reviewing the ECS deployment
Scaling ECS services using metric target tracking
Load testing an ECS deployment