Working With Azure Blob Storage

Using Azure Blob Storage, we can store large amounts of unstructured object data, such as text files etc. in the Azure Storage.

Introduction 

 
In this article, I will explain about Azure Blob Storage and its uses. Before getting started with blob storage, let’s take a look at what is meant by Azure Storage. Azure Storage is a PaaS (Platform as a Service) service that provides cloud storage which is able to provide the best availability, security, durability, scalability, and redundancy. It is very scalable as well as elastic too.
 
As a discussion of Azure Storage, it can store and it can process the data. Azure Storage is fundamental for all Azure services. When coming to Azure Services, the Azure Service will store the data in two ways -
  • direct method
  • indirect method.
So, now, we have a basic concept about what is Azure Storage is and, now let’s take a look at Azure Blob storage. The Azure Blob storage is used to store unstructured object data, for example, unstructured object data are videos, images, any media files can be stored in blob storage. Then the data can be accessed via HTTP or HTTPS method. In addition to that, the blob storage is very safe, secure, and it is very efficient too.
 
The expansion of BLOB is Binary Large Object, by using Azure Blob Storage, a user can provide the stored data to be available to the public or the user can store data in a private manner. For that, we are going to create an Azure storage account first and then we can proceed on with creating a container later so, that we can upload media files to the blob storage.
 
You may also wonder what is the difference between container and BLOB storage. The difference is, a storage account can include ''N'' number of containers, and a container can store an unlimited number of blobs. 
 
Prerequisites
  • Azure portal login subscription.
Step 1
 
Login to your Azure portal by using the following link

Select create new resource-> storage-> Storage account.
 
Working With Azure Blob Storage
 
Step 2
 
By selecting the storage account creation, we need to provide the basic requirements so that we get it online, now we need to configure the basic requirements given below.
  • We need to provide a storage account name for creating a storage account and then select the subscription.
  • We can either select by Creating a new resource group or use the existing resource group.
  • Select the geographic location for storage, and we need to select the replication as Read-access geo-redundant storage(RA-GRS), then select->Review + Create.
Working With Azure Blob Storage
  • Coming to the next window it shows the details that we entered in basic requirements and after validating select –>Create.
Working With Azure Blob Storage
 
Step 3
 
As we can see after selecting-> create, the Azure storage account deployment is completed, which means the storage account has been created. For the next step click-> Go to resource.
 
Working With Azure Blob Storage
 
Step 4
 
So, after creating the storage account, just navigate to blobs and select ->container for creating a new container so that we can be able to upload the files to it. Now after selecting-> Container provide a name and select public access level and then click-> Ok.
 
Working With Azure Blob Storage
 
Step 5
 
After creating a container, the container will be empty since it does not contain any files in it. So, for that select->upload and browse your pc and select a file and select->upload.
 
Working With Azure Blob Storage
 
Step 6
 
After uploading the file from local PC, the file has been uploaded successfully and now the container has a blob file. In the dashboard, it also contains the uploaded file URL, type, size, etc. Copy the URL and paste it on the new tab or we can just simply click-> download to download the uploaded blob file.
 
Working With Azure Blob Storage
 
I hope you have a clear understanding of the basics of Azure storage uses and uses of container and blob storage. Comment below so that I can improve my article flow from the next article.