Develop solutions that use Blob storage Flashcards
Blob storage is designed for
Serving images or documents directly to a browser.
Storing files for distributed access.
Streaming video and audio.
Writing to log files.
Storing data for backup and restore, disaster recovery, and archiving.
Storing data for analysis by an on-premises or Azure-hosted service.
Access tiers for block blob data
Hot access tier
Cool access tier
Cold access tier
Archive tier
Hot access tier
The Hot access tier, which is optimized for frequent access of objects in the storage account. The Hot tier has the highest storage costs, but the lowest access costs. New storage accounts are created in the hot tier by default.
Cool access tier
The Cool access tier, which is optimized for storing large amounts of data that is infrequently accessed and stored for a minimum of 30 days. The Cool tier has lower storage costs and higher access costs compared to the Hot tier.
Cold access tier
The Cold access tier, which is optimized for storing data that is infrequently accessed and stored for a minimum of 90 days. The cold tier has lower storage costs and higher access costs compared to the cool tier.
Archive tier
The Archive tier, which is available only for individual block blobs. The archive tier is optimized for data that can tolerate several hours of retrieval latency and remains in the Archive tier for a minimum 180 days. The archive tier is the most cost-effective option for storing data, but accessing that data is more expensive than accessing data in the hot or cool tiers.
Blob storage offers three types of resources:
The storage account.
A container in the storage account
A blob in a container
the default endpoint for Blob storage is:
http://mystorageaccount.blob.core.windows.net
rules when naming a container:
Container names can be between 3 and 63 characters long.
Container names must start with a letter or number, and can contain only lowercase letters, numbers, and the dash (-) character.
Two or more consecutive dash characters aren’t permitted in container names.
The URI for a container is similar to:
https://myaccount.blob.core.windows.net/mycontainer
Blobs - Azure Storage supports three types of blobs:
Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually. Block blobs can store up to about 190.7 TiB.
Append blobs are made up of blocks like block blobs, but are optimized for append operations. Append blobs are ideal for scenarios such as logging data from virtual machines.
Page blobs store random access files up to 8 TB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for Azure virtual machines.
The URI for a blob is similar to:
https://myaccount.blob.core.windows.net/mycontainer/myblob
or
https://myaccount.blob.core.windows.net/mycontainer/myvirtualdirectory/myblob
data lifecycle management policy
Transition blobs from cool to hot immediately when accessed, to optimize for performance.
Transition current versions of a blob, previous versions of a blob, or blob snapshots to a cooler storage tier if these objects aren’t accessed or modified for a period of time, to optimize for cost.
Delete current versions of a blob, previous versions of a blob, or blob snapshots at the end of their lifecycles.
Apply rules to an entire storage account, to select containers, or to a subset of blobs using name prefixes or blob index tags as filters.
Rule filters
blobTypes - An array of predefined enum values.
prefixMatch - An array of strings for prefixes to be match. Each rule can define up to 10 prefixes. A prefix string must start with a container name.
blobIndexMatch - An array of dictionary values consisting of blob index tag key and value conditions to be matched. Each rule can define up to 10 blob index tag condition.
Rule actions
tierToCool
tierToCold
enableAutoTierToHotFromCool
tierToArchive
delete