Microsoft Azure Storage - Benefits, Types and More

In this blog, we will see about Microsoft Azure Storage, benefits of Azure Storage and about Azure Storage accounts.

What is Azure Storage?

Azure Storage provides a scalable, durable space to store data in Cloud given by Microsoft. 

Benefits of using Azure Storage

There are numerous reason you should use Azure storage for your data or file system.

  • Scalable and Durable to provide space as per your need.
  • Automated Backup and Recovery so that you don't loose your data.
  • Data Encryption to make your data secure.
  • Support for multiple data types

What types of data can we store in Microsoft Azure? Microsoft Azure allows us to store data of any type. But, what are primary data types for which Azure storage is designed for.

Types of Data to store in Azure Storage

  • Structured Data

    Data stored in rows and columns are referred as Structured Data. Structured data is easy to analyze,access, and query. Structure data is also called as Relational Data as it defines the schema of a table with rows and columns.

  • Semi-structured Data

    Semi-structured data uses tags or keys to organize the hierarchy of data. It is stored in non-relational format. Semi-structured data is also referred as NoSQL data. XML, JSON, YAML are best example of semi structured data.

  • Unstructured Data

    These are data which have no defined structure. For example - Media files, Text files, photos, videos.

Storage Options in Microsoft Azure

Several Storage options given by Microsoft Azure.

  • Azure SQL Database
  • Azure Cosmos DB
  • Azure Blob Storage
  • Azure Files
  • Disk Storage
  • Azure Data Lake Storage
  • Why Azure Storage is a good choice compare to on-premise Storage?

    Now that you know about Azure Storage and their features. Let's look at the reasons that make it better compare to on-premise storage.

  • Cost

    Microsoft Azure Storage is always a better option in the context of Cost. On-premise storage requires hardware purchasing, installation, configuration, maintenance. You don't have to do all this in Azure Storage. It  gives you pay-as-you-go features. In this feature, you only have to pay as much money as you will use space to store your data and yes you do not have to worry about the cost of installation and maintenance.

  • Reliability

    Azure Data storage comes with the feature of automatic backup and recovery. So, you don't have to worry about data loss.

  • Types of Storage

    Azure Data Storage offers different storage options including distributed access and tier storage.

  • Microsoft Azure Storage Account

    Microsoft Azure offers various types of storage accounts. An Storage accounts contains your data such as blob, tables, and disks. Each storage accounts has their own features and pricing.

    Types of Azure Storage Account

    • General Purpose v2 accounts : This a basic storage account to store blob, files, disks and tables.
    • General Purpose v1 accounts: A legacy type of Azure storage accounts which may not support all features.
    • BlockBlobStorage accounts: This is a storage accounts with high performance for blobs. Recommended where transaction rate is high.
    • FileStorage accounts: Recommended for enterprise or high performance scale applications.
    • BlobStorage accounts: This is a legacy Blob only storage accounts. Use General purpose v2 Azure accounts instead when possible.

    How to create Azure Storage Account?

    Microsoft Azure provided few tools by which you can create Azure storage account.

    • Azure Portal
    • Azure PowerShell
    • Azure CLI
    • Management Client Libraries

    Create Azure Storage Account using Azure Portal

    To create storage account using Azure Portal, follow below steps.

    • Login to Azure Portal with your account.
    • On Azure Portal menu, select Create a resource
    • Select Storage
    • Select Storage account from this right side panel.
    • Under Project details, select subscription
    • Select Resource group from the drop-down list.
    • Give a name to your storage account
    • Select region for your storage
    • Select Account kind
    • Select Replication
    • Choose Access Tier
    • Under Networking tab, choose connectivity method.
    • Select options within Data Protection and Advanced tabs as per your need.
    • Finally Review your selection and Create storage account in Microsoft Azure.

    Create Azure Storage Account using Azure CLI

    Use below command in Azure CLI to create a storage account.

    az storage account create \
            --resource-group [sandbox resource group name] \
            --kind StorageV2 \
            --sku Standard_LRS \
            --access-tier Cool \
            --name [Give a unique name]
    

    How to connect with Azure Storage Account?

    Azure Storage can be accessible with a REST API to work with your data stored in each storage account. This storage REST API is accessible over HTTP or HTTPS. With Azure Client Library, Azure Storage supports multiple programming languages such as .Net, Java, Python to communicate with  Storage account. To add  Nuget package use this -

    dotnet add package WindowsAzure.Storage

    Hope you like this blog on Azure Storage. Please do share this blog within your community and like our facebook page and stay connected with us.

    Comments