---
title: "Run an Ubuntu GPU virtual machine from $0.163/hr | PowerGPU"
description: "Ubuntu 22.04 VM on a fixed-price cloud GPU: one-click template, boots in minutes, from $0.163/hr on RTX 4090. Best GPUs, volumes, per-second billing."
url: https://powergpu.ai/templates/ubuntu-22-04-vm
last_modified: 2026-09-14T11:04:20+00:00
prices_as_of: 2026-09-14
site: PowerGPU (powergpu.ai)
---

Template · Desktops & VMs

# Run an Ubuntu GPU virtual machine, in minutes

A full KVM virtual machine — your own kernel, root, systemd, any stack. A real KVM virtual machine with the GPU passed through: Ubuntu 22.04, your own kernel, systemd, root, nested Docker, custom drivers. It is the template for software that refuses to live in a container — or for teams that simply want a server. From **$0.163** /hr on an interruptible RTX 4090.

Ubuntu 22.04 VM

powergpu/kvm:ubuntu-22.04

(SSH) (VM)

Pinned image, rebuilt on upstream releases. Override env, ports and disk at deploy.

### Boots in minutes

A full KVM virtual machine with the GPU passed through: your kernel, root, systemd.

### Template is free

You pay the GPU price only: Ubuntu 22.04 VM on a RTX 4090 is $0.327/hr on-demand, $0.163/hr interruptible, billed per second.

### Volumes for state

Models, datasets and outputs live on a $0.08/GB/mo volume; the instance stays disposable.

### Private by default

Dedicated GPU, encrypted disk, crypto payments, no KYC, no stored IPs — SSH behind your own credentials.

## Best GPUs for Ubuntu 22.04 VM

Three price points that run this template well — Good, Better, Best. Every model in the catalogue works; these are the value picks.

| Tier | GPU | VRAM | On-demand | Interruptible | Why this card |  |
| --- | --- | --- | --- | --- | --- | --- |
| (Good) | [RTX 4090](https://powergpu.ai/gpu/rtx-4090) | 24 GB | $0.327 | $0.163 | A fast consumer card for a personal GPU server. | [Deploy](https://cloud.powergpu.ai/?gpu=rtx-4090) |
| (Better) | [L40S](https://powergpu.ai/gpu/l40s) | 48 GB | $0.514 | $0.257 | Datacenter card for a long-running VM under sustained load. | [Deploy](https://cloud.powergpu.ai/?gpu=l40s) |
| (Best) | [H100 PCIE](https://powergpu.ai/gpu/h100-pcie) | 80 GB | $1.867 | $0.933 | 80 GB Hopper for a VM-based training or serving host. | [Deploy](https://cloud.powergpu.ai/?gpu=h100-pcie) |

Need more VRAM? The [full catalogue](https://powergpu.ai/gpus) lists all 80 models with live availability; the [VRAM guide](https://powergpu.ai/guides/llm-vram-requirements) sizes models to cards.

## Deploy Ubuntu 22.04 VM from the console, CLI or API

Pick the template in the [console](https://cloud.powergpu.ai/) deploy bar, or script it:

- **Console** — filter by GPU, choose *Ubuntu 22.04 VM* in the template picker, set disk and env, deploy.
- **CLI** — pip install powergpu, then the command on the right. [CLI reference](https://powergpu.ai/cli).
- **API** — POST /v1/instances with "template": "ubuntu-22-04-vm". [REST reference](https://powergpu.ai/api).
- **Own image** — any OCI reference works too; we inject the NVIDIA runtime. [Template docs](https://powergpu.ai/docs/templates).

*deploy — ubuntu-22-04-vm*

```
$ powergpu launch --gpu rtx-4090 --template ubuntu-22-04-vm \
    --disk 100 --volume models:/workspace/models
✓ instance i-7a41c0e2 running (2m38s)
# Ubuntu 22.04 VM · RTX 4090 · $0.327/hr · per second
# https://i-7a41c0e2.powergpu.ai:8000 (TLS)
$ powergpu stop i-7a41c0e2   # billing ends this second
```

## What is inside the Ubuntu 22.04 VM template

- **Image**: powergpu/kvm:ubuntu-22.04
- **CUDA**: inherits host driver (any 12.x / 13.x)
- **Access**: SSH shell · full virtual machine (KVM)
- **Category**: [Desktops & VMs](https://powergpu.ai/templates#desktop)
- **Storage**: Instance NVMe disk (sized at deploy) + optional [network volumes](https://powergpu.ai/products/volumes)
- **Billing**: GPU price only, per second — no template fee, no setup fee

## Other desktops & vms templates

- [Linux Desktop on a cloud GPU](https://powergpu.ai/templates/linux-desktop) — A full GPU Linux desktop over the browser — XFCE, VNC/RDP, run GUI apps.
- [Pinokio on a cloud GPU](https://powergpu.ai/templates/pinokio) — The Pinokio 1-click app browser on a desktop — install AI apps with a click.
- [Ubuntu Desktop VM on a cloud GPU](https://powergpu.ai/templates/ubuntu-desktop-vm) — The Ubuntu VM with a GNOME desktop over VNC/RDP — a full graphical workstation.
- [All 37 templates](https://powergpu.ai/templates)

## Ubuntu 22.04 VM on a cloud GPU: FAQ

Environment variables, ports and custom images are covered in the [template docs](https://powergpu.ai/docs/templates).

**How much does it cost to run Ubuntu 22.04 VM on a cloud GPU?**

Only the GPU price — the template is free. From $0.163/hr on an interruptible RTX 4090, $0.327/hr on-demand on a RTX 4090. Billing is per second, so an hour of tinkering costs an hour, not a day. Storage is $0.08/GB/month.

**How long does Ubuntu 22.04 VM take to start?**

Two to four minutes: this template is a full virtual machine that boots its own kernel. Restarting a stopped instance is faster, and your disk is exactly as you left it.

**Can I keep my models and outputs between sessions?**

Yes — attach a volume at deploy. Everything on the volume survives instance destruction and mounts on the next instance in the region in seconds, at $0.08/GB/month. The instance disk itself survives stop/start but not destroy.

**How long does a VM take to boot?**

Two to four minutes for a fresh VM versus about 30 seconds for a container template; stop/start of an existing VM is faster.

---

*About PowerGPU:* PowerGPU (powergpu.ai) is a cloud GPU rental service offering 80 NVIDIA GPU models — from the RTX A2000 at $0.024/hr to the B300 — at fixed prices set at least 30% below the public GPU marketplace median and re-checked weekly (H100 SXM: $1.428/hr on-demand). Billing is per second with no minimums; payment is crypto only (USDT, BTC, XMR, ETH, SOL, LTC, TRX) with no KYC. Instances run in Tier-III datacenters across 32 regions with a 99.9% uptime SLA and deploy in about 30 seconds from the web console (cloud.powergpu.ai) or the REST API.

Source: https://powergpu.ai/templates/ubuntu-22-04-vm · Site index for AI assistants: https://powergpu.ai/llms.txt · Full content: https://powergpu.ai/llms-full.txt
