- Lab
- A Cloud Guru
Deploying and Accessing an Application to an AKS Cluster
In this lab, we will work with the Azure Command Line Interface (CLI) to create an AKS cluster. We will then use the kubectl command line utility to deploy an application to that cluster, and then add a kubernetes service, so that the application is accessible over the internet.
Path Info
Table of Contents
-
Challenge
Create AKS Cluster
- Create just the cluster, without any integrations with Azure Monitor, or Azure Policy.
- You can use either the provided Service principal or a System-assigned managed identity.
- The cluster can be created with the Azure Portal, CLI, PowerShell, or ARM template.
-
Challenge
Deploy the Application
- Create a deployment to include two replicas of the application. The deployment can be applied in the Azure Portal or with the Azure Cloud Shell.
- The application should use the
NGINX
public Docker Hub image. - Include resource minimum and maximum limits.
-
Challenge
Access the Application Externally
- Add a
LoadBalancer
service to generate an external IP. The service can be added in the Azure Portal, or with the Azure Cloud Shell using thekubectl
command line tool. - Confirm access to the application using the external IP.
- Add a
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.