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 Applications to Azure Kubernetes Service (AKS)

In this lab, you will be using an existing Azure Kubernetes Service (AKS) managed cluster. You will learn how to easily create a containerized application, push it to a container registry attached to the AKS cluster, and deploy the application to the cluster. For this lab, you should have a basic understanding of Containers and Kubernetes.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Jul 29, 2024

Contact sales

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

Table of Contents

  1. Challenge

    Create Your Application

    1. Clone the working files from the following Github repository: https://github.com/pluralsight-cloud/aks-deploy-applications-lab.git
  2. Challenge

    Build and Push your Container Image to Azure Container Registry

    1. Build the application using the Dockerfile in the cloned repository.

    2. Push the container image to the provided Azure Container Registry, using the name myapp and the tag latest

      Tip: You can save the name of the container registry to a variable named ACR using the following command:

      ACR=$(az acr list --query [].name --output tsv)
      
  3. Challenge

    Deploy Your Application to the Cluster

    1. Update the placeholder values in the myapp-deployment.yaml deployment manifest with the unique name of your Azure Container Registry.

    2. Deploy your application using the provided Kubernetes deployment manifest named: myapp-deployment.yaml

    3. Deploy a service to expose your application using the proivided Kubernetes service manifest named: myapp-service.yaml

      Tip: You can save the name of your resource group and AKS cluster variables named RG and AKS respectively using the following command:

      RG=$(az group list --query [].name --output tsv)
      AKS=$(az aks list --query [].name --output tsv)
      
  4. Challenge

    Test Your Application

    1. Test your application by accessing it using HTTP using the IP address of the Kubernetes service.

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