Member-only story
Amazon AppMesh for software engineers. (in progress)
Introduction
Hi!
I decided to write this series of articles for Software Engineers who know how to write code and implement algorithms but have never worked on complex cloud deployments.
I watched many YouTube videos with AppMesh presentations and demonstrations of the magic, but I still had a lot of questions. For example, how to reproduce the same logic?
This article uses Amazon Elastic Container Service for containers orchestration. (In my opinion, it should be easy to understand the core concepts of the service mesh and AWS AppMesh as this idea implementation).
Part 1. The short answer
I’m sure many readers who come here are looking for the answer to the main question.
How can I call one service from another if I have two microservices deployed into the AWS AppMesh?
The answer is:
In your code, you need to use the service name from the AppMesh Virtual Service (AppMesh → Your mesh → Virtual Services) and the port your task is listening to (Elastic Container Service → Task Definitions → Your application container → Proxy configuration → App ports).