Back to projects
Deploying Proxmox VMs from Telegram
Telegram bots

Deploying Proxmox VMs from Telegram

An orchestrator bot: provisions and manages Proxmox VMs from a YAML inventory, right in the chat.

Challenge. Manage VMs on an on-prem Proxmox cluster without SSHing in or opening the web panel — spin up a test VM straight from your phone.

Approach. I wrapped the complex Proxmox API in a friendly chat interface with an infrastructure-as-code approach: machines are described in YAML, and actions are buttons.

Solution. Node.js + grammY, YAML inventory parsing (js-yaml), a REST client to the Proxmox API (undici), inline control of VM create/clone/delete, and real-time status and log streaming.

Result. Decentralized infrastructure management: test environments spin up in seconds from a messenger. An example of wrapping a non-trivial API in a human-friendly interface.

Related work