Deploying an AKS cluster
AKS can be provisioned using the Azure portal, the Azure CLI (command-line interface), Azure PowerShell cmdlets, ARM templates, SDKs (software development kits) for supported languages, and even Azure ARM REST APIs.
The Azure portal is the simplest way of creating an AKS instance; however, to enable DevOps, it is better to create an AKS instance using ARM templates, the CLI, or PowerShell.
Creating an AKS cluster
Let's create a resource group to deploy our AKS cluster. From the Azure CLI, use the az group create
command:
az group create -n AzureForArchitects -l southeastasia
Here, -n
denotes the name of the resource group and -l
denotes the location. If the request was successful, you will see a similar response to this:
Figure 14.9: Resource group creation
Now that we have the resource group ready, we will go ahead and create the AKS cluster using the az aks create
command. The...