azure,

Get a list of all Azure regions available

Nov 15, 2021 · 1 min read · Post a comment
Get a list of all Azure regions available

Speaking of Azure regions and locations, most of the times we think of the commercial Azure cloud, since there is Azure Government, which basically represents a completely isolated Azure cloud dedicated to the US government only. For the rest of us being plebs, we have currently 74 regions available across the globe. Let’s find out the list of all available regions to our account/subscription and tenants.

Prerequisites

  • Azure subscription

az cli

Step 1. Open a terminal and sign in with Azure:

$ az login

Step 2. List all available locations in Azure:

$ az account list-locations -o table

Example output:

DisplayName               Name                 RegionalDisplayName
------------------------  -------------------  -------------------------------------
East US                   eastus               (US) East US
East US 2                 eastus2              (US) East US 2
South Central US          southcentralus       (US) South Central US
West US 2                 westus2              (US) West US 2
West US 3                 westus3              (US) West US 3
Australia East            australiaeast        (Asia Pacific) Australia East
...

Powershell

Step 1. Open Powershell and sign in to Azure:

Connect-AzAccount 

Step 2. List all available locations in Azure:

Get-AzLocation | select DisplayName, Location

Example output:

DisplayName          Location
-----------          --------
East Asia            eastasia
Southeast Asia       southeastasia
Central US           centralus
East US              eastus
East US 2            eastus2
West US              westus

Conclusion

Microsoft Azure has this cool interactive globe map that’s worth checking out here. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on telegram.