hands-on lab

Amazon ECS Microservices Networking With AWS App Mesh

Up to 1h
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

In microservice architectures, a service mesh is a communication layer where all communication between services happens. AWS App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor and control microservices running on Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Kubernetes Service (Amazon EKS), Kubernetes on Amazon Elastic Compute Cloud (Amazon EC2) instances. App Mesh standardizes how your microservices communicate, giving you end-to-end visibility and helping to ensure high availability for your applications.

In this lab, you will learn the fundamentals of AWS App Mesh and how to use it to monitor and control microservices running on Amazon ECS. You see how App Mesh integrates with a microservices application in Amazon ECS running on AWS Fargate. You will also learn how to use AWS X-Ray to trace requests as they flow through the mesh. Finally, you will leverage App Mesh's traffic control capabilities to perform a canary deployment of a new version of one of the application's microservices.

Learning objectives

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

  • Explain AWS App Mesh concepts and architecture
  • Understand how to integrate AWS App Mesh with Amazon ECS
  • Troubleshoot application performance issues using AWS App Mesh and AWS X-Ray
  • Use AWS App Mesh to implement different deployment strategies

Intended audiences

  • Network Engineers
  • DevOps Engineers
  • Software Developers


Familiarity with the following topics is required to get the most out of this lab:

  • Amazon Elastic Container Service (ECS) on AWS Fargate fundamentals

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

About the author
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Learning paths

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Reviewing the Sample Application Deployed on Amazon ECS With AWS Fargate
Inspecting the App Mesh Application
Tracing the Application's Traffic with AWS X-Ray
Using App Mesh Virtual Routers to Implement Deployment Strategies