Automated Task Example - Power on/off VMs Automatically as Needed
Configuration example of automated tasks that conserve resources by powering VMs on when a designated user logs in, and off on logout or at a scheduled time such as end of business hours.
Automated Task Example
Use Case
User JThompson relies on multiple GPU-powered virtual machines to perform 3D modeling and animation work. These VMs consume significant compute and memory resources, and leaving them running when idle is wasteful.
By configuring automation to power them on only when needed - when JThompson logs into the system, and to shut them down when the user logs out or at a scheduled time (for example, every Friday at 6pm), we can ensure that resources are available exactly when needed while avoiding unnecessary usage.
The automation consists of creating tags, defining tasks, and attaching event and schedule triggers. The steps below walk you through the full configuration:
Verification
Log in as JThompson → tagged VMs should power on automatically
Log out → VMs should power off
At Friday 6:00pm → VMs should power off even if the user is still logged in
Troubleshooting
If VMs do not power on, verify the tag is assigned to each VM.
If schedule triggers do not fire, confirm the system time zone is correct.
If login/logout triggers fail, ensure the user account name matches exactly.
This automation ensures that the GPU‑powered VMs are only active when the designated user is logged in. When the user logs out, or at the scheduled cutoff time (Friday 6pm), the VMs are powered down to conserve resources. The pattern can be applied to other high‑resource workloads such as integration test environments, interactive machine learning, CAD rendering stations, or financial modeling clusters, or any system that benefits from running only when needed.
Last updated
Was this helpful?









