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.

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. ...

Get Mastering PHP 7 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.