A sample architecture incorporating AWS App Mesh as a service mesh for services that communicate via gRPC.
Get started with the /infra README file.
- Verify the API with the following request:
curl -X POST \
https://mesher.example.com/client/v1/tokens \
-d '{"id": 123, "username": "mesher"}'
{
"token": "token:mesher",
"profile": "profile:123",
"data": "data:123"
}
- Verify the deployment on the AWS dashboard:
- View the service mesh on App Mesh
- View the service map on X-Ray
- View the private DNS namespace used for service discovery on Cloud Map
- View the ECS cluster and services on ECS
- Configure tracing
- Investigate retry policies and circuit breaker settings
- Loosely based on the howtogrpc example in the aws-app-mesh-examples repository
- AWS Cloud Containers Conference - Deep Dive on Configuring AWS App Mesh | YouTube
- App Mesh documentation
- Cloud Map documentation
- Service Discovery | Amazon ECS Developer Guide