This page describes the architecture of the microservices to be deployed as part of the Mock Test.
This diagram describes the managed services that comprise the overall solution without getting into Kubernetes components.
- The solution will reside in
ap-south-1
(Mumbai) region. - The
Amazon Managed VPC
will be automtically created when Amazon EKS cluster is launched. This VPC will host the Kubernetes control plane. - The
Worker nodes
VPC will host the worker nodes of the Amazon EKS cluster. - The
RDS VPC
will host an Amazon RDS database running MySQL database. This will be the default VPC of the account. - An Application Load Balancer (ALB) will route requests from Internet to pods running in the k8s cluster.
- Topics on Amazon SNS and queues in Amazon SQS will be used to route traffic between the microservices.
You are expected to add a Kubernetes specific architecture diagram covering pods, services, ingress, etc.
This section describes the flow of data.
- An internet user invokes the
Orders
API using the ALB DNS. - The request is routed to the
svc/orders
via theing/orders
. - This request lands at the pod that is front-ended by
svc/orders
. - The pod of
Orders
microservice responds back with a HTTP status code201
acknowledging the request. - The pod of
Orders
microservice publishes a message to a Amazon SNS topic which is subscribed to by Amazon SQS queue. - The
svc/orchestrator
is subscribed to this queue and routes the message toInventory
microservice viasvc/inventory
. - The pod of
Inventory
microservice updates the Amazon RDS database.