Top Banner
Joe Levy Program Manager Enterprise Cloud Group Orchestrating IaaS management with Azure Automation
13

Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

Dec 18, 2015

Download

Documents

Shauna Chambers
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

Joe LevyProgram ManagerEnterprise Cloud Group

Orchestrating IaaS management withAzure Automation

Page 2: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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 $$$

Page 3: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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

Page 4: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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

Page 5: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

Intro to Azure Automation

Demo

Page 6: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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

Page 7: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

Managing VMs usingAzure Automation

Demo

Page 8: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

MICROSOFT CONFIDENTIAL – INTERNAL ONLY

Simplifies configuration

Prevents configuration drift Flexible deployment options Enables continuous deployment

PowerShell Desired State Configuration…

Development Test Production

Page 9: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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 } ….}…

Page 10: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

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

Page 11: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

Azure Automation andPowerShell Desired State Configuration

Demo

Page 12: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

If you think you will do a task twice – automate it!

Page 13: Lower costs and improve predictability Automation Enable service owners to focus on work that adds business value Reduce error-prone manual activities.

© 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.