Azure Classroom Series – 19/Dec/2020

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
    • Container
    • Blob Preview
  • 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. Preview Preview
  • Lets create a storage account Preview
  • Containers: Container organizes set of blobs (Similar to folder in filessystem) Preview Preview Preview
  • Each item which we upload to the Container is blob and every blob can be accessed over url Preview Preview
  • 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

Scenario: LT-Elearn

  • 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
    • AzCopy:
      • easy to use commandline tool for windows and linux that copies data to and from Blob storage
    • Azure Storage Data Movement Library
    • Blobfuse
    • Azure Data Box
    • Azure Import/Export

AzCopy

  • Refer Here for az copy docs Preview
  • 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 Preview Preview Preview Preview

  • 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 Preview

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.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube