Git Product home page Git Product logo

azuremonitorforvms-armtemplates's Introduction

ARM Templates to deploy Azure Monitor for VMs

This download contains onboarding templates for different scenarios:

Virtual Machines:

  • ExistingVmOnboarding: Use this template to enable Azure Monitor for VMs if the Virtual Machines already exists.
  • NewVmOnboarding: Use this template to create a Virtual Machine and onboard it to Azure Monitor for VMs.

Virtual Machine Scale Sets:

  • ExistingVmssOnboarding: Use this template to enable Azure Monitor for VMs if the Virtual Scale Sets already exists.
  • NewVmssOnboarding: Use this template to create a Virtual Machine Scale Sets and onboard it to Azure Monitor for VMs.

Note: If Virtual Machines Scale Sets are already present and the upgrade policy is set to 'Manual', Azure Monitor for VMs will not be enabled for instances by default after running 'ExistingVmssOnboarding' template. You have Manually upgrade the instances.

Azure Arc Machines:

  • ExistingArcVmOnboarding: Use this template to enable Azure Monitor for VMs if the Azure Arc machine already exists.

Configure Workspace:

  • ConfigureWorkspace: Use this to enable Azure Monitor for VMs solution on the workspace.

How to Deploy:

Each folder has a 'Template' and a 'Parameters' file. Modify the 'Parameters' file with appropriate details, such as Virtual Machine Resource Id, Workspace resource Id, Location, OS Type etc. Do not modify the 'Template' file unless you need to customize it for you particular scenario.

Once details are entered in the 'Parameters' file you can deploy them in multiple ways:

1. Using the portal UI:

You can login to Azure Portal and deploy this Azure Resource Manager template along with modified parameters.

2. Powershell:

If using Powershell, please run the following command:

New-AzResourceGroupDeployment -Name OnboardCluster -ResourceGroupName <ResourceGroupName> -TemplateFile <Template.json> -TemplateParameterFile <Parameters.json>

3. Azure CLI:

If using Azure CLI, please run the following command:

az login
az account set --subscription "Subscription Name"
az group deployment create --resource-group <ResourceGroupName> --template-file <Template.json> --parameters <Parameters.json>

Links:

Azure Monitor for VMs (preview)

Deploy Azure Monitor for VMs (preview)

GA FAQ

azuremonitorforvms-armtemplates's People

Contributors

vpidatala94 avatar devendarreddyk avatar nasundar 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.