Windows Azure platform

24
cloud platform introduction windows azure platform storage in windows azure platform Alexander Koval Software Architect, MCPD

description

Presentation for TulaDev.NET by Alexander Koval

Transcript of Windows Azure platform

Page 1: Windows Azure platform

storage in windows

azure platform

Alexander KovalSoftware Architect

MCPD

Agenda

Storage in Windows Azurebull Table Blob Queuebull Demo 1bull Q ampA (5 minutes)

bull Azure Drivebull Demo 2bull Q ampA (5 minutes)

bull Storage for various types of data and applications

bull Distributed over data centers and physical boxes

bull Storage at massive scale

Compute Storage

Management Diagnostics

Windows Azure Storage

bull Tablendash Entity Data Storendash Partitioned by keyndash Not a RDBMS

bull Blobndash Blob Storagendash Partitioned by

containerndash Unlimited containers

bull Queuendash Read at least oncendash Delete to remove message

otherwise returns to queuendash Partitioned by Queue Name

bull Drivendash Standard NTFS APIndash Mounts to any

instance as a drive (eg F )

Windows Azure Storage Account

bull User creates a globally unique storage account namendash Can choose geo-location to host storage account

bull ldquoUS Anywhererdquo ldquoUS North Centralrdquo ldquoUS South Centralrdquo

ndash Can co-locate storage account with compute account

ndash Receive a 256 bit secret key when creating account

bull Storage Account Capacity at Commercial Availabilityndash Each storage account can store up to 100 TB ndash Default limit of 5 storage accounts per subscription

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 2: Windows Azure platform

Agenda

Storage in Windows Azurebull Table Blob Queuebull Demo 1bull Q ampA (5 minutes)

bull Azure Drivebull Demo 2bull Q ampA (5 minutes)

bull Storage for various types of data and applications

bull Distributed over data centers and physical boxes

bull Storage at massive scale

Compute Storage

Management Diagnostics

Windows Azure Storage

bull Tablendash Entity Data Storendash Partitioned by keyndash Not a RDBMS

bull Blobndash Blob Storagendash Partitioned by

containerndash Unlimited containers

bull Queuendash Read at least oncendash Delete to remove message

otherwise returns to queuendash Partitioned by Queue Name

bull Drivendash Standard NTFS APIndash Mounts to any

instance as a drive (eg F )

Windows Azure Storage Account

bull User creates a globally unique storage account namendash Can choose geo-location to host storage account

bull ldquoUS Anywhererdquo ldquoUS North Centralrdquo ldquoUS South Centralrdquo

ndash Can co-locate storage account with compute account

ndash Receive a 256 bit secret key when creating account

bull Storage Account Capacity at Commercial Availabilityndash Each storage account can store up to 100 TB ndash Default limit of 5 storage accounts per subscription

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 3: Windows Azure platform

bull Storage for various types of data and applications

bull Distributed over data centers and physical boxes

bull Storage at massive scale

Compute Storage

Management Diagnostics

Windows Azure Storage

bull Tablendash Entity Data Storendash Partitioned by keyndash Not a RDBMS

bull Blobndash Blob Storagendash Partitioned by

containerndash Unlimited containers

bull Queuendash Read at least oncendash Delete to remove message

otherwise returns to queuendash Partitioned by Queue Name

bull Drivendash Standard NTFS APIndash Mounts to any

instance as a drive (eg F )

Windows Azure Storage Account

bull User creates a globally unique storage account namendash Can choose geo-location to host storage account

bull ldquoUS Anywhererdquo ldquoUS North Centralrdquo ldquoUS South Centralrdquo

ndash Can co-locate storage account with compute account

ndash Receive a 256 bit secret key when creating account

bull Storage Account Capacity at Commercial Availabilityndash Each storage account can store up to 100 TB ndash Default limit of 5 storage accounts per subscription

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 4: Windows Azure platform

Windows Azure Storage

bull Tablendash Entity Data Storendash Partitioned by keyndash Not a RDBMS

bull Blobndash Blob Storagendash Partitioned by

containerndash Unlimited containers

bull Queuendash Read at least oncendash Delete to remove message

otherwise returns to queuendash Partitioned by Queue Name

bull Drivendash Standard NTFS APIndash Mounts to any

instance as a drive (eg F )

Windows Azure Storage Account

bull User creates a globally unique storage account namendash Can choose geo-location to host storage account

bull ldquoUS Anywhererdquo ldquoUS North Centralrdquo ldquoUS South Centralrdquo

ndash Can co-locate storage account with compute account

ndash Receive a 256 bit secret key when creating account

bull Storage Account Capacity at Commercial Availabilityndash Each storage account can store up to 100 TB ndash Default limit of 5 storage accounts per subscription

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 5: Windows Azure platform

Windows Azure Storage Account

bull User creates a globally unique storage account namendash Can choose geo-location to host storage account

bull ldquoUS Anywhererdquo ldquoUS North Centralrdquo ldquoUS South Centralrdquo

ndash Can co-locate storage account with compute account

ndash Receive a 256 bit secret key when creating account

bull Storage Account Capacity at Commercial Availabilityndash Each storage account can store up to 100 TB ndash Default limit of 5 storage accounts per subscription

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 6: Windows Azure platform

Typical Design with Azure Storage

WebRole

Cloud

On-PremiseApplications

Third-PartyApplications

Cloud

Browser

Windows Azure

Storage

Microsoft Data Center

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 7: Windows Azure platform

Table Storage Concept

bull Structured Storagebull Partitioned by keybull REST APIbull Security Shared Keybull Up to 255 properties bull Continuation token

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 8: Windows Azure platform

