Integrating microservices by using AWS serverless services - AWS Prescriptive Guidance

Integrating microservices by using AWS serverless services

Hari Ohm Prasath Rajagopal, Tabby Ward, and Dmitry Gulin, Amazon Web Services (AWS)

January 2021 (document history)

An important part of modernizing your organization’s software is to refactor your monolithic applications into microservices. After you decompose a monolith, several microservices are called to fetch data for one business transaction. If these microservices are incorrectly integrated into your architecture, the benefits of adopting a microservices architecture are undermined. This can cause data loss, or latency and integrity issues. These problems are often hard to resolve, and users are immediately impacted. However, if microservices are correctly integrated, they provide the benefits of distributed systems, help scaling at the service level, improve efficiency, and reduce your infrastructure costs.

This guide is for application owners, business owners, architects, technical leads, and project managers. The guide provides the following three patterns to help integrate new microservices into your architecture:

These patterns offer autonomy and scalability, and use serverless services from Amazon Web Services (AWS), such as AWS Lambda and Amazon API Gateway, to help integrate your microservices. The guide is part of a content series that covers the application modernization approach recommended by AWS. The series also includes:

Targeted business outcomes

By using this guide to integrate your new microservices, you can efficiently transform your organization’s architecture into a microservices architecture. This helps provide rapid adjustment to fluctuating business needs without interrupting core activities such as high scalability, improved resiliency, continuous delivery, and failure isolation. A microservices architecture also helps improve fault tolerance and resiliency, and speeds up innovation because each microservice can be individually deployed and tested.

A microservices architecture can also help provide a shorter time to market for your products or services, because each microservice has an independent code base that makes it easier and faster to add new features and iterate on them.