DSC and Azure

This topic contains 4 replies, has 5 voices, and was last updated by

 
Participant
3 weeks, 1 day ago.

  • Author
    Posts
  • #114343

    Inactive
    Points: 0
    Rank: Member

    Hi Guys,

    I am wondering if someone knows a good documentation on how to deploy azure resources from my local computer? When I search for it people are usually writing on deploying these things with dsc extensions and that I need to be logged on azure portal. I would like to create configurtion, new vm with storage accounts, network etc. from my local computer and push it to the azure? I mean here to have configuration that I can use over and over again without login into azure portal and creating those from portal. Is that possible like doing it with powershell?

  • #116670

    Participant
    Points: 26
    Rank: Member

    Hi Guys,

    I am wondering if someone knows a good documentation on how to deploy azure resources from my local computer? When I search for it people are usually writing on deploying these things with dsc extensions and that I need to be logged on azure portal. I would like to create configurtion, new vm with storage accounts, network etc. from my local computer and push it to the azure? I mean here to have configuration that I can use over and over again without login into azure portal and creating those from portal. Is that possible like doing it with powershell?

    Well, that's a broad question. First question that you want to ask yourself is, do you want to go the 'imperative way' or the 'declarative way'? Quite frankly, both ways get the job done. I would suggest however, if you start from scratch, choose the declarative way. Tools like Terraform and Ansible give you a good foundation to start from. Especially Terraform is perfectly suitable to spinup resources in Azure. If you combine that with the Azure PowerShell DSC extension and a Automation Account (in which you host your DSC configurations), then you have a very powerful provisioning/configuration setup.

  • #119488

    Participant
    Points: 7
    Rank: Member

    Microsoft has pretty good documentation.
    https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authoring-templates

    I would recommend using Visual Studio (Not code, but you can do it in Code also) to create your templates.

    There are also some videos on Youtube from Ignite, that should be helpful.  In fact there are tonnes of great Azure Ignite videos uploaded recently.

  • #126216

    Participant
    Points: 5
    Rank: Member

    Personally, I create all my ARM Templates in VS Code, I've found it to be the best code editor for DSC, Azure Powershell etc. Just make sure you installed the necessary extension. For ARM you'll need Azure Resource Manager Tools.

  • #126395

    Participant
    Points: 66
    Rank: Member

    There is several online Mooc you can use to learn Infrastructure as a Code

    You can use edx, it's free and there is a course about IaC  (with online Lab)

    https://www.edx.org/course/infrastructure-as-code-1

    It covers Arm template, Azure automation, Azure DSC ...

You must be logged in to reply to this topic.