hands-on lab

Auto scaling and testing an Amazon ECS deployment

Beginner
Up to 1h
78
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.
Lab 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

About the author
Students
66,818
Labs
165
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

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