1 / 23

Azure Quick Hits Building Apps for the cloud

Azure Quick Hits Building Apps for the cloud. Tom Fuller Windows Azure Technology Specialist – Southeast US http://developertofu.com Tw: @ DeveloperTofu Lutful Khandker Windows Azure Technical Evangelist. WHO IS TOM FULLER?. Software Nerd, Math Nerd, Basically a Nerd

prue
Télécharger la présentation

Azure Quick Hits Building Apps for the cloud

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Azure Quick HitsBuilding Apps for the cloud Tom Fuller Windows Azure Technology Specialist – Southeast US http://developertofu.com Tw: @DeveloperTofu Lutful Khandker Windows Azure Technical Evangelist

  2. WHO IS TOM FULLER? Software Nerd, Math Nerd, Basically a Nerd Spent 5 years as an Architect with Publix, Going on 6 years with MSFT Husband of 12 years and father of 2 girls (6/3) and 1 boy (3 months) Was a huge SOA nerd and is a recovering SOAPaholic Biggest weekly challenge… coaching my daughters 6 and under girls soccer team Makes a living loving the cloud!

  3. Agenda • Azure Intro & Cloud Design • Building Web Sites • Demonstrating a Real Mobile App • Building Databases

  4. Give me a break! To The Cloud! To The Cloud!

  5. Evolving Hosting Options The vast majority of existing applications live on on-premise or co-lo based infrastructure. As a result, any viable cloud offering must compliment and not compete with these existing investments. Legacy PaaS SaaS Past Future Present • 20% of Orgs have Private Clouds • Majority of cloud growth is IaaS • Majority of new cloud apps are PaaS • Most efficient model for cloud development • ~16% of new Apps qualify as SaaS • Business model, not hosting model. There are on-premise SaaS apps. • 98% of large Orgs have some degree of virtualization • 47% of New Apps are on-prem • 88% of Sockets in corp. datacenter IaaS Physical Virtual

  6. What does it mean? Cloud Oriented Architecture

  7. 4 Cloud Oriented Design Principles Resiliency Elasticity Portability Efficiency

  8. Design Principle #1 : Resiliency • Short Lived Transient Errors • Retry Logic • Fail Over • Long Lived Outages • Circuit Breaker Pattern • Knowledge is Everything • Platform seams are key • High availability configurations RECOMMENDED READING! – “Release It! Design and Deploy Production-Ready Software” by Michael T. Nygard

  9. Design Principle #2 : ELASTICITY “Unpredictable Bursting“ Compute • Stateful design is poison • Async architectures are the antidote • Understand your app • Trigger points • Usage patterns • Capacity planning • Understand your platform • Auto scale? • Instrumentation data? Average Usage Time “Predictable Bursting“ Compute Average Usage Time “Growing Fast“ Compute Average Usage Time

  10. Design Principle #3 : Portability • Running your workload where it needs to run • Data privacy and/or sovereignty • The Dreaded Vendor Lock-In • Proprietary features • Use Factory patterns • Avoid the “sticky factor”

  11. Design Principle #4 : EFFICIENCY • To all my developer friends, “no more free lunch” • Cost controlling measures exist everywhere • Batching • Compression • Parking • You pay for the whole core not X % of it!

  12. Choosing the Right hosting model Building Web Sites

  13. Web Site Hosting Scenarios Web Sites (PaaS ++) Cloud Services (PaaS) Virtual Machines (IaaS) Modern web apps Perfect if your app consists of client side markup and scripting, server side scripting and a database. Powerful capability to scale out and up as needed. Multi-tier applications Cloud-based applications that separate application logic into multiple tiers (i.e. caching middle tier, asynchronous background processes like order processing) using both Web and Worker Roles Enterprise server applications Run your existing enterprise applications in the cloud, such as SQL Server, SharePoint Server or Active Directory. Continuous development Deploy directly from your source code repository, using Git or Team Foundation Service. Apps that require advanced administration Cloud-based applications that require admin access, remote desktop access or elevated permissions Porting existing line of business apps Choose an image from the library or upload your own VHD. Popular open source apps Launch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco Apps that require advanced networking Cloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network Windows or Linux operating system Support for Windows Server, along with community and commercial versions of Linux. Connect virtual machines with cloud services to take full advantage of PaaS services.

  14. Key Advantages of a Web Role • Vs. Azure Web Sites • You can access the machine • More options to configure the size • Manage versions using traditional lifecycle • Vs. Azure VMs • You get simplified deployment • You can optionally use OS servicing • You build for stateless scale by default!

  15. What’s New? • VS 2013 + SDK 2.2 • Simple login to Azure • Remote Debugger • Edit & Continue (IISExpress) • Auto-Scaling • Management Client (for Web Sites) • Flexible options • 32 bit mode • Classic ASP • Custom SSL

  16. Some new SDK 2.2 goodness and Auto-Scale baby! Demo

  17. walkthrough A Real Mobile App

  18. {lutful is a rock star} Demo

  19. Designing and developing Databases

  20. So much stays the same • Normalization of your data model … SAME • T-SQL across all versions is mostly the … SAME • Query performance and indexing and plan maintenance … SAME • Operational necessities … SAME • Permission management … SAME

  21. But then comes the Rub • For Virtual Machines • I/O performance delta • Limited scale up options • No dedicated storage sub-system • HA + Azure HA • Best practice configurations (like TempDB) changes • For mult-tenant • New Development Project • Known constraints • 150 GB • Throttling • SQL Auth Only • Required cluster index • Server Management • Feature delta

  22. What’s New? • SQL Database automated export options exist • SQL Database Premium Edition • Large Mem Virtual Machines • 56 GB RAM • Detailed Guidance on setup

  23. Question Time! Summary

More Related