Simple Self-service Web App to Control Azure VMs start/stop
March 07, 2023
Managing Azure Virtual Machines (VMs) often requires users to navigate the Azure Portal, which can be complex and overwhelming for non-technical or occasional users. Organizations frequently face the challenge of empowering end users to start or stop VMs on demand—such as for development, testing, or training—without granting them broad access to the Azure Portal or exposing sensitive infrastructure controls. A simplified, self-service solution streamlines this process, making VM management as easy as clicking a button, while maintaining security and compliance.
The Solution
The solution is a Node.js web application that enables users to start Azure Virtual Machines through a self-service portal. It leverages the Azure SDK for VM management and secures access using Microsoft Entra ID, restricting operations to authorized security groups.
This repository includes scripts for automating Azure resource setup, app registration, and deployment, as well as configuration templates for both public and private Azure Container Instances. The app can be run locally or containerized with Docker, making it easy to test and deploy in various environments.
Getting Started
To get started with the Web App for Azure VM start self-service, follow the steps in the GitHub repository.