Application centric design (CNMM Axis-2)
In the previous section, we saw some of the key cloud-native services that AWS has to offer. Now, in this section, we will look at the second axis of CNMM on how to create AWS native architectures. Although there are multiple different architectures and approaches, we will focus on two key patterns – serverless and microservices. In fact, these two patterns are related as well since the services that help us create a serverless pattern are also applicable to creating smaller, single functionality, fine-grained services in a system. So, let's explore more about how to create a microservice that is also serverless in nature in the next section.
Serverless microservice
The core concept around a serverless microservice is a three-step pipeline, such as the one shown in the following diagram:
Three-step pipeline
Let's discuss these steps in detail.
API trigger
The microservice can be invoked in two ways as follows:
- An end user who's directly interacting with...