Set Up Cloud Environment for Azure¶
This guide will walk you through setting up the necessary environment that you will use throughout your installation to create cloud resources on Azure.
What You’ll Need¶
- An Azure account.
- A configured Azure CLI.
Find all available regions and decide on the region you will use to create all necessary resources:root@rok-tools:~# az account list-locations -o table 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 ...
The command failed with an authorization error
If the above command fails with an error message similar to the following:(AuthorizationFailed) The client '82a19692-1c50-4f24-b3e2-95675ddc5213' with object id '82a19692-1c50-4f24-b3e2-95675ddc5213' does not have authorization to perform action 'Microsoft.Resources/subscriptions/locations/read' over scope '/subscriptions/a8eb0222-2657-4a68-ae60-f06536139029' or the scope is invalid. If access was recently granted, please refresh your credentials.
it means that your identity does not have sufficient permissions to list Azure locations.
To proceed, make sure you have followed the Configure Azure CLI section to configure your Azure CLI with an identity that has either
Readerpermissions. If you do not have the required permissions, contact your administrator to grant them to your identity.
Go to the Azure products availability page and ensure that the Virtual Machine sizes that you want to use for your AKS cluster are available in the region you selected. If not, select a different region.
In this guide, we are going to use the
Store the region you selected in a variable so you can retrieve it later. The remaining of the guide assumes that you will be using this location when creating resources via the Azure portal. The corresponding regional display name is (US) East US. We will refer to it as your desired region.root@rok-tools:~# export AZURE_DEFAULTS_LOCATION=eastus
You have successfully set up the environment necessary for creating Cloud resources on Azure.
The next step is to configure access to Arrikto’s private container registry.