Long Live Azure Automation!Long Live Azure Automation! Cloud-first Configuration Management and Automation Beth Cooper Program Manager Microsoft Trevor Sullivan Founder, Art of Shell
@pcgeek86 Microsoft MVP 12 years Beer, motorcycles, mountains, guns, Microsoft Program Manager 2 years Wine, skiing Trevor Sullivan Beth Cooper
What to expect Azure Automation Overview DSC + Source Control Slack Integration with Webhooks Automation ISE Add-on New Azure Automation features Best practices for DSC & Runbooks
Automation OverviewAutomation Overview
Microsoft’s IT management solution Azure | AWS Modern operations management Configuration & automation Analytics & monitoring Configuration & automation Backup & disaster recovery Operations Management Suite Security & Compliance
Managing across the entire lifecycle 6. PACKAGING DEVOPS TOOLING PATCHING CONFIG MONITORING ORCHESTRATION ALERTSDISCOVERYANALYTICS SUBSCRIPTIONCOSTPOLICY BACKUP RECOVERY DETECT PREVENT
Demo Introduction to Automation
Main Features Process Automation Runbooks PowerShell / PowerShell Workflow Graphical – PowerShell/Workflow Declarative Automation PowerShell DSC Use Automation as a pull server Central location to view the state of all of your managed nodes Secure global asset store Certificates Credentials Variables Connections Modules Schedules Run on hybrid or in Azure
Azure Automation ScenarioAzure Automation Scenario Deploy DSC from Source Control
Workflow Check-in DSC update to repository Start Sync Runbook Import updates DSC Configuration and Configuration Data Compile the node configurations Associate node configurations to nodes & push updates
Demo Automation DSC & Source Control
Authoring for AutomationAuthoring for Automation Best Practices
DSC Configuration Best Practices Use Azure Automation PSCredential assets Use AzureRM.Automation PowerShell module to import DSC Configurations with Configuration Data Node Configurations (MOFs), not configurations, are what should be assigned to nodes in Automation DSC Node Configurations (MOFs) are namespaced by configuration name (ex: MyConfiguration.webserver) Only machines with WMF 5 installed can communicate with Automation DSC Automation does not currently support composite configurations or partial configurations (but does support composite resources) Currently nodes must be reregisterd with Automation DSC after one year due to certificate expiration Compiling Configuraitons that use credentials ins Automation DSC require passing in ConfiguraitonData via PS Cmdlets
Runbook Best Practices Never hardcode values, especially secure information in your runbook use Azure Automation assets instead Use PowerShell Scripts for tasks that require fast start and are not long running Use Workflow for long running error prone tasks where checkpointing is needed Use Graphical to focus on data flow and more complex processes Use Write-Progress and Write-Verbose to help debug your runbooks, turn off unless you need to debug Write modular runbook so that they can be reused
Automation New Features
NEW Graphical Authoring PowerShell support Activity output discovery Improved color and indicators Convert Graphical Workflow runbooks to Graphical script runbooks Southeast Australia Region Azure Alert Integration Pick runbooks from your Automation account in addition to predefined runbooks Run as account to manage Azure ARM resources Hybrid Run-as credentials Reliability improvements COMING SOON Scheduling improvements Time zone support for schedules to handle daylight savings time Weekly and monthly scheduling options Log Analytics integration Job status Job streams Proxy support for hybrid workers Run-as account to manage Classic Azure Resources
Azure PowerShell Extensions Auto-completion for Azure resources Storage Accounts, Containers Formatting files Simplifies output from complex Azure resources Value-add Functions Simplifies authentication to Microsoft Azure Upload Storage Blobs easily using prompts
Questions?
Presentation Just a placeholder slide. Please use the example slides in the “Template Example Slides” Section. Questions?
Evaluation s: And Then … Please provide session feedback by clicking the EVAL button in the scheduler app (also download slides). One lucky winner will receive a free ticket to the next MMS! Discuss: Ask your questions-real world answers! Plenty of time to engage, share knowledge.
Section HeaderSection Header This is the next section
Title Line1 Line2 Line3 Line4 Line5 Line6 Bullet Level 1 Bullet Level 2 Bullet Level 3
Title Code
Text Only with Border Level 1 Level 2 Level 3
Text Only without Border Level 1 Level 2 Level 3
Title Text 1 Level 1 Level 2 Level 3 Text 2 Level 1 Level 2 Level 3
Section 1 Text Level 1 Level 2 Level 3 Section 2 Text Level 1 Level 2 Level 3 Title
Demo Demo Title