GithubHelp home page GithubHelp logo

vchdecisionsupport / tasmaniantraders-iac-azureautomationdsc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kvaes/tasmaniantraders-iac-azureautomationdsc

1.0 4.0 0.0 21 KB

Kickstarting the usage of Azure Automation & DSC to streamline your Azure VM deployments. This repository contains ready made examples to use the DSC pull system from Azure Automation to gain more insights into your deployments and do lifecycle management of your nodes.

Home Page: https://docs.microsoft.com/en-us/azure/automation/automation-dsc-overview

PowerShell 100.00%

tasmaniantraders-iac-azureautomationdsc's Introduction

Automation Foundation for deploying DSC configs to Azure VMs

This repository contains the code that can be used to deploy DSC configurations to Azure VMs via Azure Automation.

There are several subdirectories ;

  • Automation Account ; This is an ARM template to deploy an Automation Account. It includes a credential & variable example.
  • Configurations ; This contains the DSC configurations and their companion config data.
  • Modules ; This contains all the modules needed for the configurations.
  • Scripts ; Here you can find the scripts you can use to deploy.
    • importModule ; This will import a DSC module from the powershell gallery and into your automation account
    • importAllModules ; This will import all the modules presented inthe "Modules" directory (filtered on the pattern "Modules" in the file name)
    • importConfiguration ; This will import a configuration & compile it
    • importAllConfiguration ; This will import all the configurations present in the "Configurations" directory

Scripts Examples

  • importModule

    • importModule.ps1 -moduleName xActiveDirectory -moduleVersion "2.13.0"
    • importModule.ps1 -moduleName xDSCDomainjoin -moduleVersion "1.1"
  • importAllModules

    • importAllModules.ps1
    • importAllModules.ps1 -moduleAutomationAccount MyAutomationAccount -moduleResourceGroup RG-AutomationAccount
  • importConfiguration

    • importConfiguration.ps1 -dscConfigFile ..\Configurations\DscConfDomainController.ps1 -dscDataConfigFile ..\Configurations\DscConfDomainController-ConfigData.ps1
    • importConfiguration.ps1 -dscConfigFile ..\Configurations\DscConfDomainController.ps1 -dscDataConfigFile ..\Configurations\DscConfDomainController-ConfigData.ps1 -dscAutomationAccount MyAutomationAccount -dscResourceGroup RG-AutomationAccount
    • importConfiguration.ps1 -dscConfigFile ..\Configurations\DscConfDomainController.ps1 -dscDataConfigFile ..\Configurations\DscConfDomainController-ConfigData.ps1 -Force $true
  • importAllConfigurations

    • importAllConfigurations.ps1
    • importAllConfigurations.ps1 -dscAutomationAccount MyAutomationAccount -dscResourceGroup RG-AutomationAccount
    • importAllConfigurations.ps1 -Force $true

    Integration Examples

    An example towards provisioning Active Directory domain controllers can be found here. That repository contains an ARM template to deploy a domain controller, which will connect back to an Azure Automation Account looking for a given DSC configuration. Depending on what type of DC you select, it will link the right DSC configuration as provisioned by this repository.

tasmaniantraders-iac-azureautomationdsc's People

Contributors

grahamcrowell avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.