Serverless computing allows you to build and run applications and services without thinking about servers. With serverless computing, your application still runs on servers, but all the server management is done by AWS. Using AWS and its Serverless Platform, you can build and deploy applications on cost-effective services that provide built-in application availability and flexible scaling capabilities. This lets you focus on your application code instead of worrying about provisioning, configuring, and managing servers.
Building a serverless application allows you to focus on your application code instead of managing and operating infrastructure. You do not have to think about provisioning or configuring servers since AWS handles all of this for you. This reduces your infrastructure management burden and helps you get faster time-to-market.
Building a serverless application offers you four main benefits:
No server management
There is no need to provision or maintain any servers. There is no software or runtime to install, maintain, or administer.
Flexible scaling
Your application can be scaled automatically or by adjusting its capacity through toggling the units of consumption (e.g. throughput, memory) rather than units of individual servers.
High availability
Serverless applications have built-in availability and fault tolerance. You do not need to architect for these capabilities since the services running the application provide them by default.
No idle capacity
You do not have to pay for idle capacity. There is no need to pre- or over-provision capacity for things like compute and storage. For example, there is no charge when your code is not running.
You can build a serverless web application by using several AWS services together. Each service is fully managed and does not require you to provision or manage servers. You only need to configure them together and upload your application code to AWS Lambda, a serverless compute service.
Follow our step-by-step guide to deploy your first serverless application today.
About "SAM the Squirrel"
SAM the Squirrel is named after the AWS Serverless Application Model (AWS SAM), a model for defining the resources used in a serverless application. SAM left behind a cozy life in the trees to help AWS users build their serverless applications effectively and more easily.