> blobs > > > > tables queues drives (new) > > > > (new) (new) New Features > Blobs > New Type of Blob > Page Blob > New Blob Operations > Update Blob > Copy Blob > Snapshot Blob >

Download Report

Transcript > blobs > > > > tables queues drives (new) > > > > (new) (new) New Features > Blobs > New Type of Blob > Page Blob > New Blob Operations > Update Blob > Copy Blob > Snapshot Blob >

>
blobs
>
>
>
>
tables
queues
drives (new)
>
>
>
>
(new)
(new)
New Features
> Blobs
> New Type of Blob
> Page Blob
> New Blob Operations
> Update Blob
> Copy Blob
> Snapshot Blob
> Lease Blob
> New Ways of Accessing and Serving Blob Content
> Custom Domain Names
> Root Blob Container
> Content Delivery Network access
> Shared Access Signatures
> Drives
Provides durable NTFS volumes for Windows
Azure applications to use (Feb 2010)
Account
Container
Blob
PIC01.JPG
images
PIC02.JPG
sally
movies
MOV1.AVI
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
(new)
>
>
>
>
>
> PutBlob
>
> GetBlob
>
>
>
>
>
DeleteBlob
CopyBlob (new)
SnapshotBlob (new)
LeaseBlob (new)
(new)
>
>
>
>
>
>
>
>
http://sally.blob.core.windows.net/images/pic1.jpg?comp=snapshot
>
http://sally.blob.core.windows.net/images/pic1.jpg?snapshot=<DateTime>
>
>
>
>
>
>
MyBlob
>
>
>
>
MyBlob
Promote
(new)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
http://sally.blob.core.windows.net/music/rock/rush/xanadu.mp3
(new)
>
http://<Account>.blob.core.windows.net/<Container>/<BlobName>
>
>
http://sally.blob.core.windows.net/clientaccesspolicy.xml
>
http://sally.blob.core.windows.net/$root/clientaccesspolicy.xml
>
(new)
>
>
>
>
>
>
>
>
>
>
>
http://sally.blob.core.windows.net/
http://market.cohowinery.com/
http://market.cohowinery.com/images/pic1.jpg
(new)
>
Shared Access Signature (SAS)
>
>
>
https://sally.blob.core.windows.net/images/pic1.jpg?
st=2009-11-07T08:49Z &se=2009-11-07T09:49Z &sr=c &sp=rw
&sig=3OSeIHP8haK%2fle9%2bBK3BX1DsdMM%3d &si=foo
>
Valid time range
>
Two resource levels of access to grant
>
>
>
>
st=Start time (optional)
se=End time
>
c=Container | b=Blob
>
r=Read | w=Write | d=Delete | l=List
Four types of permissions (or any combination)
>
>
(new)
>
>
>
>
>
>
>
>
>
>
>
http://sally.blob.core.windows.net/
http://<guid>.vo.msecnd.net/
http://events.cohowinery.com/
http://guid01.vo.msecnd.net/images/pic.1jpg
To Enable CDN:
 Register for CDN via Dev Portal
 Set container images to public
Not Accessible!
Edge Location
Edge Location
TTL
Edge Location
Content Delivery Network
http://sally.blob.core.windows.net/

http://guid01.vo.msecnd.net/
pic1.jpg
pic1.jpg
pic1.jpg
http://sally.blob.core.windows.net/images/pic1.jpg
Windows Azure Blob Service
>
>
>
>
>
(new)
>
>
>
>
Account
Container
images
Blob
PIC01.
JPG
Blocks or
Pages
PIC02.
JPG
sally
Block or
Page 1
movies
MOV1.AVI
Block or
Page 2
Block or
Page 3
>
>
>
blocks
>
>
(new)
>
>
>
pages
>
>
>
Block Id N
Block Id 1
Block Id 2
Block Id 3
10 GB Movie
blobName = “TheBlob.wmv”;
PutBlock(blobName, blockId1, block1Bits);
PutBlock(blobName, blockId2, block2Bits);
…………
PutBlock(blobName, blockIdN, blockNBits);
PutBlockList(blobName,
blockId1,…,blockIdN);
TheBlob.wmv
Windows Azure
Storage
Example Blob
Block Id 2
Block Id 4
Block Id 3
Block Id 4
Block Id 1
Uncommitted
Block Id 2
Block Id 0
Block Id 3
Block Id 4
Block Id 0
Block Id 3
Block Id 5
Committed
> Sequence of Operations
>
>
>
>
>
PutBlock
PutBlock
PutBlock
PutBlock
PutBlock
BlockId1
BlockId3
BlockId4
BlockId2
BlockId4
PutBlockList(u=BlockId2,
c=BlockId0, u=BlockId3,
u=BlockId4)
Committed and readable version of blob
>
>
>
>
>
>
>
PutBlock
>
PutBlockList
>
>
>
>
GetBlockList
>
>
(new)
>
0
>
512
1024
2048
2560
10 GB Address Space
1536
>
>
>
>
>
>
>
GetPageRange 0, 4096
>
10 GB
>
PutPage 512, 2048
PutPage 0, 1024
ClearPage 512, 1536
PutPage 2048,2560
0,512
1536,2560
GetBlob 1000, 2048
>
>
1536,2048
>
>
>
>
>
>
>
>
PutPage - limited to 4MB
>
ClearPage - can specify up to max size of blob
>
>
Clear range of pages at the offset
>
GetBlob
>
GetPageRange
>
>
>
>
>
>
>
>
>
>
>
>
>
>
(new)
> New Blob Operations
> Copy, Snapshot, and Lease work for both types
> New Ways of Accessing and Serving Blob
Content
>
>
>
>
Content Delivery Network access
Custom Domain Names
Root Blob Container
Shared Access Signatures
> Additional new features
> ListBlob, GetBlob, Blob Properties (see MSDN docs)
> Blobs
> Drives
(Feb 2010)
(new)
>
>
>
>
>
>
>
>
>
>
http://<accountname>.blob.core.windows.net/<containername>/<blobname>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Application
>
>
Drive X:
>
Lease
Windows Azure
Blob Service
Application
Drive X:
Lease
Windows Azure
Blob Service
Application
Application
Drive X:
Drive X:
Lease
Acquire
Lease
Lease
Windows Azure
Blob Service
Drive Y:
Drive X:
Mount
Read
Only
Drive Z:
Read
Mount
Only
Lease
Updates
Snapshot1
Windows Azure Blob Service
>
>
>
>
>
>
>
>
1.
2.
3.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
channel9.msdn.com/learn
Built by Developers for Developers….
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT
MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.