Getting Started with Amazon ECS Express Mode

Getting Started with Amazon ECS Express Mode
Getting Started with Amazon ECS Express Mode

CLOUD LABS



Getting Started with Amazon ECS Express Mode

In this Cloud Lab, you’ll learn how Amazon ECS Express Mode runs a container image from Amazon ECR behind a public URL, and how to roll out a new version.

7 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Hands-on experience deploying image containers using ECS Express Mode
Hands-on experience deploying applications available in GitHub repositories
Hands-on experience building and pushing Docker images to an ECR repository

Technologies
EC2 logoEC2
ECR logoECR
App Runner
Cloud Lab Overview

Amazon ECS Express Mode is a feature of Amazon Elastic Container Service (Amazon ECS) that deploys a containerized web application without making you manage the infrastructure around it. You provide a container image and two IAM roles. ECS Express Mode then provisions an AWS Fargate service, an Application Load Balancer with HTTPS, networking, auto scaling, and logging, and gives you a public URL for the application.

In this Cloud Lab, you’ll first create a private ECR repository. You will then launch an EC2 instance, build a Docker image for a Flask application, and push the image to your repository with an explicit version tag. After this, you’ll deploy the image with ECS Express Mode and watch it provision the load balancer, networking, and scaling resources for you. Finally, you’ll change the application, push a new image version, and update the service to see ECS Express Mode roll out the new version while the application stays available at the same URL.

After completing this Cloud Lab, you’ll be able to deploy your containerized applications on the AWS cloud using ECS Express Mode. You’ll also know how to release a new version of an application by pushing a new image and updating the service.

The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Deploying a Container Image with ECS Express Mode
Deploying a Container Image with ECS Express Mode
Cloud Lab Tasks
1.Introduction
Getting Started
2.Deploying a Container Image
Create a Repository
Build a Docker Image
Deploy Image on ECS Express Mode
3.Updating the Application
Update the Application
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like