Book Image

DevOps for Serverless Applications

By : Shashikant Bangera
Book Image

DevOps for Serverless Applications

By: Shashikant Bangera

Overview of this book

Serverless applications are becoming very popular among developers and are generating a buzz in the tech market. Many organizations struggle with the effective implementation of DevOps with serverless applications. DevOps for Serverless Applications takes you through different DevOps-related scenarios to give you a solid foundation in serverless deployment. You will start by understanding the concepts of serverless architecture and development, and why they are important. Then, you will get to grips with the DevOps ideology and gain an understanding of how it fits into the Serverless Framework. You'll cover deployment framework building and deployment with CI and CD pipelines for serverless applications. You will also explore log management and issue reporting in the serverless environment. In the concluding chapters, you will learn important security tips and best practices for secure pipeline management. By the end of this book, you will be in a position to effectively build a complete CI and CD delivery pipeline with log management for serverless applications.
Table of Contents (17 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
5
Integrating DevOps with IBM OpenWhisk
Index

Building a simple Azure function


We will first try to create a simple Azure function through the portal and then we will automate the build and deployment process using S tools and framework. So, to start playing with Azure Functions, we need to create an Azure Cloud service account first. Microsoft provides one month of free subscription and we will be using the Node.js scripts for all the DevOps-related examples and demos.

Once the account is created, follow these steps:

  1. Log into the Azure portal (Azure portal: https://portal.azure.com/).

On successful login, we will be redirected to the homepage of the Azure portal.

  1. Now, we need to create resources for Azure Function. So let's click on the button Create a Resource, which will take us to the Azure marketplace page.
  2. Here, we need to create a Compute by clicking on the link Compute within...