Azure Storage Accounts
https://www.greatminditacademy.com/
Azure Storage Accounts
In this blog, I have covered important topics on Azure Storage accounts
- Accessible via REST API: Queue Storage, BlobStorage, Table storage
- Designed for AZVM : File storage and Disk Storage
Type of storage account | Supported storage services | Redundancy options | Usage |
---|---|---|---|
Standard general-purpose v2 | Blob Storage (including Data Lake Storage1), Queue Storage, Table Storage, and Azure Files | Locally redundant storage (LRS) / geo-redundant storage (GRS) / read-access geo-redundant storage (RA-GRS) Zone-redundant storage (ZRS) / geo-zone-redundant storage (GZRS) / read-access geo-zone-redundant storage (RA-GZRS)2 | Standard storage account type for blobs, file shares, queues, and tables. Recommended for most scenarios using Azure Storage. If you want support for network file system (NFS) in Azure Files, use the premium file shares account type. |
Premium block blobs3 | Blob Storage (including Data Lake Storage1) | LRS ZRS2 | Premium storage account type for block blobs and append blobs. Recommended for scenarios with high transaction rates or that use smaller objects or require consistently low storage latency. Learn more about example workloads. |
Premium file shares3 | Azure Files | LRS ZRS2 | Premium storage account type for file shares only. Recommended for enterprise or high-performance scale applications. Use this account type if you want a storage account that supports both Server Message Block (SMB) and NFS file shares. |
Premium page blobs3 |
Azure Storage Services:
There are five storage types in Microsoft Azure and they can be divided into two groups by their design.
- Azure Blobsare an immensely scalable object store for text and binary data.
- Azure Files are organized file shares for cloud or on-premises deployments.
- Azure Queue is a messaging store for consistent messaging between application components.
- Azure Tables are NoSQL store for schema-less storage of structured data.
- Azure Disks are block-level storage volumes for Azure Virtual Machines.
- Azure Blob Storage:
Azure Blob storage is an object storage solution designed for the cloud. Blob storage storing a massive amount of unstructured data. Unstructured data is data that does not stick to a specific data model or definition, like text or binary data. Blob storage objects can be accessed by the user or client application via HTTP/HTTPS from any part of the world. Azure Storage Rest API, Azure PowerShell, Azure CLI, or an Azure Storage client library is used to access Blob Storage objects.
Azure Supports 3 type of blocks
Block Blobs : Blocks blobs are designed to store text and binary data. If you store a file as a block blob, it arrives to the storage in small blocks and only after you complete the upload, the file is merged into piece, with this architectrue file cannot be modified until it is completely loaded.
Previously the size of single blob was count not exceed 200GB, now the limit is 4.77TB per blob
Append Blobs: these blobs are are basically used for scenarios like logging data from Virtual machines
Page Blobs: Page blobs store random access files ranging upto to 8TB in size, these blocks store virtual hard drive files and function as disk for Azure virtual machine.
Azure Blob pricing
Besides three Blob types, there are also Blob access tiers in Microsoft Azure. You may have already heard about hot, cool, and cold storage tiers:
- The hot tier is for the frequently needed data. It’s expensive to store but cheap to access.
- The cool tier is for the less frequently needed data. It’s less expensive to store files than in hot tier, but more expensive to access,
- The cold tier is for your archives. It’s dirt cheap to store files there but highly expensive to access files.
Microsoft has all three access tiers for the Blob Storage named respectively - Hot Tier, Cool Tier and Archive for the cold tier.
Note: you cannot change the access tier for Page blobs. This access tier only applies to Append Blobs and Block Blobs.
Data storage prices pay-as-you-go
All prices are per GB per month.
Data storage prices pay-as-you-go | Premium | Hot | Cool | Archive |
---|---|---|---|---|
First 50 terabyte (TB) / month | ₹12.43013 per GB | ₹1.7403 per GB | ₹1.24302 per GB | ₹0.08204 per GB |
Next 450 TB / month | ₹12.43013 per GB | ₹1.6574 per GB | ₹1.24302 per GB | ₹0.08204 per GB |
Over 500 TB / month | ₹12.43013 per GB | ₹1.5828 per GB | ₹1.24302 per GB | ₹0.08204 per GB |
Table storage:
Azure Table storage behaves as a service that stores structured NoSQL data inside the cloud, producing an attribute store with a schema less design. Because Table storage is schema less, it is easy to adapt your data because the needs of your application evolve. Access to Table storage data is fast and cost-effective for several sorts of applications and is usually lower in cost than traditional SQL for similar volumes of knowledge.
Queue Storage:
Azure Queue storage is an Azure service that implements cloud-based queues. Each queue maintains an inventory of messages. Application components access a queue employing a REST API or an Azure-supplied client library. Typically, you’ll have one or more sender components and one or more receiver components. Sender components add messages to the queue. Messages are retrieved from the front of the queue for processing by receiver components. The subsequent illustration shows multiple sender applications adding messages to the Azure Queue and one receiver application retrieving the messages. Storage Queues are part of the Azure Storage infrastructure, feature a simple REST-based GET/PUT/PEEK interface, providing reliable, persistent messaging within and between services.
Disk Storage
Microsoft Azure Disk Storage is based on Page Blobs. It is a service that allows you to create disks for your virtual machines. A disk created in Disk Storage can be accessed from only one virtual machine. In other words - it is your local drive. Yes, it’s that simple.
Here you can have two options for the speed of your disks:
- HDDs that are cheap but slow and called standard storage.
- SSDs that are fast but expensive and called premium storage.
And two options for disk management:
- Unmanaged disk - you should manage the disk storage and corresponding account yourself
- Managed disk - Azure does everything for you. You need to select only the size of the disk and the desired type - standard or premium
How to create a storage account
Fill in all required fields and choose the relevant options:
Redundancy is already explained above.
- Name: The name of storage account it should be lowercase and it should not exceed 3-24characters long
Performance
Depending on what you want to do with the storage, you can choose Standard which is on HDD or Premium which is on SSD. Obviously, the latter incurs a higher cost than the former.
Replication
This has to do with how redundant you want your data to be. For the purpose of this article I am using locally redundant storage. This topic is however beyond the scope of the article, but you can read more about storage redundancy in this link.
Encryption
This allows for your data to be either encrypted or not. Encryption is always a good policy, but in this case I will go without.
Create a storage blob
Click on the storage account and the select container as the type of service you want.
On the container service screen:
- Click on + Container
Then enter the:
Name
The name of the blob
Access Type
There are 3 possible access types:
Private
This is the default. Data is only available to the account owner.
Blob
This enables read access publicly.
Container
Allows list and read access to the entire container.
Azure Stroage Security
Below setting is enabled for public access, where everyone will be able to access my blob storage from internet
Below setting is configured, for only specific virtual networks and public ip's . blob storage will be able to access by only specific network.
Comments
Post a Comment