Introduction

In my previous article, I briefly explained the Azure Kubernetes Service. Now it’s the time to create an Azure Kubernetes Service Cluster. Azure Kubernetes Service (AKS) is a managed Kubernetes service that lets you quickly deploy and manage clusters, Azure provides multiple ways that you can create an AKS Cluster. I will explain to you each way but, in our article, we are using the Azure portal for creating Azure Kubernetes Service cluster. Our article is divided into two parts, the first one is to create an Azure Kubernetes Service Cluster, and the second one is an overview of the Azure Kubernetes Service Cluster in the Azure Portal.
Different Ways of Creating Azure Kubernetes Service Cluster
By using the Azure portal
The Azure portal gives you a graphical interface of deploying your cluster through a wizard. This is a great way to deploy your first cluster. For multiple deployments or automated deployments, one of the following methods is recommended.
By using the Azure CLI
The Azure command-line interface (CLI) is a cross-platform CLI for managing Azure resources. Azure CLI, an interactive shell environment that you can use through your browser. In Azure CLI there is the option of Bash or PowerShell to work with Azure services. Azure CLI allows you to script your cluster deployment, which can be integrated into other scripts.
Using Azure PowerShell
Azure PowerShell is a set of PowerShell commands for managing Azure resources directly from PowerShell. It can also be used to create a Kubernetes cluster.
By using ARM templates
Azure Resource Manager (ARM) templates are an Azure native infrastructure-as-code (IaC) language. They allow you to declaratively deploy your cluster. This allows you to create a template that can be reused by multiple teams.
By using Terraform for Azure
Terraform is an open-source IaC tool developed by HashiCorp. The tool is very popular in the open-source community to deploy cloud resources, including AKS. Like ARM templates. Terraform also uses declarative templates for your cluster.
Create an Azure Kubernetes Service Cluster
As I mentioned above, we will use the Azure Portal for creating the Azure Kubernetes Service Cluster, The Azure portal is a web-based management console. It allows you to build, manage, and monitor all your Azure deployments worldwide through a single console. Now let’s start to create an AKS Cluster, for creating an AKS cluster you must have an Azure subscription account if you don’t have you can create it by following the URL.
Step 1
Enter the aks keyword in the search bar at the top of the Azure portal. Click on Kubernetes services under the Services category.

Step 2
It will take you the Azure Kubernetes Service blade click on the Add button to create a new AKS Cluster.

Step 3
The add button will take you through the creation wizard blade to create your first AKS cluster. The first step here is to create a new resource group. Hit the Create New button, give your resource a name, and hit OK. In my case, I give the resource group the name rh-K8s-training. It will show the Green tick if the name is valid.









Join the conversation! Your thoughts help the community grow.