Chapter 5. Serverless
5.0 Introduction
The technology industry term serverless can sometimes lead to confusion in that servers are involved with the cloud services associated with this model of execution. The advantage is that end users do not need to worry about managing the underlying infrastructure and platform. The cloud provider (in this case, AWS) is responsible for all of the management, operating system updates, availability, capacity, and more.
In terms of “serverless” services available on AWS, many options are available to take advantage of the benefits. Here are some examples:
-
AWS Lambda and Amazon Fargate for compute
-
Amazon EventBridge, Amazon SNS, Amazon SQS, and Amazon API Gateway for application integration
-
Amazon S3, Amazon DynamoDB, and Amazon Aurora Serverless for datastores
The main benefits of serverless on AWS are as follows:
- Cost savings
-
You pay for only what you use.
- Scalability
-
Scale up to what you need; scale down to save costs.
- Less management
-
There are no servers to deploy or systems to manage.
- Flexibility
-
Many programming languages are supported in AWS Lambda.
The recipes in this chapter will enable you to explore several of the AWS services that fall under the “serverless” umbrella. You will find opportunities to extend the solutions with challenges and get experience with some new services that are leading the serverless industry trend.
Workstation Configuration
Follow the “General workstation setup steps for CLI recipes” to validate ...
Get AWS Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.