Overview: Upload, download, and file block blobs using the Azure portal

  1. Home
  2. Overview: Upload, download, and file block blobs using the Azure portal

Here, you will learn how to utilise the Azure portal to form a container in Azure Storage and to upload and download block blobs in that particular container.

Prerequisites
  • To obtain Azure Storage, you’ll require an Azure subscription. If you don’t already have a subscription, create a free account before you commence.
  • Also, create a storage account utilising the Azure portal, Azure PowerShell, or Azure CLI. 
Creating a container

To create a container in the Azure portal, go through the following steps:

  1. First of all, navigate to your new storage account in the Azure portal.
  2. Secondly, in the left menu for the storage account, scroll to the Blob service section, then select Containers.
  3. Then, select the + Container button.
  4. Now, type a name for your new container.
  5. Further, set the level of public access to the container. The default level is Private (no anonymous access).
  6. Lastly, select OK to produce the container.
Creating a container
Source: Microsoft
Uploading a block blob

Block blobs comprise of blocks of data assembled to make a blob. Also, block blobs are perfect for storing text and binary data in the cloud, like files, images, and videos. In order to upload a block blob to the new container in the Azure portal, follow the below-mentioned steps:

  1. First of all, in the Azure portal, navigate to the container you created in the previous section.
  2. Secondly, select the container to show a list of blobs it contains. This container is new, so it won’t yet contain any blobs.
  3. Now, 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. 
  4. Further, select the Upload button to upload the blob.
  5. Lastly, upload as many blobs as you like in this way. You’ll see that the new blobs are now listed within the container.
Uploading a block blob
Source: Microsoft
Downloading a block blob

You can download a block blob to display in the browser or else save to your local file system. To download a block blob, follow the following steps:

  1. Firstly, navigate to the list of blobs that you uploaded in the previous section.
  2. Secondly, right-click the blob you want to download and then select Download.
Downloading a block blob
Source: Microsoft
Deleting a block blob

You can easily download a block blob to display in the browser and also save to your local file system. If you wish to download a block blob, follow these steps:

  1. Begin with, navigating to the list of blobs that you uploaded in the previous section.
  2. Then, selecting the blobs you want to delete, and select Delete in the top action bar.
Cleaning up resources

In order to eliminate all the resources, you can simply delete the container. All blobs in the container will also be deleted automatically.

To delete the container, follow these steps:

  1. First and foremost, in the Azure portal, navigate to the list of containers in your storage account.
  2. Secondly, select the container to delete.
  3. Now, select the More button (…), and select Delete.
  4. Lastly, confirm that you want to delete the container.
block blobs

Reference: Microsoft Documentation

Go back to Home Page

Menu