Use the Azure portal to manage Edge storage accounts on your Azure Stack Edge Pro GPU

APPLIES TO: Yes for Pro GPU SKUAzure Stack Edge Pro - GPUYes for Pro R SKUAzure Stack Edge Pro RYes for Mini R SKUAzure Stack Edge Mini R                  

This article describes how to manage Edge storage accounts on your Azure Stack Edge Pro. You can manage the Azure Stack Edge Pro GPU via the Azure portal or via the local web UI. Use the Azure portal to add or delete Edge storage accounts on your device.

About Edge storage accounts

You can transfer data from your Azure Stack Edge Pro GPU device via the SMB, NFS, or REST protocols. To transfer data to Blob storage using the REST APIs, you need to create Edge storage accounts on your device.

The Edge storage accounts that you add on the Azure Stack Edge Pro GPU device are mapped to Azure Storage accounts. Any data written to the Edge storage accounts is automatically pushed to the cloud.

A diagram detailing the two types of accounts and how the data flows from each of these accounts to Azure is shown below:

Diagram for Blob storage accounts

In this article, you learn how to:

  • Add an Edge storage account
  • Delete an Edge storage account

Add an Edge storage account

To create an Edge storage account, do the following procedure:

  1. In the Azure portal, select your Azure Stack Edge resource and then go to the Overview. Your device should be online. Go to Cloud storage gateway > Storage accounts.

  2. Select + Add storage account on the device command bar.

    Add a storage account

  3. In the Add Edge storage account pane, specify the following settings:

    1. Provide a unique name for the Edge storage account on your device. Storage account names can only contain lowercase numbers and letters. Special characters are not allowed. Storage account name has to be unique within the device (not across the devices).

    2. Provide an optional description for the information on the data the storage account is holding.

    3. By default, the Edge storage account is mapped to an Azure Storage account in the cloud, and the data from the storage account is automatically pushed to the cloud. Specify the Azure storage account that your Edge storage account is mapped to.

    4. Create a new container, or select from an existing container in the Azure storage account. Any data from the device that is written to the Edge storage account is automatically uploaded to the selected storage container in the mapped Azure Storage account.

    5. After all the storage account options are specified, select Add to create the Edge storage account. You are notified when the Edge storage account is successfully created. The new Edge storage account is then displayed in the list of storage accounts in the Azure portal.

  4. If you select this new storage account and go to Access keys, you can find the blob service endpoint and the corresponding storage account name. Copy this information as these values together with the access keys will help you connect to the Edge storage account.

    Add a storage account 2

    You get the access keys by Connecting to the device local APIs using Azure Resource Manager.

Delete an Edge storage account

Take the following steps to delete an Edge storage account.

  1. Go to Configuration > Storage accounts in your resource. From the list of storage accounts, select the storage account you want to delete. From the top command bar, select Delete storage account.

    Go to list of storage accounts

  2. In the Delete storage account blade, confirm the storage account to delete and select Delete.

    Confirm and delete storage account

The list of storage accounts is updated to reflect the deletion.

Add, delete a container

You can also add or delete the containers for these storage accounts.

To add a container, take the following steps:

  1. Select the storage account that you want to manage. From the top command bar, select + Add container.

    Select storage account to add container

  2. Provide a name for your container. This container is created in your Edge storage account as well as the Azure storage account mapped to this account.

    Add Edge container

The list of containers is updated to reflect the newly added container.

Updated list of containers

You can now select a container from this list and select + Delete container from the top command bar.

Delete a container

Sync storage keys

Each Azure Storage account has two 512-bit storage access keys that are used for authentication when the storage account is accessed. One of these two keys must be supplied when your Azure Stack Edge device accesses your cloud storage service provider (in this case, Azure).

An Azure administrator can regenerate or change the access key by directly accessing the storage account (via the Azure Storage service). The Azure Stack Edge service and the device do not see this change automatically.

To inform Azure Stack Edge of the change, you will need to access the Azure Stack Edge service, access the storage account, and then synchronize the access key. The service then gets the latest key, encrypts the keys, and sends the encrypted key to the device. When the device gets the new key, it can continue to transfer data to the Azure Storage account.

To provide the new keys to the device, access the Azure portal and synchronize storage access keys. Take the following steps:

  1. In your resource, select the storage account that you want to manage. From the top command bar, select Sync storage key.

    Select sync storage key

  2. When prompted for confirmation, select Yes.

    Select sync storage key 2

Next steps