580 likes | 905 Views
What’s new in Azure SDK 1.3 (and 1.4). Peter Himschoot Microsoft Regional Director Belux U2U Trainer/Architect http://blogs.u2u.be/Peter. Agenda. Introducing Windows Azure Azure Compute & Storage SQL Azure Azure AppFabric What is new in Azure ? New Management Portal New VM Role
E N D
What’s new in Azure SDK 1.3(and 1.4) Peter Himschoot Microsoft Regional Director Belux U2U Trainer/Architect http://blogs.u2u.be/Peter
Agenda • Introducing Windows Azure • AzureCompute & Storage • SQL Azure • AzureAppFabric • What is new in Azure? • New Management Portal • New VM Role • StartupTasks & StartupPlugins • Azure Connect • Traffic Manager • Development stuff
IntroducingAzure FOR RENT
What is Azure (for managers, CTO’s) • Payforwhatyouuse • No more heavy initial investment in hardware • Easy peak handling (elasticscalability) • Need more? Just a minute! Thereyou are! • Needsless? No problem! • Bettervaluefor money • Bulk buying = less € per unit (hardware, electricity, …) • Useexistingskillsets of yourpeople • Infrastructure • Development http://www.microsoft.com/presspass/presskits/cloud/docs/The-Economics-of-the-Cloud.pdf
What is Azure? (forinfrastructure) • Platform forrunning yourapplications • Easy toscale • Fault-tolerant • Easy deployment & management • Performance counters, logs, etc… • On a platform youalreadyknow • Windows Server 2008 (R2)
What is Azure? (fordevelopers) • Platform for building applicationsthat are • Scalable • Fault-tolerant (CPU & Storage) • Developwithwhatyoualreadyknow! • .NET, Java, PHP, … • Focus on development, notinfrastructure • Extra support API’s, such as storage
Windows Azure Compute Storage Management
Windows Azure Compute • Windows Server 2008 x64 (R2) • .NET Framework – 3.5 SP1 and 4.0 • Supports Full Trust • Fabric manages role lifecycle Worker Role Web Role
Web role • Web farm that handles request from the internet • Runs in IIS 7 • Hosts ASP.NET • XML based configuration of IIS7 • Integrated managed pipeline • Supports SSL • Windows Azure code access security policy for managed code Public Internet Web Role LB Storage services
Worker role • Scheduled task running in the background • Like Windows Service • Can read requests from queue in storage • Can have internal and external endpoints Public Internet Worker Role Storage services
Windows Azure Compute Storage Management
Windows Azure Storage • Blobs – Provide a simple interface for storing named files along with 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 delivery of messages for an application • Drives – Provides durable NTFS volumes for Windows Azure applications to use
Loosely Coupled Workflow with Queues Web Role WorkerRole Web Role queue WorkerRole WorkerRole Web Role
Windows Azure Content Delivery Network • Distributesyour data to over 24 (andcounting) servers • Site automaticallygetsredirectedtolocal server • Better handling of high-load scenarios
SQL Azure Reporting Business Analytics Data Sync Database
Windows AzureAppFabric ServiceBus AccessControl
Services over the internet • How to set up a service listener ? • IP address ? • Transport protocol ? • Allowinboundconnections ? NAT Firewall Dynamic IP Firewall ? Client Service
Relaying Messages Service Bus Order Service Please Here I am ! Azure Local Place Order 2 3 4 1 BookStore Service Layer Orders (WCF)
Windows AzureAppFabric ServiceBus AccessControl
AzureAppFabric Access Control Service • Use claims based security • Integrateidentityintoyour website • Windows Live ID • Facebook • Google • Use claims based security with REST
Cloud Development == Familiar Development • The cloud runs the .NET platform and IIS • Familiar technologies can be used: • ASP.NET (Web Forms and MVC) • WCF • Silverlight • PHP, Java, … • Compute Emulator: “The cloud on your desktop” • Complete offline Azure Fabric simulation • Storage Emulator: • Complete offline Azure Storage simulation • Requires SQL Server (Express)
Windows Azure Management Portal • CompletelyredesignedusingSilverlight
New Role: the VM Role • Easy migration of existing WS2008 applications • Requires building a (bootable) .VHD image • With Windows Server 2008 R2 installed (Ent/Std) • Anythingelseyouneed • Requires Windows Azure Integration Components • So the Fabric Controller can talk toit • Thensysprep & upload ittoAzure
Full Internet Information Server support • No more hosted web core! • Stillavailablefor backward compatibility • Automaticallyenabledfor new projects • <sites> configuration • Allowsfor multiple sites/virtual applications
Startuptasks • Installsome extra requiredlibrary/component • Canalso run elevated <Startup> <TaskcommandLine="StartupTasks\installmvc.cmd" executionContext="elevated" taskType="simple“ /> </Startup>
Startuptask options • Elevation • Limited • Elevated (aka Run as System) • taskType • Simple • Background • Foreground
StartupTaskPlugin Model • ServiceDefinitionallowscustom modules • Role Modules • Containstartuptasks, endpoints, etc… • .csplugin extension • Installed in <Imports> <ImportmoduleName="Connect" /></Imports> \Windows AzureSDK\v1.*\bin\plugins
Remote Desktop Access • Installadditional stuff manually • Debuginstallationproblems • Configure IIS, … • Easilyenabledwith VS2010
Windows Azure Connect • Connect Azure services toyour resources • Using IPsec Instance Instance Instance Instance Instance Instance Role Group Role Group
Examples on usingAzure Connect • Connect AzureWebRoletolocal SQL Server • JoinAzureinstancestoyour domain • Remote Debugging • Share Folders • …
SQL Azure Reporting • Similarto SQL Reporting Services 2008 R2 • Create reports on SQL Azure databases • Publish reports locally or in Azure Web role
Windows Phone 7 and the Cloud • A match made in heaven • Windows Azure Toolkit for Windows Phone 7 http://watoolkitwp7.codeplex.com/
Windows Azure Traffic Manager User • Distributes traffic over similarhosted services • Same of different data centers • Policy based • Performance • Failover • Round Robin Company domain www.contoso.com DNS resource record for www.contoso.com Traffic Manager Policy Traffic Manager domain Contoso.ctp.trafficmgr.com Load Balance Method Monitoring Hosted Service 1 Hosted Service 2
Performance Policy Client Performance Times Table Closest? HS1 HS2 HS3 6ms 20ms 240ms
Failover Policy Client Highestavailable Service? HS1 Primary HS2 Standby 1 HS3 Standby 2 HS3 Standby 3
Round Robin Policy Client Next? HS1 HS2 HS3