DEV Community

Cover image for How to create a storage account and upload Blob files in Azure
Ayomide
Ayomide

Posted on

How to create a storage account and upload Blob files in Azure

To create a storage account in Azure, the first thing we will do is login into our azure account and click on create a resource.

Search for storage account and click on create storage account. Create a resource group and add a name for the storage account.

Your storage account name is unique across all Azure accounts. No two storage accounts can have the same name. choose locally-redundant storage under redundancy (we are choosing this to save cost). You can leave everything else as default and proceed to create an account.

Creating storage account

After your storage account is done creating, navigate to containers under the Data storage section and click on create container.

Navigating to containers

Under the public access level, change it to Blob. This will ensure that you can view the blobs/files that you add to the container

Creating container

Next, we would upload a Blob into the container

Uploading blob

You can view information such as the size of your file and which type file was uploaded. You will also find the url that you can use in accessing the uploaded image

Viewing information about the blob

You can view the contents of the file using the public url for the item

Viewing the blob

Finally, don't forget to delete all the resources that we created; the resource group, container and the storage account

Top comments (0)