| Event Source Category | Endpoints | Repositories | Data Stores | Message Services |
|---|---|---|---|---|
| Example | Alexa, API Gateway, AWS Step Function, Amazon IoT | CloudWatch, CloudFormation, CloudTrail, CodeCommit | S3, Dynamo DB, Kinesis, Cognito, Aurora | SQS, SNS, SES, Cron Events |
Event Source Category
Table 1: Event Sources
The IAM Execution Policy specifies, what the function is allowed to do. And finally, the code which implements the business logic.
Possible applications for serverless functions
Serverless Web Applications
This is an interesting use of lambda functions since it involves a few other serverless services from AWS. Figure 1 shows a high-level architecture. Amazon S3 is used to host the static frontend of a website. The dynamic functionality is provided by the API Gateway which provides public endpoints fort he frontend. The API Gateway, by default, protects against DDoS attacks and caching abilities. Finally, the AWS Lamda is used to implement the business logic and used as an internal endpoint for the API Gateway. All these services scale on demand and are highly available so you don’t have to worry about downtime ever again.
Figure 1 – Example architecture of a serverless web application.
Real-Time Data Transformation
You can use AWS Lambda and Amazon Kinesis to process real-time streaming data a lot of applications. Figure 2 depicts an IoT use case where one (but can be multiple) internet-enabled device stream their data into the AWS Cloud. Amazon Kinesis streams this data directly to Lambda where some processing steps are added. This can be calculating metadata, cleaning the data, or run some checks on the data before writing it to a database.
Figure 2 – Example architecture for real-time data transformation
Other applications may include real-time log analysis, processing of uploads to S3, or using AWS Lambda as an IoT backend.
Other applications may include real-time log analysis, processing of uploads to S3, or using AWS Lambda as an IoT backend.
Here at PROTOS Technologie we are specialized cloud engineers which can support you with leveraging serverless technology and service-oriented architectures.


.png&w=3840&q=75)

