Microservices on serverless technologies
Using microservices with serverless technologies can greatly
decrease operational complexity. AWS Lambda and AWS Fargate,
integrated with API Gateway, allows for the creation of fully
serverless applications. As of
April
7, 2023
Figure 4 demonstrates a serverless microservice architecture using AWS Lambda and managed services. This serverless architecture mitigates the need to design for scale and high availability, and reduces the effort needed for running and monitoring the underlying infrastructure.

Figure 4: Serverless microservice using AWS Lambda
Figure 5 displays a similar serverless implementation using containers with AWS Fargate, removing concerns about underlying infrastructure. It also features Amazon Aurora Serverless, an on-demand, auto-scaling database that automatically adjusts capacity based on your application's requirements.

Figure 5: Serverless microservice using AWS Fargate