What’s new in Azure SDK 1.3 (and 1.4) Peter Himschoot Microsoft Regional Director Belux U2U Trainer/Architect
Agenda Introducing Windows Azure Azure Compute & Storage SQL Azure Azure AppFabric What is new in Azure? New Management Portal New VM Role Startup Tasks & Startup Plugins Azure Connect Traffic Manager Development stuff
Introducing Azure FOR RENT
What is Azure (for managers, CTO’s) Pay for what you use No more heavy initial investment in hardware Easy peak handling (elastic scalability) Need more? Just a minute! There you are! Needs less? No problem! Better value for money Bulk buying = less € per unit (hardware, electricity, …) Use existing skillsets of your people Infrastructure Development
What is Azure? (for infrastructure) Platform for running your applications Easy to scale Fault-tolerant Easy deployment & management Performance counters, logs, etc… On a platform you already know Windows Server 2008 (R2)
What is Azure? (for developers) Platform for building applications that are Scalable Fault-tolerant (CPU & Storage) Develop with what you already know!.NET, Java, PHP, … Focus on development, not infrastructure Extra support API’s, such as storage
Windows Azure Components
Windows Azure
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 Storage services Public Internet LB Web Role
Worker role Scheduled task running in the background Like Windows Service Can read requests from queue in storage Can have internal and external endpoints Storage services Public Internet Worker Role
Windows Azure
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 Worker Role queue Worker Role Web Role
Windows Azure Content Delivery Network Distributes your data to over 24 (and counting) servers Site automatically gets redirected to local server Better handling of high-load scenarios
SQL Azure Business Analytics Reporting Data Sync
Windows Azure AppFabric
Services over the internet How to set up a service listener ? IP address ? Transport protocol ? Allow inbound connections ? ClientService ? Firewall Dynamic IP NAT
Relaying Messages BookStore Service Layer BookStore Service Layer Orders (WCF) Orders (WCF) Service Bus Order Service Please Order Service Please Here I am ! 2134 Place Order Local Azure
Windows Azure AppFabric
Azure AppFabric Access Control Service Use claims based security Integrate identity into your 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)
WHAT IS NEW IN AZURE SDK 1.3 & 1.4
Windows Azure Management Portal Completely redesigned using Silverlight
DEMO Windows Azure Management Portal Walk-through
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) Anything else you need Requires Windows Azure Integration Components So the Fabric Controller can talk to it Then sysprep & upload it to Azure
Full Internet Information Server support No more hosted web core! Still available for backward compatibility Automatically enabled for new projects configuration Allows for multiple sites/virtual applications
DEMO Running multiple sites in IIS using one Web Role
Startup tasks Install some extra required library/component Can also run elevated <Task commandLine="StartupTasks\installmvc.cmd" executionContext="elevated" taskType="simple“ />
Startup task options Elevation Limited Elevated (aka Run as System) taskType Simple Background Foreground
DEMO Installing MVC3 using startup tasks
Startup Task Plugin Model ServiceDefinition allows custom modules Role Modules Contain startup tasks, endpoints, etc….csplugin extension Installed in \Windows Azure SDK\v1.*\bin\plugins
DEMO Building your own plugin
Remote Desktop Access Install additional stuff manually Debug installation problems Configure IIS, … Easily enabled with VS2010
Changing RDP Configuration
DEMO Remote Desktop Access
Windows Azure Connect Connect Azure services to your resources Using IPsec Role Group Instance
Examples on using Azure Connect Connect Azure WebRole to local SQL Server Join Azure instances to your domain Remote Debugging Share Folders …
DEMO Using Azure Connect
Intelli-Trace?
Your code’s flight recorder
DEMO Using Intelli-Trace with Azure
SQL Azure Reporting Similar to SQL Reporting Services 2008 R2 Create reports on SQL Azure databases Publish reports locally or in Azure Web role
DEMO SQL Reporting
Windows Phone 7 and the Cloud A match made in heaven Windows Azure Toolkit for Windows Phone 7
DEMO A simple Windows Phone 7 app & the cloud
Windows Azure Traffic Manager Distributes traffic over similar hosted services Same of different data centers Policy based Performance Failover Round Robin User Company domain Company domain DNS resource record for DNS resource record for Traffic Manager Policy Traffic Manager domain Contoso.ctp.trafficmgr.com Traffic Manager domain Contoso.ctp.trafficmgr.com Load Balance Method Monitoring Hosted Service 1 Hosted Service 2
Performance Policy Client Closest? HS1 HS2 HS3 20ms240ms 6ms Performance Times Table
Failover Policy Client Highest available Service? Highest available Service? HS1 HS2 HS3 Primary Standby 1 Standby 2 Standby 3
Round Robin Policy Client Next? HS1 HS2 HS3
Prepare for the future!
Get Started with Windows Azure For Free Today! MSDN Subscriber Activate Your Free Included MSDN Benefits via Individual: Get a Free Azure Introductory via Free Computation hours and Storage Get 30 Days Free Windows Azure via Select Belgium and enter Promo code: AZP001 Partner Get free monthly access to Azure with Partner Cloud Essentials via
Even better deal now for MSDN subscribers
Start Developing on the Windows Azure Platform 1.Activate your Benefits (see previous slide) 2.Get the Tools via 3.First learn how to create an application via
Stay up to date with MSDN Belux Register for our newsletters and stay up to date: Technical updates Event announcements and registration Top downloads Follow our blog Join us on Facebook LinkedIn: Download MSDN/TechNet Desktop Gadget
TechDays 2011 On-Demand Watch this session on-demand via Channel9 Download to your favorite MP3 or video player Get access to slides and recommended resources by the speakers
THANK YOU Now open for questions… Or visit me at the U2U booth…