HOWTO: Configure Feeds for Azure Blob Storage
  • 11 Jan 2022
  • 3 Minutes to read
  • Dark
    Light
  • PDF

HOWTO: Configure Feeds for Azure Blob Storage

  • Dark
    Light
  • PDF

How to Configure a New Feed to Use Azure Blob Storage

ProGet can use Azure Blob Storage to store your package files instead of your server’s disk drive. This simplifies disaster recovery by storing everything on the cloud and ensures you never run out of disk space.

This article will walk you through how to set up Azure Blog Storage and then use it to store packages in a new feed in ProGet.

Migrating An Existing Feed?

This guide walks through creating a new feed. If you have an existing feed that you would like to migrate to Azure Blob Storage, check out our migrating an existing feed docs.

Step 1: Login or Create an Azure Account

Sign up or login to your Azure Account.

Azure Account Sign in

Step 2: Configure Your Storage Account

Now that your signed in you will need to create a storage account if you have not already done so. Navigate to your storage account inside Azure by searching "storage account" in the search bar at the top of the screen. Then click on Create Storage Account.

Create Azure Storage Account

You will then need to fill out the relevant fields. You are welcome to fill out the other tabs, but only the information under the Basics tab is needed to configure your storage account and use it with ProGet. When you are finished click on Review+Create in the bottom left corner.

Azure Storage Account Settings

Step 3: Create a Container

After setting up your storage account you will need to create a container. To do this click on Go To Resource to access all the tabs you need to manage your new storage account.

Go To Resource Button

Navigate to the Containers tab on the left side of your screen. Then click the +Container button to create a new container. Finally, after entering the name of the container and the public access level, click on create in the bottom right corner.

Please copy the name of your container as you will need it during Step 7.

Create New Azure Container

Step 4: Locate Your Connection String

After creating a container, you need to locate the connection string of your container so that ProGet can use your Azure Blob storage.

To find your connection string navigate to the Access Keys tab on the left side of your screen. Then click on Show Keys and copy your Connection String to enter in ProGet during step 7.

View Storage Connection String

Step 5: Create a New Feed

Now that you have setup your Azure Blob storage you will need to create a new feed to use it. To create a new feed, navigate to the banner at the top of the page and click on feeds. Next select Create New Feed.

Create a New Feed in ProGet

You will then need to select the type of feed you would like to setup. In this guide we will be setting up a NuGet feed, but the steps should be nearly the same for any feed. Select the feed you wish to setup and fill in the relevant fields.

NuGet Feed Creation

Step 6: Change your Feeds Package Storage Location

By default, ProGet stores packages files on disk, so your feed will need to be configured to instead store packages on Azure Blob Storage. From your feed click on Manage Feed> Storage & Retention and then select change next to Storage.

Change Storage Location

After clicking change you will be asked to configure your feed package store. Choose Microsft Azure when prompted.

Step 7: Configure Package Store Location to Use Your Azure Blob Storage

After selecting Microsoft Azure as your package store location, you will be presented with the following configuration options:

Configure Feed Package Store in ProGet

Using the Connection String you copied in step 4 and the Container Name in step 3, fill out the relevant fields. If Target Path is left blank, then it will default to receiving files to the root of your storage container. After everything is filled in, click save and your good to go!

Troubleshooting:

Issue: Microsoft Azure is not a storage option

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

To install the Azure extension:

  1. Please click on the gear icon in the banner
  2. Navigate to Integrations & Extensibility -> Extensions
  3. Click the Azure extension under Available Extensions
  4. Click the "Install"

Was this article helpful?