Book Image

Implementing Azure DevOps Solutions

By : Henry Been, Maik van der Gaag
Book Image

Implementing Azure DevOps Solutions

By: Henry Been, Maik van der Gaag

Overview of this book

Implementing Azure DevOps Solutions helps DevOps engineers and administrators to leverage Azure DevOps Services to master practices such as continuous integration and continuous delivery (CI/CD), containerization, and zero downtime deployments. This book starts with the basics of continuous integration, continuous delivery, and automated deployments. You will then learn how to apply configuration management and Infrastructure as Code (IaC) along with managing databases in DevOps scenarios. Next, you will delve into fitting security and compliance with DevOps. As you advance, you will explore how to instrument applications, and gather metrics to understand application usage and user behavior. The latter part of this book will help you implement a container build strategy and manage Azure Kubernetes Services. Lastly, you will understand how to create your own Azure DevOps organization, along with covering quick tips and tricks to confidently apply effective DevOps practices. By the end of this book, you’ll have gained the knowledge you need to ensure seamless application deployments and business continuity.
Table of Contents (21 chapters)
1
Section 1: Getting to Continuous Delivery
6
Section 2: Expanding your DevOps Pipeline
12
Section 3: Closing the Loop
15
Section 4: Advanced Topics

To get the most out of this book

You should have an understanding of software development processes and experience in application development and operations as either a software developer or as an IT professional. Irrespective of your background, be it software development or operations, it is important to have a basic understanding of the software delivery processes and the tools involved.

If you have taken the mock exam or want to take the official exam after reading this book and find that you are struggling with specific exam objectives, you can use the following table to find the chapters you need to re-read.

Exam objective

Relevant chapters

Design a DevOps strategy

Chapters 1, 8, and 13

Implement DevOps development processes

Chapters 4, 6, and 9

Implement continuous integration

Chapters 2 and 3

Implement continuous delivery

Chapter 4

Implement dependency management

Chapter 5

Implement application infrastructure

Chapters 6, 9, and 12

Implement continuous feedback

Chapters 10 and 11

Please keep in mind that some questions may fall into more than one category and that this book is developed without any access to the official exam materials.

While large parts of this book are theory, it is recommended that you experiment with the concepts introduced if you have no hands-on experience with them. Remember, if you intend to sit the AZ-400 exam, this exam is intended for practitioners with two to three years' practical experience. To perform the practical exercises in the book you will require the following:

Software/Hardware covered in the book

OS Requirements

Azure DevOps Services

Any device with a modern browser

Azure portal

Any device with a modern browser

Azure Powershell

Windows 10

Azure CLI, Git client

Windows, Linux or MacOS

Visual Studio

Windows or MacOS

For more practical experience, links to exercises or labs are included at the end of each chapter. Many of these exercises come from Microsoft Learn and can also be searched at https://docs.microsoft.com/en-us/learn/browse/?term=devops. Microsoft has also published a cloud workshop that enables you to practice many of the topics covered in Chapters 1 to 6. This cloud workshop can be found at https://github.com/microsoft/MCW-Continuous-delivery-in-Azure-DevOps/blob/master/Hands-on%20lab/Before%20the%20HOL.md.

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "In Command Prompt, type hostname and press the Enter key."

A block of code is set as follows:

public class FoodClassifier : IFoodClassifier
{
public FoodClassification Classify(Food food)
{
// Unchanged classification algorithm
}
}
public class FoodClassifierToBeRemoved : IFoodClassifer
{
public FoodClassification Classify(Food food)
{
// Unchanged classification algorithm
}
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

[default]
exten => s,1,Dial(Zap/1|30)
exten => s,2,Voicemail(u100)
exten => s,102,Voicemail(b100)
exten => i,1,Voicemail(s0)

Any command-line input or output is written as follows:

git lfs install
git lfs track "*.mp4"
git add .gitattributes

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.