How Azure Storage Is Going To Change Your Business Strategies.

Ramesh Choudhary
9 min readDec 4, 2020

--

Azure Storage is a Microsoft cloud-based cloud storage service, which offers the most up-to-date, durable, scalable and cost-effective storage, at minimal cost, if you were to manage it manually. In this blog on Azure archive, you will learn different final offerings from Azure like tables, blocks, file storage and lines! Finally, we have included a demonstration of all these services at Azure. You can also refer to this tutorial to get an overview of Azure Storage:

The following are the topics we will be covering today:

Why Do We Need Preservation?
Storage Vs Database
What is Azure storage?
Repetition in Azure
demo

Why Do We Need Preservation?
Let’s understand this using an example, consider the following construction:

Fig:01 Source: Google

This structure is designed for a photo processing website. We have tried to distribute the load between two categories of servers, namely web servers and backend servers. The sole function of the website server can be to manage incoming requests for our website page. Backend servers will handle any “processing” that may be required for performance, which for us will be image processing. There are two empty “organizations” that are unknown.

The first business will be required to store incoming operations from our web servers. These tasks will be taken by backend servers to perform this function. Once the task is completed, it should be removed from this business so that no other server can retrieve it, because it has already been used.

You may be wondering, why can’t we keep this list on backend servers? This is because we will need more backend servers in our operating environment. This list must therefore be available on each background server, and in order to successfully complete each task, all servers will need to update their list. Now, this is a daunting task.

So, we needed a better solution. Therefore, we have come up with a standard location accessible to all backend servers, where all our operations can be stored first, this is known as a queue.

A second anonymous business is required to store processed images. We needed something that could save our photos with more processing power. The obvious answer was the final file system.

In conclusion, we needed line maintenance for our first business, and for our second business, we needed a file system. But why do we need a file system and not a database to store our photos or activities?

Storage vs Database

Fig:02 Source: Google

File systems require not only low processing, they are also easy to access. If you store photos in a database, you will need to apply queries to the database, whenever you need a photo. Consider the same case with the file system, it will not take much processing because access to the file is light and easy. Also, data storage is more expensive than file system maintenance.

What is Azure storage?
Azure Storage is a cloud storage solution for modern applications based on durability, availability and ability to meet the needs of their customers.

The first thing you need, to use storage in azure is a storage account.

Storage Accounts

To use any type of Azure storage, you must first create an account in Azure. After creating an account, you can transfer data to or delete services in your storage account. Create a storage account to store up to 500 TB of data in the cloud. Use Blob storage account and hot or cool access rates to increase your costs based on how often your item’s data is accessed.

A storage account can be of two types:

General Purpose
Blob storage
Let’s discuss each of them in more detail:

General Account Maintenance Account

A general-purpose storage account provides space there, giving you access to blobs, queues, files and tables, all of these services to a unified account. A general-purpose storage account can be used to store object data, can be used as a NoSQL data store, can be used to define and use message processing lines, and to set file shares in the cloud.

As mentioned, in particular, there are 4 types of endangered species in azure:

Tables
Blobs
Queue
File Storage

Tables

Azure Table storage service stores a lot of organized data. This service is a NoSQL database that receives verified calls from within and outside the Azure cloud. Azure tables are perfect for storing organized, non-relationship data.

Blobs
Azure Blob storage is a service that stores random data in the cloud such as objects/blocks. Blob storage can store any type of text or binary data, such as a document, media file, or application installer. Blob storage is also known as object storage.

Queue
Azure Queue storage is a service for storing large quantities of messages that can be received from anywhere in the world via verified calls using HTTP or HTTPS. One line message can be up to 64 KB in size, and the queue can contain millions of messages, up to the capacity limit of a storage account.

File Storage
Final File Assignment SMB file share to Azure. All references and files must be made with parental sharing. An account can contain an unlimited number of shares, and the share can store an unlimited number of files, up to a maximum of 5 TB of the file share.

