You’ve maybe heard a lot about the serverless architecture. Maybe you’ve also tried to setup a serverless application from scratch. This is a tedious process as you have to do many things manually. The Serverless framework is here to help you.
“But what’s this Serverless framework exactly?” Let’s take a look!
The Serverless framework (previously known as JAWS) is a Node.js based CLI which makes it easy for you to manage and deploy your Serverless applications.
It’s not rare that you have dozens of Lambda functions that access other AWS services such as S3 buckets or DynamoDB database tables. You can of course deploy each and every function by hand with the help of the AWS console. But as your application evolves and your code get’s more complicated it’s a pain to orchestrate everything.
Serverless makes it easy to organize all the relevant AWS resources your application needs in order to run. Lambda functions are automatically minified, versioned and deployed. API Gateway entry points which are connected to your Lambda functions are automatically created. Everything is managed with the help of CloudFormation templates.
This makes it very easy and fast to build modern, serverless web applications. You don’t need to think about servers. Just write your code as Lambda functions and deploy it with the help of Serverless.
Note: Keep in mind that the Serverless Framework is “just a CLI tool“. Everything the Serverless framework does can be done manually (but this would make application development way more painful).
Big tech companies got aware of this technology and are planning to setup their architecture in a serverless manner.