.NET Tutorial - Deploy a microservice to Azure

Set up Azure tools

Create an Azure account

If you're new to Azure, you can create a free account. If you have an existing account, you can skip this step.

Create a free Azure account

Install Azure CLI

The Azure CLI provides tools for managing your Azure account.

Sign in to Azure

Once you've installed, open a new command prompt and sign in to your Azure account by running the following command:

Once you've installed, open a new terminal and sign in to your Azure account by running the following command:

Command prompt
az login

Install AKS CLI

Kubernetes is a container orchestration platform. An orchestrator is responsible for running, distributing, scaling, and healing apps comprised of a collection of containers. Azure Kubernetes Service (AKS) provides Kubernetes as a managed service.

Run the following command to install the command-line tools for AKS:

Command prompt
az aks install-cli

You may be alerted with recommendations to set system PATH variables. These are not required for this tutorial.

Continue