lower costs and improve predictability automation enable service owners to focus on work that adds...
Post on 18-Dec-2015
219 Views
Preview:
TRANSCRIPT
Session Objectives And TakeawaysSession Objectives:Understand the capabilities of Microsoft Azure AutomationDiscuss use cases for automating management of Azure virtual machinesDiscuss using PowerShell DSC for configuring VMs from Azure Automation
Key Takeaways:Azure Automation allows integration between Azure services and external systemsAzure Automation can be used to automate error-prone, frequently repeated tasksEasy to get started using Azure Automation to save time and $$$
Lower costs and improve predictability
Automation
Enable service owners to focus on work that adds business valueReduce error-prone manual activities while lowering costs
Optimize and extend existing investments
IntegrationIntegrate into existing systems with PowerShell integration modulesBuild additional PS modules to enable integrating into other systems
Deliver flexible and reliable services
OrchestrationAccelerate time to value with flexible process workflowsImprove service reliability across multiple tools, systems, and department silos
Process automation that simplifies cloud management
Azure Automation Capabilities
Azure
Monitoring Systems
Change Control Systems
Anything
Runbook Authoring in Azure:Create runbooks to automate all aspects of cloud management in cloud based Monaco editor.
Highly Available Engine:
Support requirements for scale and H/A.Built on PowerShell Workflow. Isolation for runbook jobs.
Integration into other systems:Import existing or create new PS modules
and runbooks for Azure services or to connect into 3rd party systems.
AutomationPurge
stale logs from SQL
Staged deployme
nt of a service
Remediate alert on a service
Patch Azure VMs
without downtime
Built on PowerShell Workflow
PowerShell Workflow
•Use Windows PowerShell syntax•Parallel or serial execution across devices•Single task to manage complex, end-to-end processes
•Automated failure recovery with checkpoints •Connection and activity retries
Centralized store
•Credentials / certificates•Variables / connections•Checkpoints•Module management•Runbooks (draft / published versioning)•Integrated scheduling
As-a-service
•Azure-powered availability, scalability, reliability•Tenant-isolated, host-independent execution•Management through APIs, SDKs, cmdlets•Multi-region support•Backed by Azure SLA
Historical Analysis
•Historical view of runbook job execution•View output, errors, verbose, progress logs for jobs•View runbook version used for jobs
PowerShell Workflow
Centralized store
Highly Available
Historical Analysis
Microsoft Azure
Automation
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Simplifies configuration
Prevents configuration drift Flexible deployment options Enables continuous deployment
PowerShell Desired State Configuration…
Development Test Production
Configuration and Continuous Deployment
Intent EnvironmentConfiguration(Dev -> Test -> Production)
$SystemDrive = "C:"$DemoFolder = "$SystemDrive\Demo"$global:WebServerCount = 3…
Structural Configuration
WindowsFeature IIS { Name = "Web-Server" Ensure = "Present"}…
Make It So Idempotent Automation
foreach -parallel ($featureName in $Name){ $feature = Get-WindowsFeature -Name $featureName if(($Ensure -eq "Present") -and (!$feature.Installed)) { Install-WindowsFeature -Name $featureName } ….}…
MICROSOFT CONFIDENTIAL – INTERNAL ONLY
Use PS DSC to automate VM configuration Use Azure Automation to automate processes Use PS DSC within Azure Automation runbooks to
configure VMs as part of processes Ex: The multi-step process of deploying new configurations to production VMs:
1. Monitor source control for new commits to DSC repository for a service
2. When new commit, push the DSC to the stage environment VMs
3. Run test suite to confirm service in stage environment is functioning properly
4. If tests fail, alert developers
5. If tests pass, wait for maintenance window and then push DSC to production VMs, in a way that maintains service availabilty
PowerShell DSC and Azure Automation
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
top related