Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Discovering Azure Automanage Machine Configuration by Gael Colas

Discovering Azure Automanage Machine Configuration by Gael Colas

Slides from the following meetup: https://www.meetup.com/de-DE/microsoft-azure-zurich-user-group/events/291425573/

Discovering Azure Automanage Machine Configuration
In this session we’ll discover a fairly new service in Azure to configure and audit both Windows or Linux VMs. We’ll first discover how you can audit compliance but also remediate non-compliance with built-in resources. Then we’ll dive into writing your own custom packages in PowerShell to cater for all your scenarios!

About Gael:
Gael is a Consultant in the DevOps, Automation, Azure and PowerShell space, recently moved to Vaud, Switzerland, where he just opened a branch of his UK-based consulting company. Gael has worked for London-based Hedge funds, and blue-chip companies, and was awarded Microsoft MVP in Cloud and Datacenter Management since 2017. Community enthusiast and fervent DevOps advocate, Gael helps organising user groups and other conferences such as the PowerShell Conference Europe, PSDayUK, the London PowerShell User Group, and the Swiss PowerShell User Group and other events...

https://synedgy.com/
https://psconf.eu/

Azure Zurich User Group
PRO

March 30, 2023
Tweet

More Decks by Azure Zurich User Group

Other Decks in Technology

Transcript

  1. IaC: Azure Automanage for
    Machine Configuration
    Gael Colas

    View Slide

  2. @gaelcolas
    Gael Colas
    ▪PowerShell / DSC expert & consultant
    ▪PowerShell Working Group Member
    ▪DSC Community Committee Member
    ▪Microsoft MVP
    ▪Director @ SynEdgy (PSConfEU, PSDayUK…)
    ▪Switzerland and UK these days, mostly…

    View Slide

  3. @gaelcolas
    PowerShell Conference Europe
    ▪80 Sessions
    ▪45 speakers / 300 Attendees
    ▪4 Days
    ▪Microsoft
    ▪PowerShell team members (4)
    ▪WinGet PM (1)
    ▪PowerShell Community Dinner
    https://psconf.eu

    View Slide

  4. @gaelcolas
    Agenda
    ▪What is a Configuration as Code
    ▪The DSC Platform
    ▪Past, Present, Future
    ▪Azure Automanage Machine Configuration
    ▪Aka Azure Policy Guest Configuration

    View Slide

  5. @gaelcolas
    What is a Desired State
    Configuration Management principle

    View Slide

  6. @gaelcolas
    The problem
    You are
    here
    You
    want to
    get
    there
    State State
    Transform Transform Transform
    A Configuration is a Directed Acyclic Graph

    View Slide

  7. @gaelcolas
    Rollback is a fallacy
    You are
    here
    You
    want to
    get
    there
    State State
    Transform Transform Transform
    State

    View Slide

  8. @gaelcolas
    It’s all about data

    View Slide

  9. @gaelcolas
    Traditional Management
    ▪Guesstimate the current state
    ▪Apply (imperative) changes following a procedure
    ▪Implement monitoring
    ▪Document the changes
    ▪pray

    View Slide

  10. @gaelcolas
    Make it so
    ▪Define the desired state
    ▪Converge
    ▪Capture drift
    ▪Remediate drift

    View Slide

  11. @gaelcolas
    Why Infra as Code
    Baseline
    Baseline
    P
    D
    C
    A P
    D
    C
    A
    P
    D
    C
    A P
    D
    C
    A
    PLAN
    DO
    CHECK
    ACT
    Deming Cycles

    View Slide

  12. @gaelcolas
    Desired State Configuration
    Aka PSDSC

    View Slide

  13. @gaelcolas
    All the DSCs
    ▪PSDSC: PowerShell Desired State Configuration
    ▪DSC vs DSC:
    ▪DSL: Domain Specific Language
    ▪Agents
    ▪Pull Server & Reporting
    ▪Azure DSC

    View Slide

  14. @gaelcolas
    The DSC Community
    People and code

    View Slide

  15. @gaelcolas
    DSC Community
    ▪https://dsccommunit.org
    ▪Community Calls every 6 weeks
    ▪ Sessions from community and product groups
    ▪ Open questions
    ▪ Community release updates
    ▪https://github.com/dsccommunity

    View Slide

  16. @gaelcolas
    Azure Automanage Machine
    Configuration
    Simple, no?

    View Slide

  17. @gaelcolas
    Creating DSC Resources
    With class…

    View Slide

  18. @gaelcolas
    Q&A
    15 minutes

    View Slide