Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Windows Azure Platform Storage

3,276 views

Published on

Durable data storage is a key component of any cloud computing offering. The Windows Azure Platform offers many options, which can be used alone or in combination. Windows Azure itself offers ready-to-use and lightweight storage in the form of tables, blobs, and queues. Another choice for storage is SQL Azure, a true relational database in the cloud. In this session, we’ll explore the highlights of these implementations and how to both create and use storage in each form. We’ll give you guidance on choosing the right forms of storage for your application scenarios.



Highlights include:

· Programming against table & blob storage

· Working with queue storage

· Scaling and configuration

· Understanding SQL Azure databases versus local SQL Server databases

· Database creation, deployments and migrations

· Programming against SQL Azure databases

Published in: Technology
  • Be the first to comment

Windows Azure Platform Storage

  1. 1. Windows Azure Platform Data Storage<br />David Robinson<br />Senior Program Manager<br />Microsoft<br />david.robinson@microsoft.com<br />
  2. 2. Agenda<br />Windows Azure Platform Data Storage Options<br />Getting Started with SQL Azure Data Storage<br />Getting Started with Windows Azure Data Storage <br />Blobs<br />Tables<br />Queues<br />Drives<br />Inspecting the contents of Windows Azure Data Storage<br />
  3. 3. Objectives<br />Learn the data storage options offered by the Windows Azure Platform and become familiar with choosing and using the appropriate one for your application<br />
  4. 4. Azure Platform Data Storage Options<br /><ul><li>SQL Azure
  5. 5. Relational data storage
  6. 6. Windows Azure Data Storage
  7. 7. Blobs
  8. 8. Unstructured data storage
  9. 9. Tables
  10. 10. Semi-structured or tabular data storage
  11. 11. Queues
  12. 12. Buffered delivery data storage
  13. 13. Drives
  14. 14. Durable NTFS volumes that Windows Azure applications can use. See: http://microsoftpdc.com/Sessions/SVC14</li></li></ul><li>SQL Azure Features<br />Supported<br />Tables, Indexes, Views<br />Stored Procedures<br />Triggers<br />Constraints<br />Table Variables<br />Temp Tables (#Name)<br />Not Supported<br />Physical Server Access <br />Catalog DDL<br />Common Language Runtime<br />Service Broker<br />Distributed Transactions and Queries<br />
  15. 15. SQL Azure<br />Initial Services<br />Database – Core SQL Server database capabilities <br />Future Services<br />Data Sync – Enables the sync framework<br />Additional SQL Server capabilities available as a service: Business Intelligence and Reporting<br />New services: Reference Data and Secure Data Hub<br />
  16. 16. SQL AzureDeployment<br />Web Portal<br />(API)<br />DB Script<br />SQL Azure<br />TDS<br />
  17. 17. SQL AzureAccessing databases<br />Web Portal<br />(API)<br />Your App<br />SQL Azure<br />TDS<br />Change Connection String<br />
  18. 18. Database Replicas<br />Single Database<br />Multiple Replicas<br />Replica 1<br />Single Primary<br />Replica 2<br />DB<br />Replica 3<br />
  19. 19. SQL AzureDatabase Monitoring & Recovery<br />Web Portal<br />(API)<br />!<br />Your App<br />SQL Azure<br />TDS<br />
  20. 20. SQL Azure Server Creation<br />
  21. 21. SQL Azure Firewall Maintenance<br /><ul><li>Simple rules
  22. 22. Easy one-screen portal maintenance</li></li></ul><li>SQL Azure Database Connection String<br />An administrative user is created with the server<br />User has system administrator permissions likesa<br />Server=tcp:itte80vcfq.database.windows.net; Database=FabrikamAzureDB;User ID=davidrob;Password=myPassword;Trusted_Connection=False;Encrypt=True;<br />
  23. 23. Database Migrations<br />Scripts<br />Transfer Schema<br />BCP<br />Transfer Data<br />SSIS (SQL Server Integration Service)<br />Transfer Schema and Data<br />
  24. 24. Database Migrations (Cont.)<br />The SQL Azure Migration Wizard helps you migrate your local SQL Server 2005 / 2008 databases into SQL Azure. The wizard walks you through the selection of your SQL objects, creates SQL scripts suitable for SQL Azure, and allows you to migrate your data.”<br />http://sqlazuremw.codeplex.com/<br />
  25. 25. Database Management using SQL Management Studio<br />
  26. 26. Getting Started with Windows Azure Data Storage<br />
  27. 27. Windows Azure Data Storage<br />
  28. 28. Account Name / Key<br />AccountName<br />A unique name identifying the Azure Data Storage<br />AccountKey<br />A blob of encrypted data used for authentication<br />
  29. 29. Windows Azure Data Storage - Blobs<br />Unstructured data storage<br />Partitioned by container<br />Unlimited containers<br />
  30. 30. Windows Azure Data Storage - Tables<br />Windows Azure Table provides scalable, available, and durable structured (or semi-structured) storage in the form of tables.<br />The tables contain entities, and the entities contain properties.<br />The tables are scalable to billions of entities and terabytes of data, and may be partitioned across thousands of servers.<br />The tables support ACID transactions over single entities and rich queries over the entire table.<br />Simple and familiar .NET and REST programming interfaces are provided via ADO.NET Data Services. <br />http://go.microsoft.com/fwlink/?LinkId=153401<br />
  31. 31. Windows Azure Data Storage – Tables (Terms Part 1)<br />Table – contains a set of entities. <br />Entity (Row) – Entities are the basic data items stored in a table. <br />Property (Column) – This represents a single value in an entity. <br />PartitionKey– The first key property of every table. The system uses this key to automatically distribute the table’s entities over many storage nodes.<br />
  32. 32. Windows Azure Data Storage – Tables (Terms Part 2)<br />RowKey– A second key property for the table. This is the unique ID of the entity within the partition it belongs to. <br />Timestamp – Every entity has a version maintained by the system.<br />Partition – A set of entities in a table with the same partition key value.<br />Sort Order – There is a single index provided for the CTP, where all entities in a table are sorted by PartitionKey and then RowKey<br />
  33. 33. SQL Azure and Windows AzureTable Comparison<br />Windows Azure Tables<br />SQL Azure Tables<br />Semi-structured<br />Loosely typed<br />Non-Relational (Not RDMS)<br />Massively scalable<br />Fully structured<br />Strongly typed<br />Relational (RDMS)<br />Highly scalable<br />
  34. 34. Windows Azure Data Storage - Queues<br />Buffered delivery data storage<br />Read at least once<br />Delete to remove message, otherwise is returned to queue<br />Partitioned by Queue Name<br />
  35. 35. Q & A<br />
  36. 36. Resources<br />Azure Portal<br />http://windows.azure.com<br />Tools<br />SQL Azure Migration Wizard<br />http://sqlazuremw.codeplex.com/<br />Azure Storage Explorer <br />http://azurestorageexplorer.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35189<br />Windows Azure Management Tool (MMC)<br />http://cloudfex.com/cs/blogs/cloud/archive/2009/05/17/windows-azure-management-tool-mmc.aspx<br />Windows Azure Forums<br />http://social.msdn.microsoft.com/Forums/en-US/ssdsgetstarted/threads<br />
  37. 37. ResourcesWindows Azure Data Storage<br /><ul><li>Haridas, Jai. “Windows Azure Tables and Queues Deep Dive”. Microsoft PDC. 2009. http://microsoftpdc.com/Sessions/SVC09
  38. 38. Calder, Brad. “Windows Azure Blob Deep Dive”. Microsoft PDC. 2009. http://microsoftpdc.com/Sessions/SVC14</li></li></ul><li>Resources – White Papers<br />Windows Azure Table – Programming Table Storage<br />http://go.microsoft.com/fwlink/?LinkId=153401<br />Windows Azure Blob – Programming Blob Storage<br />http://go.microsoft.com/fwlink/?LinkId=153400<br />Windows Azure Queue – Programming Queue Storage<br />http://go.microsoft.com/fwlink/?LinkId=153402<br />

×