HOWTO: ProGet as a UI for Azure Blob Storage
  • 27 Dec 2021
  • 3 Minutes to read
  • Dark
    Light
  • PDF

HOWTO: ProGet as a UI for Azure Blob Storage

  • Dark
    Light
  • PDF

How to Configure a ProGet Asset Directory to act as UI for Azure Blob Storage

Microsoft Azure’s Blob Storage is a great storage option since it’s easy to create and make public or private to others. While it’s easy to administrate, its accessibility is limited for non-regular users. Azure’s UI tends to change, so a link clicked today may change tomorrow.

ProGet can act as a neutral interface for cloud storage options like Amazon’s S3 or Azure Blobs. It simplifies using a cloud storage service since users can control when ProGet updates and what changes are applied. It also makes adding or removing files from a cloud storage easy for any users, anywhere, so long as they can access ProGet.

This tutorial will explain how to configure an Asset Directory to use an Azure Blob as storage, therefore allowing ProGet to act as the user-interface.

Step 1: Login to Azure

Sign up for or login to an Azure Account.

azurecloudstorage-signin

Step 2: Configure an Azure Storage Account

An Azure storage account is needed for this guide. If you have one already, skip to Step 3.

In the Azure search bar, type “storage account” and select “Storage accounts.” On the following page, click [Create storage account]

azurecloudstorage-createstorageaccount

In the “Create a storage account” page, fill in relevant fields of the “Basics” tab to your preference: Storage account name; region; performance; redundancy.

Only the Basics tab is needed for configuration, but you are welcome to fill out the other tabs.

azurecloudstorage-storageaccountsettings

Once you’re ready, click [Review+create]

Step 3: Create a Container

Once your deployment is complete, click [Go to resource] at the bottom of the page.

azurecloudstorage-gotoresource

In the menu on the left side of the container page, click on [Containers] under “Data Storage.”

Then, click [+Container] to create a new container.
On the right side of the page, name the new container and choose an appropriate Public access level.

Click [Create] at the bottom right of the screen.

azurecloudstorage-createnewcontainer

Once your container has been made, save the name for Step 7.

Step 4: Copy your Connector String

To connect the Azure Blob storage container to ProGet, you’ll need the the connection string of the container.
Navigate to the access keys tab on the left side of the screen.

Click [Show keys] and copy your connection string for Step 7.

azurecloudstorage-connectionstring

Step 5: Create a new Asset Directory

In ProGet, navigate to the Assets page from the top ribbon.

Click [Create New Asset Directory]

configurePGasS3UI_assetdirectory_createnew

In the pop-up, name the Asset directory and, optionally, give a description.

Step 6: Navigate Manage Feed > Storage and Retention

Once the asset directory is made, navigate to its Storage and Retention page.

On the “Storage” line item, click “change” at the far right.

configurePGasS3UI_manageAD_storage_witharrow

Step 7: Configure the Azure Storage Container

A pop-up with two pages will appear.

On the first page, select “Microsoft Azure”

configurePGasS3UI_configurestorage

On the second page, paste your connection string from Step 4 and your container name from Step 3.

configurePGasAzureUI-configurestorage-connectionstring.png

The target path can be left blank; it will default to receiving files to the root of your storage container.

When ready, click [Save]

Your Azure Blob is now configured to ProGet.

Step 8: (Optional) Test your Blob and ProGet connection

You can check you’ve successfully connected ProGet to your Blob Container by uploading files via ProGet and seeing them appear in Azure.

Navigate to the asset directory and add some files
Upload via your preferred method: via browser, via zip file, etc.

configurePGasS3UI_addassets

Depending on the file size and the server, it may take a few minutes.

configurePGasS3UI_uploadedfiles

Once uploaded in ProGet, go to your Azure container, and you’ll see the files have been populated.

configurePGasAzureUI-azurecontainer-list.png

Troubleshooting

Issue: Microsoft Azure is not a storage option

If you arrived at Step 7 only to discover there was no option to select Microsoft Azure, most likely the Azure extension is not installed.

To install the Azure extension:
• Please click on the gear icon in the banner
• Navigate to Integrations & Extensibility -> Extensions
• Click the Azure extension under Available Extensions
• Click the "Install"


Was this article helpful?