Block Blobs
- Block Blobs represent files. Files of any format can be uploaded in Block Blob Storage
- Azure storage account needs a logical storage space called as containers to store blobs
- Block Blob (Blob) access can be restricted.
- Azure storage account supports public read (anonymous read) access at container level and the data can be private. Can be shared with specific people using access keys or shared with specific people for a specific period of time using shared access signatures (SAS)
-
Access tiers: Access tiers select the pricing model Refer Here
- Hot
- Cool
- Cold
- Archive
-
Pricing of Access tiers:
- Azure pricing calculator: Refer Here
- In the below table we are estimating storage cost for 10 TB in East US for different tiers
| Access Tier | Size | Cost Per month |
|---|---|---|
| Hot | 10 TB | 215.04 $ |
| Cool | 10 TB | 153.60 $ |
| Cold | 10 TB | 36 $ |
| Archive | 10 TB | 10 $ |
- Lets assume whole data is accessed once access size 10TB
| Access Tier | Size | Access Size | Cost Per month |
|---|---|---|---|
| Hot | 10 TB | 10 TB | 215.04 $ |
| Cool | 10 TB | 10 TB | 256 $ |
| Cold | 10 TB | 10 TB | 344.06 $ |
| Archive | 10 TB | 10 TB | NA |
- Lets assume whole data is accessed 100 times access size 1000 TB
| Access Tier | Size | Access Size | Cost Per month |
|---|---|---|---|
| Hot | 10 TB | 10 TB | 215.04 $ |
| Cool | 10 TB | 10 TB | 10,393.60 $ |
| Cold | 10 TB | 10 TB | 30,756.86 $ |
| Archive | 10 TB | 10 TB | NA |
- Azure supports life cycle for changing access tier with patterns in days which can help in saving costs and administrative efforts.
- Versions in storage accounts: This helps in building repository based applications.
- ReHydrate Blob: Refer Here
Activity 1: Upload a file to Container
- Note: for screenshots refer classroom video
- Standard Storage
- Premium Block Blob storage
Activity 2: Enable anonymous access to the container
- By default in azure storage account anonymous access is disabled
- We can enable in from the settings –> Configuration –> Allow Blob anonymous access to enabled and save
- Select the container and change acess level
- Access any blob and get the url
-
Exercise:
- upload resume document (pdf or docx) to azure storage account
