Microsoft Azure Account

Rick Richardson Updated by Rick Richardson

Create a Microsoft Azure Cloud Account

Open Cloud -> Cloud Accounts -> Create. Select the Microsoft Azure card

Azure onboarding

Fill in the form:

  1. Select a top-level DNS domain and enter your subdomain.
  2. 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 word superhub- followed by the selected Default Region. More information about Resource Groups in Azure is available there: Resource Groups
  3. 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.
  4. Create Service Principal
  5. 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 under Credentials section. Copy & Paste contents of the Service Principal JSON file to the Credentials field or Drag & Drop Service Principal JSON file to area to the right or just click Select file button and find it in your file system.
    • Select tab By Fields. Enter the ID of your Azure Subscription in the Subscription ID field. One of the ways how to find your Subscription ID is through Azure Web Console. Enter Tenant ID, App ID and Password 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.
  6. Select a default region and availability zone. Your stacks will be deployed in it if you don't override these settings during stack creation.
  7. Add teams you want to have access to your cloud account with the appropriate roles.
  8. 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.

  1. Install Azure CLI on your workstation Install Azure CLI
  2. Generate SSH Key Create SSH key using ssh-keygen -m RFC4716 For more details refer to Create SSH keys for Azure
  3. Create a new Environment in Agile Stacks Control Plane using Cloud > Environments > Create

Like what you see? Request a demo today!

How did we do?

Google GCP Cloud Account

Create an Environment