From Zero to Automation HeroFrom Zero to Automation Hero A MNSCug production Steve Jesok Ameriprise – Senior Systems Engineer Ryan Andorfer Microsoft (Pre Sales Guy)
@randorfer 3 Year Cloud and Datacenter MVP Too much PowerShell Code Wisconsin Cheese Survivor, Community Leader 20 years in IT Musician (guitar god) Ryan Andorfer Steve Jesok
Log analyticsIT AutomationBackup & Recovery Security & Compliance Effortless log collection Integrated fast search and queries with custom dashboard Integrated cloud backup Seamless disaster recovery and workload migration Hybrid runbook worker Graphical workbook authoring and automation DSC Malware assessment Security posture and system update assessment Spot problems fast Automate tasks quick Protect data easily Recognize threat early With OMS capabilities customers can… extending System Center capabilities, as an all-in-one management solution! Operations Management Suite Capabilities
Azure Automation IT Automation
The Automation Flow Write Code Author locally Use Familiar Tools (ISE) Fully Emulated Automation Environment Check-in Code Source Control should be the source of truth Sync Automation Sync all updates from source control to the Automation Account
Setting up the ‘Automation Flow’ Install Local Dependences Get GIT windows.githu b.io/ Learn GIT Fork the master Repository Get your own version of the code base m/randorfer/S COrchDev Clone it to c:\git Setup LocalDev Copy the profile.ps1 from c:\git\SCorchD ev\Profile to your PowerShell Profile Update Settings with your values Update c:\git\SCOrch Dev\Globals\z zGlobal.json Create 3 local password vault credentials Deploy environment Run c:\git\SCOrch Dev\ARM\auto mation- sourcecontrol\ psdeploy.ps1
Demo Deploy it
What have we built Automation Account Imported Modules Created a DSC Configuration for Hybrid Runbook Workers Imported a runbook that will sync all source control changes Must be run on hybrid runbook workers Storage Account Used to stage PowerShell modules
What is next Add 1-many servers as DSC nodes with the configuration These can be Azure Servers or on prem servers Must have PS v5 Example script for onboarding on prem machines DSCEnrollment.ps1https://github.com/randorfer/RunbookExample/blob/master/Runbooks/DSC/Invoke- DSCEnrollment.ps1 Wait for configuration to take place Create webhook on invoke-gitrepositorysync Add webhook to your source control on push event Write code and check it in
Demo Finish it and use it
And Then …
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