1 / 33

Scott Zimmerman Solutions Architect, SOA/.NET/Azure/BizTalk

Scott Zimmerman Solutions Architect, SOA/.NET/Azure/BizTalk. Agenda. Overview of Azure Services Platform Windows Azure Storage: Tables, Queues, BLOBs Compute: Web Role, Worker Role Azure Services Platform Infrastructure Getting Started Quick Tour Q&A. We’re running scale services now

trinh
Download Presentation

Scott Zimmerman Solutions Architect, SOA/.NET/Azure/BizTalk

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scott Zimmerman Solutions Architect, SOA/.NET/Azure/BizTalk

  2. Agenda • Overview of Azure Services Platform • Windows Azure • Storage: Tables, Queues, BLOBs • Compute: Web Role, Worker Role • Azure Services Platform Infrastructure • Getting Started • Quick Tour • Q&A

  3. We’re running scale services now • 2B Live Search queries/month • 30B Live ID authentications/month • 240B Messenger messages/month We’re building to run your services • $500 million per data center • 10,000 servers/month

  4. What’s in it for me? • Suppose competitors A and B have similar systems to merge flat files from their branch locations each night, and display aggregate results in web applications. • Both systems have an isolated operations cost (including administration, data management, computing, storage, security, power, and insurance) of $12,000/month. • The CIO at Company A is converting her system to cloud computing. It will take 3 months to implement, at a cost of $13,000/month. • Then her operations cost will drop to $1,000/month.Will she save money the first year? A: 3 * $12,000 + 3 * $13,000 + 9 * $1000 = $84,000 B: 12 * $12,000 = $144,000 Hypothetical savings = $60,000

  5. Windows Azure is a cloud OS Scalability, Security, Interoperability Azure™ Services Platform Microsoft forecasts half of Exchange, SharePoint, and Dynamics CRM revenue coming from online versions within five years.

  6. Accelerating Business Productivity Optimization Business Productivity Online Suite Dynamic Rationalized Basic Standardized Unified Communications Collaboration

  7. Continuum of Services Cloud services have greater economies of scale, but less flexibility. S+S = Hybrid Approach In-House: Custom applications with competitive advantages; low latency required; firewall incompatible Azure-Hosted: Standard apps (Exchange, SQL, SharePoint); Distributed apps; Dynamically scalable apps

  8. Azure™ Services Platform Your Applications … ServiceBus Workflow Database Analytics Identity Contacts AccessControl … Reporting … Devices … Compute Storage Manage …

  9. Write Applications for Windows Azure Your Cloud Application End Users Coming Soon Microsoft Visual Studio Development Environment Developers

  10. Windows Azure Compute • Web Role – Provides internet access to ASP.NET user interface or web service. • Worker Role – Provides back-end computing service, e.g. number crunching.

  11. Windows Azure: many design options Worker Role Cloud Queues, Tables, BLOBs Web Role On Premise User Application

  12. Should every developer in your company start using cloud services? Azure Web Role Azure Storage .NET Services SDS Live Services BizTalk Server 2009Compose, Aggregate, Transform, Connect,Publish, Monitor, Govern Geneva AD SharePoint SQL Server SAP Oracle Peoplesoft Siebel Custom Apps…

  13. Windows Azure Architecture Windows Azure Datacenter Your Service Worker Service Worker Service Internet LB Tables Storage Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Site (ASPX, WCF) Queue LB Blobs

  14. Windows Azure Storage • Blobs – Provide a simple interface for storing files and metadata for the file. • Tables – Provide structured storage. A Table is a set of entities, which contain a set of properties. • Queues – Provide reliable storage and asyncdelivery of messages for an application.

  15. Container Blobs Windows Azure Storage Concepts Account • Table Entities http://<account>.blob.core.windows.net/<container> Queue Messages http://<account>.table.core.windows.net/<table> http://<account>.queue.core.windows.net/<queue>

  16. Windows Azure BLOBs • BLOBs are for storing files • BLOBs consist of 1 or more blocks (of variable size you choose) • Blocks provide continuation (in case of network failures) for BLOB upload • Max block size <= 4 MB • Max BLOB size <= 50 GB • Containers can be “Public Read” or “Private” • PutBlock… PutBlock… PutBlockList • Blocks can go out of order and/or in parallel

  17. Account • Container • Blob • Block Blob Storage Concepts • IMG001.JPG pictures • IMG002.JPG • sally Block 1 movies MOV1.AVI Block 2 Block 3

  18. Windows Azure Queues • An Account can create many Queues • Queue contains unlimited number of Messages • Message is stored for at most a week • Message Size <= 8 KB (point to BLOB or Table for more) • When pulling a Message, specify InvisibilityTime • InvisibilityTime <= 2 hours • Messages should be IDEMPOTENT

  19. Windows Azure Tables • Provides Structured Storage • Massively Scalable Tables • Billions of entities (rows) and TBs of data • Automatically scales to thousands of servers as traffic grows • Durable • Data replicated at least 3 times (in different domains) • Familiar and Easy to use Programming Interfaces • ADO.NET Data Services and LINQ – .NET 3.5 SP1 • REST - with any platform or language

  20. Windows Azure Table Capabilities What tables can do What tables don’t do            Cheap Durable Flexible Very Scalable Not relational No Transactions No Group by Limited Queries No Joins No Referential Integrity No Aggregations

  21. Table Data Model • Table • Each account can create many tables • Just insert into a master table called "Tables“ (per account) • Data is stored in Tables • A Table is a set of Entities (rows) • An Entity is a set of Properties (columns) • Entity (row) • Two “key” properties are together the unique ID of the entity in the Table • PartitionKey – enables scalability • RowKey – uniquely identifies the entity within the partition

  22. Partition Key And Partitions • Every Table has a Partition Key • It is the first property (column) of your Table • Used to group entities in the Table into partitions—for physical storage optimization • A Table Partition • All entities in a Table with the same partition key value

  23. Partition Example Partition 1 Partition 2 • Get all versions of FAQ Doc is fast (single partition) • Get all documents before 9/1/2007 takes longer

  24. Getting Started Example Requirements • Employees at WorldWide Palindrome need to reverse strings. • They need a web page to submit strings to Windows Azure and view results. Use Cases • User: create workspace • User: submit string • User: get results • User: delete record • User: delete workspace

  25. UML Sequence Diagram User Web Role Queue Worker Role Table Create Workspace Create Table Submit String Enqueue String Dequeue String Insert Reversed String View Results Query Results

  26. .NET or REST ADO.NET Data Services REST Interface Use .NET 3.5 SP1 Data represented as .NET objects Use DataServiceContext methods for updates Use LINQ to define queries Richer error codes • Use any HTTP stack • Data represented in Atom (XML) • Use HTTP verbs for updates • Use URLs to define queries • Standard HTTP errors

  27. Windows Azure Service LifecycleGoal is to automate life cycle as much as possible Automated Automated Developer/ Deployer Developer

  28. Windows Azure Automation Fabric Controller “What” is needed • Fabric Controller (FC) • Maps declarative service specifications to available resources • Manages service life cycle starting from bare metal • Maintains system health and satisfies SLA • What’s special about it • Model-driven service management • Enables utility-model shared fabric • Automates hardware management Make it happen Fabric Load-balancers Switches

  29. Windows Azure Compute Instance • Community Tech Preview (CTP) offers one virtual machine type • Platform: 64-bit Windows Server 2008 • CPU: 1.5-1.7 GHz x64 • Memory: 1.7 GB • Network: 100 Mbps • Transient local storage: 250 GB • Windows Azure storage also available: 50 GB

  30. Fault/Update Domains • Fault domains are based on the topology of the data center • Statistical in nature • Update domains are determined by what percentage of your service you will take out at a time for an upgrade • System considers fault domains when allocating service roles • System considers update domains when upgrading a service Fault domains Allocation is across fault domains

  31. Getting Started • Please visit Azure.com • Get a token • Install SDK • Read white papers • Watch PDC and MIX videos • Get sample code in “Azure Training Kit” • Create your application

  32. Quick Tour

  33. Q & A Please visit Azure.com Get a token Install SDK Read white papers Watch PDC and MIX videos Get sample code in “Azure Training Kit” Create your application

More Related