Microsoft Azure Account
Updated
by Rick Richardson
Create a Microsoft Azure Cloud Account
Open Cloud -> Cloud Accounts -> Create
. Select the Microsoft Azure
card

Fill in the form:
- Select a top-level DNS domain and enter your subdomain.
- Enter
Resource Group
name where all cloud resources that belong to this Cloud Account will be provisioned (AKS clusters, DNS zones, Storage Accounts, etc.). The default value is the wordsuperhub-
followed by the selectedDefault Region
. More information about Resource Groups in Azure is available there: Resource Groups - Enter
Storage container name
. It's the name of the Storage Container within Azure Storage Account where Agilestacks will store states of stacks that belong to this Cloud Account. It's recommended to leave the default value. - Create Service Principal
- One of the ways how to create the Service Principal is using Azure CLI.
- Detailed instructions on Azure Service Principals
- The Service Principal that is onboarded to Agilestacks should be granted access role
Contributor
- There two ways to fill
Credentials
information- Create Service Principal JSON file using this command
az ad sp create-for-rbac --name ServicePrincipalName --sdk-auth=true > azure.auth
- For more information follow Microsoft Azure documentation Create a service principal and Use file-based authentication. Select tab
By File
underCredentials
section. Copy & Paste contents of the Service Principal JSON file to theCredentials
field or Drag & Drop Service Principal JSON file to area to the right or just clickSelect file
button and find it in your file system.
- Select tab
By Fields
. Enter the ID of your Azure Subscription in theSubscription ID
field. One of the ways how to find your Subscription ID is through Azure Web Console. EnterTenant ID
,App ID
andPassword
of a Service Principal. An Azure Service Principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level.
- Create Service Principal JSON file using this command
- Select a default region and availability zone. Your stacks will be deployed in it if you don't override these settings during stack creation.
- Add teams you want to have access to your cloud account with the appropriate roles.
- Press create.
You will be redirected to a cloud account list, where you will find your newly created cloud account. Right now it is not yet usable since it is deploying. Usually, it takes less than a minute to deploy all the required resources for a cloud account.
Next Steps
Once the Onboarding
tag disappears, your cloud account is deployed, and you will be able to create an environment based on Azure cloud account. You will also need Azure CLI and SSH key to work with your Azure cloud account.
- Install Azure CLI on your workstation Install Azure CLI
- Generate SSH Key Create SSH key using
ssh-keygen -m RFC4716
For more details refer to Create SSH keys for Azure - Create a new Environment in Agile Stacks Control Plane using Cloud > Environments > Create