- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Deploy a Python App to an AKS Cluster Using Azure Pipelines
You are responsible for deploying a Python app to AKS. You have the code and a pipeline template, and you must create a CI/CD pipeline in Azure DevOps.

Lab Info
Table of Contents
-
Challenge
Create an Azure DevOps Organization
- Log in to the Azure portal using the provided credentials.
- Search for Azure DevOps from the Services menu.
- Create a new organization and project named MyFirstProject.
-
Challenge
Import Code and Set Up Environment
- Import the code from this GitHub repository.
- Go to Pipelines > Environments to make Azure DevOps aware of your AKS cluster.
- Create a service connection for the ACR in Azure DevOps.
-
Challenge
Create the CI/CD Pipeline
- This lab requires the use of a self-hosted agent. Instructions can be found here Self-Hosted Agent Instructions.
- Modify the manifest to change the
azure-vote-front
container image location. - Create a new pipeline from the code in Azure Repos.
- Select an existing YAML from the repository.
- Modify the pipeline YAML to include your ACR DNS name.
- Make sure that the pipeline is using the self-hosted agent.
-
Challenge
Access the AKS Cluster
- Navigate to the AKS cluster from the Azure portal.
- Open up the Kubernetes services.
- Copy the
External-IP
from theazure-vote-front
service into a new browser tab. - Vote for Dogs or Cats.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.