Azure DevOps

DevOps

Duration: 10 Days

Venue: Classroom Based/Virtual Instructor-Led Training

two men sitting in front of a laptop computer

Course Outline


1. Introduction to DevOps and Azure DevOps

1.1 DevOps Fundamentals

  • What is DevOps
  • DevOps lifecycle
  • CI vs CD
  • Benefits of DevOps

1.2 Introduction to Azure DevOps

  • Overview of Azure DevOps
  • Azure DevOps services
  • Azure DevOps architecture
  • Azure DevOps vs GitHub

1.3 Azure DevOps Services

  • Boards
  • Repos
  • Pipelines
  • Test Plans
  • Artifacts



2. Azure DevOps Organization and Project Setup

2.1 Creating Azure DevOps Organization

  • Creating an organization
  • Azure DevOps portal navigation
  • User access management

2.2 Creating Projects

  • Project configuration
  • Visibility settings
  • Team configuration

2.3 Managing Users and Permissions

  • Access levels
  • Security groups
  • Role based access control



3. Azure Repos – Source Code Management

3.1 Introduction to Azure Repos

  • What is Azure Repos
  • Git vs TFVC
  • Repository structure

3.2 Git Operations

  • Clone repository
  • Commit changes
  • Push changes
  • Branching strategy

3.3 Branch Policies

  • Pull requests
  • Code reviews
  • Branch protection
  • Required reviewers

Microsoft Lab

  • Import a Git repository
  • Implement branch policies



4. Introduction to Azure Pipelines

4.1 CI/CD Concepts in Azure

  • Continuous Integration
  • Continuous Delivery
  • Continuous Deployment

4.2 Overview of Azure Pipelines

  • What is Azure Pipelines
  • Pipeline architecture
  • Pipeline agents
  • Hosted agents vs self-hosted agents



5. Creating Your First Azure Pipeline

5.1 Pipeline Creation

  • Creating pipeline from repository
  • Pipeline templates
  • Pipeline triggers

5.2 YAML Pipelines

  • Introduction to YAML pipelines
  • Pipeline structure
  • Pipeline execution

Example YAML:

trigger:

- main


pool:

 vmImage: ubuntu-latest


steps:

- script: echo Hello Azure DevOps

Microsoft Lab

  • Create a basic YAML pipeline
  • Run pipeline automatically on commit



6. Pipeline Agents and Agent Pools

6.1 Hosted Agents

  • Microsoft hosted agents
  • Agent specifications

6.2 Self Hosted Agents

  • Installing agents
  • Registering agents
  • Managing agent pools

Microsoft Lab

  • Configure a self-hosted agent



7. Build Pipelines

7.1 Build Pipeline Fundamentals

  • Build triggers
  • Build stages
  • Build tasks

7.2 Pipeline Tasks

  • Build tasks
  • Test tasks
  • Publish tasks

7.3 Build Artifacts

  • Creating build artifacts
  • Artifact storage
  • Artifact download

Microsoft Lab

  • Build a web application
  • Publish build artifacts



8. Release Pipelines and Deployments

8.1 Introduction to Release Pipelines

  • Continuous delivery
  • Release pipeline architecture

8.2 Deployment Environments

  • Dev environment
  • QA environment
  • Production environment

8.3 Deployment Strategies

  • Rolling deployment
  • Canary deployment
  • Blue-green deployment

Microsoft Lab

  • Deploy application to Azure App Service

Using

Azure App Service



9. Multi-Stage YAML Pipelines

9.1 Multi Stage Pipeline Concepts

  • Stages
  • Jobs
  • Steps

9.2 Environment Approvals

  • Manual approvals
  • Gates

9.3 Pipeline Conditions

Example:

condition: succeeded()

Microsoft Lab

  • Create multi-stage pipeline

Build → Test → Deploy



10. Pipeline Variables and Secrets

10.1 Variables

  • Pipeline variables
  • Variable groups

10.2 Secure Variables

  • Secret variables
  • Environment variables

10.3 Key Vault Integration

Integrate with

Azure Key Vault

Microsoft Lab

  • Store secrets in Key Vault
  • Use secrets in pipeline



11. Infrastructure as Code Pipelines

11.1 Infrastructure as Code Concepts

  • IaC fundamentals
  • Automated infrastructure deployment

11.2 ARM Templates

  • Deploy infrastructure using ARM templates

11.3 Terraform Pipelines

  • Automate infrastructure provisioning

Using

Terraform

Microsoft Lab

  • Deploy infrastructure using pipeline



12. Container Based Pipelines

12.1 Container CI/CD

  • Build container images
  • Push images to registry

12.2 Docker Pipelines

Using

Docker

12.3 Container Registry

Push images to

Azure Container Registry

Microsoft Lab

  • Build Docker image
  • Push to ACR



13. Kubernetes Deployment Pipelines

13.1 Kubernetes Basics

  • Kubernetes architecture
  • Pods and deployments

13.2 AKS Deployments

Deploy to

Azure Kubernetes Service

Microsoft Lab

  • Deploy container to AKS



14. Package Management with Azure Artifacts

14.1 Overview of Azure Artifacts

Using

Azure Artifacts

14.2 Package Feeds

  • NuGet feeds
  • npm feeds
  • Maven feeds

Microsoft Lab

  • Create artifact feed
  • Publish package



15. Test Automation in Pipelines

15.1 Automated Testing

  • Unit testing
  • Integration testing

15.2 Test Reporting

  • Test results
  • Code coverage

Microsoft Lab

  • Run automated tests in pipeline



16. Security and Compliance

16.1 DevSecOps

  • Secure pipelines
  • Secret management

16.2 Security Scanning

  • Dependency scanning
  • Container security scanning



17. Monitoring and Feedback

17.1 Application Monitoring

Monitor applications using

Azure Monitor

17.2 Application Insights

Using

Azure Application Insights

Microsoft Lab

  • Integrate monitoring into pipeline



18. Advanced Azure Pipeline Features

18.1 Pipeline Templates

18.2 Reusable YAML

18.3 Pipeline Triggers

18.4 Pipeline Scheduling

18.5 Pipeline Dependencies



19. Enterprise DevOps Practices

19.1 Scaling DevOps

19.2 Multi-team pipelines

19.3 Governance

19.4 Cost control



20. Capstone DevOps Project

Build a complete enterprise CI/CD system

Pipeline flow:

  1. Code pushed to repo
  2. CI pipeline builds application
  3. Automated tests run
  4. Docker image built
  5. Image pushed to registry
  6. Deployment to Kubernetes
  7. Monitoring enabled

Using:

  • Azure DevOps
  • Azure Pipelines
  • Azure Kubernetes Service
  • Azure Container Registry


CONTACT US