Describe Azure Storage Accounts Flashcards
What is an Azure Storage account?
- provides a unique namespace for your azure storage data that is accessible from anywhere in the world
- data in the account is secure, highly available and massively scalable
What are the types of storage accounts?
- Standard general purpose V2
- Premium block blobs
- Premium file shares
- Premium page blobs
How do endpoints work with azure storage accounts?
- each account has a unique namespace in azure for data
- combination of the unique account name and storage service endpoint forms the endpoints for storage account
- account names must be 3-24 chars with only numbers and lowercase letters
In general terms how does Azure provide storage redundancy?
- stores multiple copies so its protected from hardware failures, network or power outages and natural disasters
- replicated 3 times in the primary region
- ensures that the storage account meets its availability and durability targets even in the face of failures
What is locally redundant storage (LRS)?
- redundancy in primary region
- replaces data 3 times within a single data center
provides 11 nines of durability of objects over a given year (99.999999999%) - lowest cost option
- least durability
- protects against hardware failures but not against whole datacenter failures
- ZRS, GRS and GZRS are recommended by Microsoft
What is zone redundant storage (ZRS)?
- redundancy in the primary region
- for availability zone-enabled regions, ZRS replicates data synchronously across 3 zones in the primary region
- 12 nines of durability
- data is accessible for both read and write ops even if a zone becomes unavailable
- If zone becomes unavailable azure undertakes networking updates
- recommends using ZRS in primary regions that require high availability
- recommended for restricting replication of data within a country or region to meet with gov compliance
In general terms what is redundancy in the secondary region?
- copy data to a secondary region that is hundreds of miles away from the primary region
- data is durable even in the event of a catastrophic failure
- when creating account you select primary region, the secondary region is based on region pairs
- by default data in secondary region isnt available for read or write access unless there’s a failover to the secondary region. In which case the secondary becomes primary
What is geo-redundant storage (GRS)?
-redundancy in secondary region
- copies data synchronously 3 times within a single physical location using LRS and then asynchronously to another single location in the secondary region (region-pair) using LRS
- 16 nines of durability
What is geo-zone redundant storage (GZRS)?
- redundancy in secondary region
- combines high availability provided by redundancy across availability zones, with protection from regional outages provided by geo-replication
- data is copied across 3 availability zones in the primary region and is also replicated to a secondary geographic region using LRS
- recommended for apps requiring max consistency, durability and availability, performance and resilience for disaster recovery
- 16 nines of durability
How does read access to data in a secondary region work?
- if you enable read access to the secondary region your data is always available even when the primary region is running optimally
What is RPO?
- due to asynchronous copy of data to secondary region a failure that affects primary region may result in data loss if the primary region cant be recovered
- the interval between the most recent writes to the primary region and the last write to the secondary region is known as the recovery point objective (RPO)
- indicates point in time to which data can be recovered
What are the benefits of azure storage?
- Durable and highly available; data redundancy and replication in cause of failures such as natural disasters or hardware
- Secure; encrypted
- Scalable; meets demands and needs
- Managed; azure handles hardware maintenance, updates and crit issues
- Accessible; accessible from anywhere in the world over HTTP or HTTPS, Microsoft provides client libraries for azure storage in a variety of languages
What is blob storage?
- object storage
- stores mass amounts of data such as text or binary
- unstructured so no restrictions on data type
- reached from anywhere with internet
- arent limited to common file formats; doesn’t require devs to think about or manage disks
What is blob storage best used for?
- serving images or docs directly to browser
- Storing files for distributed access
- Streaming video and audio
- Storing data for backup and restore, disaster recovery, and archiving
- Storing data for analysis by an on-premises or Azure-hosted service
what is the blob storage hot access tier?
- optimised for storing data that is accessed frequently (e.g. images for website)