Terrarium on Vultr
Official references:
- How to Add Vultr SSH Keys
- SSH Keys reference
- Create SSH key
- How to Provision Vultr Cloud Compute Instances
- Instance create
- Block Storage provisioning
- Block Storage create
- Block Storage attach
- How to Mount Vultr Block Storage Volume on Linux
Recommended shape
- Ubuntu image: Ubuntu 24.04 LTS x64
- Boot disk: keep the normal instance root disk
- Data disk: add separate Block Storage in the same region
- Terrarium mode:
--storage-mode disk
Console flow
- Add your SSH key to Vultr.
- Create a new Cloud Compute instance with Ubuntu 24.04 and that SSH key.
- Create a Block Storage volume in the same region.
- Attach the Block Storage volume to the instance.
- SSH into the server and install Terrarium with
diskmode.
Example install:
bash
curl -fsSL https://github.com/terion-name/terrarium/releases/latest/download/install.sh | bash -s -- \
--email admin@your-domain.tld \
--acme-email certs@your-domain.tld \
--idp local \
--storage-mode disk \
--storage-source autovultr-cli flow
Create the SSH key:
bash
vultr-cli ssh-key create --name terrarium --key "$(cat ~/.ssh/id_ed25519.pub)"Create the instance:
bash
vultr-cli instance create \
--region=fra \
--plan=vc2-4c-8gb \
--os=2284 \
--label=terrarium-1 \
--host=terrarium-1 \
--ssh-keys="<ssh-key-id>"Create the Block Storage volume:
bash
vultr-cli block-storage create \
--region=fra \
--size=200 \
--label=terrarium-dataAttach the Block Storage volume:
bash
vultr-cli block-storage attach <block-storage-id> --instance=<instance-id>Then SSH in and install Terrarium:
bash
curl -fsSL https://github.com/terion-name/terrarium/releases/latest/download/install.sh | bash -s -- \
--email admin@your-domain.tld \
--acme-email certs@your-domain.tld \
--idp local \
--storage-mode disk \
--storage-source autoNotes
- Vultr documents that Block Storage and the instance must be in the same region.
- Vultr’s Linux mount guide is useful if you want to inspect the device before handing it to Terrarium, but Terrarium will wipe the selected data disk for ZFS.