Azure Containers Explained by Wesley Haakman & Richard Hooper

Azure Containers Explained by Wesley Haakman & Richard Hooper

Author:Wesley Haakman & Richard Hooper
Language: eng
Format: epub
Publisher: Packt
Published: 2023-10-15T00:00:00+00:00


Loosely coupled

Before we start looking at deploying the two containers, we first need a resource group and an AKS cluster. If you need a recap about AKS, you can read Chapter 6. To create the resource group, use the following command:

az group create ` --name rg-aks ` --location westeurope

Within an instance, you should have some JSON output similar to the following screenshot to confirm that the resource group has been created successfully:

Figure 8.6 – Resource group created successfully

Now that we have the resource group, let’s go ahead and create an AKS cluster. This cluster is going to be a very basic cluster and in no way fit for production use, but it is good enough for this example:

Az aks create ` --location westeurope ` --resource-group rg-aks ` --name aks ` --generate-ssh-keys

As you may already know if you read Chapter 6, this will create an AKS cluster in the westeurope Azure region, store it in the rg-aks resource group, and call it aks. It can take some time for the AKS cluster to be created, but once finished, you should have some output similar to the following screenshot:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.