Azure Course Labs

Azure Setup

There are many ways to work with Azure but the Azure CLI is the most user-friendly and well documented.

As well as Azure services we’ll be running containers locally with Docker and Kubernetes.

We’ll also use Git to download the lab content, so you’ll need a client on your machine to talk to GitHub.

Git Client - Mac, Windows or Linux

Git is a free, open source tool for source control:

Azure Subscription

You’ll need your own Azure Subscription, or one which you have Owner permissions for:

Azure Command Line - Mac, Windows or Linux

The az command is a cross-platform tool for managing Azure resources:

.NET 6.0 - Mac, Windows or Linux

We’ll us C# for simple demo applications:

Docker Desktop - Mac, Windows or Linux

Docker Desktop is for running containers locally and gives you a Kubernetes environment:

The download and install takes a few minutes. When it’s done, run the Docker app and you’ll see the Docker whale logo in your taskbar (Windows) or menu bar (macOS).

On Windows the install may need a restart before you get here.

Right-click that whale and click Settings:

In the settings Windows select Kubernetes from the left menu and click Enable Kubernetes:

Docker downloads all the Kubernetes components and sets them up. That can take a few minutes too. When the Docker logo and the Kubernetes logo in the UI are both green, everything is running.

Check your setup

When you’re done you should be able to run these commands and get a response with no errors:

git version

az --version

dotnet --list-sdks

docker version

kubectl version

Don’t worry about the actual version numbers, but if you get errors then we need to look into it.