Introduction

This article will help you learn the process of creating an Azure Blob Storage.

This article will cover the following.

Before reading this article, please go through some important articles mentioned below.

Azure Storage

Azure Storage is one of the cloud computing PaaS (Platform as a Service) services provided by the Microsoft Azure team. It provides cloud storage that is highly available, secure, durable, scalable, and redundant. It is massively scalable and elastic. It can store and process hundreds of terabytes of data or you can store the small amounts of data required for a small business website.

Here, we will see how to create a Storage Account.

Azure Storage Types

A storage account is a container that has a group of Azure Storage services together (Azure Blobs, Azure Files, Azure Queues, and Azure Tables). The following illustration shows a storage account containing several data services.

Azure Storage Types

Azure Storage is a fundamental building block for all of the Azure Services. We can manage them as a group. Once you create the account, we can create any data service inside it and once you delete the account, all the data will be deleted. A storage account can be created in Azure resources. An Azure subscription may contain multiple resource groups, where each group contains one or more storage accounts. Within Azure, there are two types of storage accounts, five types of storage, four levels of data redundancy, and three tiers for storing files.

What is Blob?

Blob is a service for storing large amounts of unstructured data that can be accessed from anywhere in the world via HTTP or HTTPS." Blob stands for " Binary Large Object ". It's designed to store large amounts of unstructured text or binary data like virtual hard disks, videos, images, or even log files. The data can be exposed to the public or stored privately. It scales up or down as your needs change. We no longer manage it, we only pay for what we use.

Why do we use Blob?

Blob Service Hierarchy

Every blob service has the following components,

Blob Service Hierarchy

What is a Container?

A container is a basic structural element for your storage account. It organizes a set of blobs, similar to a directory in a file system. Normally, a storage account can have an unlimited number of containers, and a container can store an unlimited number of blobs. So we first create a storage account then create a container and store our files.

Types of Blob

We specify the blob type when we create the blob. Once the blob has been created, we cannot change its type, and it can be updated only by using operations appropriate for that blob type, i.e., writing a block or list of blocks to a block blob, appending blocks to an append blob, and writing pages to a page blob.

Blobs can be further sub-categorized into three types.

Differentiate blob storage types

Block Blob Page Blob Append Blob
Collections of blocks and each Block is identifiable by a Block ID Collection of pages that are optimized for random read-write operations. Optimized for Append operations
Used for streaming Sequential Data like Video Used for non-sequential Read and Write. Used for activities like Logging
Each Block can be up to 4 MB A page can be up to 512 bytes Each Block can be up to 4 MB
Up to 50,000 Blocks can be created. No limitations on the number of Pages created Up to 50,000 Blocks can be created.
Maximum Size 195 GB Maximum size 1TB Maximum size of 195 GB
Multiple clients writing to the same blob is not possible Multiple clients writing to the same blob is not possible Multiple clients writing to the same blob is possible


Create the Blob Storage in the Azure Portal

Prerequisites

Follow the below steps to create an Azure Storage Account.

Step 1. Log in here. Please go through the article mentioned below for creating a Storage account mentioned below.

After creating the storage account, navigate to the blobs.

Blobs

Step 2. Create Container

A container name must be a valid DNS name

  1. Container names must start with a letter or number and can contain only letters, numbers, and the dash (-) character.
  2. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names.
  3. All letters in a container name must be lowercase.
  4. Container names must be from 3 to 63 characters long.

Public access Level

By default, a container and any blobs may be accessed only by the owner of the storage account. To give anonymous users read permissions to a container and its blobs, you can set the container permissions to allow public access. We can configure a container with the following permissions:

Then choose the container name and public access level and click on ok.

Container name

Container is created.

Created

Step 3. Create Blob

Here is the dashboard of Azure Blob Storage. Since this container is new, it won't yet contain any blobs. Now Select the Upload button to upload a blob to the container

Step 4

Output

Copy the URL from blob Overview and paste it on the address tab

Output

Summary

I hope you understand how to create an Azure Blob Storage in Azure Portal. Stay tuned for more Azure Storage.