Queue Storage Concept

bull Organization FIFObull Message size lt 8KBbull Partitioned by Namebull Queue API

ndash List Queuesndash Create Queuendash Delete Queuendash Put Messagendash Get Messagendash Peek Messagendash Delete Message

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 9: Windows Azure platform

Blob Storage Concepts

Blocks or

PagesBlobContain

erAccount

sally

images

PIC01JPG

PIC02JPG

movies MOV1AVI

Block or Page 1

Block or Page 2

Block or Page 3

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 10: Windows Azure platform

Blob Storage Blob Containers

bull Number of Blob Containersndash Can have many Blob Containers that will fit in

the storage account limit

bull Blob Containerndash A container holds a set of blobsndash Set access policies at the container level

bull Private or Public accessible

ndash Associate Metadata with Containerbull Metadata are ltname valuegt pairsbull Up to 8KB per container

ndash List the blobs in a container

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 11: Windows Azure platform

Blob Namespace

bull Blob URLhttpltAccountgtblobcorewindowsnetltContainergt

ltBlobNamegt

bull Example ndash Storage Account ndash sallyndash Container ndash musicndash BlobName ndash rockrushxanadump3ndash httpsallyblobcorewindowsnetmusicrockrushxanadu

mp3

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 12: Windows Azure platform

Two Types of Blobs Under the Hood

bull Block Blob ndash Targeted at streaming workloadsndash Each blob consists of a sequence of blocksndash Size limit

bull block 64MBbull Entire Block Blob 200GB

bull Page Blobndash Targeted at random readwrite workloadsndash Each blob consists of an array of pagesndash Size limit

bull Page 512 bytebull Entire Page Blob 1TB

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 13: Windows Azure platform

DEMO(Azure Storage Table Blob Queue)

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 14: Windows Azure platform

DEMO(Azure Storage Azure Storage Explorer)

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 15: Windows Azure platform

Storage in Windows Azure Platform

Q amp A

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 16: Windows Azure platform

Windows Azure Drive

bull Provides a durable NTFS volume for Windows Azure applications to usendash Use existing NTFS APIs to access a durable drive

bull Durability and survival of data on application failover

ndash Enables migrating existing NTFS applications to the cloud

bull A Windows Azure Drive is a Page Blobndash Example mount Page Blob as X

bull httpltaccountnamegtblobcorewindowsnetltcontainernamegtltblobnamegt

ndash All writes to drive are made durable to the Page Blobbull Drive made durable through standard Page Blob replicationbull Drive persists even when not mounted as a Page Blob

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 17: Windows Azure platform

Windows Azure Drive Capabilities

bull A Windows Azure Drive is a Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)ndash Drives can be up to 1TB

bull A VM can dynamically mount up to 8 drivesbull A Page Blob can only be mounted by one VM at a

time for readwrite

bull Remote Access via Page Blobndash Can upload the VHD to its Page Blob using the blob

interface and then mount it as a Drivendash Can download the Drive through the Page Blob interface

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 18: Windows Azure platform

Windows Azure Drive Client Interface

bull Create Drivendash Create a Page Blob and format it as a NTFS single

volume VHD

bull Mount Drivendash Acquire the lease on the NTFS formatted Page Blob

and mount it as a drive letterbull Page Blob lease is maintained as long as drive is mounted

bull Unmount Drivebull Release the Page Blob lease and unmount drive letter

bull Snapshot Drivendash Snapshot Blob

bull Copy Drivendash Copy Blob

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 19: Windows Azure platform

Storage Durability

1 Replicate within the same geo-location 2 Allow applications to choose geo-location3 Geo-replicate data across geo-locations

ndash Maintain multiple copies of your data in 2 geo-locations within the same geo-region (US Europe Asia)

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 20: Windows Azure platform

DEMO(Azure Storage Drive)

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 21: Windows Azure platform

Storage in Windows Azure Platform

Q amp A

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 22: Windows Azure platform

SQL Azure Failover

bull Data is spread out across 3 fault domainsndash Connected directly to one at a time (primary

node)ndash No jumping between them only full failover

bull Secondary node gets promoted to a primarybull New secondary is created

bull Guaranteed consistency between the three

bull Not a load balancing solution

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 23: Windows Azure platform

Storage in Windows Azure Platform

Q amp A

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources
Page 24: Windows Azure platform

Resources

bull Getting startedhttpmsdnmicrosoftcomen-uswindowsazureff796218aspx

bull Tools and SDK httpwwwmicrosoftcomwindowsazure

bull White paper on Azure Storagehttpgomicrosoftcomlinkid=9710117

bull Download Windows Azure Training Kithttpwwwmicrosoftcomdownloadsdetailsaspx

FamilyID=413E88F8-5966-4A83-B309-53B7B77EDF78ampdisplaylang=en

Email akovalcodereignnetBlog httpwwwcodemastersintlcomBlogsAlexander-Koval

  • storage in windows azure platform
  • Agenda
  • Slide 3
  • Windows Azure Storage
  • Windows Azure Storage Account
  • Typical Design with Azure Storage
  • Table Storage Concept
  • Queue Storage Concept
  • Blob Storage Concepts
  • Blob Storage Blob Containers
  • Blob Namespace
  • Two Types of Blobs Under the Hood
  • Slide 13
  • Slide 14
  • Storage in Windows Azure Platform
  • Windows Azure Drive
  • Windows Azure Drive Capabilities
  • Windows Azure Drive Client Interface
  • Storage Durability
  • Slide 20
  • Storage in Windows Azure Platform (2)
  • SQL Azure Failover
  • Storage in Windows Azure Platform (3)
  • Resources