How the Engineering Team Implemented VM Usage Tracking in Azure Lab Services

Mas023 40 Reputation points
2024-10-03T11:30:31.35+00:00

Hi all,

With Azure Lab Services retiring in 2027, we plan to migrate to a new service for our school. Azure products like Virtual Machine Scale Sets or DevTest Lab look like good alternatives. However, we need to implement a key cost-saving feature: tracking the number of hours a VM has been used and automatically stopping and deallocating it, for instance, after 50 hours of usage. This feature has been extremely useful in Azure Lab Services.

Could someone from the engineering team assist us in setting up similar functionality for our VMs?

Thank you!

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
300 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,278 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mounika Reddy Anumandla 1,300 Reputation points Microsoft Vendor
    2024-10-09T08:58:04.82+00:00

    Hi Mas023,

    I have checked internally with the team, and this is the response provided by them.
    DevTest Labs doesn't have such a feature to track VM total usage.

    However, it looks like the same goal can be achieved with a combination of Azure's Cost Management/Billing and Azure Automation:

    If you have any further queries, do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.