GithubHelp home page GithubHelp logo

azureautomationdsc's Introduction

AzureAutomationDSC

Working with the AzureRM Modules to create/destroy, spin up/spin down VMs.

The end goal is to have these VMs fully configured as an Active Directory test lab using DSC.

DSC on premise is limited as it does not have a management portal. In Azure we have the Azure Automation portal.

Operations.ps1 contains sample commands to use the functions in this project. This is a good place to start to get an idea.

Configurations

Contains DSC resources

  1. newDomain.ps1
  2. newForest.ps1
  3. setupDC.ps1

Functions

manageModules.ps1 - Set-up module manifest files for all the modules created

SetupFunctions

Create the initial environment in Azure. Typically run once

  1. Resource Group
  2. Networks
  3. IP Address Scheme
  4. Public IP
  5. Storage Account
  6. Automation Account
  7. RDP Access

DSCFunctions

  1. Get an Azure onboarding key
  2. Import DSC resources into Azure
  3. Read where the DSC Config is published

OnboardFunctions

  1. Register a DSC node configuration
  2. Add a node configuration

VMFunctions

The main function for working with VMs in Azure

  1. List VMs
  2. Create VMs
  3. Start VMs
  4. Stop VMs
  5. Remove VMs

Examples

Get-MvVM -Name DC1
New-MmVM -Name DC2
Get-AllMmVM -Verbose

Access the Azure portal here

azureautomationdsc's People

Contributors

micmaher avatar mmaherta avatar

Watchers

James Cloos 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.