Prerequisites
This guide walks through everything you need before running vybn deploy. Choose your provider — GCP (managed VM) or SSH (bring your own server) — and follow the relevant sections.
GCP Provider
Section titled “GCP Provider”1. Google Cloud account & project
Section titled “1. Google Cloud account & project”You need a GCP account with a project that has billing enabled.
- Go to the Google Cloud Console and sign in (or create an account)
- Create a new project — or use an existing one
- Enable billing on the project
2. Install the gcloud CLI
Section titled “2. Install the gcloud CLI”Install the Google Cloud SDK for your platform:
macOS (Homebrew):
brew install google-cloud-sdkmacOS / Linux (manual):
curl https://sdk.cloud.google.com | bashOther platforms: see the official install docs.
After installing, initialize and authenticate:
gcloud initgcloud auth logingcloud init will prompt you to select a project and default region. Pick the project you created in step 1.
3. Enable the Compute Engine API
Section titled “3. Enable the Compute Engine API”vybn creates VMs through the Compute Engine API, which must be enabled on your project:
gcloud services enable compute.googleapis.comSSH Provider
Section titled “SSH Provider”The SSH provider deploys to an existing server you manage. No GCP account or gcloud CLI required.
1. Server requirements
Section titled “1. Server requirements”- OS: Ubuntu 22.04+, Ubuntu 24.04, or Debian 12+
- Access: root or a user with passwordless sudo
- Network: outbound internet access (to install packages and connect to Tailscale)
- SSH: the server must be reachable from your local machine via SSH
2. SSH client
Section titled “2. SSH client”You need an SSH client on your local machine. macOS and Linux include one by default. Verify with:
ssh -V3. SSH credentials
Section titled “3. SSH credentials”Ensure you can connect to your server:
ssh user@your-server.example.comIf you use a specific key file, note its path — you’ll provide it during vybn init (or set VYBN_SSH_KEY in ~/.vybnrc).
Tailscale account & auth key
Section titled “Tailscale account & auth key”Tailscale is the default network backend for both providers. It creates a WireGuard mesh so your VM is reachable from any device on your tailnet.
- Create a free account at tailscale.com
- Install Tailscale on your local machine: tailscale.com/download
- Log in and verify it’s running:
tailscale status-
Generate an auth key in the admin console
- Use a reusable key if you plan to redeploy VMs frequently
- Set an appropriate expiration (90 days is the maximum)
-
Save the key in your vybn config:
cat >> ~/.vybnrc << 'EOF'VYBN_TAILSCALE_AUTHKEY="tskey-auth-..."EOFFor more Tailscale options (custom hostname, ACL tags), see the Tailscale Setup guide.
Next steps
Section titled “Next steps”You’re ready to install vybn and deploy your first VM. Head to Getting Started.