Whats new in Azure SDK 1 3 and

























































- Slides: 57
What’s new in Azure SDK 1. 3 (and 1. 4) Peter Himschoot Microsoft Regional Director Belux U 2 U Trainer/Architect http: //blogs. u 2 u. be/Peter
Agenda • Introducing Windows Azure • Azure Compute & Storage • SQL Azure • Azure App. Fabric • 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 http: //www. microsoft. com/presspass/presskits/cloud/docs/The-Economics-of-the-Cloud. pdf
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 (R 2)
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 x 64 (R 2). NET Framework – 3. 5 SP 1 and 4. 0 Supports Full Trust Fabric manages role lifecycle Web Role Worker Role
Web role LB • Web farm that handles request from the internet • Runs in IIS 7 • Hosts ASP. NET Public Internet • XML based configuration of IIS 7 • Integrated managed pipeline • Supports SSL • Windows Azure code access security policy for managed code Web Role Storage services
Worker role • Scheduled task running in the background • Like Windows Service Public Internet • Can read requests from queue in storage Worker Role • Can have internal and external endpoints Storage services
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
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 Reporting Business Analytics Data Sync
Windows Azure App. Fabric
Services over the internet • How to set up a service listener ? • IP address ? • Transport protocol ? • Allow inbound connections ? NAT Dynamic IP Client ? Firewall Service
Relaying Messages Service Bus Azure Order Service Please Local Here I am ! Place Order 2 3 Book. Store Service Layer 4 1 Orders (WCF)
Windows Azure App. Fabric
Azure App. Fabric 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 WS 2008 applications • Requires building a (bootable). VHD image • With Windows Server 2008 R 2 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 • <sites> 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 <Startup> <Task command. Line="Startup. Tasksinstallmvc. cmd" execution. Context="elevated" task. Type="simple“ /> </Startup>
Startup task options • Elevation • Limited • Elevated (aka Run as System) • task. Type • Simple • Background • Foreground
DEMO Installing MVC 3 using startup tasks
Startup Task Plugin Model • Service. Definition allows custom modules <Imports> <Import module. Name="Connect" /> </Imports> • Role Modules • Contain startup tasks, endpoints, etc… • . csplugin extension • Installed in Windows Azure SDKv 1. *binplugins
DEMO Building your own plugin
Remote Desktop Access • Install additional stuff manually • Debug installation problems • Configure IIS, … • Easily enabled with VS 2010
Changing RDP Configuration
DEMO Remote Desktop Access
Windows Azure Connect • Connect Azure services to your resources • Using IPsec Role Group Instance Instance
Examples on using Azure Connect • Connect Azure Web. Role 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 R 2 • 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 http: //watoolkitwp 7. codeplex. com/
DEMO A simple Windows Phone 7 app & the cloud
Windows Azure Traffic Manager • Distributes traffic over similar hosted services • Same of different data centers User Company domain www. contoso. com • Policy based • Performance • Failover • Round Robin DNS resource record for www. contoso. com Traffic Manager domain Contoso. ctp. trafficmgr. com Load Balance Method Monitoring Traffic Manager Policy Hosted Service 1 Hosted Service 2
Performance Policy Client Performance Times Table Closest? HS 1 HS 2 HS 3 20 ms 240 ms 6 ms
Failover Policy Client Highest available Service? Primary HS 1 Standby 1 HS 2 Standby 2 HS 3 Standby 3 HS 3
Round Robin Policy Client Next? HS 1 HS 2 HS 3
Prepare for the future!
Get Started with Windows Azure For Free Today! • MSDN Subscriber • Activate Your Free Included MSDN Benefits via http: //tinyurl. com/activatemsdnazurebenefits • Individual: • Get a Free Azure Introductory via http: //tinyurl. com/freeintroazureoffer • Free Computation hours and Storage • Get 30 Days Free Windows Azure via http: //www. windowsazurepass. com • Select Belgium and enter Promo code: AZP 001 • Partner • Get free monthly access to Azure with Partner Cloud Essentials via http: //www. microsoftcloudpartner. com/
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 http: //tinyurl. com/toolsforazure 3. First learn how to create an application via http: //tinyurl. com/deployazureapplication
Stay up to date with MSDN Belux • Register for our newsletters and stay up to date: http: //www. msdn-newsletters. be • Technical updates • Event announcements and registration • Top downloads • Follow our blog Download http: //blogs. msdn. com/belux MSDN/Tech. Net Desktop Gadget http: //bit. ly/msdntngadget • Join us on Facebook http: //www. facebook. com/msdnbelux • Linked. In: http: //linkd. in/msdnbelux/ • Twitter: @msdnbelux
Tech. Days 2011 On-Demand • Watch this session on-demand via Channel 9 http: //channel 9. msdn. com/belux • Download to your favorite MP 3 or video player • Get access to slides and recommended resources by the speakers
THANK YOU Now open for questions… Or visit me at the U 2 U booth…