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

Prerequisites

We can install serverless-azure-functions through the npm. The following command will install the latest version of the plugin, but if you are using the docker image which is created above, it already has the plugin added to it: 

$ npm i --save serverless-azure-functions

But, to interface with the Azure platform, we need to set up Azure subscription credentials locally.  For the serverless-azure-functions plugin to work we need to set up a service principal, which can done through the Azure portal URL as seen in the following:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal

However,  if you are using PowerShell cmdlets, then use the following:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authenticate-service-principal ...

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