Quickstart
This guide starts one Ubuntu VM with Yeast.
You will:
- create a Yeast project
- let
yeast updownload the trusted cloud image if needed - boot a real QEMU/KVM VM
- SSH into the guest
- optionally expose a guest web port on your laptop
- stop and destroy the project safely
Expected time: 5-10 minutes after the image is cached.
What You Need
- a Linux host
- working KVM access
- Yeast installed
- an SSH public key
If you are not sure, start with:
1. Check The Host
Fix any blockers before continuing.
2. Create A Project
Run this from a normal host terminal:
This creates:
| Path | Purpose |
|---|---|
yeast.yaml |
VM configuration |
.yeast/project.json |
project identity |
3. Look At yeast.yaml
You should see one VM named web.
The important part looks like this:
This means:
| Field | Meaning |
|---|---|
name: web |
The VM is called web. Commands use this name, for example yeast ssh web. |
image: ubuntu-24.04 |
The VM uses the trusted Ubuntu 24.04 cloud image. |
memory: 1024 |
The VM gets 1024 MiB of RAM. |
cpus: 1 |
The VM gets one vCPU. |
disk_size: 20G |
The VM disk starts at 20 GiB when the disk is created. |
If you want to open a service from the guest on your laptop, add:
That means: host 127.0.0.1:8080 forwards to guest port 80.
4. Start The VM
Yeast will:
- validate
yeast.yaml - create the VM disk
- generate cloud-init data
- start QEMU/KVM
- wait for SSH
- run provisioning if configured
If the image is not cached yet, Yeast downloads it during this step.
5. Check Status
You should see one running instance named web.
For scripts:
6. SSH Into The VM
Inside the VM:
Expected result:
hostnameprintswebunless you changedhostnamewhoamiprintsyeastunless you changeduserip addrshows normal Linux network interfaces
7. Stop Or Destroy
Stop the VM but keep its disk:
Delete the project runtime files and disk:
Warning
yeast destroy removes tracked VM runtime files and disks for this project.
Optional: Open A Guest Service From Your Laptop
Edit yeast.yaml:
version: 1
instances:
- name: web
image: ubuntu-24.04
memory: 1024
cpus: 1
disk_size: 20G
ports:
- "8080:80"
Then run:
Yeast prints the forwarded host URL. In this example, if the guest serves HTTP on port 80, open:
Common Next Checks
Read VM logs:
Inspect one VM:
See terminal docs:
List supported images:
Manual yeast pull <image> is optional for supported auto-download images. Use it when you want to warm the cache before yeast up.
Next Step
Read Write yeast.yaml next. That page explains how to edit RAM, CPU, disk size, images, provisioning, users, networks, and forwarded ports.