Creating Azure Blob Storage: What you need to know to get started
Published: 2023-06-16 03:56:03

The Azure storage platform is Microsoft answer to modern data storage on the cloud. its highly available, scalable, durable and secure storage for a variety of storages in the cloud. Imagine yourself coming home from the grocery store and you need to store food items in your kitchen, you will need to separate items based on their nature, some in the fridge, others in open spaces. Azure cloud storage are accessible from anywhere in the world over HTTP or HTTPS or REST API.

Azure blob storage is a massively scalable object store for text and binary data. For example, photos, documents, videos or software can be stored into it. Other Azure storage includes:
Azure files, Queues, Tables, Elastic SAN and Managed disks.
In the following steps we will create our Blob storage and explain the different tier options in Blob storage.
1 Prerequisite
2 Create your storage account.
3 Explain tiers in blob.
 
To get started you are required to open one of the different [accounts](www.portal.azure.com) provided to start you journey in Microsoft Azure.

**Creating Your storage account**
Sign into your account on [ Azure portal] (www.portal.azure.com) and search for "storage account"

![storagecc01](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qs2ss2jnmv3jq4vx3hci.png)
2 On the storage account click "create", it brings up the "Basic" page.
3 In project detail, choose a "Subscription".
4 Click on "Create new" or choose an existing Resurce group.

![storagecc02](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rh2exsal1hhj92y5o4fr.png)
4 Next, Instance details, select a unique name for "storage account name", select a Region where your storage account should be deployed.
5 Select "standard" for performance option and, for redundancy we use "Geo-Redundant-Storage" (GRS). it stores your data in two regions, first the primary region, and a secondary for redundancy.

![storagecc03](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ysytzvw698ycwl61effs.png)
6 Click "Advanced", next, scroll down to Blob storage section, pick "hot" to always access your data at all times.
![storagecc04](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cjsvku2fpdwo5twlxy2i.png)
7 Next, Networking, under network connectivity, select "Enable public access for all networks."

![storagecc05](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p8exkcqjzk2ecl9sub8o.png)
8 Scroll down, network routing, leave the "Routing preference" as default.

![storagecc06](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/osvrsqvh29g87i4fr32n.png)
9 Next, Data Protection, we leave it at its default. 

![storagecc07](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gr9fe2ebvu5wygsiiite.png)
10 Next, Review, the click create.
![storagecc08](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qksreeabcsjik1kgl5vi.png)
After we have clicked "create" we wait for the deployment to complete and once done click on the "Go to resource" button to view our storage created.
![storagecc09](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/60nkfp9mval8uv2vs33g.png)
A storage account is more like an empty space, we need to create compartments inside it called containers to store our files. Follow this step to create a container and a Blob storage that can hold our non-binary data. 

**Creating A Container And Blob storage**

1 Inside the storage account, at the left pane, under Data storage, select "container."

![storagecc10](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oj504qsquoppfi55bof8.png)
2 in the window that opens, select "+Container", a right pane opens, input a unique name, and under public access level, click the drop-down arrow and select Blob.

![storagecc11](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hvl990lzebwkjotncc1a.png)
3 We have created our container successfully; next we are going to upload a file into it.

![storagecc12](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bvl5z55l683ctxbhqb1d.png)
4 Select the created container, click to open it.

![storagecc13](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l4eebix9ezfih1a7ys6c.png)
4 Click on the Upload button at the top, a right panel window opens, click the browse for a file button, from your local computer select a file to upload.
![storagecc14](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fdduzjm4bczmrfb71fzw.png)
5 After uploading the file, we proceed to copy the url of the file and paste on the browser to see it.

![storagecc15](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3tssnm7uk7c951thgdcm.png)

![storagecc16](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ugv06snndtl0n14n9he3.png)

**Access Tiers in Azure Storage** 

In Azure storage services, we have three (3) different tiers of storage, Hot, Cool, and Archive.
**Hot tier**
It is optimized for storing data that requires frequent access, it has higher access cost but lower storage costs.

![storagecc018](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mn9grgp132vdv9jecfd6.png)


**Cold tier**
Data in the cool and cold tiers has slightly lower availability but offer the same higher durability. Data stored for a minimum of 90 days.it has lowest storage cost and higher access cost.

![storagecc019](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zi0244pvs2aqijuwwf8u.png)

**Archive tier**
An offline tier optimized for storing data that is rarely accessed. and has flexible latency requirements, on the order of hours. Data in the archive tier should be stored for a minimum of 180 days.

![storagecc017](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/shn8v99x4ikdzanz08wj.png)