Using the serverless framework
The AWS Lambda is a compute service provided by Amazon Web Services (AWS). What makes it specific is that it lets us run code without provisioning or managing any servers whatsoever. The auto-scaling features enable it to withstand thousands of requests per second. With an added benefit of pay-per-execution pricing, this service caught some traction among developers. Over time, the serverless framework was developed to make the use of the AWS Lambda service easy.
Note
The serverless framework is available at https://serverless.com.
Assuming we have an AWS account created, and a clean installation of the Ubuntu server at hand, let's go ahead and outline the steps needed to set up and utilize the serverless framework.
Before we can deploy applications on the AWS Lambda, we need to make sure we have a user with the right set of permissions. AWS permissions are quite robust, in that we can tune them per resource. The serverless framework uses several other AWS resources...