Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 4.99 KB

storage-quickstart-blobs-portal.md

File metadata and controls

87 lines (58 loc) · 4.99 KB
title titleSuffix description services author ms.service ms.topic ms.date ms.author ms.custom
Quickstart: Upload, download, and list blobs - Azure portal
Azure Storage
In this quickstart, you use the Azure portal in object (Blob) storage. Then you use the Azure portal to upload a blob to Azure Storage, download a blob, and list the blobs in a container.
storage
stevenmatthew
azure-blob-storage
quickstart
06/26/2023
shaas
mode-ui

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

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

Prerequisites

[!INCLUDE storage-quickstart-prereq-include]

Create a container

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

  1. Navigate to your new storage account in the Azure portal.

  2. In the left menu for the storage account, scroll to the Data storage section, then select Containers.

  3. Select the + Container button.

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

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

  6. Select Create to create the container.

    :::image type="content" source="media/storage-quickstart-blobs-portal/create-container-sml.png" alt-text="Screenshot showing how to create a container in the Azure portal" lightbox="media/storage-quickstart-blobs-portal/create-container-lrg.png":::

Upload a block blob

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

To upload a block blob 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 show a list of blobs it contains. This container is new, so it won't yet contain any blobs.

  3. Select the Upload button to open the upload blade and browse your local file system to find a file to upload as a block blob. You can optionally expand the Advanced section to configure other settings for the upload operation. You can, for example, upload a blob into a new or existing virtual folder or by supplying a value in the Upload to folder field.

    :::image type="content" source="media/storage-quickstart-blobs-portal/upload-blob.png" alt-text="Screenshot showing how to upload a blob from your local drive via the Azure portal":::

  4. Select the Upload button to upload the blob.

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

Download a block blob

You can download a block blob to display in the browser or save to your local file system. To download a block blob, 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.

    :::image type="content" source="media/storage-quickstart-blobs-portal/download-blob.png" alt-text="Screenshot showing how to download a blob in the Azure portal":::

Delete a block blob

To delete one or more 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 one or more blobs from the list.
  4. Select the Delete button to delete the selected blobs.
  5. In the dialog, confirm the deletion, and indicate whether you also want to delete blob snapshots.

:::image type="content" source="media/storage-quickstart-blobs-portal/delete-blobs.png" alt-text="Screenshot showing how to delete blobs from the Azure portal":::

Clean up resources

To remove all the resources you created in this quickstart, you can simply delete the container. All blobs in the container will also 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. Confirm 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 learn about working with Blob storage from a web app, continue to a tutorial that shows how to upload images to a storage account.

[!div class="nextstepaction"] Tutorial: Upload image data in the cloud with Azure Storage