-
Book Overview & Buying
-
Table Of Contents
Designing and Implementing Microsoft Azure Networking Solutions
By :
To complete some of the hands-on exercises in this book (such as the exercise after this one), you will need to deploy VMs for testing. In Azure, not all VM sizes are available in all subscription regions! There are also CPU quota limits for VM families and subscription regions (Figure 1.34).
Figure 1.34 – Regional and VM family CPU limits per subscription
In this exercise, you will evaluate your subscription to determine the VM sizes and locations to use for the exercises in the upcoming chapters of this book. Here are the tasks that you will complete in this exercise:
For the hands-on exercise, I will be defaulting to the East US and West US Azure regions as these are the regions that I have used throughout the rest of the book. While I recommend that you also use these regions, you do not need to stick with this recommendation. There is nothing particular about them. If you decide to use other regions instead, simply replace the values as you run the specified commands. You can obtain a list of Azure locations with the az account list-locations -o table Azure CLI command.
Let’s get into this!
The steps are as follows:
Figure 1.35 – Click the icon to open Cloud Shell
Figure 1.36 – Select the Bash shell environment
az vm list-usage --location eastus --output table az vm list-usage --location westus --output table
Figure 1.37 – The total regional vCPU usage
Figure 1.38 – Standard BS VM Family regional vCPU usage
Standard_B VM family in the East US and West US Azure regions. I will be defaulting to a VM size in this VM family. If you plan on using different regions, remember to replace the value for the location parameter with the regions that you are planning to use:az vm list-skus --location eastus --size Standard_B --all --query "[?restrictions[0].reasonCode != \`NotAvailableForSubscription\`]" --output table az vm list-skus --location westus --size Standard_B --all --query "[?restrictions[0].reasonCode != \`NotAvailableForSubscription\`]" --output table
Figure 1.39 – The Standard_B2s VM size availability check
Now that you have verified the regions and VM size that you will be using, make a note of these as you will be needing them in the upcoming exercises in this chapter and in the rest of the chapters of this book.