Blob storage
Blob storage accounts are specialized in blob data storage and can also be used to select the access category, which allows you to specify how often data in the account is accessed. You can choose the access category that is right for your storage and that suits your costs.

There are two types of access:

Hot: This access point gives us the lowest possible delay. Therefore, it should be used with the most frequently available data. Naturally, as it provides low delays it is very expensive.

Cold: This access section is slower than the “hot” access section which is providing higher delays than the first access point. That being said, it comes with a low price tag so it can be used for data that is not always available.

Going forward, both of these types of storage accounts eg blob storage and general-purpose storage account are made more accessible. With high availability, you can be sure that your azure-managed files will be available 24 × 7. And high availability is only possible through duplication.

Repetition
There are 4 types of Azure repetition:

Unnecessary Storage

Inactive Local Storage (LRS) duplicates your data three times within the unit of measurement that is within the data. The datacenter resides in the region where you created your storage account. The request for a return is successful only if all three responses have been received. Each of these templates resides in different error domains and develops domains within one unit of final rating.

Unnecessary Sinner Storage

Zone-Redundant Storage (ZRS) storage automatically replicates your data across all data centres in one or two regions in addition to storing three responses such as LRS, thus providing higher durability than LRS. Data stored on ZRS last longer even if the primary data centre is unavailable or unavailable.

Geo-Redundant Storage

Geo-redundant storage (GRS) replicates your data in a second region hundreds of miles away from the first region. If your storage account is enabled by GRS, your data lasts longer even if there is a complete regional end or disaster where the primary region is not available.

Read Access Geo-Redundant Storage

Geo-redundant storage (RA-GRS) increases the availability of your storage account, by providing only readable access to data in the second place, in addition to the duplication in the two regions provided by GRS.

Okay, now you have all the information you need. Let’s move on and turn our fingers on the demo!

demo

Scenario: We will try to set up a website that will be able to upload files to the blob service. Once the file has been uploaded, the details of the file will also be added to the Azure line, which will be used to change the background of the web page when it is updated.

Step 1: As mentioned earlier, the first step should be to create your storage account. Follow the instructions in the image below to do so.

First, in the left pane click on End Account
After that, click Add
Finally, enter all the appropriate fields and click Create.

Fig:03

Step 2: That’s it! We have successfully created our storage account. We have four types of storage services in our account, namely Blobs, Lines, Files and Tables. In this Final Azure Lesson, I will be showing you the Blob service and Line Service in this section. Also, for a detailed demo please refer to our video in the Azure Storage Tutorial attached at the beginning of this blog. Let’s start by setting up bl Go to your storage account, then click Blobs.

Step 3: Click on a container, to create a new container. First, enter a container name, this should be different for all the containers you create in this particular account. Next, assign a public access level to it. Blobs are nothing but files. If you assign a private access level, only you will be able to download content from this container. If you assign an access lab, any user with a link to this account can access its files. At the level of access to the container, any user with the link gets access to the files and folders within this container. We will select the Blob access level in our display. Finally, click OK.

Step 4: Specify the link for your storage account in your website code. The connection cable verifies your code to associate with the specified storage account and its services. To do so simply select your last account, then select access keys and finally copy any of the connectors. Paste this link to your website code and set it up!

Step 5: Let’s start with the queue now. On your storage accounts overview page select queues.

Step 6: Next, we’ll be creating a queue. To do that, Click on Add Queue, give a relevant name to the queue and click on OK. Finally, substitute the relevant information in the code.

Step 7: This is the website we have made, select the file that you want to upload, and click on upload.

This is how the screen will look once the file is uploaded.

With this, we have successfully added our file in the container and the queue. You can look at the same in the screens below:

Now let’s check if we have an entry in blob as well:

Step 8: Let’s go to our process page in the website to see if the entry from the queue and blob can be read, and yes! As you can see the image name is same.

That’s all Thank You!

--

--