Azure Blob Storage
- Blob Storage is ideal for
- Serving images or documents directly to browser
- Storing files for distributed access
- Streaming audio & video files
- Log Files
- Backup, Restore, Disaster Recovery
- To use Blob Storage, we can use GPV1 GPV2 or Block Blob Storage.
- In Block Blob Storage, we have three resources
- Storage Account
- When we create an azure storage account a unique namespace in azure is created for the data. for example if we create a storage account with name qtstorageaccount, default endpoint for Blob storage will be http://qtstorageaccount.blob.core.windows.net
- So due to this storage account names have to be unique accross azure.
- Lets create a storage account
- Containers: Container organizes set of blobs (Similar to folder in filessystem)
- Each item which we upload to the Container is blob and every blob can be accessed over url
- Block blobs store text and binary data (any file). Block blobas are made up of blocls of data
- Maxium size of the file in Block storage is 4.75 TiB.
- Page blobs store disks upto 8TiB in size
- LT-Elearn has documets of size 1 GB and they need to move to Azure Storage account. How do i move them?
- To Move data into blob storage or migrate existing data into blob storage we have following options
- easy to use commandline tool for windows and linux that copies data to and from Blob storage
- Azure Storage Data Movement Library
- Azure Data Box
- Azure Import/Export
- Refer Here for az copy docs
- To use storage effectively we need to setup the user with necessary authorization.
- We also need to understand commandline options
Azure Storage Explorer
Install azure storage explorer from Refer Here
Post installation navigate to storage account and select open in explorer option
Lets create containers using Azure Storage explore and upload local files to azure storage account
Exercise: Create a azure storage account with the following structure using storage explorer
Setup for next class
- Ensure Azure CLI and Azure Powershell are installed Refer Here
- Next steps:
- Endpoints (Public & Private)
- Private and anonymous read on blob’s and containers
- Access keys and shared access signatures
- Az Copy
- Blob fulse
- Azure Import/Export Service
- Azure Data Box Service.