Book Image

Implementing DevOps with Microsoft Azure

By : Mitesh Soni
Book Image

Implementing DevOps with Microsoft Azure

By: Mitesh Soni

Overview of this book

This book will teach you all about the Visual Studio Team Services and Microsoft Azure PaaS offerings that support Continuous Integration, Continuous Delivery, Continuous Deployment, and execution in the cloud with high availability, disaster recovery, and security. You will first be given a tour of all the concepts and tools that Microsoft Azure has to offer and how these can be used in situations to cultivate the DevOps culture. You’ll be taught how to use and manage Visual Studio Team Services (VSTS) and about the structure of the sample application used throughout the book. You will become familiar with the nitty gritty of Continuous Integration and Continuous Development with VSTS and Microsoft Azure Apps. You will not only learn how to create App service environments, but also how to compare Azure Web Apps and App Service Environments to deploy web applications in a more secure environment. Once you have completed Continuous Integration and created the Platform for application deployment, you will learn more about the final stepping stone in achieving end-to-end automation using approval-based Continuous Delivery and Deployment. You will then learn about Continuous Monitoring, using the monitoring and notification options provided by Microsoft Azure and Visual Studio Team Services.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
Acknowledgment
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
More from the Author

Environment with release tasks


We have configured automated deployment in the production environment. What if I need to deploy into multiple environments?

Let's remember how we are managing different environments in Azure Web Apps. 

Any guesses? 

Yes, you are right! 

Deployment slots. We use deployment slots for different environments. So we should create multiple environments in the release definition and perform the deployment.

So, the next question should be, how do we create an environment that we can use for package deployment in a specific deployment slot in Azure Web Apps?

In the release definition, click on +Add environment and select Create new environment. We can select Clone selected environment if we want to have the same tasks as the existing environment in the new environment:

In the new environment, let's keep pre-deployment approval automatic.

Select Trigger to deploy automatically whenever a deployment to the previous environment is successful. We can rearrange or rename it once...