The Azure Kubernetes Service (AKS), is an extremely simple service to launch and configure. I will be using the Azure command-line tools on my local machine; you will also be able to use the command-line tools by using the Azure Cloud Shell which is built into the Azure Portal.
The first thing we will need to do is create a resource group to launch our AKS cluster into. To create one called MasteringDockerAKS, run the following command:
$ az group create --name MasteringDockerAKS --location eastus
Now that we have the resource group, we can launch a two node Kubernetes cluster by running the following command:
$ az aks create --resource-group MasteringDockerAKS \ --name MasteringDockerAKSCluster \ --node-count 2 \ ...