Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

HOWTO: Configure Feeds for Azure Blob Storage

view on GitHub

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 in the cloud, and ensures you never run out of storage.

In this article, you'll learn how to set up Azure Blob Storage and then use it to store packages in a new feed in ProGet.

Step 1: Login or Create an Azure Account

Sign up or login your Azure Account.

Azure Account Sign in

Step 2: Configure Your Storage Account

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

Create Azure Storage Account

You must then fill in the appropriate fields. You can also fill in the other tabs, but only the information on the Basics tab is needed to configure your storage account and use it with ProGet. When you are done, click Review+Create in the lower left corner.

Azure Storage Account Settings

Step 3: Create a Container

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

Go To Resource Button

Navigate to the Container tab on the left side of your screen. Then click on the +Container button to create a new container. After entering the name of the container and the public access level, click on "Create" in the lower right corner.

Please copy the name of your container as you will need it in step 7.

Create New Azure Container

Step 4: Locate Your Connection String

After creating a container, you need to find your container's connection string 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 View Keys and copy your connection string to enter it into ProGet in step 7.

View Storage Connection String

Step 5: Create a New Feed

Now that you have your Azure Blob storage you 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 Feeds. Then select Create New Feed.

Create a New Feed in ProGet

Next, you need to select the type of feed you want to set up. In this tutorial we will set up a NuGet feed, but the steps should be nearly identical for each feed. Select the feed you want to set up and fill in the appropriate fields.

NuGet Feed Creation

Step 6: Change your Feeds Package Storage Location

By default, ProGet stores package files on disk, so your feed must be configured to store packages on Azure Blob Storage instead. In your feed, click Manage Feed > Storage & Retention, and then select Change next to Storage.

Change Storage Location

After clicking Change, you will be prompted to configure your feed package store. Select Microsft Azure when prompted.

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

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

Configure Feed Package Store in ProGet

Use the connection string copied in step 4 and the container name from step 3 and fill in the appropriate fields. If Target Path is left blank, the files will be stored in the root directory of your storage container by default. After you have entered all the information, click Save and you are ready to go!

Troubleshooting:

Issue: Microsoft Azure is not a storage option

If you have reached step 6 and notice that there is no option to select Microsoft Azure, most likely the Azure extension is not installed.

Here's how to install the Azure extension:

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