Education logo

Azure blob storage

Azure Blob storage is essential for all of Microsoft Azure because many other Azure services will store information in the storage account inside the blob storage and act on that information.

By varunsnghPublished 4 months ago 5 min read
Like

It is Microsoft's object storage service for the cloud. Blob storage is designed to store huge amounts of unstructured information, like binary or text data.

Are you looking to gain particulars about Microsoft Azure deep understanding and the wealth of information? You can take the Microsoft Azure Architect Technology (AZ-305) exam and become an Azure Solutions Architect. This certification will allow you to effectively create cloud architect solutions making use of Microsoft services. This exam will allow you to develop advanced network configurations, as well as design security as well as authentication. security for the infrastructure of your network. Make use of PaaS as well as other services to create full cloud-based solutions. This AZ 305 certification will enable you to build the necessary skills to develop security and identity solutions, including solutions for data storage and business continuity solutions as well as infrastructure-related solutions. Make sure you're certified with Data Engineer certification.

Storage uses for Blobs:

It can serve documents or images directly to the browser.

It saves files for distributed access.

You can play video & audio with Blob storage.

Writing log files is easy and simple.

It is used to store data to ensure backup restoration, backup, restore and disaster recovery and for archiving.

The data is stored to be analyzed by the on-premises or Azure-hosted services.

Azure Blob storage is essential for all of Microsoft Azure because many other Azure services will store information in the storage account inside the blob storage and act on that information. Every blob needs to be kept in the form of a container.

Container

The container functions as an actual folder in which various Blobs are kept. On the level of the container, we are able to define security policies and then assign them to the container. These policies can be rolled out across all blobs in that same container.

A storage account can be made up of an unlimited amount of containers. Additionally, each container can hold an unlimited amount of blobs that can be contained up to the maximum capacity of the size of the storage account (up to 500 TB).).

Therefore, you cannot create an entire container inside an existing container. Let's consider an example after we have created an object that resembles videos, and we wish to distinguish between professional videos as well as personal videos. Then , we can prefix names of the blob by personnel to distinguish personal video, and professionals for professionally-produced videos. The blob's name will appear as personal-video1, personal video2 for personal videos or professional-quality videos, professional-video1, professional-video2. This way, we could create a virtual hierarchy. However, we aren't able to create a container inside an existing container within the Azure Blob storage service.

Blob Types:

Azure provides three types of blobs service:

Block Blob: It is a storage device for text binary data of up to about 4.7 Tb. It is the data block that is manageable in a single. Block blobs can be used mostly to speed up upload times when uploading information in blobs to Azure. If we upload media files, video files, or other documents. It is generally possible to utilize block blobs, except when they're log files.

Append Blob: It's comprised of blocks that are similar to block blobs but specifically designed to perform append operations. This is ideal for applications that require recording information in virtual machines. For example , an Event logs, application logs in which you must add data at the bottom of the document. If we're uploading the blob to an Azure container through the Azure portal or by using code, we are able to specify the type of the blob at the moment.

Pages blobs: They hold random access files that can be up to 8 TB. Page blobs contain all the VHD files that are used to back VMs.

In most cases we work with blocks and append the blobs. Page Blobs are created automatically. Once we have created a virtual machine, the storage account is created and the disks associated with that virtual machine are saved in the account. However, for the majority of storage options we have that we're developing an application similar to YouTube or creating a monitoring software for instance we either use block blobs or append them to blobs according to the need.

Naming and referring to

The names of the container and blob must be in line with some guidelines. Because the name of the container and the name of the blob will be part of the URL whenever you attempt to access these. They must follow certain rules that are listed below.

Container Names

The name of the container must begin with a letter, or number. The name may only contain numbers, letters numbers or Dash (--) character.

The alphabet of the container's name must be lowercase.

Container names need to be between 3 and the length of 63 characters.

Blob Names

Blob names may include the characters of any kind.

Blobs' names must be at minimum one character long, and must not exceed 1024 characters.

Azure Storage emulator supports blob names up to 256 characters long. Azure Storage emulator can handle the creation of blob names as long as 256 characters in length.

Blobs' name is case sensitive.

The URLs reserved need to be correctly escaped.

Snapshots and Metadata

It is possible to store a certain amount of data in containers or blobs as metadata. It's a name-value pair that is associated with the container or the blob. Metadata names have to conform to the rules of name to be used as C# identifiers. For instance, if we develop a video streaming app that has backends like Azure Blob storage, when a user uploads a movie, we will need to store data of the user in metadata with the video. This is extremely useful when we begin developing an application that is based on the blob storage. If you’re seeking more in-depth knowledge, it could be gathered by better preparation for Azure Data Engineer course in Bangalore.

Blob Snapshots

Snapshot is a read only version of the Blob storage. Snapshots are a great way to create backups or checkpoint on an one-off blob. The name of a snapshot blob includes the URL for the base blob, as well as an indication of a date-time that shows the time the snapshot was made. If we're developing an application similar to YouTube that wants to keep the earlier version then we can create the video in a snapshot and save it after users update the video. Thus, users using SharePoint is able to view the previous version as well as the latest version of the movie.

collegestudentteachercourses
Like

About the Creator

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2023 Creatd, Inc. All Rights Reserved.