windows azure storage name title organization
TRANSCRIPT
![Page 1: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/1.jpg)
Windows Azure Storage
NameTitleOrganization
![Page 2: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/2.jpg)
Agenda
Windows Azure Storage
Blob Storage
Drives
Tables
Queues
![Page 3: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/3.jpg)
Windows Azure Storage
Storage in the CloudScalable, durable, and availableAnywhere at anytime accessOnly pay for what the service uses
Exposed via RESTful Web ServicesUse from Windows Azure ComputeUse from anywhere on the internet
![Page 4: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/4.jpg)
Windows Azure Storage AccountUser specified globally unique account name
North Central USNorthern Europe
Western Europe East Asia
South East Asia
US Europe Asia
Can choose geo-location to host storage account:
South Central US
West US East US
![Page 5: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/5.jpg)
Windows Azure Storage AccountCan CDN Enable AccountBlobs delivered via 24 global CDN nodes
Can co-locate storage account with compute accountExplicitly or using affinity groups
Accounts have two independent 512 bit shared secret keys
100 TBs per account
![Page 6: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/6.jpg)
Storage in the Development FabricProvides a local “Mock” storageEmulates storage in cloudAllows offline developmentRequires SQL Express 2005/2008 or above
http://msdn.microsoft.com/en-us/gg433135
![Page 7: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/7.jpg)
The Storage Client API
In this presentation we’ll cover the underlying
RESTful APICan call these from any HTTP cliente.g. Flash, Silverlight, etc…
Client API from SDK Microsoft.WindowsAzure.StorageClientProvides a strongly typed wrapper around REST services
![Page 8: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/8.jpg)
Storage Security
Windows Azure Storage provides simple security for calls to storage serviceHTTPS endpointDigitally sign requests for privileged operations
Two 512bit symmetric keys per storage accountCan be regenerated independently
More granular security via Shared Access Signatures
![Page 9: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/9.jpg)
Windows Azure Storage Abstractions
TablesStructured storage. A table is a set of entities; an entity is
a set of properties.
QueuesReliable storage and delivery of messages for an application.
BlobsSimple named files along with metadata for the file.
DrivesDurable NTFS volumes for Windows Azure applications to use. Based on Blobs.
![Page 10: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/10.jpg)
Blob Storage
![Page 11: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/11.jpg)
Blob Storage Concepts
BlobContainerAccount
http://<account>.blob.core.windows.net/<container>/<blobname>
Pages/ Blocks
contoso
PIC01.JPG
Block/Page
Block/Page
PIC02.JPG
images
VID1.AVIvideos
![Page 12: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/12.jpg)
Blob Details
Main Web Service
Operations
PutBlobGetBlobDeleteBlobCopyBlobSnapshotBlob LeaseBlob
![Page 13: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/13.jpg)
Blob Details
Associate Metadata with Blob
Standard HTTP metadata/headers (Cache-Control, Content-Encoding, Content-Type, etc)
Metadata is <name, value> pairs, up to 8KB per blob
Either as part of PutBlob or independently
![Page 14: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/14.jpg)
Blob Details
Blob always accessed by
name
Can include ‘/‘ or other delimeter in name e.g. /<container>/myblobs/blob.jpg
![Page 15: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/15.jpg)
Blob ContainersMultiple Containers per AccountSpecial $root container
Blob ContainerA container holds a set of blobsSet access policies at the container level Associate Metadata with ContainerList the blobs in a containerIncluding Blob Metadata and MD5 NO search/query. i.e. no WHERE MetadataValue = ?
Blobs ThroughputEffectively in Partition of 1Target of 60MB/s per Blob
![Page 16: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/16.jpg)
Tour of the Blob Service
demo
![Page 17: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/17.jpg)
Two Types of Blobs Under the Hood
Block BlobTargeted at streaming workloads
Each blob consists of a sequence of blocksEach block is identified by a Block ID
Size limit 200GB per blob
Optimistic Concurrency via Etags
Page BlobTargeted at random read/write workloads
Each blob consists of an array of pages Each page is identified by its offset from the start of the blob
Size limit 1TB per blob
Optimistic or Pessimistic (locking) concurrency via leases
![Page 18: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/18.jpg)
Drives
![Page 19: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/19.jpg)
Tables
![Page 20: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/20.jpg)
Table Storage Concepts
EntityTableAccount
contoso
Name =…Email = …
Name =…EMailAdd=
customers
Photo ID =…Date =…
photos
Photo ID =…Date =…
![Page 21: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/21.jpg)
Entity PropertiesEntity can have up to 255 propertiesUp to 1MB per entity
Mandatory Properties for every entityPartitionKey & RowKey (only indexed properties)Uniquely identifies an entityDefines the sort order
Timestamp Optimistic ConcurrencyExposed as an HTTP Etag
No fixed schema for other propertiesEach property is stored as a <name, typed value> pairNo schema stored for a tableProperties can be the standard .NET types String, binary, bool, DateTime, GUID, int, int64, and double
![Page 22: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/22.jpg)
No Fixed Schema
FIRST LAST BIRTHDATE
Wade Wegner 2/2/1981
Nathan Totten 3/15/1965
Nick Harris May 1, 1976
FAV SPORT
Canoeing
![Page 23: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/23.jpg)
Querying
FIRST LAST BIRTHDATE
Wade Wegner 2/2/1981
Nathan Totten 3/15/1965
Nick Harris May 1, 1976
?$filter=Last eq ‘Wegner’
![Page 24: Windows Azure Storage Name Title Organization](https://reader035.vdocuments.site/reader035/viewer/2022062318/551b1fed5503462e578b626b/html5/thumbnails/24.jpg)
© 2011 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.