Microservices
AWS has various integrated building blocks that support the development of microservices.
- AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume. With Lambda, you can run code for virtually any type of application or backend service – all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
- AWS Docker containers lets you run your applications on serverless (Fargate) or on servers EC2 instances managed by AWS. With container service, we can focus on building and managing applications – backend /web applications as per business requirement. You can upload your code in AWS containers and AWS will launch them . AWS contains will provide agility, flexible scaling, Resilience, ECS launches your containers in high level of isolation using AWS VPC, IAM , that allows you to build highly secure applications.
Microservices Architecture on AWS
Monolithic applications are built using different layers, a user interface layer, a business layer, and a persistence layer. A central idea of a microservices architecture is to split functionalities into vertical layers but by implementing a specific domain.