Presentation is loading. Please wait.

Presentation is loading. Please wait.

There are some differences between Cloud and Dev Storage. A good approach for developers: To test pre-deployment,

Similar presentations


Presentation on theme: "There are some differences between Cloud and Dev Storage. A good approach for developers: To test pre-deployment,"— Presentation transcript:

1

2

3

4

5

6 There are some differences between Cloud and Dev Storage. A good approach for developers: To test pre-deployment, push storage to the cloud first Use Dev Fabric for compute connect to cloud hosted storage. Finally, move compute to the cloud. There are some differences between Cloud and Dev Storage. A good approach for developers: To test pre-deployment, push storage to the cloud first Use Dev Fabric for compute connect to cloud hosted storage. Finally, move compute to the cloud.

7

8

9

10

11 Blob ContainerAccount contoso images PIC01.JPG videos VID1.AVI / Pages/ Blocks Block/Page PIC02.JPG

12

13

14 GET Bikes Canoes Tents GET Bikes Canoes Tents GET Tents/PalaceTent.wmv Tents/ShedTent.wmv GET Tents/PalaceTent.wmv Tents/ShedTent.wmv

15 &marker=MarkerValue Canoes/Hybrid.jpg &marker=MarkerValue Canoes/Hybrid.jpg Canoes/Whitewater.jpg Canoes/Flatwater.jpg MarkerValue Canoes/Whitewater.jpg Canoes/Flatwater.jpg MarkerValue

16

17

18 10 GB Movie Windows Azure Storage Block Id 1 Block Id 2 Block Id 3 Block Id N blobName = TheBlob.wmv; PutBlock(blobName, blockId1, block1Bits); PutBlock(blobName, blockId2, block2Bits); ………… PutBlock(blobName, blockIdN, blockNBits); PutBlockList(blobName, blockId1,…,blockIdN); blobName = TheBlob.wmv; PutBlock(blobName, blockId1, block1Bits); PutBlock(blobName, blockId2, block2Bits); ………… PutBlock(blobName, blockIdN, blockNBits); PutBlockList(blobName, blockId1,…,blockIdN); TheBlob.wmv

19 0 10 GB 10 GB Address Space

20

21 sr=c&st= T08:20Z&se= T08:30Z&sp=w &sig= dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d

22 sr=c&si=MyUploadPolicyForUserID12345 &sig=dD80ihBh5jfNpymO5Hg1IdiJIEvHcJpCMiCMnN%2fRnbI%3d

23

24 To Enable CDN: Register for CDN via Dev Portal Set container images to public Windows Azure Blob Service Windows Azure Blob Service pic1.jpg Content Delivery Network Content Delivery Network Edge Location pic1.jpg 404 pic1.jpg TTL

25

26

27

28

29 Windows Azure Blob Service Application Lease Drive X:

30 CloudStorageAccount account = CloudStorageAccount.FromConfigurationSetting("CloudStorageAccount"); //Initialize the local cache for drives mounted by this role instance CloudDrive.InitializeCache(localCacheDir, cacheSizeInMB); //Create a cloud drive (PageBlob) CloudDrive drive = account.CreateCloudDrive(pageBlobUri); drive.Create(1000 /* sizeInMB */); //Mount the network attached drive on the local file system string pathOnLocalFS = drive.Mount(cacheSizeInMB, DriveMountOptions.None); //Use NTFS APIs to Read/Write files to drive … //Snapshot drive while mounted to create backups Uri snapshotUri = drive.Snapshot(); //Unmount the drive drive.Unmount();

31

32

33 Message Queue Account order processing customer ID order ID adventureworks

34 Queue Input Queue (Work Items)

35

36 Queue Input Queue (Work Items)

37

38 EntityTableAccount contoso customers Name =… = … Name =… Add= … photos Photo ID =… Date =… Photo ID =… Date =…

39

40

41 FirstLastBirthdate KimAkers2/2/1981 NancyAnderson3/15/1965 MarkHassallMay 1, 1976 Fav Sport Canoeing

42 FirstLastBirthdate KimAkers2/2/1981 NancyAnderson3/15/1965 MarkHassallMay 1, 1976 ?$filter=Last eq Akers

43

44 PartitionKey (Category) RowKey (Title) TimestampModelYear Bikes Super Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe…2007 … ……… Canoes Whitewater…2009 Canoes Flatwater…2006 PartitionKey (Category) RowKey (Title) TimestampModelYear Rafts 14ft Super Tourer…1999 … ……… Skis Fabrikam Back Trackers…2009 … ……… Tents Super Palace…2008 PartitionKey (Category) RowKey (Title) TimestampModelYear Bikes Super Duper Cycle…2009 Bikes Quick Cycle 200 Deluxe…2007 … ……… Canoes Whitewater…2009 Canoes Flatwater…2006 Rafts 14ft Super Tourer…1999 … ……… Skis Fabrikam Back Trackers…2009 … ……… Tents Super Palace…2008

45

46


Download ppt "There are some differences between Cloud and Dev Storage. A good approach for developers: To test pre-deployment,"

Similar presentations


Ads by Google