Azure Blob Storage
The world has becoming online and undeniably, there’s a massive amounts of unstructured data that needs to be stored and retrieved. But unstructured data inherently doesn’t have a definition or a data model. Azure’s answer to this problem is Blob Storage.
A Blob storage can store and serve
- images and documents – directly from browser
- video, audio – streaming
- log files – written by applications
A Blob storage exposes HTTP and HTTPS endpoints via Azure Storage REST API, Azure PowerShell, Azure CLI, or an Azure Storage client library for users or applications to retrieve blobs / objects globally.
3 Types of Blobs
|Block||text, binary data||4.7TB|
|Page||VHD files (disks)||8TB|
All data is automatically encrypted using Storage Service Encryption (SSE).
RBAC can be scoped to storage account, individual container or queue
Data at rest is encrypted using 256-bit AES and is FIPS 1402 compliant
Encryption does not affect Azure Storage performance
Encryption has no additional cost
Encryption keys are either Microsoft-managed or customer-managed or customer-provided.
management: enc/dec ops, supported services, key storage, key rotation, key usage, key access
scope: data center, region-wide,
Azure Cosmos DB
Globally distributed database service designed to provide low latency, elastic scalability of throughput, well-defined semantics for data consistency and high availability.
Data consistency as spectrum of choice
For a read operation, consistency corresponds to the freshness and ordering of the database state being requested.
Cosmos DB offers 5 well-defined consistency models backed by comprehensive SLAs.
|Strong||Latest committed write is returned|
|Bounded staleness||Reads might lag behind writes by at most “K” versions/updates or by “T” time interval|
|Eventual consistency||No ordering guarantee for reads|
What consistency level to choose?
blobs, disks, files, queues, tables