Sitemap
Arjun PT

Arjun PT

DevOps engineer who love to share stories, ideas, projects, and perspectives on Technology

Azure Storage

4 min readJun 18, 2023

--

Press enter or click to view image in full size

Why storage ?
image and video doesn’t have structure so cant stored on database
so we need a storage

  • storage is used to store object which are random in nature such as picture, videos, music etc.
  • databases are used to data or record, which are more related to each other, which may change with time and can be updated

Azure storage:

  • its a service from azure
  • azure storage is a cloud storage solution for modern application that rely on durability, availability and scalability to need need of customers
  • storage -> add -> name (storage name)-> account type(general purpose/ blob)-> location-> storage encryption -> susbscription (pay as you go, free tier )-> resource group->replication (ZRS, LRS,GRS)
  • once created we can see overview, IAM, access keys, tags, services(blob, files, table, queues)

components of azure storage:
BLOB:

  • Azure blob stotage is a service that store unstructured data
  • blob storage can store any type of text or data such as document, media files or applcaition installer.
  • blob storage is referred to as object storage
  • This is like s3 service in aws
  • container are the folders that we have inside the blob
  • storage account ->services ->block-> create container (name and give the access type as blob ( we have private , blob and container)

Multiple access tiers based on usage pattern:

  • Hot — optimized for frequently accessed object
  • cool — optimized for storing larege amount of data that is infrequently accessed and stored for atlesast 30 days
  • archive — optimized for data that can tolerate server hours of retrival latency and will remain in archive tied for at least 180 days

Queues:

  • it is a service for storing large number of messages that can be accessed from anywhere in world via http or https
  • A queue can contain million of messages up to the total capacity limit of a storage account
  • As soon as the message is processed it will be deleted from the queue
  • storage queue are separated into queues and queue consist of multiple messages
  • storage account ->services ->queue-> create queue

Table storage:

  • A NoSQL store for schemaless storage of structed data
  • storage table separated into tables each contain rows of data

Filesystem:

  • we can actually mount it as a drive on computer or we can use its a s extended drive
  • a file storage share in an SMB file share in azure.
  • All directories and files must be created in parent share. an account can contain an unlimited number of shares and a share can store an unlimited number of files up to 5TB total of the file share
  • managed files shares for cloud or on-premises deployment
  • except of container we have shares and shares have files and folders

What is the difference between blob and file storage?
Azure Blob Storage is an object store used for storing vast amounts unstructured data, while Azure File Storage is a fully managed distributed file system based on the SMB protocol and looks like a typical hard drive once mounted.

Get Arjun PT’s stories in your inbox

Join Medium for free to get updates from this writer.

storage perfomance tier:
General purpose storage account configured either of the following perfomence tiers

  • A standard performance tier for storing blob, files , tables queues and azure virtual machine disk
  • A premium performance tier for storing unmanaged virtual machine disk only

Data redundancy:

Replicate mltiple copies of data

  • LRS :simple, low cost replication stratergy, data replicated within single storage unit
  • ZRS: Replication for high availablity and durability, data is replicated synchronously across three availablity zones
  • GRS :cross regional replication protect against region wide unavailability
  • RA-GRS — cross regional replication with read access to the replicaiton

storage portal features:

overview: name, replication ,subscription, accountkind
activity log
access control (IAM):
tags
data transfer : transfer frequency, estimated data size
events:
storage explorer: we can manage all the data in blob, fileshare, queue, table like add edit and delete
settings: Access keys (to authenticate your applciation while maeing request to strage account)
configuration (cost on storage account depends upon the usage and option we choose — replciation strartergy, perfomance(standard or premium)
shared access signature- similar to access keybut we can give perimssion like read , write, delete, list , create update for a period of time
firewall and network — from where and when someone can access the storage account by giving the address range
static website — for hosting static website like a signle page applciation


Portal features BLOB:

blob : where we create container and mange files
custom domain : if we need to connect the blob to custom domain
soft delete : it enable your to save and recover blob data in many cases where bob or blob snapshot are deleted. versioning snapshot data will keep the copies
azure CDN:
add azure search:
lifecycle management: blob are automatically move from hot to cool and from cool to archive then deleted after based on the modification date.

--

--

Arjun PT
Arjun PT

Written by Arjun PT

DevOps engineer who love to share stories, ideas, projects, and perspectives on Technology