hands-on lab

Amazon ECS Microservices Networking With AWS App Mesh

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 109
Rating: 4/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

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

Prerequisites

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

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