Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

RightScale Webinar: Best Practices: Software Development Strategies Using Windows Azure

2,369 views

Published on

In April of 2013 Microsoft released the Windows Azure IaaS service for general availability. We were proud to be a launch day partner with Microsoft and here at RightScale we are excited to see the cloud computing market mature and grow.

Please join us for an in-depth discussion and demonstration on how to increase agility and automation in your software development lifecycle.

In this webinar, we will cover how to:
- Enrich the dev/test cycle with Infrastructure as a Service (IaaS)
- Perform rapid testing and validation
- Enable virtual machine usage for dev/test, with a deep discussion of the artifacts and mechanics of it
- Create IT policy without headaches
- Enable dev/test with "approved assets" and policies

Published in: Technology
  • Be the first to comment

RightScale Webinar: Best Practices: Software Development Strategies Using Windows Azure

  1. 1. Cloud ManagementAzure IaaS and RightScaleMSBuild, PowerShell and Windows Workflow Foundation IntegrationPatrick McClory, Solutions ArchitectRightScale@patrickmccloryScott Klein, Windows Azure Technical EvangelistMicrosoft@sqlscottWatch the video of this presentation
  2. 2. Cloud Management#2#2Agenda• Windows Azure IaaS GA Announcement• Brief overview of RightScale• Quick tour of RightScale.netClient for RightScale API 1.5• 3 demos• MSBuild Integration via TFS• PowerShell Integration• Windows Workflow Foundation• Check it out• Q/A
  3. 3. workloads
  4. 4. >_SharepointBizTalk
  5. 5. PowerShell
  6. 6. **multiple instances in an availability set
  7. 7. Cloud ManagementRightScale OverviewBrief, artifacts-focused view of the world
  8. 8. Cloud Management#13#13RightScale• Cloud management company founded in 2006• Supports multiple public and private clouds• Started integration with Microsoft IaaS over a year ago• Marketplace full of artifacts to accelerate development anddeployment• Cross-platform (multiple OS and multiple versions) managed withinRightScale system
  9. 9. Cloud Management#14#14Anatomy of an Instance Running in RightScaleServerTemplateRightLinkScriptsandRecipesMachineImage
  10. 10. Cloud Management#15#15Hierarchical set of assets to leverage• Machine Images/VHD’s are collected into a MultiCloud Image (MCI)• Functionally equivalent images across multiple clouds/regions• MCI’s are packaged together within a ServerTemplate (ST)• ST offers 3 major hooks to perform tasks on the server• Boot scripts/recipes• Operational scripts/recipes• Decommission scripts/recipes
  11. 11. Cloud Management#16#16ServerTemplate in action
  12. 12. Cloud Management#17#17MultiCloud Marketplace• RightScale tested andreleased assets for Windows,IIS, SQL Server and ActiveDirectory• Open Source ServerTemplateswith other novel features asdescribed• Novel ServerTemplates – likethe AIO ST we’ll be using a bitlaterTons of assets to get started
  13. 13. Cloud ManagementRightScale.netClientOpen Source .net Client for RightScale API 1.5
  14. 14. Cloud Management#19#19RightScale API 1.5• REST API with JSON and XML response types• RightScale core functionality exposed• http://reference.rightscale.com/api1.5/index.html
  15. 15. Cloud Management#20#20RightScale.netClient overview• Generic wrapper for the RightScale API 1.5 toolset• Media Types = Classes/Object Model• Resources = Static methods per class• A couple of assumptions made:• Generally, resources map to media types 1:1• For Resources with multiple urls, more descriptive names are better:• Instance.index() and Instance.index_ServerArray(serverArrayId)
  16. 16. Cloud Management#21#21Mapping REST to .net
  17. 17. Cloud ManagementDev/Test with AzureMSBuild + TFS + Azure + RightScale
  18. 18. Cloud Management#23#23UseCase/Scenario• We’re running a .net shop using Team Foundation Services 2012(TFS) for source control• Standard web application being developed• We’ll use the Mileage Stats demo app• Slightly modified to use Microsoft SQL Server instead of SQL CE• DB Backups and scripts available for download• Application is nearing time to be released to production• Ability to test in multiple environments rapidly is critical• Build from local consistently with how production builds are created
  19. 19. Cloud Management#24#24General SDLC Workflow
  20. 20. Cloud Management#25#25Organizing MSBuild Process
  21. 21. Cloud Management#26#26Dev/Test with MSBuildDemo
  22. 22. Cloud Management#27#27Resources• Source code for reference app in github• Team Foundation Server or another MSBuild orchestration utilitylike CruiseControl.net or TeamCity• Web Deploy 3.0 installed on all machines packaging builds• RightScale Support page on MSDeploy• Some more detail in another blog post
  23. 23. Cloud ManagementPowerShell + RightScale and AzureFamiliar and easy admin platform for SysAdmins
  24. 24. Cloud Management#29#29Use Case/Scenario• Familiar platform for Windows Sysadmins• Leverage RightScale within other automation processes alreadyscripted• Manage our Dev/Test Environments from the MSBuild Demo• On the way out the door—let’s make sure we tear the instances down• Build a scheduled task to stand them up again in the morning with the lateststable build
  25. 25. Cloud Management#30#30Using PowerShell to build the environment
  26. 26. Cloud Management#31#31PowerShell + RightScale API 1.5Environment Tear-Down Demo
  27. 27. Cloud Management#32#32Resources• Cmdlet code is in Github• Also builds a package as a part of the post-build events on theRightScale.netClient solution• PowerShell API direct call examples on support.rightscale.com• Will give you examples from curl, PowerShell and sometimes theRightAPIClient ruby gem• Other PowerShell references• ss64.com/ps• http://www.microsoft.com/en-us/download/details.aspx?id=7097• http://www.jonoble.com/blog/2011/12/12/powershell-quick-reference-guides-and-cheat-sheets.html
  28. 28. Cloud ManagementWindows Wofkflow FoundationAuto-magic 3-Tier Deployments
  29. 29. Cloud Management#34#34Process WorkflowCreate DeploymentCreate SQL SeversCreate LB ServersCreate IIS ServerArrayImport SQLServerTemplateImport LBServerTemplateImport IISServerTemplateLaunch SQL1Launch SQL2Launch 2x LoadBalancersLaunch IIS instanceinside ServerArraySet Public DNS forLoad BalancersInitialize SQL ServerSynchronousMirroring
  30. 30. Cloud Management#35#35Server.launch(serverID)• Simple call to RightScale.netClient to launch a specific server• Code includes some additional supporting activity to fulfill therequirements of a custom Workflow Foundation CodeActivity alongwith some logging
  31. 31. Cloud Management#36DemoWindows Workflow Foundation + Windows Azure with RightScale
  32. 32. Cloud Management#37#37Code available on Github• Core library• RightScale.netClient (github) (nuget)• Windows Workflow Foundation library• RightScale.netClient.ActivityLibrary (github) (nuget)• Windows Workflow Foundation project• RightScale.3Tier.Workflow (github)
  33. 33. Cloud Management#38#38Check it out for free• RightScale offers a 60 day free trial and a free tier• http://www.rightscale.com/azure• Hook up your MSDN account’s IaaS allotment and check it out• Signup is easy - http://support.rightscale.com/09-Clouds/Azure/Tutorials/Add_Windows_Azure_to_a_RightScale_Account
  34. 34. Cloud ManagementQ/A | Discussion

×