Quickstart: Use Azure Storage Explorer to create a blob in object storage

In this quickstart, you learn how to use Azure Storage Explorer to create a container and a blob. Next, you learn how to download the blob to your local computer, and how to view all of the blobs in a container. You also learn how to create a snapshot of a blob, manage container access policies, and create a shared access signature.

Prerequisites

If you don't have an Azure subscription, create a free account before you begin.

This quickstart requires that you install Azure Storage Explorer. To install Azure Storage Explorer for Windows, Macintosh, or Linux, see Azure Storage Explorer.

To create a general-purpose v2 storage account in the Azure portal, follow these steps:

  1. In the Azure portal, select All services. In the list of resources, type Storage Accounts. As you begin typing, the list filters based on your input. Select Storage Accounts.
  2. On the Storage Accounts window that appears, choose Add.
  3. Select the subscription in which to create the storage account.
  4. Under the Resource group field, select Create new. Enter a name for your new resource group, as shown in the following image.

    Screenshot showing how to create a resource group in the portal

  5. Next, enter a name for your storage account. The name you choose must be unique across Azure. The name also must be between 3 and 24 characters in length, and can include numbers and lowercase letters only.

  6. Select a location for your storage account, or use the default location.
  7. Leave these fields set to their default values:

    Field Value
    Deployment model Resource Manager
    Performance Standard
    Account kind StorageV2 (general-purpose v2)
    Replication Locally redundant storage (LRS)
    Access tier Hot
  8. Select Review + Create to review your storage account settings and create the account.

  9. Select Create.

For more information about types of storage accounts and other storage account settings, see Azure storage account overview. For more information on resource groups, see Azure Resource Manager overview.

Log in to Storage Explorer

On first launch, the Microsoft Azure Storage Explorer - Connect window is shown. Storage Explorer provides several ways to connect to storage accounts. The following table lists the different ways you can connect:

Task Purpose
Add an Azure Account Redirects you to your organizations login page to authenticate you to Azure.
Use a connection string or shared access signature URI Can be used to directly access a container or storage account with a SAS token or a shared connection string.
Use a storage account name and key Use the storage account name and key of your storage account to connect to Azure storage.

Select Add an Azure Account and click Sign in... Follow the on-screen prompts to sign into your Azure account.

Microsoft Azure Storage Explorer - Connect window

When it completes connecting, Azure Storage Explorer loads with the Explorer tab shown. This view gives you insight to all of your Azure storage accounts as well as local storage configured through the Azure Storage Emulator, Cosmos DB accounts, or Azure Stack environments.

Microsoft Azure Storage Explorer - Connect window

Create a container

Blobs are always uploaded into a container. This allows you to organize groups of blobs like you organize your files on your computer in folders.

To create a container, expand the storage account you created in the proceeding step. Select Blob Containers, right-click and select Create Blob Container. Enter the name for your blob container. See the Create the container and set permissions section for a list of rules and restrictions on naming blob containers. When complete, press Enter to create the blob container. Once the blob container has been successfully created, it is displayed under the Blob Containers folder for the selected storage account.

Upload blobs to the container

Blob storage supports block blobs, append blobs, and page blobs. VHD files used to back IaaS VMs are page blobs. Append blobs are used for logging, such as when you want to write to a file and then keep adding more information. Most files stored in Blob storage are block blobs.

On the container ribbon, select Upload. This operation gives you the option to upload a folder or a file.

Choose the files or folder to upload. Select the blob type. Acceptable choices are Append, Page, or Block blob.

If uploading a .vhd or .vhdx file, choose Upload .vhd/.vhdx files as page blobs (recommended).

In the Upload to folder (optional) field either a folder name to store the files or folders in a folder under the container. If no folder is chosen, the files are uploaded directly under the container.

Microsoft Azure Storage Explorer - upload a blob

When you select OK, the files selected are queued to upload, each file is uploaded. When the upload is complete, the results are shown in the Activities window.

View blobs in a container

In the Azure Storage Explorer application, select a container under a storage account. The main pane shows a list of the blobs in the selected container.

Microsoft Azure Storage Explorer - list blobs in a container

Download blobs

To download blobs using Azure Storage Explorer, with a blob selected, select Download from the ribbon. A file dialog opens and provides you the ability to enter a file name. Select Save to start the download of a blob to the local location.

Manage snapshots

Azure Storage Explorer provides the capability to take and manage snapshots of your blobs. To take a snapshot of a blob, right-click the blob and select Create Snapshot. To view snapshots for a blob, right-click the blob and select Manage Snapshots. A list of the snapshots for the blob are shown in the current tab.

Microsoft Azure Storage Explorer - list blobs in a container

Manage access policies

Storage Explorer provides the ability to manage access policies for containers within its user interface. There are two types of secure access policies (SAS), service level and account level. Account level SAS targets the storage account and can apply to multiple services and resources. Service level SAS are defined on a resource under a particular service. To generate a service level SAS, right-click any container and select Manage Access Policies.... To generate an account level SAS, right-click on the storage account.

Select Add to add a new access policy and define the permissions for the policy. When complete select Save to save the access policy. This policy is now available for use when configuring a Shared Access Signature.

Work with Shared Access Signatures

Shared Access Signatures (SAS) can be retrieved through Storage Explorer. Right-click a storage account, container, or blob and choose Get Shared Access Signature.... Choose the start and expiry time, and permissions for the SAS URL and select Create. The full URL with the query string as well as the query string by itself are provided and can be copied from the next screen.

Microsoft Azure Storage Explorer - list blobs in a container

Next steps

In this quickstart, you learned how to transfer files between a local disk and Azure Blob storage using Azure Storage Explorer. To learn more about working with Blob storage, continue to the Blob storage How-to.