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

Blue-green deployment in Azure Functions


There are multiple deployment patterns in DevOps: canary deployment and blue green deployments. We will be talking about blue green deployment for Azure Functions in this book. Blue green deployment technique reduces the downtime and risk by having two identical production environments with the names blue and green. One environment will go live whilst the other is used for staging new changes. And there is workflow designed to switch between live and staging. Initially, a new version of the application is deployed to the blue environment with all the user traffic being redirected to the blue environment. After the next version of application has been developed, it is deployed to a staging environment (green) for testing. After the testing of the new version of the software is considered satisfactory, then all the traffic is redirected to the green environment and is considered as live.