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.

Automating Your Microsoft Azure Environment (DevLink 2014)

4,476 views

Published on

Discussion of various automation options available in the Microsoft Azure platform - Azure Automation, PowerShell, Azure Management Libraries, Azure Resource Manager, and Brewmaster.

Published in: Technology
  • Be the first to comment

Automating Your Microsoft Azure Environment (DevLink 2014)

  1. 1. Automating Your Microsoft Azure Environment
  2. 2. 17 COLUMBUS, OH OCTOBER 17, 2014 CLOUDDEVELOP.ORG
  3. 3. 1. Why Automation in Azure 2. Azure Management Library 3. PowerShell 4. Azure Automation 5. Brewmaster* * I am employed by Aditi. Brewmaster is an Aditi service.
  4. 4. Azure is highly automated • Service healing • Internal resources Time to provision full environments • Compute, storage, etc. Deployment to multiple geographies • Change only configuration / parameters
  5. 5. #1 Source of Failed Projects (IMO) Humans Terrible at Repetitive Tasks
  6. 6. REST API • Service Management •Resource Manager
  7. 7. REST API • Service Management •Resource Manager Azure Management Library
  8. 8. REST API • Service Management • Resource Manager Azure Management Library PowerShell • Invoke REST • Service Management • Resource Manager
  9. 9. REST API • Service Management • Resource Manager Azure Management Library PowerShell • Invoke REST • Service Management • Resource Manager XPlat CLI • ??
  10. 10. REST API • Service Management • Resource Manager Azure Management Library PowerShell • Invoke REST • Service Management • Resource Manager XPlat CLI • ?? Azure Automation
  11. 11. REST API • Service Management • Resource Manager Azure Management Library PowerShell • Invoke REST • Service Management • Resource Manager XPlat CLI • ?? Azure Automation Brewmaster
  12. 12. Microsoft Azure Management Library
  13. 13. Consistent modern libraries over the Azure REST API
  14. 14. Scenarios • Integration Testing • Custom provisioning of services (SaaS) • Dev/Test • Resource Governance • Anything you may want to automate
  15. 15. Get all or just the ones you need
  16. 16. PowerShell
  17. 17. Get the goods  http://azure.microsoft.com/en-us/downloads/ https://github.com/Azure/azure-sdk-tools/releases
  18. 18. Use cmdlets and/or REST APIs Ability to script complex environments • Template with an XML parameters file • PowerShell learning curve Consistent Deployments • Build server or developer machine
  19. 19. Interactive • Azure AD > Add-AzureAccount VERBOSE: Account "michael.collier@live.com" has been added. VERBOSE: Subscription "Cloud Practice Sales Demos" is selected as the default subscription. VERBOSE: To view all the subscriptions, please use Get- AzureSubscription. VERBOSE: To switch to a different subscription, please use Select- AzureSubscription. C:Users<user>AppDataRoamingWindows Azure Powershell
  20. 20. Programmatic • Management certificate • New –credentials option $userName = "<your organizational account user name>" $securePassword = ConvertTo-SecureString -String "<your organizational account password>" -AsPlainText -Force $cred = New-Object System.Management.Automation.PSCredential($userName, $securePassword) Add-AzureAccount -Credential $cred
  21. 21. What is Azure Resource Manager? Unit of Management
  22. 22. Provide • Idempotency • Orchestration • Resource configuration Ability To • Source control • Parameterized input/output SQL - A Website Virtual Machines SQL-A Website [SQL CONFIG] VM (2x) DEPENDS ON SQL DEPENDS ON SQL SQLCONFIG Image source - http://channel9.msdn.com/Events/Build/2014/2-607
  23. 23. Azure Resource Manager Tools Preview (VS2013)
  24. 24. PowerShell (v0.8.7.1) Switch-AzureMode AzureResourceManager Get-AzureResourceGroupGalleryTemplate –Identity Microsoft
  25. 25. Azure Automation
  26. 26. IT process automation solution for Azure • Creation, monitoring, deployment, & maintenance • PowerShell Workflow engine • Runbooks • Leverage existing PowerShell scripts
  27. 27. Brewmaster
  28. 28. Automated provisioning and deployment in Azure
  29. 29. Pre-built templates for popular server workloads SharePoint, AD, SQL Server Always On, ARR, etc. DSC and PowerShell Template SDK https://github.com/AditiTechnologies JSON-based C# Fluent Syntax Builder (NuGet)
  30. 30. MAML • http://www.jeff.wilcox.name/2014/04/wamlmaml/ • http://www.bradygaster.com/post/announcing-the-general-availability-of-the-microsoft-azure-management- libraries-for-net PowerShell • ARM - http://channel9.msdn.com/Events/Build/2014/2-607 • http://michaelwasham.com/windows-azure-powershell-reference-guide/ Azure Resource Manager • http://azure.microsoft.com/blog/2014/08/11/azure-resource-manager-tools-preview/ • http://blogs.msdn.com/b/rmattsampson/archive/2014/08/19/azure-resource-manager-tools-for-visual-studio. aspx Azure Automation • http://azure.microsoft.com/blog/tag/azure-automation/ Brewmaster • http://brewmaster.aditicloud.com
  31. 31. Questions?

×