Monday, February 14, 2022

Azure Storage Account Types


Defferent Types of Blobs

  1. Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually. Block blobs can store up to about 190.7 TiB.
  2. Append blobs are made up of blocks like block blobs, but are optimized for append operations. Append blobs are ideal for scenarios such as logging data from virtual machines.
  3. Page blobs store random access files up to 8 TiB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for Azure virtual machines.

Different Storage Type in Azure

Storage V1 (Storage):

General purpose storage prior to Azure virtual hard disks. Allows to store un-managed data

Replication: LRS, ZRS4, GRS, RA-GRS

If your applications require the Azure classic deployment model, then these accounts are best suited for you

These accounts deliver the lowest per-gigabyte capacity prices for Azure Storage

Storage V2:

Upgraded version of Storage, with tiering. 

Replication: LRS, ZRS4, GRS, RA-GRS

These accounts deliver the lowest per-gigabyte capacity prices for Azure Storage

Tiering

Hot: Lowest access rates, most expensive per GB capacity.

Cold: Still low latency, but cheap per GB capacity at higher access rate.

Archive: The cheapest per GB capacity (~$2.05 per TB per month!), but it

Tiering means that we can move a blob between 3 tiers within the same storage account (not automatic tiering today):

Reference:

BlobStorage:

Blob storage account is specialized storage account for storing unstructed object data as block and append appended blobs, but not page blobs.

Reference:

What is Azure Blob Storage used for?

Azure Blob Storage was designed to serve specific needs. If your business use case needs to store unstructured data like audio, video, images, etc then you should probably go with this option. The objects which are being stored in Blob does not necessarily have an extension.

The following points describe the use case scenarios:

  1. Serving images or documents directly to a browser
  2. Storing Files for distributed access
  3. Streaming video and audio
  4. Writing to log Files
  5. Storing data for backup, restore, disaster recovery and archiving
  6. Storing data for analysis by an on-premises or Azure-hosted service

FileStorage:

Azure Files enables you to set up highly available network file shares that can be accessed by using the standard Server Message Block (SMB) protocol. That means that multiple VMs can share the same files with both read and write access. You can also read the files using the REST interface or the storage client libraries.

File Storage can be used if your business use case needs to deal mostly with standard File extensions like *.docx, *.png and *.bak then you should probably go with this storage option.

The following points describe the use case scenarios: 

Replace or supplement on-premises File servers

“Lift and shift” applications

Simplify cloud development

Reference 1:

Reference 2:

BlockBlobStorage:

https://www.ais.com/how-to-choose-the-right-kind-of-azure-storage-account/





Friday, February 11, 2022

Metadata Generation Failed - Error - Azure Fuctions

Today I encountered with the error, Metadata Generation Failed just after try to add .NET standard project to existing .NET 4.6.2 fleet of projects in solution. 

I was trying to add few features to my existing Azure Function V1, in .NET framework

My function SDK is: 
  • Microsoft.NET.Sdk.Functions version 1.0.24
  • Microsoft.Azure.WebJobs.ServiceBus 2.2.0
Managed to resolve this by deleting the below folder

C:\Users\CharithGunasekara\.nuget\packages\microsoft.net.sdk.functions\1.0.24\build\netstandard1.0


Azure Storage Account Types

Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...