0% found this document useful (0 votes)
15 views

Lab14 - Understanding Blob storage -Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Lab14 - Understanding Blob storage -Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 35

Cloud Computing - Azure

Lab14 – Understanding Blob Storage - Azure

Blob storage
Azure Blob storage is Microsoft's object storage solution for the cloud. Blob
storage is optimized for storing massive amounts of unstructured data.
Unstructured data is data that does not adhere to a particular data model or
definition, such as text or binary data.

About Blob storage


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.

Users or client applications can access objects in Blob storage via


HTTP/HTTPS, from anywhere in the world. Objects in Blob storage are
accessible via the Azure Storage REST API, Azure PowerShell, Azure CLI, or
an Azure Storage client library. Client libraries are available for a variety of
languages, including .NET, Java, Node.js, Python, Go, PHP, and Ruby.
About Azure Data Lake Storage Gen2
Blob storage supports Azure Data Lake Storage Gen2, Microsoft's enterprise
big data analytics solution for the cloud. Azure Data Lake Storage Gen2
offers a hierarchical file system as well as the advantages of Blob storage,
including low-cost, tiered storage; high availability; strong consistency; and
disaster recovery capabilities.

For more information about Data Lake Storage Gen2, see Introduction to
Azure Data Lake Storage Gen2 Preview.

Page 1 of 35
Cloud Computing - Azure

Blob storage resources


Blob storage offers three types of resources:

 The storage account.


 A container in the storage account
 A blob in a container

The following diagram shows the relationship between these resources.

Storage accounts

A storage account provides a unique namespace in Azure for your data.


Every object that you store in Azure Storage has an address that includes
your unique account name. The combination of the account name and the
Azure Storage service endpoint forms the endpoints for your storage
account.

Containers

A container organizes a set of blobs, similar to a directory in a file system. A


storage account can include an unlimited number of containers, and a
container can store an unlimited number of blobs.

The container name must be lowercase. For more information about naming
containers, see Naming and Referencing Containers, Blobs, and
Metadata.

Blobs
Page 2 of 35
Cloud Computing - Azure

Azure Storage supports three types of blobs:

 Block blobs store text and binary data, up to about 4.7 TB. Block blobs
are made up of blocks of data that can be managed individually.
 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 the virtual hard drive (VHD) files serve as disks for Azure virtual
machines. Fore more information about page blobs, see
(../articles/storage/blobs/storage-blob-pageblob-overview.md)

For more information about the different types of blobs, see Understanding
Block Blobs, Append Blobs, and Page Blobs.
Move data to Blob storage
A number of solutions exist for migrating existing data to Blob storage:

 AzCopy is an easy-to-use command-line tool for Windows and Linux


that copies data to and from Blob storage, across containers, or across
storage accounts. For more information about AzCopy, see Transfer data
with the AzCopy v10 (Preview).
 The Azure Storage Data Movement library is a .NET library for
moving data between Azure Storage services. The AzCopy utility is built
with the Data Movement library. For more information, see
the reference documentation for the Data Movement library.
 Azure Data Factory supports copying data to and from Blob storage
by using the account key, shared access signature, service principal, or
managed identities for Azure resources authentications. For more
information, see Copy data to or from Azure Blob storage by using Azure
Data Factory.
 Blobfuse is a virtual file system driver for Azure Blob storage. You can
use blobfuse to access your existing block blob data in your Storage
account through the Linux file system. For more information, see How to
mount Blob storage as a file system with blobfuse.

 Azure Data Box Disk is a service for transferring on-premises data to


Blob storage when large datasets or network constraints make
uploading data over the wire unrealistic. You can use Azure Data Box
Disk to request solid-state disks (SSDs) from Microsoft. You can then

Page 3 of 35
Cloud Computing - Azure

copy your data to those disks and ship them back to Microsoft to be
uploaded into Blob storage.
 The Azure Import/Export service provides a way to export large
amounts of data from your storage account to hard drives that you
provide and that Microsoft then ships back to you with your data. For
more information, see Use the Microsoft Azure Import/Export service to
transfer data to Blob storage.

Page 4 of 35
Cloud Computing - Azure

Topology

In Azure portal, click “Resource groups”.

Page 5 of 35
Cloud Computing - Azure

Click “Add”.

Page 6 of 35
Cloud Computing - Azure

While create “Resource group”.

Page 7 of 35
Cloud Computing - Azure

Type “Resource group name” as “SansboundAzureClass”.

Select “Subscription” as “Free Trial”.

Select “Resource group location” as “South India”.

Click “Create”.

Page 8 of 35
Cloud Computing - Azure

Click “Storage accounts” in left side panel.

Page 9 of 35
Cloud Computing - Azure

Page 10 of 35
Cloud Computing - Azure

Click “Add”.

While create storage account,

Select “Subscription” as “Free Trial”.

Page 11 of 35
Cloud Computing - Azure

Select “Resource group” as “SansboundAzureClass”.

Type “Storage account name” as “sansboundblob”.

Select “Location” as “Central US”.

Set Performance as “Standard” (You can select “Premium” also, but it’s in preview state, that means
they are introducing new feature / in under testing not fully completed).

In “Performance” click “Standard”.

Page 12 of 35
Cloud Computing - Azure

Select “Account kind” as “Blob Storage”.

Select “Replication” as “Locally-redundant storage” (We will discuss LRS feature later briefly).

Set “Access tier” as “Hot”.

Page 13 of 35
Cloud Computing - Azure

Click “Next : Advanced >”.

Page 14 of 35
Cloud Computing - Azure

In “Advanced”.

Page 15 of 35
Cloud Computing - Azure

Click “Next : Tags >”.

In “Tags”,

Page 16 of 35
Cloud Computing - Azure

Type “Key” value as “Name”.

Type “VALUE” as “sansboundblobstorage”.

Click “Next : Review + create >”.

Page 17 of 35
Cloud Computing - Azure

Click “Create”.

Page 18 of 35
Cloud Computing - Azure

Click “Go to resource”.

Page 19 of 35
Cloud Computing - Azure

Click “Blobs”.

Page 20 of 35
Cloud Computing - Azure

In Container, click “Container” to add.

Page 21 of 35
Cloud Computing - Azure

While create container,

Page 22 of 35
Cloud Computing - Azure

Type “Name” as “sansboundblob”.

Select “Public access level” as “Blob”.

Click “Ok”.

Page 23 of 35
Cloud Computing - Azure

Click “sansboundblob”.

Page 24 of 35
Cloud Computing - Azure

Click “Upload” to upload “index.html” file.

Page 25 of 35
Cloud Computing - Azure

In “Upload blob”

Page 26 of 35
Cloud Computing - Azure

Click “Icon”.

Page 27 of 35
Cloud Computing - Azure

In your local machine, locate the “index.html” and select “index.html” file.

Click “Open”.

Page 28 of 35
Cloud Computing - Azure

Click “Upload”.

Page 29 of 35
Cloud Computing - Azure

You have successfully uploaded the “index.html” in sansboundblob container.

Page 30 of 35
Cloud Computing - Azure

Click “index.html”.

Page 31 of 35
Cloud Computing - Azure

In “Overview”.

Click “Generate SAS”.

Page 32 of 35
Cloud Computing - Azure

In “Generate SAS”.

Click “Generate blob SAS token and URL”.

Page 33 of 35
Cloud Computing - Azure

To copy “Blob SAS URL”.

Click “Icon” to copy “Blob SAS URL”.

Page 34 of 35
Cloud Computing - Azure

Paste the “Blob SAS URL” in browser and press “Enter”.

You have got Blob page successfully.

Page 35 of 35

You might also like