Create Resource Group

In this section you will create a resource group to hold related resources for Arrikto Enterprise Kubeflow.

Note

If you already have a resource group to use you may proceed to the Verify section.

What You’ll Need

Procedure

  1. Switch to your management environment and specify the resource group to use:

    root@rok-tools:~# export AZ_RESOURCE_GROUP=arrikto
  2. Create the resource group. Choose one of the following options, based on how you are managing your Azure resources.

    1. Sign in to the Azure portal.

    2. Click Create a resource and search for Resource group.

    3. Click Create.

    4. For Project details:

      • Set Subscription to your desired subscription.
      • Set Resource group to arrikto.

      For Resource details:

      • Set Region to your desired region.
      ../../../_images/resource-group.png
    5. Click Review + create and then Create.

    Run the following command:

    root@rok-tools:~# az group create \ > --name ${AZ_RESOURCE_GROUP?} \ > --subscription ${SUBSCRIPTION_ID?} \ > --location ${AZURE_DEFAULTS_LOCATION?} { "id": "/subscriptions/5361f4ed-77bb-4e35-b223-f875d30df1a9/resourceGroups/arrikto", "location": "eastus", "managedBy": null, "name": "arrikto", "properties": { "provisioningState": "Succeeded" }, "tags": null, "type": "Microsoft.Resources/resourceGroups" }

    Troubleshooting

    The command failed with an authorization error

    If the above command fails with an error message similar to the following:

    (AuthorizationFailed) The client '0c799e27-a84f-41a2-a02b-236af002af99' with object id '0c799e27-a84f-41a2-a02b-236af002af99' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/3b63afce-113a-4798-a303-f37dada04319/resourcegroups/arrikto' 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 create a resource group.

    To proceed, make sure you have followed the Configure Azure CLI section to configure your Azure CLI with an identity that has Owner permissions. If you only have Reader permissions, contact your administrator to grant Owner permissions to your identity or to create the resource group for you.

Verify

Ensure that your resource group exists:

root@rok-tools:~# az group show -o table --resource-group ${AZ_RESOURCE_GROUP?} Location Name ---------- ------- eastus arrikto
Troubleshooting
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/resourcegroups/read' over scope '/subscriptions/a8eb0222-2657-4a68-ae60-f06536139029/resourcegroups/arrikto' 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 retrieve a resource group.

To proceed, make sure you have followed the Configure Azure CLI section to configure your Azure CLI with an identity that has either Owner or Reader permissions. If you do not have the required permissions, contact your administrator to grant them to your identity.

Summary

You have successfully created a resource group for grouping the AKS related resources that you are about to create for Arrikto EKF.

What’s Next

The next step is to create the AKS cluster.