Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

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.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 30m
Published
Clock icon Aug 19, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Azure DevOps Organization

    1. Log in to the Azure portal using the provided credentials.
    2. Search for Azure DevOps from the Services menu.
    3. Create a new organization and project named MyFirstProject.
  2. Challenge

    Import Code and Set Up Environment

    1. Import the code from this GitHub repository.
    2. Go to Pipelines > Environments to make Azure DevOps aware of your AKS cluster.
    3. Create a service connection for the ACR in Azure DevOps.
  3. Challenge

    Create the CI/CD Pipeline

    1. This lab requires the use of a self-hosted agent. Instructions can be found here Self-Hosted Agent Instructions.
    2. Modify the manifest to change the azure-vote-front container image location.
    3. Create a new pipeline from the code in Azure Repos.
    4. Select an existing YAML from the repository.
    5. Modify the pipeline YAML to include your ACR DNS name.
    6. Make sure that the pipeline is using the self-hosted agent.
  4. Challenge

    Access the AKS Cluster

    1. Navigate to the AKS cluster from the Azure portal.
    2. Open up the Kubernetes services.
    3. Copy the External-IP from the azure-vote-front service into a new browser tab.
    4. Vote for Dogs or Cats.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans