microsoft / microsoft/AzureTRE

Install Azure Monitor agent on all VMs and VMSS

Open
#3,357 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

story terraform
Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

Description

As a Azure TRE Developer, I want to replace the OMS-Agent-for-Linux extension that is used in the VMSS with the new Azure Monitor agent.

As described in this document, The OMS-Agent-for-Linux extension is being deprecated and should be replaced with the new Azure Monitor agent.

Since the OMS-Agent-for-Linux extension was added to the VMSS due to Azure alerts (and not because it was needed), and since it does not work in the US government cloud (at least not without modifications), it was removed as part of #3299

The agent needs to be installed on all VMs to allow monitoring for security compliance.

Acceptance criteria

  • Azure Monitor agent is added to the VMSS
  • Nexus VMs
  • Guacamole VMs
  • The CI/CD works on gov cloud

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with core/terraform/resource_processor/vmss_porter/main.tf, where the existing VMSS agent extension is referenced. Trace the Terraform definitions for the Nexus and Guacamole VMs and inspect how CI/CD targets the government cloud. Done means Azure Monitor agent coverage for the VMSS and both VM types, with CI/CD working in the government cloud.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, terraform
Domain
cloud, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.