How to Create a blob Storage (Azure storage Account)
Published: 2023-07-01 16:26:39

The blog is about creating blob storage. An Azure storage account contains all your Azure Storage data objects: blobs, files, queues, and tables.  The storage account provides a unique namespace for your Azure Storage data that's accessible from anywhere in the world over HTTP or HTTPS. Data in your storage account is durable and highly available, secure, and massively scalable.
I will be creating an azure storage account with a blob access level; Blob Storage is optimized for storing massive amounts of unstructured data. In the storage a container will be created and unstructured doc will be uploaded. The URl will be shared and made public for easy accessibility.
The doc that will be stored in the blob will be able to be accessed and used daily, 30 days and 180 days.



**Create your Storage account.**
a.	Sign into azure environment, in the search bar, type "storage account, select storage account and then click create. 
Enter your Project details as indicated in the pic below. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w8slozt2ieg0j2vc93qk.png)

b.	On the advanced tab, leave security, hierarchical Namespace, access protocols as default while selecting Hot access under blob storage access tier.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mym1u2xmia9s2uj0a3yi.png)

c.	Select “enable public access from all networks”.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jivl7xvgbg9idvlfglh9.png)

d.	Leave other parameters as default, review the summary of the storage and click create.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nn4hoy9zbhbqjf85jfvj.png)

e.	When deployment is complete, click on "Go to resource” and click your Virtual Machine.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hq6lynz2xy6chdsqup6z.png)

**Creating a container and upload the unstructured document.**
a.	On the left, go to Data storage and select container, create a new container where you upload your file, give the container a name and set the access level to BLOB, then click create button. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nack9bdjio0ri32y107t.png)
b.	Upload file into the container.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k3o3nja6nju2nq2lzfhy.png)
c.	Click on the file stored in the container to get the URL to share with the public. Share the URL of the doc and make it publicly accessible.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9yascvez18god8qbx4kt.png)
d.	To access the file for everyday usage, you select the file and click on change tier, select hot access tier and save. This has the highest storage cost.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s9pcvn54tx0ii0zj8kz3.png)
e.	To access the file for 30 days usage, select cool tier and save, i.e., infrequently accessed or viewed once in a month.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rgdsiwz19xq0kige9g0s.png)
f.	To access the file for 180 days usage, select archive tier and save, i.e. rarely accessed or viewed once in 180 days.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qa23skynt3prvtta8jhn.png)