290 likes | 556 Views
INDIA │ 22- 24 November 2010. Virtual Tech Days. Building Scalable Web Applications with the All new Windows Azure . Saranya Sriram │ Developer Evangelist, Microsoft. INDIA │ 22- 24 November 2010. Virtual Tech Days. Windows Azure – Roadmap Using Cloud for Scale
E N D
INDIA │ 22- 24 November 2010 Virtual Tech Days Building Scalable Web Applications with the All new Windows Azure Saranya Sriram │ Developer Evangelist, Microsoft
INDIA │ 22- 24 November 2010 Virtual Tech Days • Windows Azure – Roadmap • Using Cloud for Scale • Modeling Cloud Applications • Web and Worker Roles • Summary & Conclusion S E S S I O N A G E N D A
INDIA │ 22- 24 November 2010 Virtual Tech Days Windows Azure – Roadmap
Microsoft in the Cloud Microsoft Online Services Windows Azure Platform System Center IaaS PaaS SaaS
INDIA │ 22- 24 November 2010 Virtual Tech Days What is Windows Azure Platform ? • The Windows Azure platform is an internet-scale cloud computing services platform hosted in Microsoft data centers. • Provides a range of functionality to build applications that span from consumer Web to enterprise scenarios. • The Windows Azure platform includes: • Windows Azure • SQL Azure • Windows Azure AppFabric
INDIA │ 22- 24 November 2010 Virtual Tech Days What is Windows Azure ? • Windows Azure serves as the development, service hosting and service management environment for the Windows Azure platform. • Provides developers with on-demand compute, storage and content delivery network capabilities to host, scale and manage Web applications on the Internet through Microsoft data centers. • Windows Azure is now commercially available in 41 countries.
INDIA │ 22- 24 November 2010 Virtual Tech Days Windows Azure Platform commercially available Announced SQL Azure Relational Database Windows Azure –What’s New June 2010 November 2009 October 2008 March 2009 February 2010 • Windows Azure Update • .NET Framework 4 • OS Versioning • CDN • SQL Azure Update • 50GB databases • Spatial data support • DAC support • Updated Windows Azure CTP • Enabled Full Trust, PHP, Java, CDN CTP, and more • Announced VM Role, Project Sydney, pricing and SLAs • Project “Dallas” CTP • Announced the Windows Azure Platform • First CTP of Windows Azure
INDIA │ 22- 24 November 2010 Virtual Tech Days Windows Azure –What’s New
INDIA │ 22- 24 November 2010 Virtual Tech Days Using Cloud for Scale
INDIA │ 22- 24 November 2010 Virtual Tech Days “On and Off” “Growing Fast” Inactivity Period Compute Compute Average Usage Usage Average Time Time
INDIA │ 22- 24 November 2010 Virtual Tech Days “Unpredictable Bursting” “Predictable Bursting” Compute Compute AverageUsage Average Usage Time Time
INDIA │ 22- 24 November 2010 Virtual Tech Days
INDIA │ 22- 24 November 2010 Virtual Tech Days Modeling Cloud Applications
INDIA │ 22- 24 November 2010 Virtual Tech Days A cloud application is typically made up of different components • Front end: e.g. load-balanced stateless web servers • Middle worker tier: e.g. order processing, encoding • Backend storage: e.g. SQL tables or files • Multiple instances of each for scalability and availability Modeling Cloud Applications Front-End Middle-Tier Windows Azure Storage,SQL Azure Middle-Tier HTTP/HTTPS Middle-Tier Front-End Load Balancer Saranya’s Cloud Application
INDIA │ 22- 24 November 2010 Virtual Tech Days Modeling Cloud Applications Front-End Middle-Tier Windows Azure Storage,SQL Azure Middle-Tier HTTP/HTTPS Middle-Tier Front-End Load Balancer Saranya’s Cloud Application
INDIA │ 22- 24 November 2010 Virtual Tech Days Role Enhancements • Additional control and flexibility on the Windows Azure environment and simplified migration of existing Windows applications to Windows Azure. • Windows Server 2008 R2 & IIS 7.5 • Admin Access: Full administrative access to your role instances • Reboot/Re-image support: Ability to easily reboot or re-image your instances • Remote Desktop: Ability to use Remote Desktop with any Role type (Web, worker, VM) • Network Modeling • Well Known Ports: Easier to bring your existing applications to Windows Azure • Port Ranges: for “inbound traffic” (as opposed to 5 in the past) • Load Balancer Control: Take instance on/off the load balancer for debugging purposes • Network Filters: Enable traffic filtering between roles within a service • Improved Automation • Startup Tasks: Includes scripts that automate the preparation and configuration of roles • Role Plugins: Ability to easily include “plug-ins” in the service definition(e.g., built-in: remote desktop, virtual network, diagnostics. More samples to come)
INDIA │ 22- 24 November 2010 Virtual Tech Days Full IIS Support • Leverage the ecosystem of IIS applications, programming languages tools, and components with the revamped Web role • Multiple Web sites and applications • Improved iterative local development with the Development Fabric • Iterative cloud development with Web Deploy and IIS Manager • Host level configuration, including native modules • Enhanced by Windows Azure automated service management
INDIA │ 22- 24 November 2010 Virtual Tech Days Web & Worker Roles
INDIA │ 22- 24 November 2010 Virtual Tech Days Web Role • Customized for Web application development • Driven by UI , User Interaction • May define a single http/https end points (Input endpoint) for communication with external clients • Can communicate with other roles (Internal endpoint) with a single http endpoint
INDIA │ 22- 24 November 2010 Virtual Tech Days Worker Role • For generalized development • Performs background processing • May define a any number http/https / TCP end points (Input endpoint) for communication with external clients • Can communicate with other roles (Internal endpoint) with a any number of http/TCP endpoint
INDIA │ 22- 24 November 2010 Virtual Tech Days Demo : #1 – Web Role Vs. Worker Role Via Queues #2 – Worker Role via Input Endpoints #3 – Web Role Vs. Worker Role – Internal Communication
INDIA │ 22- 24 November 2010 Virtual Tech Days • Windows Azure SDKs • Development Simulation of Fabric Controller • Development Simulation of Storage Service • DLLS • Microsoft.WindowsAzure • Microsoft.WindowsAzure.Diagnostics • Microsoft.WindowsAzure.ServiceRuntime.dll • Microsoft.WindowsAzure.StorageClient.dll Key Points
INDIA │ 22- 24 November 2010 Virtual Tech Days • Windows Azure Tools for Visual Studio • New template for Cloud Applications • Web Role (asp.net, MVC, WCF service), Worker Role • C#, VB.net ,F#(For worker role) • Service Model governed by Roles & completely configurable • Web & Worker roles tooling • WebRole.cs & WorkerRole.cs • Diagonostic trace enabled • Appropriate References Added • Visual Studio integration of Build, debug & deploy to Cloud simulator • Enhanced one click publish to the Cloud with certificates Key points
INDIA │ 22- 24 November 2010 Virtual Tech Days 6. Server Explorer has Windows Azure Compute & Storage tabs a. Compute can directly connect to the cloud on on-click b. Storage can connect to dev-storage or cloud c. Storage can be filtered and manage huge amounts of data 7. Windows Azure activity log a. Compute analyses b. Storage analysis c. Trace 8. IntelliTrace enables historical debugging of Read cloud scenario on your desktop Key Points
INDIA │ 22- 24 November 2010 Virtual Tech Days • Using Configuration, Its easy to scale UP /Down in Azure • Understand how Web & Worker Roles Communicate with Each Other • Strategy on when to scale up and scale down in production • Real Time scaling is available Key Take Away
INDIA │ 22- 24 November 2010 Virtual Tech Days • Windows Azure portal • http://www.windows.azure.com • Tools, downloads, case studies, tutorials, getting started, One Stop Place • Professional Developer Conference PDC 09 • http://www.microsoftpdc.com • In detail session of each of Windows Azure platform component from developer, architect and business perspective • Windows Azure Tools Team - Blog • http://blogs.msdn.com/b/cloud/ RESOURCES
INDIA │ 22- 24 November 2010 Virtual Tech Days Please do give your Feedback, Complete evaluation at the end of this session. You could also write to be at : saranyas@microsoft.com │ http://blogs.msdn.com/saranyas
INDIA │ 22- 24 November 2010 Virtual Tech Days Appendix : Setting up Windows Azure Developer Environment
INDIA │ 22- 24 November 2010 Virtual Tech Days • Visual Studio 2010 / Visual Studio 2008 • SQL Server 2008 / SQL Server 2008 R2 • Windows Azure SDK & (Tools)Add-in for Visual Studio 2010 and Visual Studio 2008- June 2010 release • Support building Cloud Services that use .NET 4 and .NET 3.5 • Installable via the Web Platform Installer – http://microsoft.com/web • http://windowsazure.com Free download- Works with (the free) Visual Web Developer Express 2010 & 2008 & SQL Server 2008 Express Windows Azure Tools