Launch .NET Applications in the Cloud


Published on

RightScale User Conference NYC 2011 -

Raphael Simon - Senior Systems Architect, RightScale
Shivan Bindal - Product Manager, RightScale

Deploying Windows-based applications in the cloud has historically been challenging because the available machine images were often inconsistent across regions/clouds and they lacked simple remote control. Add in the inflexibility that comes with pre-baked application stacks along with a lack of consistent automation, and you have the recipe for a sudden onset migraine. With RightScale ServerTemplates™, you can dynamically configure, launch, and manage your Windows software stacks in the cloud. We'll showcase a proven setup for a scalable, production .NET web application and present a live demo in which we'll use ServerTemplates with built-in Microsoft best practices to launch a SQL Server-based web application.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Launch .NET Applications in the Cloud

  1. 1. Launch .NET Apps in the Cloud<br />Raphael Simon - Senior Systems Architect, RightScale<br />ShivanBindal -Product Manager, RightScale<br />June 8th, 2011<br />
  2. 2. How to choose your cloud?<br />PaaS vs. IaaS - Both great options, but what works for you?<br />
  3. 3. Challenges in the Cloud<br /><ul><li>Images and their contents
  4. 4. Lack of standardization and consistency across versions, regions and clouds
  5. 5. No software license management
  6. 6. Often do not follow best practices
  7. 7. By design, open to security vulnerabilities
  8. 8. Pre-install required software and applications
  9. 9. Custom configuration in “baked” images
  10. 10. Long development iterations
  11. 11. Lack of Automation
  12. 12. Trust relationships hard-coded
  13. 13. No automated orchestration (How do I set up my application?)</li></li></ul><li>RightImages in the Cloud<br />Images and their contents<br />RightScale RightImages<br />MVP ><br />RightImages are optimized for performance and security<br />RightImages all contain:<br />RightLink<br />Powershell 2.0<br />.NET Framework 3.5/4.0<br />Critical Windows Updates<br />Application Service Packs<br />Windows Install Media for Windows Server 2003<br />RightImages serve as a secure reusable base from which you create automated configuration and orchestration<br />
  14. 14. MultiCloud Image<br />Collection of RightImages that represent a standard configuration across multiple clouds<br />MCI: Windows Server 2008<br />AWS US-West<br />AWS AP-Singapore<br />AWS AP-Tokyo<br />AWS EU<br />AWS US-East<br />Rackspace<br />
  15. 15. ServerTemplates<br />Modular – Portable – Reproducible<br />Application<br />Applications<br /><ul><li>Cloud independent deployment</li></ul>App Libraries<br />SQL Server/ASP.NET…<br />Networking<br />Cloud Portability<br /><ul><li>Standard configurations that work across clouds</li></ul>Storage volumes<br />OS<br />RightImages &<br />Multi-Cloud Images<br /><ul><li>Standard image configurations</li></ul>Virtual machine<br />
  16. 16. Images vs. RightScale ServerTemplates<br />Big & opaque<br />Complex to reproduce<br />Static<br />Not cloud-portable<br /><ul><li>Slow workflow
  17. 17. Not cloud-agile</li></ul>Modular & flexible<br />Reproducible & maintainable<br />Dynamic & agile<br />w/ MCI - Multi-cloud enabled<br /><ul><li>Dev-like workflow
  18. 18. Dynamic configuration</li></ul>Virtual Machine Images<br />RightScale ServerTemplates<br />
  19. 19. ServerTemplates: A Closer Look<br />Starts with a multicloud image<br />Defines base software<br />Adds:<br />Boot, operational and decommission RightScripts and/or recipes for configuration<br />Monitoring with alert definitions for automation<br />ServerTemplates are versioned<br />Reproduce exact configuration<br />ServerTemplates can be published/imported<br />Sharing / reuse<br />
  20. 20. How does this all work?<br />RightScale<br />Secure and Fault-Tolerant Protocol<br />RightLink runs with Admin privileges on the Server and talks to RightScale through a secure and fault-tolerant protocol.<br />RightLink runs with Admin privileges on the Server and talks to RightScale through a secure and fault-tolerant protocol.<br />
  21. 21. RightLink Deep Dive<br /><ul><li>Open-Source Agent
  22. 22. Installer is available to RightLink-enable your images
  23. 23. Functions
  24. 24. Receive commands from RightScale
  25. 25. Runs RightScripts on the local instance
  26. 26. Can identify itself and other servers using tags and take actions based on that
  27. 27. Delegate actions to RightScale management via internal API
  28. 28. Secure
  29. 29. Signed & encrypted AMQP transport
  30. 30. Scoped to the Deployment</li></li></ul><li>Where are we?<br />
  31. 31. Where are we?<br /><ul><li>Tangible ServerTemplates
  32. 32. Microsoft IIS ServerTemplate
  33. 33. Microsoft SQL Server ServerTemplate
  34. 34. Automated Configuration
  35. 35. RightLink 5.7
  36. 36. Many bug fixes
  37. 37. Support for ‘repose’ (configuration assets mirror)
  38. 38. Orderly EBS volumes attachments
  39. 39. Ability to do ‘clean’ reboots</li></li></ul><li>Automated Configuration - RightScale<br /><ul><li>Best Practice configuration for network security and isolation
  40. 40. Pre-configured Monitoring and Alerts (cpu, memory, disk)
  41. 41. Create custom monitors as well
  42. 42. Faster boot times with performance enhancements
  43. 43. Reduced number of reboots when launching a server
  44. 44. Reliable Volume Management
  45. 45. Guarantee that a volume attaches as predefined drive letter every time
  46. 46. Advanced Snapshot capability using Microsoft Volume Shadow Services
  47. 47. Reliable and fast backup mechanism with restore capabilities</li></li></ul><li>IIS ServerTemplate – Deep Dive<br />Powershell based RightScripts:<br />Register Load Balancer (HAProxy or Elastic Load Balancer)<br />Automatically download and deploy Application on boot<br />Connects to database tier on boot<br />Built in monitoring and alerts on cpu, memory and disk<br />
  48. 48. SQL Server ServerTemplate – Deep Dive<br />Smart Volume Configuration<br />VSS backed safe snapshot policy for DB Backups<br />Best practice disk configuration for system and user databases<br />Best practice SQL Server configuration<br />Mixed authentication mode<br />Tempdb<br />Built in monitoring and alerts on cpu, memory and disk<br />
  49. 49. Demo – Scalable .NET App<br />IIS deploying .NET Application at boot with HAProxy LB<br />SQL Server DB tier with EBS volume snapshots for backup<br />Browser<br />DNS<br />LB<br />App N<br />App 1<br />App 2<br />…<br />Master DB<br />
  50. 50. What’s our priority next? <br />More and more ServerTemplates! (Tell us what you want)<br />Windows in Private Cloud<br />RightLink<br />
  51. 51. Questions?<br />Raphael Simon - Senior Systems Architect, RightScale<br />ShivanBindal -Product Manager, RightScale<br />June 8th, 2011<br />