Create Containerized Solutions with Azure Kubernetes Service (AKS)

Lab Steps

lock
Logging in to the Microsoft Azure Portal
lock
Starting an Azure Cloud Shell
lock
Reviewing the Application You will Containerize
lock
Creating an Azure Container Registry (ACR)
lock
Building a Container Image using ACR Tasks
lock
Inspecting the Created AKS Cluster
lock
Deploy the Application to AKS
lock
Monitoring Applications running in AKS

The hands-on lab is part of these learning paths

Microsoft Azure for Solution Architects
27
10
15
AZ-104 Exam Preparation: Microsoft Azure Administrator
21
7
17
1
more_horizSee 1 more
This lab is currently under maintenance and unavailable. We're actively working to resolve this issue and we apologize for any inconvenience.

We are encountering a few issues on the Azure platform. The engineering team is working on it to fix the issue as soon as possible.

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h 30m
Students3040
Ratings
4.1/5
starstarstarstarstar-border

Description

This lab explores several key services that allow you to create containerized solutions in Azure. One of the main services explored in this lab is Azure Kubernetes Service (AKS). AKS allows you to run fully managed Kubernetes clusters in Azure. You will also use Azure Container Registry (ACR) for building and publishing Docker container images. The AKS monitoring facilities provided by Azure Monitor Insights and Log Analytics are also highlighted.

You will begin the lab with application source code and follow the steps of:

  1. Testing the application locally in Azure Cloud Shell
  2. Building and pushing a Docker container image using ACR quick tasks
  3. Deploying the application to AKS using the image stored in ACR
  4. Monitoring the application and cluster using AKS monitoring facilities

Lab Objectives

Upon completion of this lab you will be able to:

  • Create an Azure Managed Kubernetes Service (AKS) cluster
  • Create container images for solutions
  • Publish an image to the Azure Container Registry
  • Run containers by using AKS

Lab Prerequisites

You should be familiar with:

  • Basic understanding of Azure concepts including Virtual Networks, VMs, Availability Sets, and Load Balancers
  • Experience with Kubernetes and the kubectl command line tool

You can fulfill the prerequisites by completing the 3 Pillars of Azure Cloud Learning Path and the Introduction to Kubernetes Course.

Updates

April 16th, 2021 - Moved validation checks to the most relevant lab step for more immediate validation feedback

January 18th, 2021 - Updated Kubernetes version to 1.18.14 after Azure dropped support of 1.18.8 cause lab startup failures

July 29th, 2020 - Updated the cluster exploration lab step to reflect the latest Portal experience

April 13th, 2020 - Updated the AKS service principal role assignment to include the newest Azure subscriptions resolving an issue that caused the load balancer service to fail to get an external IP in some cases

Sept. 9th, 2019 - Updated to the latest version of Kubernetes in AKS and updated instructions and screenshots to reflect the latest Portal experience

August 12th, 2019 - Updated Kubernetes version

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students99460
Labs175
Courses9
Learning paths26

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.