O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Static website

AWS Lambda function will play the role of the backbone of our web application. We also need a cosmetic frontend too to be deployed along with the Lambda function and there is a serverless framework plugin available that can perform this task with ease. That plugin is serverless-finch. This plugin will upload static assets of our web application into AWS s3. 

Let's look at how it works. To use this plugin, we need to first install it and then configure it into our serverless.yml file:

$ npm install --save serverless-finch

So once the plugin is installed, we first need to create a distribution folder that, by default, would be client/dist, which is also configurable through a custom tag. So, all our static content will reside ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required