Building Scalable Web Applications with the All new Windows Azure

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Text of Building Scalable Web Applications with the All new Windows Azure

Slide 1

Building Scalable Web Applications with the All new Windows Azure Saranya Sriram Developer Evangelist, MicrosoftVirtual Tech DaysINDIA 22- 24 November 2010Windows 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

Virtual Tech DaysINDIA 22- 24 November 2010

Windows Azure Roadmap Virtual Tech DaysINDIA 22- 24 November 2010

Microsoft in the Cloud

Microsoft Online ServicesWindows Azure PlatformSystem Center

SaaS

PaaS

IaaS

#

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 AzureSQL AzureWindows Azure AppFabricVirtual Tech DaysINDIA 22- 24 November 2010

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.Virtual Tech DaysINDIA 22- 24 November 2010

Windows Azure Whats NewOctober 2008June 2010November 2009February 2010

Updated Windows Azure CTPEnabled Full Trust, PHP, Java, CDN CTP, and moreAnnounced VM Role, Project Sydney, pricing and SLAsProject Dallas CTP

Windows Azure Platform commercially available

Announced the Windows Azure PlatformFirst CTP of Windows Azure

Announced SQL Azure Relational DatabaseMarch 2009Windows Azure Update.NET Framework 4OS VersioningCDNSQL Azure Update50GB databasesSpatial data supportDAC support

Virtual Tech DaysINDIA 22- 24 November 2010

Windows Azure Whats NewVirtual Tech DaysINDIA 22- 24 November 2010

Using Cloud for ScaleVirtual Tech DaysINDIA 22- 24 November 2010

UsageCompute Time AverageInactivityPeriod On and OffAverage UsageCompute Time Growing FastVirtual Tech DaysINDIA 22- 24 November 2010

Compute Time Unpredictable BurstingAverage Usage Compute Time Average Usage Predictable BurstingVirtual Tech DaysINDIA 22- 24 November 2010

Virtual Tech DaysINDIA 22- 24 November 2010

Modeling Cloud ApplicationsVirtual Tech DaysINDIA 22- 24 November 2010

Modeling Cloud Applications

A cloud application is typically made up of different componentsFront end: e.g. load-balanced stateless web serversMiddle worker tier: e.g. order processing, encodingBackend storage: e.g. SQL tables or filesMultiple instances of each for scalability and availabilityFront-EndSaranyas Cloud ApplicationFront-EndMiddle-TierMiddle-TierMiddle-TierHTTP/HTTPSWindowsAzureStorage,SQL AzureLoad BalancerVirtual Tech DaysINDIA 22- 24 November 2010

Modeling Cloud Applications

Front-EndSaranyas Cloud ApplicationFront-EndMiddle-TierMiddle-TierMiddle-TierHTTP/HTTPSWindowsAzureStorage,SQL AzureLoad Balancer

Virtual Tech DaysINDIA 22- 24 November 2010

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.5Admin Access: Full administrative access to your role instancesReboot/Re-image support: Ability to easily reboot or re-image your instancesRemote Desktop: Ability to use Remote Desktop with any Role type (Web, worker, VM)Network ModelingWell Known Ports: Easier to bring your existing applications to Windows AzurePort Ranges: for inbound traffic (as opposed to 5 in the past)Load Balancer Control: Take instance on/off the load balancer for debugging purposesNetwork Filters: Enable traffic filtering between roles within a serviceImproved AutomationStartup 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)Virtual Tech DaysINDIA 22- 24 November 2010

Full IIS Support

Leverage the ecosystem of IIS applications, programming languages tools, and components with the revamped Web role

Multiple Web sites and applicationsImproved iterative local development with the Development FabricIterative cloud development with Web Deploy and IIS ManagerHost level configuration, including native modulesEnhanced by Windows Azure automated service managementVirtual Tech DaysINDIA 22- 24 November 2010

Web & Worker RolesVirtual Tech DaysINDIA 22- 24 November 2010

Web Role

Customized for Web application developmentDriven by UI , User InteractionMay define a single http/https end points (Input endpoint) for communication with external clientsCan communicate with other roles (Internal endpoint) with a single http endpoint

Virtual Tech DaysINDIA 22- 24 November 2010

Worker Role

For generalized developmentPerforms background processingMay define a any number http/https / TCP end points (Input endpoint) for communication with external clientsCan communicate with other roles (Internal endpoint) with a any number of http/TCP endpoint

Virtual Tech DaysINDIA 22- 24 November 2010

Demo :#1 Web Role Vs. Worker Role Via Queues #2 Worker Role via Input Endpoints#3 Web Role Vs. Worker Role Internal CommunicationVirtual Tech DaysINDIA 22- 24 November 2010Windows Azure SDKs Development Simulation of Fabric ControllerDevelopment Simulation of Storage ServiceDLLSMicrosoft.WindowsAzureMicrosoft.WindowsAzure.DiagnosticsMicrosoft.WindowsAzure.ServiceRuntime.dllMicrosoft.WindowsAzure.StorageClient.dll

Key Points

Virtual Tech DaysINDIA 22- 24 November 2010Windows Azure Tools for Visual StudioNew template for Cloud Applications Web Role (asp.net, MVC, WCF service), Worker RoleC#, VB.net ,F#(For worker role) Service Model governed by Roles & completely configurableWeb & Worker roles tooling WebRole.cs & WorkerRole.csDiagonostic trace enabledAppropriate References AddedVisual Studio integration of Build, debug & deploy to Cloud simulatorEnhanced one click publish to the Cloud with certificates

Key points

Virtual Tech DaysINDIA 22- 24 November 20106. Server Explorer has Windows Azure Compute & Storage tabsa. Compute can directly connect to the cloud on on-clickb. Storage can connect to dev-storage or cloudc. Storage can be filtered and manage huge amounts of data7. Windows Azure activity loga. Compute analysesb. Storage analysisc. Trace8. IntelliTrace enables historical debugging of Read cloud scenario on your desktop

Key Points

Virtual Tech DaysINDIA 22- 24 November 2010Using Configuration, Its easy to scale UP /Down in Azure Understand how Web & Worker Roles Communicate with Each OtherStrategy on when to scale up and scale down in productionReal Time scaling is available

Key Take Away

Virtual Tech DaysINDIA 22- 24 November 2010

RESOURCES

Windows Azure portalhttp://www.windows.azure.comTools, downloads, case studies, tutorials, getting started, One Stop Place

Professional Developer Conference PDC 09http://www.microsoftpdc.comIn detail session of each of Windows Azure platform component from developer, architect and business perspective

Windows Azure Tools Team - Bloghttp://blogs.msdn.com/b/cloud/

Virtual Tech DaysINDIA 22- 24 November 2010

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/saranyasVirtual Tech DaysINDIA 22- 24 November 2010

Appendix : Setting up Windows Azure Developer EnvironmentVirtual Tech DaysINDIA 22- 24 November 2010Visual Studio 2010 / Visual Studio 2008 SQL Server 2008 / SQL Server 2008 R2Windows Azure SDK & (Tools)Add-in for Visual Studio 2010 and Visual Studio 2008- June 2010 releaseSupport building Cloud Services that use .NET 4 and .NET 3.5Installable 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

Virtual Tech DaysINDIA 22- 24 November 2010