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

Google Functions add-ons


When we decide to move toward a cloud infrastructure or decide to use Google Functions, then we start with a proof of concept or minimal viable product, to prove our application can perform better in the cloud and that we do not have to worry about infrastructure. Also, if the number of the functions is small at the the time of POC, it is easier to develop, test, and deploy them manually, but as they grow, it become quite difficult to manage development, testing and development. Integrating them together to work as an application is another challenge. So, for smoother development, Google also has introduced the Node.js emulator for Google cloud functions. Although currently it is released as the alpha phase, it is still good to iron out quite a number of the issues locally. 

The Node.js emulator for Google Functions is distributed as an npm standard package, so it has to be installed through the npm command:

$ npm install -g @google-cloud/functions-emulator

After installation...