Quickstart: Upload, download, and list blobs with the Azure portal

In this quickstart, you acquire how to use the Azure portal to create a container in Azure Storage, and to upload and download block blobs in that container.

Prerequisites

To access Azure Storage, you'll need an Azure subscription. If yous don't already have a subscription, create a costless account before you brainstorm.

All access to Azure Storage takes place through a storage account. For this quickstart, create a storage account using the Azure portal, Azure PowerShell, or Azure CLI. For help creating a storage business relationship, see Create a storage account.

Create a container

To create a container in the Azure portal, follow these steps:

  1. Navigate to your new storage business relationship in the Azure portal.

  2. In the left menu for the storage account, roll to the Data storage section, and so select Containers.

  3. Select the + Container button.

  4. Type a name for your new container. The container proper noun must be lowercase, must outset with a letter or number, and can include only letters, numbers, and the dash (-) character. For more data about container and blob names, see Naming and referencing containers, blobs, and metadata.

  5. Set the level of public access to the container. The default level is Private (no anonymous admission).

  6. Select Create to create the container.

    Screenshot showing how to create a container in the Azure portal

Upload a block hulk

Block blobs consist of blocks of data assembled to make a blob. Most scenarios using Blob storage employ cake blobs. Block blobs are platonic for storing text and binary information in the cloud, like files, images, and videos. This quickstart shows how to work with block blobs.

To upload a cake hulk to your new container in the Azure portal, follow these steps:

  1. In the Azure portal, navigate to the container you created in the previous section.

  2. Select the container to prove a list of blobs it contains. This container is new, so it won't still contain any blobs.

  3. Select the Upload push to open the upload blade and browse your local file organisation to find a file to upload as a block hulk. You lot tin can optionally expand the Advanced section to configure other settings for the upload functioning.

    Screenshot showing how to upload a blob from your local drive via the Azure portal

  4. Select the Upload push button to upload the hulk.

  5. Upload every bit many blobs as you lot like in this mode. You'll see that the new blobs are now listed within the container.

Download a block blob

You can download a block hulk to display in the browser or salve to your local file system. To download a cake hulk, follow these steps:

  1. Navigate to the list of blobs that you uploaded in the previous section.

  2. Right-click the blob you want to download, and select Download.

    Screenshot showing how to download a blob in the Azure portal

Delete a cake blob

To delete one or more than blobs in the Azure portal, follow these steps:

  1. In the Azure portal, navigate to the container.
  2. Display the list of blobs in the container.
  3. Use the checkbox to select ane or more than blobs from the list.
  4. Select the Delete button to delete the selected blobs.
  5. In the dialog, confirm the deletion, and signal whether y'all also want to delete blob snapshots.

Screenshot showing how to delete blobs from the Azure portal

Clean upwards resources

To remove all the resource you lot created in this quickstart, y'all can just delete the container. All blobs in the container will as well be deleted.

To delete the container:

  1. In the Azure portal, navigate to the list of containers in your storage account.
  2. Select the container to delete.
  3. Select the More button (...), and select Delete.
  4. Ostend that you want to delete the container.

Next steps

In this quickstart, you learned how to create a container and upload a blob with Azure portal. To larn virtually working with Blob storage from a web app, proceed to a tutorial that shows how to upload images to a storage business relationship.