上QQ阅读APP看书,第一时间看更新
Serverless computing to implement microservice patterns
Here is an overview diagram of some of the serverless and managed services available on AWS:
Leveraging AWS-managed services does mean additional vendor lock-in but helps you reduce non business differentiating support and maintenance costs. But also to deploy your applications faster as the infrastructure can be provisioned or destroyed in minutes. In some cases, when using AWS-managed services to implement microservices patterns, there is no need for much code, only configuration.
We have services for the following:
- Events, messaging, and notifications: For async publish/subscribe and coordinating components
- API and web: To create APIs for your serverless microservices and expose it to the web
- Data and analytics: To store, share, and analyze your data
- Monitoring: Making sure your microservices and stack are operating correctly
- Authorization and security: To ensure that your services and data is secure, and only accessed by those authorized
At the center is AWS Lambda, the glue for connecting services, but also one of the key places for you to deploy your business logic source code.