Overview of Serverless
The name “serverless” is somewhat misleading. It implies that no servers are involved when running your code. But, of course, you know that code must run on something. Serverless is a deployment model that allows you, the users, to run your code in the cloud without having to worry about building the infrastructure. The code still runs on servers, but the servers are managed by the cloud provider, in this case, AWS.
The serverless model has many advantages:
- Flexible, automatic scaling: AWS ensures that the serverless service can scale up and down seamlessly to meet the demands of your application. This makes serverless great for spiky workloads where traffic patterns cannot be predicted.
- Only pay for what you use: With serverless, you do not pay for idle capacity. You pay only for the execution time of the job and storage.
- Resiliency: Fault tolerance is built into AWS serverless services by default, with no additional input from...