Categories
Azure Cloud

Day 2: AZ-204 Training – Azure’s storage cloud solutions

To myself…

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
  • backups
  • analysis

Access

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

TypeExampleMax size
Blocktext, binary data4.7TB
Append logs
PageVHD files (disks)8TB

Security

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

Redundancy

scope: data center, region-wide,

LRS

ZRS

GRS

RA-GRS

GZRS

RA-GZRS

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.

StrongLatest committed write is returned
Bounded stalenessReads might lag behind writes by at most “K” versions/updates or by “T” time interval
Session
Consistent prefix
Eventual consistencyNo ordering guarantee for reads

Consistency guarantees

What consistency level to choose?

Keywords

blobs, disks, files, queues, tables

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s