Your first VM in five minutes
This content is not available in your language yet.
You’ll create a small Ubuntu VM on the default network of a new project. It costs a few cents an hour while it runs; delete it at the end if you don’t need it.
Before you start: an account with
money in the wallet, and an SSH key pair on your computer. No key yet?
Run ssh-keygen -t ed25519 and press Enter at each question; the public half is
~/.ssh/id_ed25519.pub. TebibHost accepts ed25519, ECDSA and RSA keys of at least 3072 bits.
VMs never get a password: SSH keys are the only way in.
1. Create a project
Section titled “1. Create a project”A project holds VMs, disks and networks, and gets its own private network (a VPC) automatically.
Projects → New project, give it a name such as demo, and create it.
First install and configure the CLI. Then:
PROJECT=$(tebib -o json project create demo --wait | jq -r .id)export TEBIB_PROJECT="$PROJECT" # the default project for the commands belowThe examples use jq to pick the new ID out of the JSON output. To keep
the project as your default for good, run tebib configure and enter it at the prompt.
2. Add your SSH key
Section titled “2. Add your SSH key”In the project, open SSH keys, paste the contents of ~/.ssh/id_ed25519.pub and give it a name.
KEY=$(tebib -o json ssh-key create laptop -f ~/.ssh/id_ed25519.pub | jq -r .id)3. Create the VM
Section titled “3. Create the VM”- In the project, open VMs → New VM.
- Image: Ubuntu 24.04. Instance type:
b1.micro(1 vCPU, 1 GiB). - SSH keys: tick the key you just added.
- Leave Subnet and Security groups at their defaults, and the boot disk at 20 GiB.
- Create it. The VM is running within a minute; first boot finishes setting itself up in another two to four minutes.
tebib image listtebib instance-type listVM=$(tebib -o json vm create web-1 --image ubuntu-24.04 --type b1.micro --ssh-key "$KEY" --wait | jq -r .id)tebib vm show "$VM"The VM gets a private IPv4 address on the project’s subnet and a public, routed IPv6 address.
Both show on the VM’s page (or in tebib vm show). The boot disk grows to fill its 20 GiB.
What it costs
Section titled “What it costs”A running VM bills its instance type by the hour, and its disk bills by the GB while it exists.
A stopped VM bills only for its disk and any public IPv4 address. See
current prices or run tebib price list.
Clean up
Section titled “Clean up”Delete the VM when you’re done with it. Its boot disk goes with it.
On the VM’s page, Delete, and confirm.
tebib vm delete "$VM" --yes --waitNext: Connect with SSH (before you delete the VM).