# CLAUDE Source: https://docs.rafftechnologies.com/CLAUDE # docs — Public Documentation Standards Customer-facing docs and API reference. Hosted via Mintlify. These standards are NEW — existing pages may not follow them yet. **Reference pages that DO follow the standard: Catalog, Projects, Virtual Machines.** Use those as examples. ## Critical Rules 1. **`api-reference/openapi.yaml` is the single source of truth** — update FIRST, then sync to raff-go → raff-cli → terraform-provider-raff 2. **Never include admin/internal endpoints or fields** — public API only 3. **Auth: `X-API-Key` only** — no JWT, no `X-Account-ID`, no admin keys 4. **Verify before publishing** — check endpoint actually works, don't blindly document 5. **Direct language** — no marketing, no jargon, go straight to value. Short paragraphs (2-3 sentences max) 6. **Update changelog** — when adding/changing any API endpoint, add dated entry to the product's changelog page ## Writing Style * **Direct** — "Create a VM" not "Virtual Machine Creation Guide" * **Simple** — make complex things simple, but still comprehensive * **Action-oriented** — lead with what the user can DO * **No filler** — cut "In order to", "Please note that", "It is important to" * **Code examples** — curl for API, yaml for Terraform, bash for CLI * **Short paragraphs** — 2-3 sentences. If longer, break it up. ## 4 Product Pillars | Pillar | Products | | - | - | | **Build** | Virtual Machines (incl. Snapshots, Backups as VM operations), Kubernetes, Raff Apps | | **Store** | Volumes, Object Storage | | **Network** | VPC, Floating IPs, Security Groups | | **Manage** | Projects, Team & Access (Members, Roles, API Keys) | | *Future* | *Automate, AI* | Snapshots and Backups are point-in-time artifacts of a VM (and eventually a Volume), not standalone storage products — they live under Virtual Machines. ## Reference (3 sections) | Section | Content | Inspiration | | - | - | - | | **API Reference** | OpenAPI-generated endpoints | [DigitalOcean API](https://docs.digitalocean.com/reference/api/reference/) | | **CLI Reference** | raff-cli commands | [DigitalOcean doctl](https://docs.digitalocean.com/reference/doctl/) | | **Terraform Reference** | Provider resources/datasources | [DigitalOcean Terraform](https://docs.digitalocean.com/reference/terraform/) | ## Product Page Template Each product follows the same 5-section taxonomy: **Overview / Quickstart & guides / Concepts / Details / Troubleshooting**. New users follow Overview top-down; lookup users hit Details or Troubleshooting via search. Identical on every product so it stops being a design decision. **Canonical copyable templates live at:** * `docs/products/_template.mdx` — Overview page * `docs/products/_template-quickstart.mdx` — task how-to * `docs/products/_template-concept.mdx` — explainer * `docs/products/_template-details.mdx` — spec sheet * `docs/products/_template-troubleshooting.mdx` — issue list ### Names a customer looks for (Serdar, 2026-10-16) * **Name each guide by the customer's need**, in the words they search with: "Set permissions: what it may do", not "Choose a mode"; "Install on an existing server" and "Add while creating a server", not "Install on a server". * **Group guides by need, in the order a customer uses the product.** "Quickstart & guides" may be split into task groups such as Set up, Everyday, Security, Updates and power (Raff Guardian) or Get a server, Use your server (Raff Keep). Concepts, Details and Troubleshooting stay as they are. * **One page, one name.** Every card and every "See ..." link to a page uses that page's `sidebarTitle`. * **Quote YAML values with a colon**: `title: "Set permissions: what Raff Guardian may do"`, or Mintlify fails to parse the page. ### Sidebar rule — nested sub-groups, no products dropdown The Products tab uses **nested sub-groups** in `docs.json`: pillar group → product group → section group → pages. Sub-pages are reachable directly from the sidebar, not just via cards on the Overview page. See `feedback_no_products_switcher.md` — we deliberately do NOT use Mintlify's `navigation.products` dropdown switcher. ### Overview page (`index.mdx`) ``` 1. Frontmatter — `title` is the full product name (e.g. "Virtual Machines") so the HTML `` tag is unique site-wide; `sidebarTitle: Overview` keeps the sidebar label short. Same rule applies to every page: `title` must be unique site-wide; use `sidebarTitle` for short sidebar text. (Mintlify uses the same field for `<title>` and `<h1>` and auto-appends " - Raff" — keep titles ≤ ~50 chars and front-load the product name.) 2. Updated date — <sub>Updated MONTH DAY, YEAR</sub> 3. One paragraph — what it is, key specs, who it's for. Direct, no marketing. 4. Hero <Frame> — /images/products/<pillar>/<product>/hero.png; alt text prefixed with "TODO:" until the real screenshot is dropped in. 5. ## Most viewed — 2x2 CardGroup linking to the 4 dashboard tasks users come for. 6. ## Browse — 2x3 CardGroup linking to the 5 sections (Quickstart & guides, Concepts, Details, Troubleshooting) plus API Reference and Changelog. ``` The sidebar nested groups + the global `Products` anchor handle navigation back; no inline back-link needed. **Screenshot convention.** Every product Overview has a hero `<Frame>` and may add inline `<Frame>` blocks in quickstart/guide pages. Use the path `/images/products/<pillar>/<product>/<name>.png` and prefix the alt text with `TODO:` until the file exists. This makes outstanding screenshot work greppable. ### Standard files per product ``` products/{pillar}/{product}/ ├── index.mdx # Overview (the per-product hub) ├── quickstart-guides/ # Dashboard task how-tos (one MDX per task) │ ├── create-...mdx │ ├── ... │ └── delete-...mdx ├── concepts/ # Explainers (what + why, not how-to) │ └── ...mdx ├── details/ # Spec sheets (features, limits, pricing, SLA) │ ├── features-and-limits.mdx │ └── pricing.mdx └── troubleshooting.mdx # Common issues + recovery (single file) # NO per-product changelog — use global /api-reference/changelog ``` When a section has only 1 page, it can be a flat `.mdx` (e.g. `troubleshooting.mdx`); when it has multiple, it's a folder. Both render the same in the sidebar group. ### Changelog (single global page at `/api-reference/changelog`) * **One changelog for everything** — not per-product. Grouped by date → product section. * API version stays same until finalized (currently v1.0.0) * Each change has a **date**, not a version bump * When finalized → freeze, start next version * This is NOT the app release log (`releases/vX.Y.Z.md`) * **Every entry has an emoji tag:** * 🟢 **Added** — new endpoint or new parameter * 🔵 **Updated** — changed behavior or new param on existing endpoint (say WHICH part changed) * 🟡 **Deprecated** — still works but will be removed (warn users, tell them what to use instead) * 🔴 **Removed** — endpoint or parameter deleted, no longer available * 🟣 **Fixed** — bug fix on existing endpoint * **Group by date → section (product + reference type):** ``` ### March 15, 2026 **Virtual Machines — API** - 🟢 **Added** — **Resize VM disk storage** — `POST /api/v1/vms/{id}/resize-disk` - 🔵 **Updated** — **Create VM** now accepts `enable_ipv6` — `POST /api/v1/vms` **Projects — CLI** - 🟢 **Added** — `raff project create` command ``` * **Section format:** `{Product} — {Reference Type}` where reference type is: API, CLI, or Terraform ## API Reference Rules ### Before Adding an Endpoint 1. Endpoint must actually work in the backend — don't document unimplemented features 2. Must be public (customer-facing) — no admin-only endpoints 3. If it returns internal fields, strip them first ### POST Endpoints — Prerequisites Every POST endpoint must clearly state what the user needs to fetch first: ```markdown theme={null} <Note> Before creating a VM, you need: - A **template ID** — get from [List Templates](/api-reference/catalog/list-templates) - A **pricing plan ID** — get from [List VM Pricing](/api-reference/catalog/list-vm-pricing) - A **project ID** — get from [List Projects](/api-reference/projects/list-projects) </Note> ``` ### Each Endpoint Page * Method + path * Description (1-2 sentences) * Prerequisites (what to fetch first) * Parameters table (required/optional, type, description, example) * Request example (curl) * Response example (actual JSON) * Error codes specific to this endpoint ## Mintlify Conventions * Pages: `.mdx` format * Navigation: `docs.json` * API endpoints: auto-generated from `openapi.yaml` * Components: `<Card>`, `<CardGroup>`, `<CodeGroup>`, `<Tabs>`, `<Accordion>`, `<Note>`, `<Warning>` * Icons: use Mintlify icon names (e.g. `icon="plus"`, `icon="server"`) ## Quick Commands ```bash theme={null} npx mintlify dev # Local preview at localhost:3000 ``` ## Sync Order ``` openapi.yaml (here) → MDX endpoint pages → raff-go → raff-cli → terraform-provider-raff ``` When you change the API spec: 1. Edit `api-reference/openapi.yaml` 2. Add/update MDX pages if needed 3. Update product changelog page with dated entry 4. Test locally: `npx mintlify dev` 5. After merging: sync downstream (raff-go → CLI → Terraform) # Create API Key Source: https://docs.rafftechnologies.com/api-reference/api-keys/create-api-key POST /api/v1/api-keys Create a new API key. The full secret is returned **once** in the `secret` field of the response — store it immediately. Subsequent reads only return the `key_prefix`. Pass `role_id` to bind the key to an account role; the key inherits that role's permissions. To grant per-project access, after creating the key add it as a [Project Member](#tag/Project-Members/operation/addProjectMember) on each project (passing `api_key_id`). <sub>Updated May 8, 2026</sub> # Get API Key Source: https://docs.rafftechnologies.com/api-reference/api-keys/get-api-key GET /api/v1/api-keys/{id} Get an API key's metadata. The secret is never returned — only the prefix. <sub>Updated May 8, 2026</sub> # List API Keys Source: https://docs.rafftechnologies.com/api-reference/api-keys/list-api-keys GET /api/v1/api-keys List API keys belonging to the account. Only key prefixes are returned — full secrets are only shown once at create time. <sub>Updated May 8, 2026</sub> # Regenerate API Key Source: https://docs.rafftechnologies.com/api-reference/api-keys/regenerate-api-key POST /api/v1/api-keys/{id}/regenerate Rotate an API key — issues a new secret value and immediately invalidates the previous secret. The key keeps its name, scope, role, and expiration. The full new secret is returned **once** in `secret`. Update your secret store immediately. <sub>Updated May 8, 2026</sub> # Revoke API Key Source: https://docs.rafftechnologies.com/api-reference/api-keys/revoke-api-key DELETE /api/v1/api-keys/{id} Permanently revoke an API key. In-flight requests using this key fail with `401`. Cannot be undone. <sub>Updated May 8, 2026</sub> # Update API Key Source: https://docs.rafftechnologies.com/api-reference/api-keys/update-api-key PATCH /api/v1/api-keys/{id} Update an API key's name, expiry, rate-limit tier, or active flag. Permissions cannot be changed via this endpoint — change the role assigned to the key instead, or rotate to a new key. <sub>Updated May 8, 2026</sub> # Add custom domain Source: https://docs.rafftechnologies.com/api-reference/apps/add-app-custom-domain POST /api/v1/apps/services/{service_id}/domains Attach a custom domain to a web service. The response carries the DNS records to create — a CNAME to `cname_target` and a verification TXT record. Verification and TLS issuance run automatically once the DNS resolves. # Bulk set environment variables Source: https://docs.rafftechnologies.com/api-reference/apps/bulk-set-app-env-vars PUT /api/v1/apps/services/{service_id}/env/bulk Upsert many variables at once (an `.env` paste). # Cancel a job run Source: https://docs.rafftechnologies.com/api-reference/apps/cancel-app-job-run POST /api/v1/apps/jobs/runs/{run_id}/cancel # Link a database to an app Source: https://docs.rafftechnologies.com/api-reference/apps/create-app-binding POST /api/v1/apps/services/{service_id}/bindings Link a running managed database to an app. Raff creates a database user for this app, sets `{PREFIX}_URL`, `_HOST`, `_PORT`, `_USER`, `_PASSWORD`, `_NAME` and `_CA_CERT` (prefix `DATABASE` by default; the first link also fills a template's own settings) and redeploys the app. Connections go over Raff's private network and always use TLS; check the server with `{PREFIX}_CA_CERT`. <Note> Before linking, you need the **database ID**: get it from [List Databases](/api-reference/databases/list-databases). </Note> # Create deployment Source: https://docs.rafftechnologies.com/api-reference/apps/create-app-deployment POST /api/v1/apps/services/{service_id}/deployments Build and roll out a new deployment. Provide a `source_blob_key` from a completed source upload, or an `image_ref` for a prebuilt image. With neither, the app redeploys what runs now (an app whose first build failed builds its last source again). It does not fetch a new commit: a GitHub app deploys new commits when you push to its branch. # Create app service Source: https://docs.rafftechnologies.com/api-reference/apps/create-app-service POST /api/v1/apps/services Create an app service. Provisioning is asynchronous — the service is created in status `pending` and moves through `building` and `deploying` to `live`; poll `GET /api/v1/apps/services/{service_id}` for progress. Choose a `service_type`: `web` (public HTTPS URL), `private` (in-cluster only), `worker` (long-running, no URL), `cron` (scheduled), or `job` (one-off). Pick a `source_type`: `git` (a connected GitHub repo), `image` (a prebuilt image), `template` (a starter), or `compose`. Deploy code afterwards with a source upload and a deployment, or set `deploy_now` for image sources. # Unlink a database Source: https://docs.rafftechnologies.com/api-reference/apps/delete-app-binding DELETE /api/v1/apps/bindings/{binding_id} Remove a database link: its database user is dropped, its variables are removed and the app redeploys without them. The database keeps running. # Delete custom domain Source: https://docs.rafftechnologies.com/api-reference/apps/delete-app-custom-domain DELETE /api/v1/apps/domains/{domain_id} # Delete environment variable Source: https://docs.rafftechnologies.com/api-reference/apps/delete-app-env-var DELETE /api/v1/apps/services/{service_id}/env/{key} # Delete a preview Source: https://docs.rafftechnologies.com/api-reference/apps/delete-app-preview DELETE /api/v1/apps/previews/{preview_id} # Delete app service Source: https://docs.rafftechnologies.com/api-reference/apps/delete-app-service DELETE /api/v1/apps/services/{service_id} Delete an app service. Deletion is asynchronous; the name and URL are released once it completes. # Get deployment Source: https://docs.rafftechnologies.com/api-reference/apps/get-app-deployment GET /api/v1/apps/deployments/{deployment_id} # Get deployment build logs Source: https://docs.rafftechnologies.com/api-reference/apps/get-app-deployment-logs GET /api/v1/apps/deployments/{deployment_id}/logs # Get app service Source: https://docs.rafftechnologies.com/api-reference/apps/get-app-service GET /api/v1/apps/services/{service_id} # Get service metrics Source: https://docs.rafftechnologies.com/api-reference/apps/get-app-service-metrics GET /api/v1/apps/services/{service_id}/metrics # Get spend cap settings Source: https://docs.rafftechnologies.com/api-reference/apps/get-app-spend-settings GET /api/v1/apps/spend-settings # Get Apps usage Source: https://docs.rafftechnologies.com/api-reference/apps/get-apps-usage GET /api/v1/apps/usage Month-to-date replica-hours and estimated charge per service. # List database links Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-bindings GET /api/v1/apps/services/{service_id}/bindings The managed databases linked to an app. # List custom domains Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-custom-domains GET /api/v1/apps/services/{service_id}/domains # List deployments Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-deployments GET /api/v1/apps/services/{service_id}/deployments # List environment variables Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-env-vars GET /api/v1/apps/services/{service_id}/env Secret values are masked; use the reveal endpoint to read them. # List app events Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-events GET /api/v1/apps/services/{service_id}/events The app's timeline, newest first (deploys, settings changes, links, failures). # List GitHub connections Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-github-connections GET /api/v1/apps/github/installations The GitHub accounts and organizations connected to Raff Apps. Connect GitHub once in the dashboard (Apps, Deploy an app, GitHub). Use a connection's `id` as `github_installation_id` when you create an app from a repository. # List app instances Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-instances GET /api/v1/apps/services/{service_id}/instances The app's running instances right now, with their state and restarts. # List job runs Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-job-runs GET /api/v1/apps/services/{service_id}/jobs/runs # List runtime logs Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-logs GET /api/v1/apps/services/{service_id}/logs # List pull request previews Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-previews GET /api/v1/apps/services/{service_id}/previews The preview copies of a web app from GitHub, one per open pull request. Turn previews on with `previews_enabled` in Update app service. # List app services Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-services GET /api/v1/apps/services List app services for the authenticated account. # List app templates Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-templates GET /api/v1/apps/templates Ready apps you can deploy in one step (n8n, Metabase, Uptime Kuma and more). Create one with `source_type` `template`, the template's `image_ref`, `http_port` and `health_check_path`, a size of at least `min_tier_id`, and its `env` (replace `{url}` with the app's address). Templates with `database:postgres` in `companions` use a Postgres database: link one with `link_database_id`. # List Apps tiers Source: https://docs.rafftechnologies.com/api-reference/apps/list-app-tiers GET /api/v1/apps/tiers The Apps sizes and prices. Needs an API key; the same catalog is public at `GET /api/v1/public/pricing/apps`. # Pause app service Source: https://docs.rafftechnologies.com/api-reference/apps/pause-app-service POST /api/v1/apps/services/{service_id}/pause Scale the service to zero and stop billing for replicas. Cron services are suspended. # Redeploy a preview Source: https://docs.rafftechnologies.com/api-reference/apps/redeploy-app-preview POST /api/v1/apps/previews/{preview_id}/redeploy Build and deploy the pull request's latest commit again. # Request source upload URL Source: https://docs.rafftechnologies.com/api-reference/apps/request-app-source-upload POST /api/v1/apps/services/{service_id}/source-upload Get a presigned URL to upload a source tarball (gzipped). After the upload completes, create a deployment with the returned `blob_key`. # Resume app service Source: https://docs.rafftechnologies.com/api-reference/apps/resume-app-service POST /api/v1/apps/services/{service_id}/resume Bring a paused service back to its configured replica count. # Retry domain verification Source: https://docs.rafftechnologies.com/api-reference/apps/retry-app-domain-verification POST /api/v1/apps/domains/{domain_id}/retry Re-check DNS and re-attempt certificate issuance for a domain. # List environment variables with values Source: https://docs.rafftechnologies.com/api-reference/apps/reveal-app-env-vars GET /api/v1/apps/services/{service_id}/env/reveal Returns secret values in cleartext. Requires manage permission; access is audited. # Roll back to a deployment Source: https://docs.rafftechnologies.com/api-reference/apps/rollback-app-service POST /api/v1/apps/services/{service_id}/rollback Pin the service back to an earlier deployment's image. Creates a new deployment from the target's digest and config snapshot. # Rotate a link's password Source: https://docs.rafftechnologies.com/api-reference/apps/rotate-app-binding POST /api/v1/apps/bindings/{binding_id}/rotate Give the link's database user a new password, update the app's variables and redeploy it. The old password stops working. # Trigger a manual job run Source: https://docs.rafftechnologies.com/api-reference/apps/run-app-job POST /api/v1/apps/services/{service_id}/jobs/run Start a run of a cron or one-off job service now. # Scale app service Source: https://docs.rafftechnologies.com/api-reference/apps/scale-app-service POST /api/v1/apps/services/{service_id}/scale Update the replica count, autoscaling bounds, or scale-to-zero. Live services apply the change with no downtime. # Set environment variable Source: https://docs.rafftechnologies.com/api-reference/apps/set-app-env-var PUT /api/v1/apps/services/{service_id}/env Create or update one variable. By default the change rolls out to running replicas. Set `redeploy: false` to defer it to the next deploy. A variable with `scope` of `build` or `both` is passed to the image build, so changing it triggers a rebuild rather than a restart. # Update app service Source: https://docs.rafftechnologies.com/api-reference/apps/update-app-service PATCH /api/v1/apps/services/{service_id} Change an app's settings. Fields you leave out stay as they are. A change to how a live app runs (size, start command, port, health check, schedule) rolls out as a new deployment of the current image, and a change to a failed app deploys it. A paused app keeps the change and applies it when resumed. Scaling has its own endpoint. # Update spend cap settings Source: https://docs.rafftechnologies.com/api-reference/apps/update-app-spend-settings PATCH /api/v1/apps/spend-settings Change the account's monthly Apps spend cap. Send only the fields you want to change; fields you leave out keep their value. An account that never set a cap is on at $50 with `notify_only`. The account owners and billing contacts get an email and a dashboard notice at 75% and 90% of the cap, and again when it is reached. Then `notify_only` keeps apps running, and `pause` pauses every pay-as-you-go app until the next month or until the cap is raised or turned off. Apps on a prepaid plan keep running unless they are scaled above their plan. While apps are paused by the cap, resuming, creating, deploying, scaling up and running jobs of pay-as-you-go apps return 412. # Create Backup Source: https://docs.rafftechnologies.com/api-reference/backups/create-backup POST /api/v1/backups Create an on-demand backup of a VM. The backup is created asynchronously — the response returns immediately with a `pending` status. Use [List Backups](#tag/Backups/operation/listBackups) or [Get Backup](#tag/Backups/operation/getBackup) to track completion. <sub>Updated May 8, 2026</sub> # Delete Backup Source: https://docs.rafftechnologies.com/api-reference/backups/delete-backup DELETE /api/v1/backups/{id} Permanently delete a backup. <sub>Updated May 8, 2026</sub> # Delete Backup Series Source: https://docs.rafftechnologies.com/api-reference/backups/delete-backup-chain DELETE /api/v1/backups/{id}/chain Delete an entire backup series — every restore point that the given backup belongs to. The series is identified by passing the UUID of **any** backup row in it; all sibling restore points (and the underlying storage) are removed in one call. Use this when a single restore point can't be removed on its own because it has older restore points it depends on. The single-backup [Delete backup](/api-reference/virtual-machines/delete-backup) endpoint returns a clear error in that case and points here. <sub>Updated May 14, 2026</sub> # Get Backup Source: https://docs.rafftechnologies.com/api-reference/backups/get-backup GET /api/v1/backups/{id} Get details of a specific backup. <sub>Updated May 8, 2026</sub> # List Backups Source: https://docs.rafftechnologies.com/api-reference/backups/list-backups GET /api/v1/backups List backups for the authenticated account. Filter by VM. Pass `X-Project-ID` to scope the list to a single project. When omitted, returns backups across every project the API key has access to. <sub>Updated May 8, 2026</sub> # Reset Backup Series Source: https://docs.rafftechnologies.com/api-reference/backups/reset-backup-chain POST /api/v1/vms/{id}/backups/reset-chain Start a fresh backup series for the VM. The current series is closed — existing restore points remain restorable until you delete them — and the next backup creates a new independent baseline. Use when a series has grown long and you want a clean baseline for future backups without losing the restore points you already have. <sub>Updated May 14, 2026</sub> # Restore Backup Source: https://docs.rafftechnologies.com/api-reference/backups/restore-backup POST /api/v1/backups/{id}/restore Restore a VM from a backup. The restore runs asynchronously — the response returns immediately with a `pending` status. The target VM is overwritten in place. The VM should be powered off before restoring. <sub>Updated May 8, 2026</sub> # Create Backup Schedule Source: https://docs.rafftechnologies.com/api-reference/backups/schedules/create-backup-schedule POST /api/v1/backup-schedules Create a recurring backup schedule for a VM. - **Daily** — set `type` to `daily`. Runs every day at `time`. - **Weekly** — set `type` to `weekly` and pass `day_of_week` (Monday–Sunday). Runs on that day at `time`. `keep_count` controls retention — older backups beyond this count are pruned automatically. <sub>Updated May 8, 2026</sub> # Delete Backup Schedule Source: https://docs.rafftechnologies.com/api-reference/backups/schedules/delete-backup-schedule DELETE /api/v1/backup-schedules/{id} Delete a backup schedule. Existing backups created by this schedule are retained. <sub>Updated May 8, 2026</sub> # Get Backup Schedule Source: https://docs.rafftechnologies.com/api-reference/backups/schedules/get-backup-schedule GET /api/v1/backup-schedules/{id} Get details of a specific backup schedule. <sub>Updated May 8, 2026</sub> # List Backup Schedules Source: https://docs.rafftechnologies.com/api-reference/backups/schedules/list-backup-schedules GET /api/v1/backup-schedules List backup schedules for the authenticated account. Filter by VM. Pass `X-Project-ID` to scope the list to a single project. When omitted, returns schedules across every project the API key has access to. <sub>Updated May 8, 2026</sub> # Update Backup Schedule Source: https://docs.rafftechnologies.com/api-reference/backups/schedules/update-backup-schedule PATCH /api/v1/backup-schedules/{id} Update one or more fields on an existing backup schedule. Omitted fields are unchanged. <sub>Updated May 8, 2026</sub> # Get Backup Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-backup-pricing GET /api/v1/public/pricing/backup Returns backup storage pricing per GB. <sub>Updated May 8, 2026</sub> # List Database Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-database-pricing GET /api/v1/public/pricing/database Returns managed database plans plus high availability, read replica, and extra storage pricing. High availability multiplies the plan price — an HA plan costs `price_per_month * (1 + price_multiplier)`. <sub>Updated July 6, 2026</sub> # Get IP Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-ip-pricing GET /api/v1/public/pricing/ip Returns pricing for IPv4 and IPv6 addresses. <sub>Updated May 8, 2026</sub> # List Kubernetes Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-kubernetes-pricing GET /api/v1/public/pricing/kubernetes Returns worker node plans plus HA control plane and storage node pricing. The standard control plane is free — `ha_pricing` is the optional highly available control plane. <sub>Updated July 6, 2026</sub> # List Regions Source: https://docs.rafftechnologies.com/api-reference/catalog/list-regions GET /api/v1/public/regions Returns all active data center regions and what each one sells. <sub>Updated May 8, 2026</sub> # Get Snapshot Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-snapshot-pricing GET /api/v1/public/pricing/snapshot Returns snapshot storage pricing per GB. <sub>Updated May 8, 2026</sub> # List OS Templates Source: https://docs.rafftechnologies.com/api-reference/catalog/list-templates GET /api/v1/public/templates Returns all public OS templates available for VM creation. Windows templates are only available for Windows plans. Cost-Optimized plans run the Linux templates with a copy on their nodes' local disk: list them with `vm_type=cost_optimized`. <sub>Updated May 8, 2026</sub> # List VM Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-vm-pricing GET /api/v1/public/pricing/vm Returns VM pricing plans. Use the plan `id` as `pricing_id` when creating a VM. <sub>Updated May 8, 2026</sub> # Get Volume Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-volume-pricing GET /api/v1/public/pricing/volume Returns block storage volume pricing per GB. <sub>Updated May 8, 2026</sub> # Get VPN Pricing Source: https://docs.rafftechnologies.com/api-reference/catalog/list-vpn-pricing GET /api/v1/public/pricing/vpn Returns the price of a VPN gateway (one per VPC) and of each site-to-site tunnel on it. <sub>Updated November 5, 2026</sub> # API Changelog Source: https://docs.rafftechnologies.com/api-reference/changelog Track all changes to the Raff API <sub>Updated November 16, 2026</sub> # API Changelog All changes to the Raff public API. Current version: **v1.0.0** (beta). 🟢 Added · 🔵 Updated · 🟡 Deprecated · 🔴 Removed · 🟣 Fixed *** ## v1.0.0 (Beta) ### November 16, 2026 **Firewall: API** * 🔵 **Updated**: [Create firewall](/api-reference/endpoint/create-firewall) `POST /api/v1/security-groups` and [Update firewall](/api-reference/endpoint/update-firewall) `PUT /api/v1/security-groups/{id}` refuse (400) a rule whose `ip` is not one IPv4 or IPv6 address or whose `size` does not fit it (0-32, 0-128). Before, a second address sent in the same rule was saved and silently left out of the firewall. Send one rule per address. ### November 10, 2026 **Virtual Machines: API** * 🔵 **Updated**: [Create VM](/api-reference/endpoint/create-vm) `POST /api/v1/vms` takes `security_group_id`: the firewall the server's public addresses carry from the first boot, in place of the Raff Default Firewall, so no port it closes is ever open. The firewall must be in the same project as the server, and the server needs a public address (`skip_public_ip: true` is refused unless `enable_ipv6: true`). Leave it out for the Raff Default Firewall, as before. * 🔵 **Updated**: [Create VM](/api-reference/endpoint/create-vm) `POST /api/v1/vms`: when `security_group_id` is not sent and the new server's `tags` carry exactly one firewall in its project, the server gets that firewall from its first boot. Tags that carry different firewalls are refused (400) before any charge. * 🔵 **Updated**: [Add tag to VM](/api-reference/endpoint/add-vm-tag) `POST /api/v1/vms/{id}/tags` creates the account tag when it is missing and answers `firewall` and `firewall_queued`. [Remove VM tag](/api-reference/endpoint/remove-vm-tag) `DELETE /api/v1/vms/{id}/tags/{tagId}` takes `reset_firewall=true` to also put the server back on the Raff Default Firewall. VM `tags` entries include `color`. * 🟢 **Added**: [Get VM tag firewall](/api-reference/endpoint/get-vm-tag-firewall) `GET /api/v1/vms/{id}/tag-firewall`: the firewalls a server's tags carry in its project, `conflict`, and the latest job. * 🔵 **Updated**: [List VM network interfaces](/api-reference/endpoint/list-vm-networks) `GET /api/v1/vms/{id}/networks`: each interface has `security_group_source` (`manual`, `create` or `tag`), `security_group_tag_id` and `security_group_tag_name`. **Tags: API** * 🟢 **Added**: [List tags](/api-reference/endpoint/list-tags) `GET /api/v1/tags` answers `data`: every account tag with `color`, `priority` (1-9 or `null`), `server_count` and `firewalls`. `tags` and `counts` stay for older clients. * 🟢 **Added**: [Create tag](/api-reference/endpoint/create-tag) `POST /api/v1/tags`, [Update tag](/api-reference/endpoint/update-tag) `PATCH /api/v1/tags/{id}` and [Delete tag](/api-reference/endpoint/delete-tag) `DELETE /api/v1/tags/{id}`. A change shows on every server with the tag; deleting a tag leaves the firewalls it set on the servers. They need the new `account.tags.manage` permission (account Owner and Admin by default; it can be added to custom roles). **Firewall: API** * 🟢 **Added**: [Set firewall tags](/api-reference/endpoint/set-firewall-tags) `PUT /api/v1/security-groups/{id}/tags` and [Get firewall tags](/api-reference/endpoint/get-firewall-tags) `GET /api/v1/security-groups/{id}/tags`. The firewall goes on the public network interfaces of every server of its project with one of the tags, in the background (about 20 seconds per server). In a project a tag carries at most one firewall. * 🟢 **Added**: [Create VM](/api-reference/endpoint/create-vm) `POST /api/v1/vms` documents `enable_ipv6`: the server also gets a public IPv6 address from its node. With `skip_public_ip: true` it is the server's only public address. The API already accepted it; it is now in the API reference, raff-go and the CLI. **Virtual Machines: CLI** (raff-cli v0.6.11) * 🔵 **Updated**: [`raff vm create`](/reference/cli/vm#create) takes `--security-group-id`, `--skip-public-ip` (no public IPv4) and `--ipv6` (a public IPv6 address). The help mentioned `--skip-public-ip` before, but the flag did not exist. * 🟢 **Added**: [`raff tag list|create|update|delete`](/reference/cli/tag) and [`raff security-group tags get|set`](/reference/cli/security-group#tags-set). * 🔵 **Updated**: [`raff vm tags remove`](/reference/cli/vm#tags-remove) takes `--reset-firewall`. **Virtual Machines: Go SDK** (raff-go v0.8.8) * 🔵 **Updated**: `CreateVMRequest` has `SecurityGroupID` and `EnableIpv6`. raff-go now matches the whole API reference: region `products` and VPN pricing types are in. The template type constants are now `ListTemplatesParamsVMTypeCostOptimized`, `...Premium`, `...Standard` and `...Windows`; the old names `CostOptimized`, `Premium`, `Standard` and `Windows` still work and are deprecated. * 🟢 **Added**: `client.Tags` (`List`, `Create`, `Update`, `Delete`), `SecurityGroups.GetTags` and `SetTags`, and `VMs.TagFirewall`. `VMs.RemoveTag` takes an optional `&raff.RemoveVMTagOptions{ResetFirewall: true}`. The cluster maintenance upgrade mode constants are now `AutoMinor`, `AutoPatch` and `Manual`; the old `UpdateK8SClusterMaintenanceJSONBodyUpgradeMode...` names still work and are deprecated. **Virtual Machines: Terraform** (provider v0.4.10) * 🔵 **Updated**: [`raff_vm`](/reference/terraform/raff_vm) takes `security_group_id`. Set at create, the server starts with that firewall; changing it later attaches the new firewall in place, and removing it detaches the firewall. * 🟢 **Added**: [`raff_tag`](/reference/terraform/raff_tag) (name, color, priority; import by ID) and `tag_ids` on [`raff_security_group`](/reference/terraform/raff_security_group), changed in place. ### November 9, 2026 **Catalog: API** * 🔵 **Updated**: [List regions](/api-reference/catalog/list-regions) `GET /api/v1/public/regions` returns `products` on each region: what it sells, read from its live prices, such as `cost_optimized`, `windows` or `vpc`. An empty list means it could not be read. ### November 8, 2026 **Virtual Machines: Cost-Optimized plans** * 🔵 **Updated**: [List VM pricing](/api-reference/catalog/list-vm-pricing) `GET /api/v1/public/pricing/vm` lists 12 Cost-Optimized sizes in each region, \$4.99 to \$89.99 a month, with disks of 25 to 160 GB. The 5 earlier plans have new ids and smaller disks at the same prices. A server created on an earlier plan keeps its plan, disk and price. ### November 5, 2026 **Catalog: API** * 🟢 **Added**: [Get VPN pricing](/api-reference/catalog/list-vpn-pricing) `GET /api/v1/public/pricing/vpn` gives the price of a VPN gateway and of each site-to-site tunnel, per hour, month, year and 24 months. No API key needed. ### November 4, 2026 **Firewall: API** * 🔵 **Updated**: [Update firewall](/api-reference/endpoint/update-firewall) `PUT /api/v1/security-groups/{id}` answers once every VM using the firewall has the new rules, usually within a few seconds, with no restart. If a VM did not apply them, the rules stay saved and the error names the VM. * 🔵 **Updated**: [Attach firewall to VM NIC](/api-reference/endpoint/attach-vm-firewall) `POST /api/v1/vms/{id}/security-groups` and [Detach firewall from VM NIC](/api-reference/endpoint/detach-vm-firewall) `DELETE /api/v1/vms/{id}/security-groups/{sg_id}/{nic_id}` apply to a running VM in about 20 seconds, with no restart. Attaching replaces the firewall the IP had. A VM that did not apply the change answers an error asking you to power it off and on. ### November 3, 2026 **Managed Databases: API** * 🟢 **Added**: [Get database](/api-reference/databases/get-database) `GET /api/v1/databases/{database_id}` and the database list give `server_version`, the full version the running server reports (for example `18.6`), next to `engine_version`, the major version. **Managed Databases: CLI** (raff-cli v0.6.10) * 🔵 **Updated**: [`raff db list`](/reference/cli/database#list) and [`raff db get`](/reference/cli/database#get) show the full version the server runs, e.g. `postgres 18.6`. **Managed Databases: Terraform** (provider v0.4.9) * 🔵 **Updated**: [`raff_database`](/reference/terraform/raff_database) and the `raff_database` data source give `server_version`. ### November 2, 2026 **Virtual Machines: API** * 🟢 **Added**: **Create VM** `POST /api/v1/vms` takes `auto_generate_password`: Raff makes a strong root or Administrator password and emails it to the account once the server is created. It is never in an API response; send it instead of `password`. * 🟣 **Fixed**: **Create VM** `pricing_id` no longer shows a maximum of 13 (current plans have higher ids; list them with [List VM pricing](/api-reference/catalog/list-vm-pricing)). * 🟣 **Fixed**: **Delete VM** and **Delete VMs in bulk** list the real defaults: `volume_action` `detach` and `delete_vpc` `false`. * 🔵 **Updated**: **Resize VM** `POST /api/v1/vms/{id}/resize` always needs `pricing_id`, from every caller. * 🟢 **Added**: [List templates](/api-reference/catalog/list-templates) `GET /api/v1/public/templates` gives Windows templates `licence_price_per_month`, the monthly price of Raff's Windows Server licence. **Virtual Machines: CLI** (raff-cli v0.6.9) * 🔵 **Updated**: [`raff vm create`](/reference/cli/vm#create) takes `--auto-generate-password`; [`raff template list`](/reference/cli/template) shows the Windows licence price. **Virtual Machines: Terraform** (provider v0.4.8) * 🔵 **Updated**: [`raff_vm`](/reference/terraform/raff_vm) takes `auto_generate_password`, which keeps the password out of the state; the templates data source gives `licence_price_per_month`. **Kubernetes: API** * 🟣 **Fixed**: **Create cluster** `POST /api/v1/k8s/clusters` without `firewall_enabled` now gets the firewall, as documented (before, leaving it out created the cluster without one). ### October 27, 2026 **Virtual Machines: Cost-Optimized plans** * 🔵 **Updated**: [List VM pricing](/api-reference/catalog/list-vm-pricing) `GET /api/v1/public/pricing/vm` lists the Cost-Optimized plans (`vm_type` `cost_optimized`, \$9.99 to \$89.99 a month) and takes `type=cost_optimized`. Cost-Optimized servers run on a local NVMe disk of one node, Linux only, with no uptime commitment. See [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing). * 🔵 **Updated**: [List templates](/api-reference/catalog/list-templates) `GET /api/v1/public/templates` takes `vm_type=cost_optimized`: the templates a Cost-Optimized server can run. * 🔵 **Updated**: **Create VM** with a Cost-Optimized `pricing_id` refuses a Windows template; **Resize VM** keeps a server in its tier; **Attach volume** attaches a Cost-Optimized server's volumes only to Cost-Optimized servers. **Virtual Machines: CLI** (raff-cli v0.6.8) * 🔵 **Updated**: [`raff pricing vm`](/reference/cli/pricing) and [`raff template list`](/reference/cli/template) `--vm-type` take `cost_optimized` (and `windows`). **Virtual Machines: Terraform** (provider v0.4.7) * 🔵 **Updated**: [`raff_vm_pricing` and `raff_templates`](/reference/terraform/data-sources) filter by `vm_type` `cost_optimized` (and `windows`). ### October 21, 2026 **Virtual Machines: SSH keys on a running server** * 🟢 **Added**: [List SSH keys on a VM](/api-reference/endpoint/list-vm-ssh-keys) `GET /api/v1/vms/{id}/ssh-keys`: the keys in root's `authorized_keys`, read from the running Linux server itself, each named after the saved key with the same fingerprint. * 🟢 **Added**: [Add an SSH key to a VM](/api-reference/endpoint/add-vm-ssh-key) `POST /api/v1/vms/{id}/ssh-keys` (a saved key's ID or a public key, `save_as` to also save it) and [Remove an SSH key from a VM](/api-reference/endpoint/remove-vm-ssh-key) `DELETE /api/v1/vms/{id}/ssh-keys/{fingerprint}` (`confirm_last=true` for root's last key). Changes apply at once without a restart, stay after a restart and a factory reset, and are emailed to the account owner. They need the new `vm.ssh_keys` permission (Project Admin and Operator have it). A refusal says why in `reason` (`not_running`, `no_guest_agent`, `last_key`, ...). See [Add or remove SSH keys](/products/build/virtual-machines/quickstart-guides/manage-ssh-keys). * 🔵 **Updated**: [List SSH keys](/api-reference/ssh-keys/list-ssh-keys) adds `servers` to each key: the servers in your projects where Raff last saw it. * 🔵 **Updated**: creating or regenerating an API key in the dashboard asks for a two-factor code. **Virtual Machines: CLI** (raff-cli v0.6.7) * 🟢 **Added**: [`raff vm ssh-keys`](/reference/cli/vm#ssh-keys-list) `list`, `add` (`--key`, `--key-file`, `--save-as`) and `remove` (`--fingerprint`, `--confirm-last`). * 🔵 **Updated**: `raff ssh-key list` shows each key's servers. **Virtual Machines: Terraform** (provider v0.4.6) * 🔵 **Updated**: [`raff_vm`](/reference/terraform/raff_vm) `ssh_keys` can change without recreating the VM: keys are added to and removed from the running Linux server. ### October 20, 2026 **Virtual Machines: SSH keys** * 🔵 **Updated**: **Create VM** and **Reinstall VM** take saved key IDs or public keys in `ssh_keys`; every key is checked, and an invalid one is refused before anything is charged. Saved keys add `fingerprint` and `valid`. Each key can be saved once per account. ### October 19, 2026 **Raff Apps** * 🟢 **Added**: **[Update app service](/api-reference/apps/update-app-service)** `PATCH /api/v1/apps/services/{service_id}`: rename, size, start command, port, health check, cron settings, branch and previews. A change to how a live app runs rolls out as a new deployment; a change to a failed app deploys it; an empty `description` clears it. * 🟢 **Added**: **Database links**: [link a managed database to an app](/api-reference/apps/create-app-binding), [list](/api-reference/apps/list-app-bindings), [unlink](/api-reference/apps/delete-app-binding) and [rotate the password](/api-reference/apps/rotate-app-binding). A link sets `DATABASE_URL` and the other `DATABASE_*` variables, including `DATABASE_CA_CERT` so the app can check the server's certificate. * 🟢 **Added**: [List app templates](/api-reference/apps/list-app-templates), [List GitHub connections](/api-reference/apps/list-app-github-connections), [pull request previews](/api-reference/apps/list-app-previews) (list, delete, redeploy), [List app events](/api-reference/apps/list-app-events) and [List app instances](/api-reference/apps/list-app-instances). * 🔵 **Updated**: **Create app service** accepts `link_database_id` (the app waits for the database, links it and then deploys), `env_vars` (set before the first deploy), `github_installation_id` and `cron_concurrency`. `deploy_now` is refused for an app built from uploaded source. * 🔵 **Updated**: the app object adds `waiting_for_database`, `github_status`, `previews_enabled`, `max_previews`, `primary_domain`, `cron_concurrency` and `current_deployment_number`. Job runs: `exit_code` is null while a run is going and for a canceled run. * 🔵 **Updated**: **Scale app service**: `autoscaling_metric` is `concurrency` only (`cpu` was accepted but not applied), and autoscaling is refused for workers and always-on private apps, which run a fixed number of instances. **Raff Apps: CLI** (raff-cli v0.6.4) * 🟢 **Added**: [`raff apps`](/reference/cli/app) `update`, `templates`, `github`, `links` (list, add, delete, rotate), `previews` (list, redeploy, delete), `events` and `instances`. * 🔵 **Updated**: `raff apps create` accepts `--port`, `--health-check`, `--env`, `--database`, `--github-connection`, `--cron-timezone`, `--cron-concurrency`, `--autoscale`, `--min-replicas`, `--max-replicas` and `--scale-to-zero`. * 🔵 **Updated**: `raff apps deploy --dir` uploads a folder and builds it. Files in `.raffignore` are skipped; the archive can be at most 100 MB. * 🟣 **Fixed**: `raff apps scale --scale-to-zero` works on its own and keeps the app's other settings. **Raff Apps: Terraform** (provider v0.4.4) * 🟢 **Added**: [`raff_app_custom_domain`](/reference/terraform/raff_app_custom_domain) and [`raff_app_database_link`](/reference/terraform/raff_app_database_link) resources. * 🔵 **Updated**: [`raff_app_service`](/reference/terraform/raff_app_service) takes `env`, `secret_env`, `cron_concurrency`, `github_installation_id` and `link_database_id`. * 🔵 **Updated**: `raff_app_service` updates settings in place, rolls a changed `image_ref` out as a deploy, and deploys image and GitHub apps when they are created. * 🟣 **Fixed**: `raff_app_service` no longer plans a replacement when `builder` or `region` is left out. ### October 13, 2026 **Managed Databases** * 🔵 **Updated**: **New databases require TLS.** PostgreSQL and MySQL databases created from today refuse unencrypted connections on every port, inside the VPC and through the PostgreSQL pooler, like Valkey, ClickHouse and Kafka already did. Databases created earlier are unchanged and still accept unencrypted connections on their own port and inside the VPC; use TLS with them too. ### October 11, 2026 **Managed Databases** * 🔵 **Updated**: **Paid databases created through the API are monthly subscriptions**, the same as buying them in the dashboard. A card that can be charged automatically is required (`402` with a link to add one otherwise); the first month is charged within seconds, from the account balance first, then the card. The free plan is unchanged. Accounts on pay-as-you-go billing are still billed by the hour. * 🔵 **Updated**: **Scale database** bills monthly databases: a change that costs more is charged for the rest of the current month before it applies, a change that costs less credits the unused part to the balance. A free database moved to a paid plan becomes a monthly subscription and keeps its data, address and password. * 🟣 **Fixed**: the reference now states the current prices: extra storage $0.15/GB/month (was shown as $0.12), high availability +140% for MySQL and Kafka (+70% for the others), each read replica at the plan price. Ports, status values (`moving`), user limits and error codes (`409`, `412`, `501`) are documented per endpoint. * 🟣 **Fixed**: a new database with public access reports `running` only once its public address accepts connections. Before, the first connection could fail with `tlsv1 unrecognized name` for up to about 20 seconds. Turning public access on now answers once the address works. **Raff MCP server** * 🟢 **Added**: **[Raff MCP server](/products/ai/mcp)** at `https://mcp.rafftechnologies.com/mcp`. Connect Claude, ChatGPT, Cursor, Claude Code or any MCP app, sign in with Raff, and manage databases in plain words: 23 database tools plus documentation search, read-only mode, and a price confirmation before every paid change. ### October 8, 2026 **Managed Databases** * 🔵 **Updated**: **Run a query** for Kafka: `TOPICS` returns each topic's partitions, copies, retention, messages kept, readers, and lag. * 🔵 **Updated**: **Browse** for Kafka: `[topic]` returns the newest messages of every partition and `[topic, partition]` the newest of one partition, without moving any reader's position. * 🟣 **Fixed**: **Rotate credentials** (`POST /api/v1/databases/{database_id}/credentials/rotate`) works for PostgreSQL. Before, it returned an error. * 🟣 **Fixed**: ClickHouse databases on 1 and 2 vCPU plans start again. ### October 6, 2026 **Managed Databases** * 🟢 **Added**: **Extensions at create.** `POST /api/v1/databases` accepts `extensions` for PostgreSQL (for example `["vector"]`). They are on before the database is marked running. * 🔵 **Updated**: **`engine_config` accepts only Valkey `maxmemory-policy`** (`noeviction` for queues, `allkeys-lru` for caches). Other keys or values are refused with 400. * 🟢 **Added**: **CLI v0.6.3**: `raff db create --extension vector` (PostgreSQL) and `--mode queue|cache` (Valkey). raff-go v0.8.0 has the `Extensions` field. * 🟢 **Added**: **Terraform provider v0.4.3**: `raff_database` takes `extensions` (PostgreSQL) and `valkey_mode` (`queue` or `cache`). ### October 5, 2026 **Managed Databases: API** * 🟢 **Added**: **Managed Databases in the API reference.** Every database endpoint now has its own page. * 🟢 **Added**: **Run a query**: `POST /api/v1/databases/{database_id}/console`. Read-only unless `read_only: false`, up to 5,000 rows, 15 second limit. * 🟢 **Added**: **Browse schemas, tables, and keys**: `POST /api/v1/databases/{database_id}/browse`. * 🟢 **Added**: **Database users**: list, create, rotate a password, get a password, and delete under `/api/v1/databases/{database_id}/users`. * 🟢 **Added**: **Saved queries**: `GET`, `PUT /api/v1/databases/{database_id}/saved-queries` and `DELETE /api/v1/databases/{database_id}/saved-queries/{name}`. * 🟢 **Added**: **Disconnect from VPC** (`DELETE /api/v1/databases/{database_id}/vpc`), **engine parameters** (`GET /api/v1/databases/{database_id}/parameters`), **traffic by client** (`GET /api/v1/databases/{database_id}/metrics/clients`), and **apps and functions using the database** (`GET /api/v1/databases/{database_id}/consumers`). * 🔵 **Updated**: **Restore** (`POST /api/v1/databases/{database_id}/restore`) accepts `in_place: true` to restore over the same database. Backups list `restorable` and `restore_window_start`. * 🔵 **Updated**: **Public PostgreSQL** is also reachable on the standard ports 6543 (pooled) and 5432 (direct) of `{database_id}.public.db.raffusercloud.com`. * 🔵 **Updated**: **Get connection details** (`GET /api/v1/databases/{database_id}/connection`) returns the public endpoint too: `public_host`, `public_port`, and `public_connection_uri`, filled while public access is on. A database without a VPC has no private endpoint. * 🟣 **Fixed**: **Create database** without `storage_gb` or `engine_version` now uses the plan's included storage and the newest version, as documented. Before, the database got 0 GB and never started. * 🟣 **Fixed**: **Create database** mistakes you can fix (a plan of another engine, read replicas on an engine without them, high availability or a backup on the free plan) return 400 with the reason. They returned 500. * 🟣 **Fixed**: **Create database** with `public_access: true` now opens public access. Before, the setting was stored but the database had no public endpoint until public access was turned on separately. * 🟣 **Fixed**: **Public access** and **database users** mistakes return 400 with the reason: `0.0.0.0/0`, an invalid or IPv6 CIDR, more than 20 allowlist entries, a reserved user name (names starting with `app_` or `fnb_` belong to Raff Apps and Functions), or the user limit. They returned 500. * 🔵 **Updated**: **Database** objects include `is_free` and `suspended_at`, and `status` can be `resizing` or `restoring`. MySQL, ClickHouse, and Kafka are listed as available in the engine catalog. **Managed Databases: CLI** (raff-cli v0.6.0) * 🟢 **Added**: [`raff database`](/reference/cli/database) (alias `raff db`). `raff db create` with no flags creates a free PostgreSQL database with public access and prints a working connection string. Also `list`, `get`, `delete`, `rename`, `resize`, `resume`, `connection`, `rotate-password`, `query`, `browse`, `users`, `backups`, `restore`, `public`, `vpc`, `metrics`, `logs`, `slow-queries`, `extensions`, `parameters`, `engines`, `plans`. * 🔵 **Updated** (v0.6.1): `raff configure` shows only the start of a stored API key (`raff_737e…`). * 🔵 **Updated** (v0.6.2): `raff db create` and `raff db public enable` wait until the public address answers, so the printed connection string works on first use. **Managed Databases: Terraform** (provider v0.4.0) * 🟢 **Added**: [`raff_database`](/reference/terraform/raff_database) and [`raff_database_user`](/reference/terraform/raff_database_user) resources, and the [`raff_database`, `raff_database_plans`, `raff_database_engines`](/reference/terraform/data-sources#raff_database) data sources. * 🔵 **Updated** (v0.4.1): `public_allowlist` and `raff_database_user` names are checked at `terraform plan`, before anything is created. * 🔵 **Updated** (v0.4.2): `raff_database` with `public_access` finishes only when the public address answers, so `public_connection_uri` works for the next step of your apply. **Raff Apps: clearer errors and instance limits** * 🔵 **Updated**: **Errors you can fix return a plain sentence with the right code.** Bad values return 400, a name or domain already taken returns 409, and something that does not exist returns 404, each with a message that says what to change. When something breaks on our side the API returns 500 with "Something went wrong on our side. Try again, or contact support." Error bodies no longer start with `rpc error: code = ...`. * 🔵 **Updated**: **Values are checked before they are saved.** Create and update refuse an invalid cron schedule, an invalid time zone, a health check path without a leading `/`, a port outside 1 to 65535 and the ports the platform reserves (8008, 8012, 8013, 8022, 9090, 9091) for web apps and private apps that scale to zero. * 🔵 **Updated**: **An app can have at most 6 instances**, fixed or autoscaled. The limit is checked only when a value goes up, so an app above it can always scale down. `min_replicas` above `max_replicas` returns 400. * 🔵 **Updated**: **`GET /api/v1/apps/usage`**: `period` must be `current` or `previous` (anything else returns 400), and `service_id` also finds apps deleted during the month. * 🟣 **Fixed**: **Cron time zones other than UTC** were refused on update. Any IANA time zone, such as `Europe/Istanbul`, is accepted now. ### October 4, 2026 **Raff Apps: spend cap** * 🔵 **Updated**: **`PATCH /api/v1/apps/spend-settings` changes only the fields you send.** Before, a field left out was saved as off, \$0 or `pause`, so sending only `monthly_cap_usd` turned the cap off. * 🔵 **Updated**: **The cap must be at least \$1.** `monthly_cap_usd` below 1 returns 400. To remove the cap, send `{"enabled": false}`. * 🟢 **Added**: **`cap_action: notify_only`**, now the default for accounts that never set a cap. The owners and billing contacts get an email and a dashboard notice at 75%, 90% and 100% of the cap; with `pause`, every pay-as-you-go app is also paused at 100%. Apps on a prepaid plan keep running. * 🔵 **Updated**: **While the cap has apps paused,** resuming, creating, deploying, scaling up and running jobs of pay-as-you-go apps return 412 until the cap is raised or turned off, or a new month starts. ### September 26, 2026 **Managed Databases: API** * 🔵 **Updated**: **Public access keeps its ports.** Turning public access off and on again with `POST /api/v1/databases/{database_id}/public-access` now returns the same `public_port`. The ports are released only when the database is deleted. Before, turning public access off gave the ports up and enabling it again assigned a new pair. * 🟣 **Fixed**: **PostgreSQL pooled endpoint connection limit.** The public pooled endpoint (`public_port`) now accepts up to the plan's pooled limit (200 on Free, up to 1,500 on the largest plan). It was capped at the direct limit (60 on Free), so new pooled connections were refused early. ### September 8, 2026 **Virtual Machines — Console access policy** * 🟢 **Added** — **Per-VM console 2FA requirement** — `PATCH /api/v1/vms/{id}/console-policy` with `{"console_require_mfa": true}` makes the VM's web console (terminal and VNC) ask for a fresh authenticator code before it opens (one confirmation unlocks protected consoles for 1 hour). Off by default; the VM owner switches it on from **VM → Security**. API keys cannot open a console on such a VM. `GET /api/v1/vms/{id}` now returns `console_require_mfa`. CLI: `raff vm console-policy <vm-id> --require-mfa`; Terraform: `console_require_mfa` on `raff_vm` ### September 7, 2026 **Pricing — VMs, Kubernetes, Managed Databases** * 🔵 **Updated** — **Standard (General Purpose) VM plans repriced** — [List VM Pricing](/api-reference/catalog/list-vm-pricing) now returns the new monthly rates for every shared-CPU size above 1 vCPU / 1 GiB (2 vCPU / 4 GiB is \$17.99, 4 vCPU / 8 GiB \$33.99, 8 vCPU / 16 GiB \$71.99, 16 vCPU / 32 GiB \$139.99). The 1 vCPU / 1 GiB (\$4.99) and 2 vCPU / 8 GiB (\$27.99) sizes are unchanged. Bundled SSD is 20 GB per GiB of RAM up to 8 GiB, +10 GB per GiB above that, capped at 320 GB * 🔵 **Updated** — **Premium (CPU-Optimized) VM plans repriced and redefined** — every vCPU now has half a physical thread reserved (guaranteed), with burst to the full thread. New rates run \$15.99 (1 vCPU / 1 GiB) to \$288.99 (16 vCPU / 32 GiB); SSD allotments are unchanged * 🔵 **Updated** — **Windows VM plans repriced** — \$13.99 (1 vCPU / 2 GiB) to \$174.99 (16 vCPU / 32 GiB). The Windows Server licence is still a separate \$15/mo line * 🔵 **Updated** — **Kubernetes worker plans** — `GET /api/v1/k8s/node-plans` returns the new rates: K8s Standard \$17.99, Performance \$33.99, High Memory \$71.99, Large \$119.99; CO Standard \$36.99, CO Performance \$72.99, CO High Memory \$144.99, CO Large \$192.99, CO Scale \$288.99. Starter (\$9.99), Scale (\$229.99) and the \$30/mo HA control plane are unchanged. PVC storage is now \$0.10/GB/month (was \$0.08) * 🔵 **Updated** — **Managed Database plans** — `GET /api/v1/database/plans` returns the new Postgres / MySQL ladder from \$22.99 (1 vCPU / 2 GiB) to \$367.99 (16 vCPU / 32 GiB) and the matching Valkey sizes (2 GB \$22.99 to 32 GB \$293.99); the \$7.99 entry size, Free tier, ClickHouse and Kafka ladders are unchanged. Extra storage is now \$0.15/GB-month (was \$0.12). HA and read-replica multipliers are unchanged * Volumes, backups, snapshots, reserved IPs, Object Storage, Raff Apps and Functions prices are unchanged ### August 28, 2026 **Managed Databases — Plans** * 🔴 **Removed** — **Sub-4 GiB ClickHouse and Kafka plans** — `GET /api/v1/database/plans` no longer returns the 1 vCPU / 1 GiB, 1 vCPU / 2 GiB and 2 vCPU / 2 GiB tiers for `clickhouse` and `kafka`; both ladders now start at 2 vCPU / 4 GiB (ClickHouse $59.99/mo, Kafka $79.99/mo). Neither engine runs reliably below 4 GiB — ClickHouse's own sizing guidance is that under 4 GB is not recommended, and a Kafka broker needs headroom for page cache on top of its heap. No existing instances were affected. Postgres, MySQL and Valkey ladders are unchanged and still start at \$7.99 ### August 27, 2026 **Kubernetes — API** * 🔵 **Updated** — **Every kubeconfig now expires.** `GET /api/v1/k8s/clusters/{cluster_id}/kubeconfig` returns a kubeconfig valid for **7 days** by default (`expires_in` still selects 10 minutes–30 days); it no longer returns a permanent admin credential, which could never be revoked. [Rotate access](/api-reference/kubernetes/rotate-kubeconfig-access) now invalidates every credential a customer holds * 🟢 **Added** — **Self-renewing kubeconfig in the CLI** — `raff kubernetes kubeconfig <cluster-id>` writes a kubeconfig that carries no credential and fetches a short-lived token for each `kubectl` command. Nothing long-lived is stored on disk; `--static` keeps the old file-with-a-token shape for environments that cannot run the CLI * 🟢 **Added** — **Per-pool node plans** — every node pool now has its own `plan_id`: create clusters with mixed pools (`node_pools[].plan_id`), and `POST /clusters/{id}/pools` accepts any plan — mix sizes and tiers (General Purpose / CPU-Optimized) in one cluster. Per-pool `node_count` minimum is now 1 (the cluster keeps ≥2 workers overall) * 🟢 **Added** — **CPU-Optimized worker plans** — `GET /api/v1/k8s/node-plans` returns a `node_class` per plan (`shared` or `cpu_optimized`); CPU-Optimized nodes reserve far more host CPU per vCPU for compute-heavy workloads. Pick one via `worker_plan_id` as usual * 🟢 **Added** — **List cluster volumes** — `GET /api/v1/k8s/clusters/{cluster_id}/volumes` returns the cluster's PVC-provisioned persistent volumes (size, status, attached node, price); also shown on the cluster's new **Storage** tab in the dashboard * 🔵 **Updated** — **Persistent volumes support online expansion**: grow a PVC's requested size and the disk and filesystem expand live (no pod restart); billing moves to the new size. Grow only, 10 GB–10 TB ### August 26, 2026 **Kubernetes — API** * 🟢 **Added** — **Built-in persistent storage** — every new cluster includes the `raff-block` default StorageClass: PersistentVolumeClaims are provisioned as Volumes, attached to the pod's worker automatically, visible in your Volumes list, and billed at \$0.08/GB/month (hourly) for exactly the GB claimed * 🔴 **Removed** — **Create cluster**: `storage_node_count` and `storage_node_disk_gb` (dedicated Longhorn storage nodes) — any non-zero value is now rejected. Existing clusters with storage nodes keep working unchanged * 🔵 **Updated** — **Delete cluster** now also deletes the cluster's PVC-backed volumes, so no storage keeps billing after teardown **Kubernetes — Terraform** * 🟡 **Deprecated** — `raff_k8s_cluster.storage_node_count` / `storage_node_disk_gb` — leave unset; persistent storage is built in and billed per GB ### August 25, 2026 **Kubernetes — API** * 🟢 **Added** — **Short-lived kubeconfigs** — `GET /api/v1/k8s/clusters/{id}/kubeconfig?expires_in=<seconds>` issues a kubeconfig that expires on its own (10 minutes to 30 days) * 🟢 **Added** — **Rotate cluster access** — `POST /api/v1/k8s/clusters/{id}/kubeconfig/rotate` invalidates every previously issued short-lived kubeconfig immediately * 🔵 **Updated** — **Create cluster**: omitting `version_id` now converges the cluster to the platform-default version (previously it stayed on the base image version) **Kubernetes — CLI** * 🟢 **Added** — `raff kubernetes kubeconfig --ttl <duration>` (short-lived kubeconfig) and `raff kubernetes kubeconfig rotate` **Kubernetes — Terraform** * 🟢 **Added** — `upgrade_mode`, `maintenance_day`, `maintenance_start` on `raff_k8s_cluster`; changing `version_id` now performs a rolling in-place upgrade (the apply waits for completion) instead of destroying the cluster * 🔵 **Updated** — **Create cluster** now works on subscription accounts — `POST /api/v1/k8s/clusters` validates the saved payment method, creates the monthly subscription, and charges it automatically (previously `402`; same behavior as VM creation). Terraform and CLI creates work on subscription accounts as a result. * 🔵 **Updated** — **Scale node pool, Add node pool, Upgrade to HA** now work on subscription clusters via the API — the pro-rated difference is charged to the saved payment method (balance first) and the monthly price is raised (previously `409`). Dashboard flows still use checkout. ### August 24, 2026 **Kubernetes — API** * 🟢 **Added** — **Version upgrades** — `GET /api/v1/k8s/clusters/{id}/upgrades` (available targets, upgrade state, maintenance settings) and `POST /api/v1/k8s/clusters/{id}/upgrade` (in-place rolling upgrade: control-plane nodes one at a time, workers drained; free) * 🟢 **Added** — **Maintenance settings** — `PATCH /api/v1/k8s/clusters/{id}/maintenance`: `upgrade_mode` (`manual`, `auto_patch`, `auto_minor`) and a weekly 4-hour maintenance window (`maintenance_day`, `maintenance_start` UTC) * 🔵 **Updated** — node plans (`ssd_gib`) now state the actual 25 GB node root disk; worker plans are priced on vCPU/RAM, persistent storage is the storage-node product **Kubernetes — CLI** * 🟢 **Added** — `raff kubernetes upgrade <cluster-id>` — lists available upgrade targets, or starts a rolling in-place version upgrade with `--version` (`--confirm-single-master` on non-HA clusters) * 🟢 **Added** — `raff kubernetes maintenance <cluster-id>` — set the upgrade mode (`--mode manual|auto_patch|auto_minor`) and the weekly 4-hour maintenance window (`--day`, `--start` UTC) * 🟢 **Added** — `raff kubernetes create --version <version-id>` — create a cluster on a specific offered version; the cluster converges to it automatically after provisioning ### August 23, 2026 **Kubernetes — API** * 🟢 **Added** — **Managed Kubernetes** — full public API: clusters (`GET/POST /api/v1/k8s/clusters`, get/rename/delete, `GET …/kubeconfig`, `POST …/ha`), node pools (list/add/update/delete/scale), versions and node plans, nodes, events, metrics (including a 24h control-plane health summary), utilization stats, firewall, MetalLB pool and TCP forwards * 🟢 **Added** — `Idempotency-Key` header on `POST /api/v1/k8s/clusters` — retries return the original cluster instead of provisioning twice * 🟢 **Added** — pagination (`limit`, `offset`) on `GET /api/v1/k8s/clusters`; derived `ready` on clusters and `actual_node_count` on node pools * 🔴 **Removed** — legacy `POST /api/v1/k8s/clusters/{id}/scale` (use the node-pool scale endpoint) and the internal `vm_id` field on node objects ### August 20, 2026 **Virtual Machines — API** * 🔵 **Updated** — **Attach floating IP** now supports multiple public IPv4s — `POST /api/v1/vms/{id}/ip` with `ip_id` accepts additional reserved IPv4s, up to 4 per VM. Auto-assign (`type`) is unchanged: available only while the VM has no public IP of that family. * 🔵 **Updated** — **List VM networks** — `GET /api/v1/vms/{id}/networks` returns `is_primary`, marking the VM's primary public IPv4 interface. * 🔵 **Updated** — **Detach floating IP** — `DELETE /api/v1/vms/{id}/ip/{nic_id}`: detaching the primary IPv4 while other IPv4s remain promotes the lowest-numbered remaining IPv4 to primary. Clarified billing: reserved IPs keep billing until released; auto-assigned IPs are free and return to the shared pool. ### July 28, 2026 **Managed Databases — API** * 🟢 **Added** — **Free tier** for PostgreSQL, MySQL and Valkey — plans with `is_free_tier: true` in `GET /api/v1/databases/plans` cost \$0 (one per account, fixed storage, no HA or replicas, daily backups with 3-day retention). Free databases pause after 7 idle days: status becomes `suspended` and all data is kept. * 🟢 **Added** — **Resume a paused database** — `POST /api/v1/databases/{id}/resume` wakes a `suspended` database; it returns through `deploying` and reaches `running` in about a minute. * 🔵 **Updated** — **`GET /api/v1/databases/plans`** returns `max_connections` (the client connection limit each plan enforces) and `memory_mib` (RAM for sub-GiB plans, e.g. free Valkey = 512). The database `status` enum gains `suspended`. ### July 20, 2026 **Managed Databases — API** * 🟢 **Added** — **MySQL, ClickHouse, and Apache Kafka engines** — the `engine` field on `POST /api/v1/databases` (and everywhere it appears) now accepts `mysql`, `clickhouse`, and `kafka` alongside `postgres` and `valkey`. Check live availability and versions with `GET /api/v1/databases/engines`. * 🔵 **Updated** — **`engine` is now a shared `DatabaseEngine` enum** across all database endpoints and schemas; the engine catalog entry schema is named `DatabaseEngineInfo`. No wire-format change — request and response JSON are unchanged. * 🔵 **Updated** — **`GET /api/v1/databases/{id}/connection`** returns `ca_cert` (PEM CA bundle) for engines with a private certificate authority — currently Kafka. Empty for other engines. ### July 12, 2026 **Virtual Machines — API** * 🔵 **Updated** — **Backup schedules now report run state** — `GET /api/v1/backup-schedules` and `GET /api/v1/backup-schedules/{id}` return `enabled`, `next_run_at`, `last_run_at`, `last_run_status`, and `consecutive_failures`. Use these to verify backups are running and alert on repeated failures. Existing fields are unchanged. * 🔵 **Updated** — **Minimum `keep_count` is now 2** on `POST /api/v1/backup-schedules` and `PATCH /api/v1/backup-schedules/{id}`. A retention of 1 does not work reliably with incremental backups. Existing schedules with `keep_count: 1` keep working; the next update must set 2 or more. ### July 8, 2026 **Raff Apps — API** * 🟢 **Added** — **Raff Apps (PaaS)** — push-to-deploy app services on `/api/v1/apps`. Create web services, private services, workers, cron jobs, and one-off jobs; manage deployments (`POST .../deployments`), rollbacks (`POST .../rollback`), environment variables (`.../env`), custom domains (`.../domains`), scaling (`.../scale`), pause/resume, runtime and build logs, metrics, job runs, usage (`GET /api/v1/apps/usage`), and spend caps (`.../spend-settings`). * 🟢 **Added** — **List Apps tiers** — `GET /api/v1/apps/tiers` and public `GET /api/v1/public/pricing/apps`. Compute sizes and prices; no authentication required. **Raff Apps — CLI** * 🟢 **Added** — `raff apps` command group: `tiers`, `list`, `get`, `create`, `delete`, `deploy`, `rollback`, `scale`, `pause`, `resume`, `logs`, `deployments`, `env` (list/set/delete), `domains` (list/add/delete), and `usage`. **Raff Apps — Terraform** * 🟢 **Added** — `raff_app_service` resource, plus `raff_app_service`, `raff_app_services`, and `raff_app_tiers` data sources. ### July 6, 2026 **Catalog — API** * 🟢 **Added** — **List managed database pricing** — `GET /api/v1/public/pricing/database`. Plans per engine (`postgres`, `valkey`) plus high availability, read replica, and extra storage pricing. Optional `engine` query filter. * 🟢 **Added** — **List managed Kubernetes pricing** — `GET /api/v1/public/pricing/kubernetes`. Worker node plans plus HA control plane and NVMe storage node pricing. ### May 25, 2026 **Catalog — API** * 🟢 **Added** — `out_of_stock` field on `VMPricingPlan` — `GET /api/v1/public/pricing/vm`. Marks a plan as sold out. Informational only — the plan is still listed and can be ordered. **Catalog — CLI** * 🟢 **Added** — `STOCK` column on `raff pricing vm`, showing `In Stock` / `Sold Out`. **Catalog — Terraform** * 🟢 **Added** — `out_of_stock` attribute on `data.raff_vm_pricing` plans. ### May 14, 2026 **Virtual Machines — API** * 🔵 **Updated** — Backups now run as **incremental backup series** instead of one full image per call. Only changed blocks are stored after the first baseline, cutting storage and transfer dramatically. Existing backups taken before this change keep working unchanged — they restore identically to today. * 🔵 **Updated** — `storage_size` on `Backup` is now **MB** (was GB). Incremental restore points are often a few MB; the previous integer-GB column rounded them up to 1 GB and overstated both display and billing. Existing rows have been backfilled (`old_value_in_GB * 1024`) so customer-visible amounts stay consistent. Clients should display in MB up to 1024, else convert to GB. * 🟢 **Added** — `increment_id` field on `Backup` — `GET /api/v1/backups`. Position of a restore point within an incremental series; `null` for legacy standalone backups. * 🟢 **Added** — **Delete backup series** — `DELETE /api/v1/backups/{id}/chain`. Removes every restore point in a series in one call. Use this when [Delete backup](/api-reference/virtual-machines/delete-backup) reports that older points depend on the one being deleted. * 🟢 **Added** — **Reset backup series** — `POST /api/v1/vms/{id}/backups/reset-chain`. Starts a fresh baseline on the next backup; existing restore points stay restorable. ### May 10, 2026 **Virtual Machines — API** * 🟢 **Added** — `mac` field on `VMNetwork` — `GET /api/v1/vms/{id}/networks`. Stable per-NIC MAC address. The backend already returned it; spec now documents it so generated clients expose it. **Volumes — API** * 🟣 **Fixed** — `pricing_id` now auto-derived from `volume_type` + `region` on `POST /api/v1/volumes`. The public spec never required customers to supply it, but the billing middleware did — every CLI/Terraform/curl request was returning 400 until you looked it up out-of-band. * 🟣 **Fixed** — `filesystem_type` is now honored. A wire-mapping bug in vm-service was discarding the value and validating `volume_type` (e.g. `nvme`) as if it were a filesystem, rejecting all valid `ext4` / `xfs` / `""` combinations with "filesystem_type must be empty (manual), ext4, or xfs". * 🔵 **Updated** — pricing_id required-error now points at `raff pricing vm` (CLI) and `data.raff_vm_pricing` (Terraform) alongside the HTTP path. **Billing — API** * 🟣 **Fixed** — Add-payment-method (`POST /api/v1/billing/payment-methods`) now returns 503 if Airwallex's payment-source linking step fails, instead of saving an unusable row that looked like a working primary card. Customers no longer end up with a dashboard-confirmed card that fails the first time the API tries to charge it. * 🟣 **Fixed** — "Payment method not configured for automatic billing" error correctly identifies the affected row (filters by `provider_type` and non-empty source ID) instead of firing on any active payment row. * 🔵 **Updated** — Error messages link to `app.rafftechnologies.com` regardless of environment (was hardcoded to a local-dev hostname). **Virtual Machines — CLI** * 🟢 **Added** — `raff vm create --no-vpc` — create a VM with only a public IP, no VPC at all. (raff-cli v0.3.5) * 🟢 **Added** — `MAC` column on `raff vm networks`. (raff-cli v0.3.6) * 🔵 **Updated** — `raff vm create --help` long help spells out all four networking modes (existing VPC / new VPC / no VPC / auto VPC). (raff-cli v0.3.4) * 🔵 **Updated** — `raff vm get` shows base disk and attached volumes as separate rows (was a single collapsed "Storage" row). (raff-cli v0.3.4) * 🔵 **Updated** — `vm networks` public-pool NICs show `(public pool)` instead of an empty `NETWORK` cell. (raff-cli v0.3.4) **Volumes — CLI** * 🔵 **Updated** — `raff volume create --type` help enumerates `nvme` (was a misleading "e.g. standard"). (raff-cli v0.3.3) * 🔵 **Updated** — `raff pricing volume` table view shows the `ID` column. (raff-cli v0.3.3) **Networking — CLI** * 🔵 **Updated** — Security-group attachment count now labeled "Attached VMs" everywhere (was inconsistent — `VMS` in list, `Attached NICs` in get). (raff-cli v0.3.4) * 🔴 **Removed** — Unexplained `SIZE` column from `raff sg get` rules subtable. (raff-cli v0.3.4) **Virtual Machines — Terraform** * 🟢 **Added** — `data "raff_vm_networks"` — list NICs for a VM with MAC, IP, gateway, and security-group binding. (terraform-provider-raff v0.1.8) * 🟢 **Added** — `skip_vpc` argument on `raff_vm`. (terraform-provider-raff v0.1.7) * 🔵 **Updated** — `raff_vm` schema descriptions for `vpc_id` / `vpc_name` / `vpc_cidr` / `delete_vpc` / `volume_action` rewritten to spell out the actual contract instead of one-liners. (terraform-provider-raff v0.1.6) * 🔵 **Updated** — `volume_type = "nvme"` in README and Registry index examples (was an invalid `"standard"`). (terraform-provider-raff v0.1.4) **Networking — Terraform** * 🟢 **Added** — `data "raff_vpc_cidr_suggestions"` — fetch a non-overlapping CIDR for declarative VPC sizing. (terraform-provider-raff v0.1.9) * 🟢 **Added** — `data "raff_security_group_templates"` — look up template IDs to pass to `raff_security_group.template_id`. (terraform-provider-raff v0.1.9) **Team & Access — Terraform** * 🟢 **Added** — `data "raff_permissions"` — read-only catalog of permission identifiers; supports `scope` filter (`account` / `project`). (terraform-provider-raff v0.1.9) **Reference — site** * 🔵 **Updated** — Terraform Registry sidebar collapsed from 7 noisy buckets to a single `Virtual Machines` subcategory. (terraform-provider-raff v0.1.5) **Catalog — CLI / Terraform** * 🟣 **Fixed** — `category` filter on `raff template list` (CLI v0.3.7) and `data.raff_templates` (terraform-provider-raff v0.1.10) — flag help, schema description, and README/Registry examples all incorrectly claimed values like `linux` / `windows`. The real enum is `os` (Linux/Windows OS templates) or `marketplace` (pre-baked apps); OS family (`linux` / `windows` / `alpine` / etc.) lives on the `os_type` response field with no API-level filter today. **Virtual Machines — Terraform** * 🟣 **Fixed** — `raff_vm` Create now waits for the VM to reach `active` before returning. Previously `terraform apply` returned as soon as the API accepted the request, so `public_ipv4` / `private_ipv4` were empty until the customer ran `terraform refresh`. Default timeout 15 minutes; override with `timeouts { create = "20m" }`. (terraform-provider-raff v0.1.11) * 🔵 **Updated** — `volume_action` description on `raff_vm` rewritten to clarify it only governs volumes **not** under Terraform management (attached out-of-band via dashboard / CLI). Volumes managed by `raff_volume` in the same config are destroyed by Terraform independently. (terraform-provider-raff v0.1.11) *** **Compute — CLI** * 🟢 **Added** — `raff volume list|get|create|delete|resize|attach|detach` — documentation page for block storage volume commands. * 🟢 **Added** — `raff snapshot list|get|create|rename|restore|delete` — documentation page for VM and volume snapshots. * 🟢 **Added** — `raff backup list|get|create|restore|delete` and `raff backup schedule list|get|create|update|delete` — documentation page for backups and recurring schedules. **Networking — Terraform** * 🟢 **Added** — `raff_vpc` documentation page — VPC resource, CIDR immutability, gateway computed attrs. * 🟢 **Added** — `raff_ip` documentation page — floating IP reservation. * 🟢 **Added** — `raff_security_group` documentation page — firewall rulesets with nested `rule` blocks and template seeding. **Compute — Terraform** * 🟢 **Added** — `raff_volume`, `raff_snapshot`, `raff_backup`, `raff_backup_schedule` documentation pages — covering immutability rules, retention semantics, and the "don't manage schedule-created backups" guidance. **Team & Access — CLI** * 🟢 **Added** — `raff ssh-key`, `raff api-key`, `raff member`, `raff role`, `raff permission`, `raff invitation` documentation pages — full coverage of IAM commands. * 🟢 **Added** — `raff project member` subcommands documented under `raff project` — list, get, add, update, remove. **Team & Access — Terraform** * 🟢 **Added** — `raff_ssh_key`, `raff_api_key`, `raff_role`, `raff_member`, `raff_project_member` documentation pages — including the `secret` returned-once warning on `raff_api_key` and the composite ID format on `raff_project_member`. **Catalog — CLI / Terraform** * 🟢 **Added** — `raff region`, `raff template`, `raff pricing` (CLI) and a consolidated `data-sources` page (Terraform) covering `raff_regions`, `raff_templates`, and the `*_pricing` family. **Reference — site** * 🔵 **Updated** — Reference tab CLI and Terraform groups in `docs.json` reorganized to expose every command group and resource in the sidebar. * 🔵 **Updated** — `reference/cli/introduction.mdx` and `reference/terraform/introduction.mdx` refreshed with the full surface — coverage table now lists every resource group instead of the original 5–7. ### May 8, 2026 **Volumes — API** * 🟢 **Added** — **Volume CRUD + attach/detach** — `GET/POST /api/v1/volumes`, `GET/DELETE /api/v1/volumes/{id}`, `POST /api/v1/volumes/{id}/attach`, `POST /api/v1/volumes/{id}/detach`. Create is async (202 Accepted). * 🔴 **Removed** — `vm_id`, `vm_internal_id`, `image_id`, `attached_volume_id` fields from volume responses (OpenNebula internal identifiers). Use `id` and `product_vm` instead. **Snapshots — API** * 🟢 **Added** — **Snapshot CRUD + restore + rename** — `GET/POST /api/v1/snapshots`, `GET/DELETE /api/v1/snapshots/{id}`, `POST /api/v1/snapshots/{id}/restore`, `PATCH /api/v1/snapshots/{id}/rename`. Supports VM and volume sources (`resource_type: vm|volume`). `Snapshot.status = active` indicates the source has been reverted to this snapshot. **Backups — API** * 🟢 **Added** — **Backup CRUD + restore** — `GET/POST /api/v1/backups`, `GET/DELETE /api/v1/backups/{id}`, `POST /api/v1/backups/{id}/restore`. Create and restore are async (202 Accepted). * 🟢 **Added** — **Backup schedules** — `GET/POST /api/v1/backup-schedules`, `GET/PATCH/DELETE /api/v1/backup-schedules/{id}`. Daily or weekly with configurable retention. * 🔴 **Removed** — `schedule_id`, `backup_id`, `vm_id` from backup/schedule responses (OpenNebula internal identifiers). Use `id` and `product_vm`. **SSH Keys — API** * 🟢 **Added** — **SSH key CRUD** — `GET/POST /api/v1/ssh-keys`, `GET/PUT/DELETE /api/v1/ssh-keys/{id}`. Account-scoped (no `X-Project-ID` required). **Team & Access — API** * 🟢 **Added** — **Account Members** — `GET/POST /api/v1/members`, `GET/PATCH/DELETE /api/v1/members/{id}`. Email invite, direct add, or attach an API key as member. * 🟢 **Added** — **Project Members** — `GET/POST /api/v1/projects/{id}/members`, `GET/PATCH/DELETE /api/v1/projects/{id}/members/{member_id}`. * 🟢 **Added** — **Roles** — `GET/POST /api/v1/roles`, `GET/PATCH/DELETE /api/v1/roles/{id}`. Custom account- or project-scoped roles. System roles are read-only. * 🟢 **Added** — **Permissions catalog** — `GET /api/v1/permissions`. Lists every permission string usable in role definitions. Requires a valid API key (no specific permission needed). * 🟢 **Added** — **API Keys** — `GET/POST /api/v1/api-keys`, `GET/PATCH/DELETE /api/v1/api-keys/{id}`, `POST /api/v1/api-keys/{id}/regenerate`. Full secret only returned once at create or regenerate. * 🟢 **Added** — **Invitations** — `POST /api/v1/invitations` (account), `POST /api/v1/projects/{id}/invitations` (project), `DELETE /api/v1/invitations/{id}` (cancel). Public spec deliberately omits `Invitation.token` since it's the acceptance secret. **Cross-cutting — wire/spec alignment** * 🔴 **Removed** — `vm_id` from VM responses, `vnet_id` / `vxlan_vni` / `router_vm_id` from VPC responses, `ip_group_id` / `subnet_id` / `vm_id` from floating IP responses, `network_id` / `mac` / `bridge` / `vxlan_vni` from VM network interface responses, and the legacy top-level `project_id` / `project_name` from API key responses. All are OpenNebula internal identifiers that the public spec already hid; the gateway response now matches the spec. ### April 30, 2026 **Virtual Machines — API** * 🟢 **Added** — `skip_public_ip` and `skip_vpc` flags on **Create VM** — `POST /api/v1/vms`. Build VPC-only VMs (no public IP) or public-IP-only VMs (no VPC). Cannot be combined. **Networking — API** * 🟢 **Added** — **Floating IP reserve/release** — `POST /api/v1/ips/reserve`, `DELETE /api/v1/ips/{id}/reserve`, plus `GET /api/v1/ips`, `GET /api/v1/ips/{id}`, `POST /api/v1/ips/{id}/change`. Reserve runs through the same balance/billing checks as VM create (402 / 403). Release refunds remaining time pro-rata for subscription IPs. * 🟢 **Added** — **VPC CRUD** — `POST/GET/PUT/DELETE /api/v1/vpcs[/{id}]` and `GET /api/v1/vpcs/cidr-suggestions`. Customers can now create and manage VPCs directly via the public API instead of only through VM creation. * 🟢 **Added** — `?type=public|vpc|ipv6` query filter on **List VM network interfaces** — `GET /api/v1/vms/{id}/networks?type=public`. * 🔵 **Updated** — `VMNetwork.type` enum now includes `ipv6`. * 🔴 **Removed** — `mac` field from public `VMNetwork` schema (still in raw response for the dashboard, hidden from public API consumers). **Networking — CLI** * 🟢 **Added** — `raff ip list|get|reserve|release|change` * 🟢 **Added** — `raff vpc list|get|create|update|delete|cidr-suggestions` * 🟢 **Added** — `raff vm networks <vm-id> --type public|vpc|ipv6` filter **Virtual Machines — API** * 🟢 **Added** — **Update VM note** — `PATCH /api/v1/vms/{id}/notes/{type}` — replaces existing note content; returns 404 if no note exists yet (use `PUT` to create). * 🟢 **Added** — **Append to VM note** — `POST /api/v1/vms/{id}/notes/{type}/append` — concatenates new content onto the existing note (newline-separated), creates the note if missing. * 🟢 **Added** — `type` query filter on **Get VM notes** — `GET /api/v1/vms/{id}/notes?type=personal|account` to fetch only one scope. **Virtual Machines — CLI** * 🟢 **Added** — `raff vm notes update <vm-id> --type X --content Y` (errors if note missing) * 🟢 **Added** — `raff vm notes append <vm-id> --type X --content Y` * 🟢 **Added** — `raff vm notes get <vm-id> --type personal|account` filter * 🟢 **Added** — `raff vm tags list <vm-id>` to discover tag IDs ### April 29, 2026 **Virtual Machines — API** * 🟢 **Added** — **Hard reboot VM** for unresponsive instances — `POST /api/v1/vms/{id}/reboot-hard` * 🟢 **Added** — **Save VM disk as custom image** — `POST /api/v1/vms/{id}/save-image` * 🟢 **Added** — **List VM network interfaces** — `GET /api/v1/vms/{id}/networks` * 🟢 **Added** — **Attach/detach VM to/from VPC** — `POST/DELETE /api/v1/vms/{id}/vpc[/{nic_id}]` * 🟢 **Added** — **Attach/detach floating IP** — `POST/DELETE /api/v1/vms/{id}/ip[/{nic_id}]` * 🟢 **Added** — **Attach/detach security group to VM NIC** — `POST/DELETE /api/v1/vms/{id}/firewall[/{sg_id}/{nic_id}]` * 🟢 **Added** — **Add/update/remove VM tags** — `POST/PATCH/DELETE /api/v1/vms/{id}/tags[/{tagId}]` * 🟢 **Added** — **Get/upsert VM notes** (personal + account scopes) — `GET /api/v1/vms/{id}/notes`, `PUT /api/v1/vms/{id}/notes/{type}` * 🔴 **Removed** — `vm_id` field from VM responses (was an OpenNebula internal identifier — use `id` instead) * 🔵 **Updated** — `BillingError.reason` enum trimmed to currently-returned values: `banned`, `failed`, `no_billing_customer`. Insufficient balance now consistently returns `402` with a plain `Error` body. **Virtual Machines — CLI** * 🟢 **Added** — `raff vm hard-reboot`, `raff vm save-image`, `raff vm networks`, `raff vm vpc attach|detach`, `raff vm ip attach|detach`, `raff vm sg attach|detach`, `raff vm tags add|update|remove`, `raff vm notes get|set` **Virtual Machines — Terraform** * 🔴 **Removed** — `vm_id` computed attribute from `raff_vm` (was the OpenNebula int ID; use `id` instead) ### March 25, 2026 **General** * 🟢 **Added** — Changelog tracking started ### March 15, 2026 **Virtual Machines — API** * 🟢 **Added** — **Resize VM disk storage** without recreating — `POST /api/v1/vms/{id}/disk/resize` * 🟢 **Added** — **Bulk delete VMs** in a single request — `DELETE /api/v1/vms/bulk` * 🔵 **Updated** — **Create VM** now accepts `enable_ipv6` parameter for IPv6 support — `POST /api/v1/vms` ### March 10, 2026 **Virtual Machines — API** * 🟢 **Added** — **Reinstall OS** on a running VM, keep your IP — `POST /api/v1/vms/{id}/reinstall` * 🟢 **Added** — **Factory reset** VM to original state — `POST /api/v1/vms/{id}/factory-reset` * 🟢 **Added** — **Reset root password** via API — `POST /api/v1/vms/{id}/reset-password` * 🟢 **Added** — **Rename VMs** after creation — `POST /api/v1/vms/{id}/rename` ### March 5, 2026 **Volumes — API** * 🟢 **Added** — **Resize block storage volumes** attached to VMs — `PATCH /api/v1/volumes/{id}` ### March 3, 2026 **Projects — API** * 🟢 **Added** — **Organize resources into projects** — full CRUD via API * `GET /api/v1/projects` · `POST /api/v1/projects` · `GET /api/v1/projects/{id}` · `PUT /api/v1/projects/{id}` · `DELETE /api/v1/projects/{id}` ### March 1, 2026 **Virtual Machines — API** * 🟢 **Added** — **Full VM lifecycle** — create, list, get details, delete * `GET /api/v1/vms` · `POST /api/v1/vms` · `GET /api/v1/vms/{id}` · `DELETE /api/v1/vms/{id}` * 🟢 **Added** — **VM power control** — start, stop, reboot * `POST /api/v1/vms/{id}/start` · `POST /api/v1/vms/{id}/stop` · `POST /api/v1/vms/{id}/reboot` * 🟢 **Added** — **Scale resources** — resize CPU and RAM on demand — `POST /api/v1/vms/{id}/resize` **Catalog — API** * 🟢 **Added** — **Browse available resources** — regions, OS templates, pricing (no auth required) * `GET /api/v1/public/regions` · `GET /api/v1/public/templates` * `GET /api/v1/public/pricing/vm` · `/volume` · `/snapshot` · `/backup` · `/ip` # Browse schemas, tables, and keys Source: https://docs.rafftechnologies.com/api-reference/databases/browse-database POST /api/v1/databases/{database_id}/browse Walk the database one level at a time with `path`. - **PostgreSQL, MySQL, ClickHouse**: `[]` lists schemas, `[schema]` lists its tables, `[schema, table]` returns a page of rows. Page with `limit` and `next_cursor`. - **Valkey**: `[]` lists keys (filter with `match`, for example `user:*`), `[key]` returns the key's value with its type and TTL in `meta`. - **Kafka**: `[]` lists topics, `[topic]` returns the newest messages of every partition, `[topic, partition]` the newest of one partition. `limit` sets how many (default 20, up to 200). A response has `kind: nodes` (a list in `nodes`) or `kind: rows` (`columns` and `rows`). # Connect database to VPC Source: https://docs.rafftechnologies.com/api-reference/databases/connect-database-v-p-c POST /api/v1/databases/{database_id}/vpc Attach a database created without a VPC to one of your VPCs. The private endpoint `{database_id}.db.raffusercloud.com` becomes reachable from inside that VPC. The first connection to a VPC can take a few minutes while the VPC's router starts; the request returns when the endpoint is ready. Returns `409` when the database is already connected to a VPC. # Create database Source: https://docs.rafftechnologies.com/api-reference/databases/create-database POST /api/v1/databases Create a managed database. <Note> Before creating a database, you need: - A **plan ID** from [List database plans](/api-reference/databases/list-database-plans). The free plan is marked `is_free_tier`; one free database per account. - Optionally an **engine version** from [List database engines](/api-reference/databases/list-database-engines). Omit it for the newest. - A **project ID** in `X-Project-ID` from [List projects](/api-reference/projects/list-projects). - Optionally a **VPC ID** for a private endpoint. </Note> Provisioning is asynchronous: the database is created in status `pending` and moves through `deploying` to `running`. Poll `GET /api/v1/databases/{database_id}` for progress. A free PostgreSQL or MySQL database is usually `running` within seconds. With `public_access: true`, `running` means the public address already accepts connections. ## Networking Databases live on private VPC networking by default. Set `vpc_id` to place the private endpoint (`{database_id}.db.raffusercloud.com`) inside an existing VPC, or attach a VPC later via `POST /api/v1/databases/{database_id}/vpc`. Public access is optional and off by default. TLS is always required. ## Engines - **PostgreSQL**: pooled endpoint on port 6432 (PgBouncer, transaction mode) plus a direct endpoint on 5432. Nightly base backup with continuous WAL archiving for point-in-time restore. - **MySQL**: TLS endpoint on port 3306. Nightly backups plus on-demand backups. - **Valkey**: single TLS endpoint on port 6379. Nightly RDB snapshots plus on-demand snapshots. No read replicas; high availability adds a standby with automatic Sentinel failover. - **ClickHouse** and **Kafka**: see the engine catalog for versions. Kafka clients must trust the `ca_cert` returned by the connection endpoint. ## Pricing The plan sets the base price. High availability adds 70% of the plan price for PostgreSQL, Valkey and ClickHouse, 140% for MySQL and Kafka. Each PostgreSQL read replica costs the plan price. Storage above the plan's included storage is $0.15/GB/month. The same numbers are in `GET /api/v1/databases/plans` and, without authentication, `GET /api/v1/public/pricing/database`. ## Errors - `409`: the name is taken in this project, or the account already has a free database. - `402`: a paid plan on a monthly account without a card that can be charged automatically. The response links to the dashboard to add one. - `403`: the account's billing status or your role does not allow creating databases. ## Billing - **Free plan**: no charge and no card needed. One free database per account. - **Paid plan**: a monthly subscription, the same as buying the database in the dashboard. The account needs a card that can be charged automatically, or the create is refused with `402` and a link to add one. The first month is charged within seconds of the create, from the account balance first and then the card. - Accounts on pay-as-you-go billing are billed by the hour instead. # Create backup Source: https://docs.rafftechnologies.com/api-reference/databases/create-database-backup POST /api/v1/databases/{database_id}/backups Start an on-demand backup: a base backup for PostgreSQL, a full backup for MySQL and ClickHouse, a snapshot for Valkey. The backup runs asynchronously; poll the list until its status is `completed`. Kafka has no backups and is refused. # Create database user Source: https://docs.rafftechnologies.com/api-reference/databases/create-database-user POST /api/v1/databases/{database_id}/users Add a user with read-only or read-write access. The password is returned once in this response; fetch it again later with `GET /api/v1/databases/{database_id}/users/{name}/credential`. - PostgreSQL, MySQL and ClickHouse. Valkey and Kafka return `501`. - Name: 3 to 31 characters, lowercase letters, digits and `_`, starting with a letter. Names the engine or Raff use (`raffadmin`, `postgres`, `root`, `admin` and others, and the prefixes `app_` and `fnb_`) are refused. - Up to 20 users per database. A name in use returns `409`. The database must be `running`. # Delete database Source: https://docs.rafftechnologies.com/api-reference/databases/delete-database DELETE /api/v1/databases/{database_id} Delete a managed database, its data, standbys and addresses. Billing stops at once. This cannot be undone. - **Monthly database**: the unused part of the current month is credited to your account balance. - **Backups** are kept for 14 days after the delete, then removed for good. Within that window, support can restore one into a new database. - Returns `412` while Raff is moving the database for maintenance; try again in a few minutes. # Delete a saved query Source: https://docs.rafftechnologies.com/api-reference/databases/delete-database-saved-query DELETE /api/v1/databases/{database_id}/saved-queries/{name} Delete a saved query by its name. Other saved queries are unchanged. # Delete database user Source: https://docs.rafftechnologies.com/api-reference/databases/delete-database-user DELETE /api/v1/databases/{database_id}/users/{name} Remove a user you added; it loses access at once. The admin user and users Raff manages for apps and functions cannot be deleted. PostgreSQL, MySQL and ClickHouse; Valkey and Kafka return `501`. # Disconnect database from VPC Source: https://docs.rafftechnologies.com/api-reference/databases/disconnect-database-v-p-c DELETE /api/v1/databases/{database_id}/vpc Detach the database's private endpoint from its VPC. Clients inside the VPC lose access; public access, if enabled, keeps working. Calling it on a database without a VPC succeeds and changes nothing. # Get database Source: https://docs.rafftechnologies.com/api-reference/databases/get-database GET /api/v1/databases/{database_id} Get one managed database: status, plan, storage, high availability, networking, price and live `metrics`. Poll it after create, scale or restore until `status` is `running`. # Get traffic by client Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-client-traffic GET /api/v1/databases/{database_id}/metrics/clients Operations, errors, and warnings per database user over a window, bucketed for charting. A value of `-1` means the engine does not count that number per user. # Get connection details Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-connection GET /api/v1/databases/{database_id}/connection Connection details for the database: username, database name, and two endpoints. - **Private** (`host`, `port`, `connection_uri`): reachable from inside the database's VPC. For PostgreSQL, `port` is the direct port 5432; the pooler is on 6432 of the same host. Use these only when the database has a `vpc_id`; without a VPC there is no private endpoint you can reach. - **Public** (`public_host`, `public_port`, `public_connection_uri`): filled while public access is on. The `password` field is empty unless you pass `reveal=true`. TLS is always required: `ca_cert` is the database's certificate authority, for clients that verify the server certificate (the public hostname is in the certificate). # Get logs Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-logs GET /api/v1/databases/{database_id}/logs Recent engine log lines, newest last. `tail` is up to 500 lines (1,000 for Valkey); default 200. The database must be `running`. # Get metrics Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-metrics GET /api/v1/databases/{database_id}/metrics Latest usage snapshot: CPU, memory, storage, connections, and replication lag. Metrics refresh about every 60 seconds; zero values mean not measured yet, and `-1` means the engine does not report that number. # Get metrics history Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-metrics-history GET /api/v1/databases/{database_id}/metrics/history Time-series metrics over a window, bucketed for charting: about 120 points, oldest first. `window_hours` is 1 to 168 (default 24); history is kept 7 days. # Get slow queries Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-slow-queries GET /api/v1/databases/{database_id}/slow-queries The slowest recent queries. - **PostgreSQL**: aggregated statistics from `pg_stat_statements`: each row is one normalized query with its call count, mean, and total time. - **Valkey**: individual slow commands from `SLOWLOG`: `calls` is 1 per entry and `rows` is not applicable. - **MySQL**: statement digests for `defaultdb`. **ClickHouse**: the query log. **Kafka**: none. On PostgreSQL, turn on the `pg_stat_statements` extension first; until then `collecting` is `false`. `limit` is 1 to 100 (default 20). The database must be `running`. # Get database user password Source: https://docs.rafftechnologies.com/api-reference/databases/get-database-user-credential GET /api/v1/databases/{database_id}/users/{name}/credential The current username and password of a user you added. Needs permission to manage databases, not only to connect. # List backups Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-backups GET /api/v1/databases/{database_id}/backups All backups for the database: nightly automatic backups (`base`, at 02:00 UTC) and on-demand backups (`on_demand`), kept 30 days. `restore_window_start` is the earliest point a point-in-time restore can reach. Kafka has no backups; its topics are copied across brokers. # List apps and functions using the database Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-consumers GET /api/v1/databases/{database_id}/consumers The Raff apps and functions bound to this database, with the state of each binding. Each binding has its own database user, managed by Raff. # List database engines Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-engines GET /api/v1/databases/engines The database engine catalog: each engine with its display name, supported versions, and whether it is available to create. # List extensions Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-extensions GET /api/v1/databases/{database_id}/extensions Every PostgreSQL extension the database can turn on, with whether it is on. `curated` marks the most used ones (`vector`, `pg_trgm`, `pg_stat_statements`, `hstore`, `uuid-ossp`, `citext`, `ltree`, `pgcrypto`, `unaccent`). Extensions that reach the server's files or run untrusted languages are left out. Other engines return an empty list. The database must be `running`. # List engine parameters Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-parameters GET /api/v1/databases/{database_id}/parameters The engine settings in effect (for example `max_connections` or `work_mem`), with the default and where each value comes from: `plan` (set by the plan size), `override` (set through `engine_config`), or `engine` (engine default). Read-only: settings follow the plan; the only setting you choose is Valkey's `maxmemory-policy` at create. # List database plans Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-plans GET /api/v1/databases/plans Pricing tiers for managed databases, plus the high availability, read replica, and extra storage pricing. Use the plan `id` as `plan_id` when creating or scaling a database. The same catalog is available without authentication at `GET /api/v1/public/pricing/database`. # List saved queries Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-saved-queries GET /api/v1/databases/{database_id}/saved-queries Queries saved for this database, shared by everyone on the account. # List database users Source: https://docs.rafftechnologies.com/api-reference/databases/list-database-users GET /api/v1/databases/{database_id}/users The users (roles) inside the database engine, with what each can do. `kind` tells them apart: `admin` is the user created with the database, `scoped` are users you added, `binding` are users Raff created for an app or function, and `system` are engine users you cannot change. # List databases Source: https://docs.rafftechnologies.com/api-reference/databases/list-databases GET /api/v1/databases List the managed databases of the account, or of one project with `X-Project-ID`. Each database includes its live numbers in `metrics` (connections, storage, operations per second), sampled every minute; `metrics` is `null` until the first sample. # Restore database Source: https://docs.rafftechnologies.com/api-reference/databases/restore-database POST /api/v1/databases/{database_id}/restore Restore a database to a backup or a point in time, either into a new database (`clone_to_new: true`) or over this one (`in_place: true`). <Note> Before restoring, get a **backup ID** or the **restore window** from [List backups](/api-reference/databases/list-database-backups). </Note> Choose the restore point with `backup_id` (a completed backup with `restorable: true`) or, for PostgreSQL and MySQL on paid plans, `pitr_timestamp` (any time from `restore_window_start` on the backup list until now). Omit both to restore the latest available state. A point outside the window returns `400`. Set exactly one of `clone_to_new` and `in_place`. - **New database**: inherits the source's plan, storage, VPC, and project, starts with no read replicas, and bills pay-as-you-go. High availability is an explicit choice via `ha_enabled`, never inherited. If `new_name` is taken, the platform adds a suffix (`-2`, `-3`, …). Poll `GET /api/v1/databases/{new_database_id}` like any create. Free databases cannot restore into a new database. - **In place**: overwrites this database. A safety backup is taken first, the status is `restoring` while it runs, and `new_database_id` is empty. Data written after the restore point is lost. # Resume a paused database Source: https://docs.rafftechnologies.com/api-reference/databases/resume-database POST /api/v1/databases/{database_id}/resume Wake a free-tier database that was suspended for idleness (no client connections for 7 days). The database returns through `deploying` and reaches `running` in about a minute; all data is preserved. # Rotate credentials Source: https://docs.rafftechnologies.com/api-reference/databases/rotate-database-credentials POST /api/v1/databases/{database_id}/credentials/rotate Generate a new password for the admin user (`raffadmin`). New connections must use the new password; update your apps right away. Fetch it via `GET /api/v1/databases/{database_id}/connection?reveal=true`. # Rotate database user password Source: https://docs.rafftechnologies.com/api-reference/databases/rotate-database-user POST /api/v1/databases/{database_id}/users/{name}/rotate Give a user you added a new password, returned once in the response. Open connections keep working until they disconnect. PostgreSQL, MySQL and ClickHouse; Valkey and Kafka return `501`. # Run a query Source: https://docs.rafftechnologies.com/api-reference/databases/run-database-query POST /api/v1/databases/{database_id}/console Run one statement against the database and get the result: SQL for PostgreSQL, MySQL, and ClickHouse, one command for Valkey, or one of these commands for Kafka: `TOPICS`, `DESCRIBE <topic>`, `CREATE-TOPIC <name> [partitions]`, `DELETE-TOPIC <name>`, `PRODUCE <topic> <message>`, `CONSUME <topic> [n]`, `GROUPS`. `TOPICS` returns each topic's partitions, copies, retention, messages kept, readers, and lag. - Runs as the admin user, read-only unless you set `read_only: false`. A read-only run refuses writes. - Returns at most `max_rows` rows (default 1,000, ceiling 5,000); `truncated` is `true` when more rows existed. - A statement is stopped after 15 seconds. Each row carries its values as strings in `cells`, with `nulls[i]` set when value `i` is SQL `NULL`. # Save a query Source: https://docs.rafftechnologies.com/api-reference/databases/save-database-saved-query PUT /api/v1/databases/{database_id}/saved-queries Save a query under a name, shared by everyone on the account. Saving again with the same name replaces it. Name up to 80 characters, statement up to 20,000 characters, up to 100 saved queries per database. # Scale database Source: https://docs.rafftechnologies.com/api-reference/databases/scale-database POST /api/v1/databases/{database_id}/scale Change the plan, storage, high availability, or read replica count of a running database. - **Plan**: the new plan must be the same engine. Its included storage sets a floor: storage never shrinks below the new tier's allotment. - **Storage**: `storage_gb` can only grow. Omit (or `0`) to keep the current size. - **High availability**: set `set_ha: true` and put the desired state in `has_ha`. When `set_ha` is `false` or omitted, HA is unchanged. MySQL high availability is chosen at create: turning it on for a MySQL database without it returns `400`. - **Read replicas**: `replica_count` is always applied: pass your current count when you are not changing it. PostgreSQL only, 0 to 5; other engines reject a count above 0. A free database can only move to a paid plan; its size is fixed. The database restarts briefly for plan, high availability and replica changes; growing storage needs no restart. Poll `GET /api/v1/databases/{database_id}` until `status` is back to `running`. ## Billing - **Monthly database**: a change that costs more is charged for the rest of the current month before it applies (account balance first, then the card); a change that costs less credits the unused part to the balance once it applies. The monthly price changes with it. - **Free database to a paid plan**: the database becomes a monthly subscription and keeps its data, address and password. The first month is charged once the change applies; a card that can be charged automatically is required. - **Pay-as-you-go database**: the new hourly price applies from the change. # Enable or disable extension Source: https://docs.rafftechnologies.com/api-reference/databases/set-database-extension POST /api/v1/databases/{database_id}/extensions Turn a PostgreSQL extension on (`CREATE EXTENSION ... CASCADE` in `defaultdb`) or off. Takes a second, no restart. Use a `name` from [List extensions](/api-reference/databases/list-database-extensions), for example `vector`. PostgreSQL only; the database must be `running`. # Set public access Source: https://docs.rafftechnologies.com/api-reference/databases/set-database-public-access POST /api/v1/databases/{database_id}/public-access Open or close public access to the database. When enabled, the database is reachable at `{database_id}.public.db.raffusercloud.com` on the port pair Raff assigns to it (`public_port` on the database object). For PostgreSQL, `public_port` is the pooled endpoint and `public_port + 1` is the direct endpoint, each capped at the plan's connection limit for that endpoint. TLS is always required. PostgreSQL is also reachable on the standard ports of the same hostname: 6543 (pooled) and 5432 (direct). These route by the hostname your client sends during TLS, so use the hostname, not an IP address. The ports stay assigned while public access is off, so enabling it again returns the same ports. They are released only when the database is deleted. `allowlist` restricts which source addresses may connect: up to 20 IPv4 addresses or CIDR ranges. Omit it to keep the stored list; pass `[]` to allow all sources. Re-post `enabled: true` with a new `allowlist` to update the restriction in place. Turning public access on returns once the public address accepts connections, usually within seconds. Kafka is private only and is refused. # Rename database Source: https://docs.rafftechnologies.com/api-reference/databases/update-database PATCH /api/v1/databases/{database_id} Update the display name of a database. Connection endpoints are based on the immutable `database_id` and do not change. # Add an SSH Key to a VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/add-vm-ssh-key POST /api/v1/vms/{id}/ssh-keys Add a key to root's `authorized_keys` on a running Linux server, at once and without a restart. `ssh_key` is the ID of a saved key or a public key (the same rule as saved keys); with `save_as`, a public key is also saved to your account under that name. A key the server already has changes nothing (`changed: 0`). The key also goes into the server's settings, so a factory reset keeps it. Every change is emailed to the account owner and written to the audit log. Needs `vm.ssh_keys`; in the dashboard it also asks for a two-factor code. <sub>Updated October 21, 2026</sub> # Add tag to VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/add-vm-tag POST /api/v1/vms/{id}/tags Attach a custom tag to a virtual machine. Tags help organize and filter resources. Returns the updated full tag list for the VM. Tags belong to the account: when the account has no tag of this name, it is created (with `priority`, which is used only then). When the tag carries a firewall in the server's project, `firewall` names it and `firewall_queued` is `true`: Raff puts that firewall on the server's public network interfaces in the background, about 20 seconds later. <sub>Updated November 10, 2026</sub> # Append to VM note Source: https://docs.rafftechnologies.com/api-reference/endpoint/append-vm-note POST /api/v1/vms/{id}/notes/{type}/append Append `content` to the existing note (separated by a newline). If no note exists yet for this scope, the new content becomes the entire note body. Use this when you want to add to a note without losing what's already there — for example, a teammate adding a line to the shared `account` note. <sub>Updated May 8, 2026</sub> # Attach firewall to VM NIC Source: https://docs.rafftechnologies.com/api-reference/endpoint/attach-vm-firewall POST /api/v1/vms/{id}/security-groups Attach a security group to a specific network interface on a VM. The security group's rules apply to inbound and outbound traffic on that NIC. Use `nic_id` from `GET /api/v1/vms/{id}/networks` to target a specific interface. <sub>Updated May 8, 2026</sub> # Attach floating IP to VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/attach-vm-ip POST /api/v1/vms/{id}/ip Attach a floating public IP to a virtual machine. Pick **one** of two modes: ## Option A — attach a reserved IP (use `ip_id`) Pass `ip_id` set to a previously reserved IP (from `POST /api/v1/ips/reserve` or `GET /api/v1/ips?reserved=true`). The IP must: - belong to the same account - not be currently attached to another VM - have `reserved: true` No new billing on attach — you're already paying for the reserved IP. A VM can hold up to **4 public IPv4 addresses**. The first IPv4 on a VM becomes its primary address; additional IPv4s must be reserved IPs attached with `ip_id`. ## Option B — auto-assign a new IP (use `type`) Leave `ip_id` empty and pass `type` to allocate a fresh IP from the pool: - `type: IPv4` (default if omitted) - `type: IPv6` Auto-assign is available only while the VM has no public IP of that family, and the IP is included with the VM at no extra charge. It is not reserved: detaching releases it back to the shared pool. ## Notes - Auto-assign (`type`) fails if the VM already has a public IP of the same family — attach a reserved IP (`ip_id`) to add more IPv4s, up to 4 total. - Optionally pass `security_groups` (UUID array) to apply security groups to the new NIC. <sub>Updated May 8, 2026</sub> # Attach VM to VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/attach-vm-to-vpc POST /api/v1/vms/{id}/vpc Attach a virtual machine to a VPC. The VM gains a private network interface inside the VPC. Use `ip` to request a specific private IP from the VPC's CIDR range. If omitted, an IP is auto-assigned. <sub>Updated May 8, 2026</sub> # Bulk Delete VMs Source: https://docs.rafftechnologies.com/api-reference/endpoint/bulk-delete-vms DELETE /api/v1/vms/bulk Delete up to 50 virtual machines in a single request. Each VM is processed independently — if some deletions fail, others still succeed. The response includes per-VM results so you can identify and retry failures. ## Attached Volumes Control what happens to volumes attached to the VMs with `volume_action`: - **`detach`** (default) — volumes are detached and kept. They remain billable and can be re-attached to another VM. - **`delete`** — volumes are permanently deleted along with the VM. ## VPC Cleanup Set `delete_vpc` to `true` to also delete each VM's associated VPC (default `false`). A VPC is only deleted if no other VMs are using it. ## Billing For VMs with active subscriptions, the remaining prepaid balance is refunded pro-rata (hourly precision) to your account balance. <sub>Updated May 8, 2026</sub> # Change reserved IP Source: https://docs.rafftechnologies.com/api-reference/endpoint/change-ip POST /api/v1/ips/{id}/change Swap a reserved IP for a different one from the available pool. The subscription stays the same — no extra charge, no refund. Useful if the current IP is blacklisted somewhere. The IP must be reserved (not currently attached to a VM). <sub>Updated May 8, 2026</sub> # Create firewall Source: https://docs.rafftechnologies.com/api-reference/endpoint/create-firewall POST /api/v1/security-groups Create a new security group with a set of inbound/outbound rules. Optionally seed from a template (`template_id` from `GET /api/v1/security-groups/templates`) — its rules are copied as the starting set, then merged with any explicit `rules` you pass. <sub>Updated May 8, 2026</sub> # Create tag Source: https://docs.rafftechnologies.com/api-reference/endpoint/create-tag POST /api/v1/tags Create an account tag. Tag names are unique per account, ignoring case. Add the tag to servers with `POST /api/v1/vms/{id}/tags`, and link it to a firewall with `PUT /api/v1/security-groups/{id}/tags`. Needs the `account.tags.manage` permission (account Owner and Admin by default). <sub>Updated November 10, 2026</sub> # Create VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/create-vm POST /api/v1/vms Create a new virtual machine with a chosen OS template, compute plan, and region. The VM is automatically assigned to a VPC for private networking. ## Authentication How your VM is accessed depends on the OS: - **Linux** — provide `ssh_keys`, `password`, or both. At least one is required. - **Windows** — `password` is required. SSH keys are not supported. ## Extra Storage Set `extra_storage` (GB) to attach an additional block volume. On Linux, choose the filesystem with `extra_storage_type` (defaults to `ext4`). Windows volumes are automatically formatted as NTFS. ## Backups - **Daily** — set `backup_type` to `daily`. Runs every day at `backup_time` (defaults to `8am`). - **Weekly** — set `backup_type` to `weekly` with a `backup_date` (e.g. `Saturday`). Runs at `backup_time`. Omit `backup_type` or set it to `none` to skip backups. ## VPC Network Each VM is attached to a VPC for private networking: 1. **Use existing** — set `vpc_id` to join an existing VPC. 2. **Create new** — set `vpc_name` and `vpc_cidr` to create a custom VPC. 3. **Auto-create** (default) — leave all VPC fields empty. A VPC named `vpc-{vm-name}` is created automatically. ## Cost-Optimized plans A `pricing_id` of a `cost_optimized` plan creates a Cost-Optimized server: its disk is on its node's local NVMe and it has no uptime commitment. It takes Linux templates only, those listed by [List templates](/api-reference/catalog/list-templates) with `vm_type=cost_optimized`; a Windows template is refused. Its backups cover the OS disk, and `extra_storage` creates a volume for Cost-Optimized servers. ## Billing Checks Before provisioning, the API validates: - Account billing status (not banned, no failed payments) - Active payment method exists <sub>Updated November 10, 2026</sub> # Create VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/create-vpc POST /api/v1/vpcs Create a new virtual private cloud. Pick a `cidr` block that doesn't overlap with any of your existing VPCs. ## CIDR planning Use `GET /api/v1/vpcs/cidr-suggestions` to get suggested non-overlapping CIDR blocks if you don't have one in mind. <sub>Updated May 8, 2026</sub> # Delete firewall Source: https://docs.rafftechnologies.com/api-reference/endpoint/delete-firewall DELETE /api/v1/security-groups/{id} Delete a security group. The group must not be attached to any VM NIC. Detach it first via `DELETE /api/v1/vms/{id}/security-groups/{sg_id}/{nic_id}`. <sub>Updated May 8, 2026</sub> # Delete tag Source: https://docs.rafftechnologies.com/api-reference/endpoint/delete-tag DELETE /api/v1/tags/{id} Delete a tag. It is removed from every server and every firewall link. Firewalls the tag put on servers stay on those servers. Needs the `account.tags.manage` permission (account Owner and Admin by default). <sub>Updated November 10, 2026</sub> # Delete VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/delete-vm DELETE /api/v1/vms/{id} Permanently delete a virtual machine and release its resources. ## Attached Volumes Control what happens to volumes attached to the VM with `volume_action`: - **`detach`** (default) — volumes are detached and kept. They remain billable and can be re-attached to another VM. - **`delete`** — volumes are permanently deleted along with the VM. ## VPC Cleanup Set `delete_vpc` to `true` to also delete the VM's associated VPC. The VPC is only deleted if no other VMs are using it. ## Billing If the VM has an active subscription, the remaining prepaid balance is refunded pro-rata (hourly precision) to your account balance. <sub>Updated May 8, 2026</sub> # Delete VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/delete-vpc DELETE /api/v1/vpcs/{id} Delete a VPC. The VPC must not have any VMs attached — detach them first via `DELETE /api/v1/vms/{id}/vpc/{nic_id}`. <sub>Updated May 8, 2026</sub> # Detach firewall from VM NIC Source: https://docs.rafftechnologies.com/api-reference/endpoint/detach-vm-firewall DELETE /api/v1/vms/{id}/security-groups/{sg_id}/{nic_id} Remove a security group from a specific NIC on a VM. <sub>Updated May 8, 2026</sub> # Detach VM from VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/detach-vm-from-vpc DELETE /api/v1/vms/{id}/vpc/{nic_id} Detach a VM's network interface from its VPC. Use the `nic_id` from `GET /api/v1/vms/{id}/networks` to identify the interface. <sub>Updated May 8, 2026</sub> # Detach floating IP from VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/detach-vm-ip DELETE /api/v1/vms/{id}/ip/{nic_id} Detach a floating IP from a VM. A reserved IP returns to your reserved pool and **continues to be billed** until you release it via `DELETE /api/v1/ips/{id}/reserve`. An auto-assigned IP is released back to the shared pool. Use the `nic_id` from `GET /api/v1/vms/{id}/networks`. If you detach the VM's primary IPv4 while other IPv4s remain attached, the lowest-numbered remaining IPv4 becomes the new primary. <sub>Updated May 8, 2026</sub> # Factory Reset VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/factory-reset-vm POST /api/v1/vms/{id}/factory-reset Factory reset a virtual machine to its original state. This will destroy all data on the VM and restore it to the original template. <sub>Updated May 8, 2026</sub> # Get firewall Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-firewall GET /api/v1/security-groups/{id} Get details of a single security group, including its rules. <sub>Updated May 8, 2026</sub> # Get firewall tags Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-firewall-tags GET /api/v1/security-groups/{id}/tags The tags this firewall is linked to in its own project, and how far Raff is with putting the firewall on their servers (jobs of the last day, by status). <sub>Updated November 10, 2026</sub> # Get floating IP Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-ip GET /api/v1/ips/{id} Get details of a single floating IP. <sub>Updated May 8, 2026</sub> # Get VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-vm GET /api/v1/vms/{id} Get details of a specific virtual machine. <sub>Updated May 8, 2026</sub> # Get VM notes Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-vm-notes GET /api/v1/vms/{id}/notes Get the personal and account-shared notes attached to a VM. - **Personal note** — visible only to the user that wrote it. - **Account note** — visible to all members of the account. Use the optional `type` query param to fetch only one scope. Either or both fields may be absent from the response if no note has been written yet — in that case only `{ "success": true }` is returned. <sub>Updated May 8, 2026</sub> # Get VM tag firewall Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-vm-tag-firewall GET /api/v1/vms/{id}/tag-firewall The firewalls this server's tags carry in its project, and the server's latest tag firewall job. When `conflict` is `true`, the server's tags carry different firewalls in its project, so Raff changes nothing on the server. Remove a tag, unlink a firewall, or choose the firewall by hand with `POST /api/v1/vms/{id}/security-groups`. <sub>Updated November 10, 2026</sub> # Get VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/get-vpc GET /api/v1/vpcs/{id} Get details of a single VPC. The response wraps the core VPC fields under `data.vpc` and includes additional detail fields (`ip_range_start`, `ip_range_end`, `leases`) at the same level. <sub>Updated May 8, 2026</sub> # Hard reboot VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/hard-reboot-vm POST /api/v1/vms/{id}/reboot-hard Force an immediate power-off and restart of a virtual machine, **without** a graceful shutdown. ## When to use Use this only when a soft reboot (`POST /api/v1/vms/{id}/reboot`) does not work — for example, the VM is hung and not responding to OS-level signals. ## Risks - **Unsaved data may be lost.** Filesystems and applications cannot flush state before power-off. - **Filesystem corruption is possible.** Hard power-off skips clean unmount. Prefer the standard reboot whenever the VM is responsive. <sub>Updated May 8, 2026</sub> # List firewall templates Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-firewall-templates GET /api/v1/security-groups/templates Pre-built security group templates customers can clone when creating a new group (e.g. "Web server", "SSH only", "Database"). Pass the chosen `id` as `template_id` on `POST /api/v1/security-groups`. <sub>Updated May 8, 2026</sub> # List firewalls Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-firewalls GET /api/v1/security-groups List the account's security groups. Pass `X-Project-ID` to scope to one project, or omit it to list across all accessible projects. <sub>Updated May 8, 2026</sub> # List floating IPs Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-ips GET /api/v1/ips List the account's floating (public) IP addresses, including reserved IPs and IPs currently attached to VMs. Filter to just reserved IPs with `?reserved=true`. <sub>Updated May 8, 2026</sub> # List tags Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-tags GET /api/v1/tags List the account's tags with their colour, priority, server count and the firewalls they carry. `data` holds every tag of the account. `server_count` counts only servers in projects you can see: pass `X-Project-ID` to count one project. `tags` and `counts` are kept for older clients: they list only the tags on servers you can see. Use `data`. <sub>Updated November 10, 2026</sub> # List VM network interfaces Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-vm-networks GET /api/v1/vms/{id}/networks List all network interfaces (NICs) attached to a virtual machine. Each NIC has a `nic_id` used when detaching from a VPC, IP, or security group. Use `?type=` to filter by interface type (`public`, `vpc`, or `ipv6`). <sub>Updated May 8, 2026</sub> # List SSH Keys on a VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-vm-ssh-keys GET /api/v1/vms/{id}/ssh-keys The keys in root's `authorized_keys` on a running Linux server, read from the server itself through its QEMU guest agent (a few seconds). Each key is named after your saved key with the same fingerprint; a key someone added on the server itself has no saved key. SSH keys are managed on Linux servers only. Needs `vm.view`. <sub>Updated October 21, 2026</sub> # List VMs Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-vms GET /api/v1/vms List all virtual machines for the authenticated account. <sub>Updated May 8, 2026</sub> # Suggest CIDR blocks for new VPCs Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-vpc-cidr-suggestions GET /api/v1/vpcs/cidr-suggestions Returns suggested CIDR blocks that don't overlap with the account's existing VPCs. Use one of these as `cidr` when creating a new VPC. <sub>Updated May 8, 2026</sub> # List VPCs Source: https://docs.rafftechnologies.com/api-reference/endpoint/list-vpcs GET /api/v1/vpcs List virtual private clouds (VPCs). Pass `X-Project-ID` to scope to a specific project. Omit it to list all VPCs you have access to across the account. <sub>Updated May 8, 2026</sub> # Reboot VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/reboot-vm POST /api/v1/vms/{id}/reboot Reboot a running virtual machine. <sub>Updated May 8, 2026</sub> # Reinstall VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/reinstall-vm POST /api/v1/vms/{id}/reinstall Reinstall a virtual machine with a new OS template. This will destroy all data on the VM. <sub>Updated May 8, 2026</sub> # Release a reserved IP Source: https://docs.rafftechnologies.com/api-reference/endpoint/release-ip DELETE /api/v1/ips/{id}/reserve Release a reserved IP back to the pool. ## Billing For subscription IPs the remaining prepaid balance is refunded pro-rata (hourly precision) to your account balance. For PAYG IPs the IP simply stops accruing further hourly usage — no refund is needed. The IP must not be attached to a VM. Detach it first via `DELETE /api/v1/vms/{id}/ip/{nic_id}`. <sub>Updated May 8, 2026</sub> # Remove an SSH Key from a VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/remove-vm-ssh-key DELETE /api/v1/vms/{id}/ssh-keys/{fingerprint} Remove the key with this fingerprint from root's `authorized_keys` on a running Linux server, and from the server's settings so it does not come back at the next restart. Put the fingerprint in the path as `ssh-keygen -l` shows it, slashes included. Root's last key is removed only with `confirm_last=true`: a server created with only an SSH key has password sign-in turned off. Every change is emailed to the account owner and written to the audit log. Needs `vm.ssh_keys`; in the dashboard it also asks for a two-factor code. <sub>Updated October 21, 2026</sub> # Remove VM tag Source: https://docs.rafftechnologies.com/api-reference/endpoint/remove-vm-tag DELETE /api/v1/vms/{id}/tags/{tagId} Remove a tag from a VM. Returns the updated full tag list for the VM. A firewall the tag put on the server stays on it. Pass `reset_firewall=true` to also put the server's public network interfaces back on the Raff Default Firewall. ## Finding the tag ID Tags are returned in the `tags` array of `GET /api/v1/vms/{id}`. Each tag includes its `id`, `name`, `priority`, and `created_at`. Use the tag's `id` as `tagId` here. <sub>Updated November 10, 2026</sub> # Rename VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/rename-vm PATCH /api/v1/vms/{id}/rename Rename a virtual machine. <sub>Updated May 8, 2026</sub> # Reserve a floating IP Source: https://docs.rafftechnologies.com/api-reference/endpoint/reserve-ip POST /api/v1/ips/reserve Reserve a floating public IP. The IP is allocated immediately and held for your account until you release it. ## Billing Reserved IPs are billed. For subscription accounts the IP price is charged from the account balance up front for the chosen `billing_period` (default monthly): - **Insufficient balance** for the subscription returns `402`. Top up the balance and retry. For pay-as-you-go (PAYG) accounts no upfront charge happens — usage accrues hourly. <sub>Updated May 8, 2026</sub> # Reset VM Password Source: https://docs.rafftechnologies.com/api-reference/endpoint/reset-vm-password POST /api/v1/vms/{id}/reset-password Set a new root (Linux) or Administrator (Windows) password and email it to the account owner. On a running server Raff sets it in the server itself and the server confirms it, without a restart (`result: set`). A server Raff cannot reach that way gets it through its settings (`result: applying`): a running Linux server restarts to apply it, Windows takes it within about a minute, and a stopped server when it starts; `message` says which. If the server refuses the new password (for example its password policy), `success` is false, `error` gives the server's reason, and the old password still works. <sub>Updated May 8, 2026</sub> # Resize VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/resize-vm POST /api/v1/vms/{id}/resize Resize a virtual machine's CPU and RAM by selecting a new pricing plan. The VM must be stopped before resizing. A Cost-Optimized server resizes only to another `cost_optimized` plan, and other servers cannot move to one: such a request is refused. ## Billing For subscription VMs, the price difference is calculated pro-rata for the remaining billing period: - **Upgrade** — the difference is deducted from your account balance. If your balance is insufficient, the request fails with `402`. - **Downgrade** — the pro-rata credit is added to your account balance. The new subscription price takes effect immediately. <sub>Updated May 8, 2026</sub> # Resize VM Disk Source: https://docs.rafftechnologies.com/api-reference/endpoint/resize-vm-disk POST /api/v1/vms/{id}/disk/resize Increase the primary disk of a virtual machine. The VM must be stopped. Disk size can only be increased. ## Billing For subscription VMs, the storage cost difference is calculated pro-rata and deducted from your account balance. Returns `402` if insufficient balance. <sub>Updated May 8, 2026</sub> # Save VM disk as custom image Source: https://docs.rafftechnologies.com/api-reference/endpoint/save-vm-disk-as-image POST /api/v1/vms/{id}/save-image Save a VM's disk (live state or a snapshot) as a reusable custom OS image. The new image becomes available alongside the public OS templates and can be passed as `template_id` when creating a new VM. ## Sources Pick what to capture with `disk_id` and `snapshot_id`: - `disk_id: 0` — the OS disk - `disk_id: 1+` — an attached volume - `snapshot_id: -1` — capture the **current live disk state** (stop the VM first for a consistent image) - `snapshot_id: <id>` — capture from a specific saved snapshot <sub>Updated May 8, 2026</sub> # Set firewall tags Source: https://docs.rafftechnologies.com/api-reference/endpoint/set-firewall-tags PUT /api/v1/security-groups/{id}/tags Make these the firewall's tags in the firewall's own project. Raff then puts the firewall on the public network interfaces of every server of that project that has one of the tags. This runs in the background, about 20 seconds per server; follow it with `job_counts` here or with `GET /api/v1/vms/{id}/tag-firewall`. Send the full list: tags left out are unlinked. Unlinking a tag leaves its firewall on the servers. Send `tag_ids: []` to unlink every tag. In a project a tag carries at most one firewall. A tag that already carries another firewall in this project is refused with "this tag cannot carry a second firewall in this project: it already carries one". Needs the `account.tags.manage` permission (account Owner and Admin by default). <Note> Before linking tags, you need: - A **firewall ID**: get it from [List firewalls](/api-reference/endpoint/list-firewalls) - **Tag IDs**: get them from [List tags](/api-reference/endpoint/list-tags), or create one with [Create tag](/api-reference/endpoint/create-tag) </Note> <sub>Updated November 10, 2026</sub> # Set console access policy Source: https://docs.rafftechnologies.com/api-reference/endpoint/set-vm-console-policy PATCH /api/v1/vms/{id}/console-policy Toggle whether the VM's web console (terminal or VNC) asks for a fresh two-factor code before it opens. Off by default. When on, the dashboard prompts for the authenticator code (a confirmation unlocks protected consoles for 1 hour), and API keys cannot open the console. Which members may open the console at all is governed by the `vm.console` permission. <sub>Updated September 8, 2026</sub> # Start VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/start-vm POST /api/v1/vms/{id}/start Start a stopped virtual machine. <sub>Updated May 8, 2026</sub> # Stop VM Source: https://docs.rafftechnologies.com/api-reference/endpoint/stop-vm POST /api/v1/vms/{id}/stop Stop a running virtual machine. The VM will retain its resources and can be started again. <sub>Updated May 8, 2026</sub> # Update firewall Source: https://docs.rafftechnologies.com/api-reference/endpoint/update-firewall PUT /api/v1/security-groups/{id} Update a security group's name, description, or rules. Passing `rules` replaces the entire rule set — to add or remove a single rule, GET the current rules first, modify the array, then PUT the result. <sub>Updated May 8, 2026</sub> # Update tag Source: https://docs.rafftechnologies.com/api-reference/endpoint/update-tag PATCH /api/v1/tags/{id} Rename, recolour or reprioritise a tag. The change shows on every server that has the tag. Send `priority: null` or `priority: 0` to remove the priority. Needs the `account.tags.manage` permission (account Owner and Admin by default). <sub>Updated November 10, 2026</sub> # Update VM note Source: https://docs.rafftechnologies.com/api-reference/endpoint/update-vm-note PATCH /api/v1/vms/{id}/notes/{type} Replace an existing note's content. Unlike `PUT` (which creates the note if missing), `PATCH` returns **404** when no note exists yet for this scope. Use this when you want to fail loudly if the note isn't there — i.e. when you intend to edit, not create. For "create or replace" semantics use `PUT /api/v1/vms/{id}/notes/{type}`. For appending without losing existing content use `POST /api/v1/vms/{id}/notes/{type}/append`. <sub>Updated May 8, 2026</sub> # Update VM tag Source: https://docs.rafftechnologies.com/api-reference/endpoint/update-vm-tag PATCH /api/v1/vms/{id}/tags/{tagId} Update a tag's name or priority on a specific VM. Returns the updated full tag list for the VM. A new `name` moves the server from this tag to the account tag of that name (created when missing). Priority belongs to the account tag: a different `priority` for the same tag is refused; change it for every server with `PATCH /api/v1/tags/{id}`. ## Finding the tag ID Tags are returned in the `tags` array of `GET /api/v1/vms/{id}`. Each tag includes its `id`, `name`, `priority`, and `created_at`. Use the tag's `id` as `tagId` here. <sub>Updated November 10, 2026</sub> # Update VPC Source: https://docs.rafftechnologies.com/api-reference/endpoint/update-vpc PUT /api/v1/vpcs/{id} Update a VPC's name or description. CIDR cannot be changed after creation. <sub>Updated May 8, 2026</sub> # Upsert VM note Source: https://docs.rafftechnologies.com/api-reference/endpoint/upsert-vm-note PUT /api/v1/vms/{id}/notes/{type} Create or fully replace the personal or account note on a VM. ## Behavior This is an **overwrite**, not an append — the request `content` becomes the entire note body. To append, fetch the existing note via `GET /api/v1/vms/{id}/notes` first, concatenate, and PUT the combined value. ## Scopes - **`type: personal`** — one note per user per VM (unique on `vm_id + user_id`). Visible only to the user that wrote it. - **`type: account`** — one note per account per VM (unique on `vm_id + account_id`). Visible to all account members; any member with permission can update it. ## Clearing a note Pass `content: ""` to set an empty note. The note row is kept (still returned by `GET /notes`); only the content is empty. <sub>Updated May 8, 2026</sub> # All Endpoints Source: https://docs.rafftechnologies.com/api-reference/endpoints Every endpoint in the Raff REST API, grouped by category <sub>Updated May 10, 2026</sub> > [!NOTE] > > The Raff public API is currently in **Beta** (v1.0.0). The endpoint surface is stable; minor backward-compatible changes may land before GA. Track them in the [Changelog](/api-reference/changelog). The Raff API has **113 endpoints across 15 categories**. Pick a group below to jump straight to its reference, or use the sidebar to drill down further. > [card] [Catalog](/api-reference/catalog/list-regions) > > 7 endpoints — regions, OS templates, and pricing for VMs, volumes, snapshots, backups, and IPs. No auth required. > [card] [Projects](/api-reference/projects/list-projects) > > 5 endpoints — create and manage projects to scope resources. > [card] [Virtual Machines](/api-reference/endpoint/list-vms) > > 23 endpoints — VM lifecycle, power, resize, tags, and notes. > [card] [Networking](/api-reference/endpoint/list-vpcs) > > 24 endpoints — VPCs, floating IPs, firewalls, and VM network attachments. > [card] [Volumes](/api-reference/volumes/list-volumes) > > 7 endpoints — block storage CRUD, attach, detach, resize. > [card] [Snapshots](/api-reference/snapshots/list-snapshots) > > 6 endpoints — VM and volume snapshots, restore, rename. > [card] [Backups](/api-reference/backups/list-backups) > > 5 endpoints — on-demand backup CRUD plus restore. > [card] [Backup Schedules](/api-reference/backups/schedules/list-backup-schedules) > > 5 endpoints — daily and weekly backup schedules with retention. > [card] [SSH Keys](/api-reference/ssh-keys/list-ssh-keys) > > 5 endpoints — account-level SSH keys for VM provisioning. > [card] [Members](/api-reference/members/list-members) > > 5 endpoints — invite, list, update, remove account members. > [card] [Project Members](/api-reference/project-members/list-project-members) > > 5 endpoints — same shape, scoped to a project. > [card] [Roles](/api-reference/roles/list-roles) > > 5 endpoints — system + custom roles bundling permissions. > [card] [Permissions](/api-reference/permissions/list-permissions) > > 1 endpoint — full permission catalog used by roles. > [card] [API Keys](/api-reference/api-keys/list-api-keys) > > 6 endpoints — create, list, rotate API keys for automation. > [card] [Invitations](/api-reference/invitations/create-account-invitation) > > 3 endpoints — send and cancel email invitations. ## Conventions Every endpoint shares the same auth, header, and response conventions: * **Auth:** `X-API-Key` header on all endpoints except `/api/v1/public/*` (catalog) and `/health`. * **Project scope:** mutating endpoints require `X-Project-ID` (header). List endpoints accept it optionally to filter to a single project. * **Pagination:** list endpoints support `?limit=` and `?offset=`. * **Response envelope:** `{success: true, data: ..., total: ...}` for lists, `{success: true, data: ...}` for single resources. * **Errors:** `{error: "...", message: "..."}` on 4xx and 5xx. Common statuses: 400 / 401 / 402 / 403 / 404 / 409 / 429. For the full list of headers, error codes, rate limits, and language examples, see [Authentication](/authentication). # Cancel Invitation Source: https://docs.rafftechnologies.com/api-reference/invitations/cancel-invitation DELETE /api/v1/invitations/{id} Cancel a pending invitation. The accept link in the recipient's email becomes invalid. <sub>Updated May 8, 2026</sub> # Create Account Invitation Source: https://docs.rafftechnologies.com/api-reference/invitations/create-account-invitation POST /api/v1/invitations Send an email invitation for someone to join the account with the given role. The recipient gets an email with an accept link. Until they accept, the invitation appears in [List Members](#tag/Members/operation/listMembers) with `status: pending`. <sub>Updated May 8, 2026</sub> # Create Project Invitation Source: https://docs.rafftechnologies.com/api-reference/invitations/create-project-invitation POST /api/v1/projects/{id}/invitations Send an email invitation for someone to join a specific project with the given role. The recipient gets an email with an accept link. <sub>Updated May 8, 2026</sub> # Add Node Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/add-node-pool POST /api/v1/k8s/clusters/{cluster_id}/pools Add a node pool. Nodes deploy asynchronously; the pool is `running` once every node has joined. On a pay-as-you-go cluster the new nodes accrue hourly. On a subscription cluster the API charges the pro-rated cost of the new pool to the saved payment method (balance first) and raises the monthly price; in the dashboard the addition goes through checkout. <sub>Updated August 24, 2026</sub> # Assign Cluster Firewall Source: https://docs.rafftechnologies.com/api-reference/kubernetes/assign-cluster-firewall POST /api/v1/k8s/clusters/{cluster_id}/firewall <sub>Updated August 24, 2026</sub> # Create Kubernetes Cluster Source: https://docs.rafftechnologies.com/api-reference/kubernetes/create-cluster POST /api/v1/k8s/clusters Create a managed Kubernetes cluster. Provisioning is asynchronous — the response returns immediately with `pending` status; the cluster is usable when `ready` is `true` (typically 8–12 minutes). API-created clusters follow the account's billing mode: pay-as-you-go accounts bill per node-hour; subscription accounts are billed monthly — the API validates the saved payment method, creates the subscription, and charges it automatically (same behavior as VM creation). Retries are safe with an `Idempotency-Key` header: a repeated request with the same key returns the cluster created by the first request instead of provisioning a second one. <sub>Updated August 24, 2026</sub> > [!NOTE] > > Before creating a cluster, you need: > > * A **node plan ID** — get one from [List Kubernetes Node Plans](/api-reference/kubernetes/list-node-plans) > * A **project ID** for the `X-Project-ID` header — see [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) > * Optionally a **version ID** from [List Kubernetes Versions](/api-reference/kubernetes/list-kubernetes-versions) (omit for the default) > > API-created clusters bill **pay-as-you-go** per node-hour. Accounts on subscription billing receive `402` — create the cluster from the dashboard instead. Retries are safe with an `Idempotency-Key` header. # Delete Kubernetes Cluster Source: https://docs.rafftechnologies.com/api-reference/kubernetes/delete-cluster DELETE /api/v1/k8s/clusters/{cluster_id} Delete a cluster and all its infrastructure (nodes, networking, reserved IPs, DNS). Deletion is asynchronous. If teardown cannot be completed, the cluster remains visible with status `delete_failed` and nothing is removed — repeat the delete to retry. <sub>Updated August 24, 2026</sub> > [!NOTE] > > If teardown cannot complete, the cluster remains visible with status `delete_failed` and nothing has been removed — repeat the delete to retry. # Delete Node Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/delete-node-pool DELETE /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id} Remove a pool and all its nodes. Each node is cordoned and drained (PodDisruptionBudgets are honoured) before its VM is terminated, one at a time; the operation runs asynchronously and stops — with the pool intact — if a node cannot be emptied. The last pool of a cluster cannot be deleted, and the cluster keeps at least 2 worker nodes. <sub>Updated August 24, 2026</sub> > [!NOTE] > > Every node is cordoned and drained before its VM is terminated, one at a time. The last pool of a cluster cannot be deleted, and the cluster keeps at least 2 worker nodes. # Delete TCP Port Forward Source: https://docs.rafftechnologies.com/api-reference/kubernetes/delete-tcp-port DELETE /api/v1/k8s/clusters/{cluster_id}/tcp-ports/{port} <sub>Updated August 24, 2026</sub> # Get Kubernetes Cluster Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-cluster GET /api/v1/k8s/clusters/{cluster_id} <sub>Updated August 24, 2026</sub> # Get Cluster Firewall Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-cluster-firewall GET /api/v1/k8s/clusters/{cluster_id}/firewall The security group protecting the cluster's public gateway, and the account's security groups available to assign. <sub>Updated August 24, 2026</sub> # Get Cluster Metrics Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-cluster-metrics GET /api/v1/k8s/clusters/{cluster_id}/metrics Live utilization (CPU, memory, pods, per-node breakdown) plus a 24-hour control-plane health summary. Values refresh every 60 seconds. <sub>Updated August 24, 2026</sub> # Get Cluster Utilization Stats Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-cluster-stats GET /api/v1/k8s/clusters/stats Batch utilization snapshot for one or more clusters (CPU, memory, pods, node readiness). Values refresh every 60 seconds. <sub>Updated August 24, 2026</sub> # List Available Version Upgrades Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-cluster-upgrades GET /api/v1/k8s/clusters/{cluster_id}/upgrades The Kubernetes versions this cluster can upgrade to right now — patch releases of its current minor and the next minor (Kubernetes upgrades one minor at a time) — plus the cluster's upgrade state, mode and maintenance window. <sub>Updated August 24, 2026</sub> # Get Kubeconfig Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-kubeconfig GET /api/v1/k8s/clusters/{cluster_id}/kubeconfig Issue a kubeconfig for the cluster. Every kubeconfig expires — the default lifetime is **7 days**; use `expires_in` to choose another (10 minutes to 30 days). Grants full cluster-admin access while valid, so store it like a password, and [rotate access](#tag/Kubernetes/operation/rotateK8sKubeconfigAccess) to invalidate every issued kubeconfig at once. For anything long-running (a workstation, CI), prefer the CLI: `raff kubernetes kubeconfig <cluster-id>` writes a kubeconfig that fetches a fresh token for every `kubectl` command, so it never expires and stores no credential on disk. <sub>Updated August 24, 2026</sub> > [!WARNING] > > The kubeconfig grants full cluster-admin access. Store it like a password and never commit it to a repository. # Get MetalLB Address Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/get-metallb-pool GET /api/v1/k8s/clusters/{cluster_id}/metallb-pool <sub>Updated August 24, 2026</sub> # List Cluster Events Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-cluster-events GET /api/v1/k8s/clusters/{cluster_id}/events Lifecycle events (provisioning steps, scaling, autoscaling, warnings), newest first. <sub>Updated August 24, 2026</sub> # List Cluster Nodes Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-cluster-nodes GET /api/v1/k8s/clusters/{cluster_id}/nodes All nodes of the cluster (control plane, workers, storage, gateway) merged with live Kubernetes state when reachable. <sub>Updated August 24, 2026</sub> # List Kubernetes Clusters Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-clusters GET /api/v1/k8s/clusters List clusters for the authenticated account, newest first. Pass `X-Project-ID` to scope the list to a single project. When omitted, returns clusters across every project the API key has access to. <sub>Updated August 24, 2026</sub> # List Kubernetes Versions Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-kubernetes-versions GET /api/v1/k8s/versions Kubernetes versions available for new clusters. Use `id` as `k8s_version_id` when creating a cluster. <sub>Updated August 24, 2026</sub> # List Kubernetes Node Plans Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-node-plans GET /api/v1/k8s/node-plans Worker node plans plus HA control-plane and storage-node pricing. Same data as `GET /api/v1/public/pricing/kubernetes`. <sub>Updated August 24, 2026</sub> # List Node Pools Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-node-pools GET /api/v1/k8s/clusters/{cluster_id}/pools <sub>Updated August 24, 2026</sub> # List TCP Port Forwards Source: https://docs.rafftechnologies.com/api-reference/kubernetes/list-tcp-ports GET /api/v1/k8s/clusters/{cluster_id}/tcp-ports L4 forwards published on the cluster's public gateway (created when exposing an app over TCP). <sub>Updated August 24, 2026</sub> # Rename Kubernetes Cluster Source: https://docs.rafftechnologies.com/api-reference/kubernetes/rename-cluster PATCH /api/v1/k8s/clusters/{cluster_id} <sub>Updated August 24, 2026</sub> # Reset Cluster Firewall Source: https://docs.rafftechnologies.com/api-reference/kubernetes/reset-cluster-firewall DELETE /api/v1/k8s/clusters/{cluster_id}/firewall Detach the custom security group and restore the platform baseline. <sub>Updated August 24, 2026</sub> # Scale Node Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/scale-node-pool POST /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id}/scale Set the pool's node count (2–20). Scale-up deploys new nodes; scale-down cordons and drains the newest nodes first — honouring PodDisruptionBudgets, never force-deleting — then removes their VMs. Both run asynchronously; watch the pool's `status` and `status_message`. Scale-down credits the remainder on every cluster. Scale-up on a pay-as-you-go cluster accrues hourly; on a subscription cluster the API charges the pro-rated difference to the saved payment method (balance first) and raises the monthly price, while the dashboard routes it through checkout. <sub>Updated August 24, 2026</sub> > [!NOTE] > > Scaling runs asynchronously. Scale-down drains the newest nodes first, honouring PodDisruptionBudgets — a node that cannot be emptied within 10 minutes stops the operation with the reason in the pool's `status_message`. Scale-up on subscription-billed clusters goes through the dashboard checkout (`409` here). # Set Upgrade Mode and Maintenance Window Source: https://docs.rafftechnologies.com/api-reference/kubernetes/update-cluster-maintenance PATCH /api/v1/k8s/clusters/{cluster_id}/maintenance `manual` (default) — you start upgrades yourself. `auto_patch` — patch releases are applied automatically in the maintenance window (notice email ~72h before). `auto_minor` — minors too, after a stability period. The window is 4 hours from `maintenance_start` (UTC) on `maintenance_day`. <sub>Updated August 24, 2026</sub> # Resize MetalLB Address Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/update-metallb-pool PUT /api/v1/k8s/clusters/{cluster_id}/metallb-pool Set how many private IPs MetalLB can hand to `LoadBalancer` services. <sub>Updated August 24, 2026</sub> # Update Node Pool Source: https://docs.rafftechnologies.com/api-reference/kubernetes/update-node-pool PATCH /api/v1/k8s/clusters/{cluster_id}/pools/{pool_id} Update a pool's autoscaling bounds, labels and taints. Labels and taints are applied to the pool's Kubernetes nodes within a minute. <sub>Updated August 24, 2026</sub> # Upgrade Kubernetes Version Source: https://docs.rafftechnologies.com/api-reference/kubernetes/upgrade-cluster-version POST /api/v1/k8s/clusters/{cluster_id}/upgrade Start an in-place Kubernetes upgrade to one of the versions from [List available version upgrades](#tag/Kubernetes/operation/listK8sClusterUpgrades). The upgrade is rolling: control-plane nodes one at a time, then workers drained first (PodDisruptionBudgets honoured). HA clusters upgrade with no API interruption; single-master clusters have a brief interruption and require `confirm_single_master: true`. Progress appears in the cluster events; upgrades are free. <sub>Updated August 24, 2026</sub> # Upgrade to HA Control Plane Source: https://docs.rafftechnologies.com/api-reference/kubernetes/upgrade-to-ha POST /api/v1/k8s/clusters/{cluster_id}/ha Promote a single-master cluster to a 3-master highly available control plane. The flat HA fee starts accruing once enabled. On a pay-as-you-go cluster the flat HA fee simply starts accruing. On a subscription cluster the API charges the pro-rated HA fee to the saved payment method (balance first) and raises the monthly price; in the dashboard the upgrade goes through checkout. <sub>Updated August 24, 2026</sub> # Add Member Source: https://docs.rafftechnologies.com/api-reference/members/add-member POST /api/v1/members Add a new member to the account. There are three ways: - **Email invitation** — pass `email` only. An invitation is sent; the recipient accepts it from the dashboard. The member appears in `pending` status until accepted. Equivalent to calling `POST /api/v1/invitations` directly. - **Direct add** — pass `target_user_id` for a user who already has an account on Raff (e.g. a project-only user being promoted to account member). - **API key** — pass `api_key_id` to make an existing API key a member with the given role. Mutually exclusive with `email` and `target_user_id`. <sub>Updated May 8, 2026</sub> # Get Member Source: https://docs.rafftechnologies.com/api-reference/members/get-member GET /api/v1/members/{id} Get details of a specific account member. <sub>Updated May 8, 2026</sub> # List Members Source: https://docs.rafftechnologies.com/api-reference/members/list-members GET /api/v1/members List all members of the authenticated account, including pending invitations. <sub>Updated May 8, 2026</sub> # Remove Member Source: https://docs.rafftechnologies.com/api-reference/members/remove-member DELETE /api/v1/members/{id} Remove a member from the account. Account owners cannot be removed via this endpoint — transfer ownership first from the dashboard. <sub>Updated May 8, 2026</sub> # Update Member Source: https://docs.rafftechnologies.com/api-reference/members/update-member PATCH /api/v1/members/{id} Update a member's role or status. Pass only the fields you want to change. <sub>Updated May 8, 2026</sub> # List Permissions Source: https://docs.rafftechnologies.com/api-reference/permissions/list-permissions GET /api/v1/permissions List the full catalog of permission strings recognized by the role system. Use this to discover valid values for the `permissions` array on [Create Role](#tag/Roles/operation/createRole) and [Update Role](#tag/Roles/operation/updateRole). Requires authentication, but no specific permission — any valid API key can read the catalog. The catalog is the same for every account. <sub>Updated May 8, 2026</sub> # Add Project Member Source: https://docs.rafftechnologies.com/api-reference/project-members/add-project-member POST /api/v1/projects/{id}/members Add an existing account member (or API key) to a project with a specific role. - Pass `target_user_id` to add a user. The user must already be a member of the account. - Pass `api_key_id` to grant an API key access to this project. Mutually exclusive with `target_user_id`. To invite a brand-new email to a project, use [Create Project Invitation](#tag/Invitations/operation/createProjectInvitation) instead. <sub>Updated May 8, 2026</sub> # Get Project Member Source: https://docs.rafftechnologies.com/api-reference/project-members/get-project-member GET /api/v1/projects/{id}/members/{member_id} <sub>Updated May 8, 2026</sub> # List Project Members Source: https://docs.rafftechnologies.com/api-reference/project-members/list-project-members GET /api/v1/projects/{id}/members List members of a specific project. <sub>Updated May 8, 2026</sub> # Remove Project Member Source: https://docs.rafftechnologies.com/api-reference/project-members/remove-project-member DELETE /api/v1/projects/{id}/members/{member_id} Remove a member from a project. The user remains an account member; only the project-scoped grant is revoked. <sub>Updated May 8, 2026</sub> # Update Project Member Source: https://docs.rafftechnologies.com/api-reference/project-members/update-project-member PATCH /api/v1/projects/{id}/members/{member_id} Change a project member's role or status. <sub>Updated May 8, 2026</sub> # Create Project Source: https://docs.rafftechnologies.com/api-reference/projects/create-project POST /api/v1/projects Create a new project within the authenticated account. <sub>Updated May 8, 2026</sub> # Delete Project Source: https://docs.rafftechnologies.com/api-reference/projects/delete-project DELETE /api/v1/projects/{id} Delete a project. The project must not contain any active resources. <sub>Updated May 8, 2026</sub> # Get Project Source: https://docs.rafftechnologies.com/api-reference/projects/get-project GET /api/v1/projects/{id} Get details of a specific project. <sub>Updated May 8, 2026</sub> # List Projects Source: https://docs.rafftechnologies.com/api-reference/projects/list-projects GET /api/v1/projects List all projects for the authenticated account. <sub>Updated May 8, 2026</sub> # Update Project Source: https://docs.rafftechnologies.com/api-reference/projects/update-project PUT /api/v1/projects/{id} Update an existing project's settings. <sub>Updated May 8, 2026</sub> # Create Role Source: https://docs.rafftechnologies.com/api-reference/roles/create-role POST /api/v1/roles Create a custom role bundling a set of permissions at either account or project scope. Get the list of valid permission strings from [List Permissions](#tag/Permissions/operation/listPermissions). <sub>Updated May 8, 2026</sub> # Delete Role Source: https://docs.rafftechnologies.com/api-reference/roles/delete-role DELETE /api/v1/roles/{id} Delete a custom role. The role must not be in use by any member or API key — reassign them first or deletion will fail. System roles cannot be deleted. <sub>Updated May 8, 2026</sub> # Get Role Source: https://docs.rafftechnologies.com/api-reference/roles/get-role GET /api/v1/roles/{id} <sub>Updated May 8, 2026</sub> # List Roles Source: https://docs.rafftechnologies.com/api-reference/roles/list-roles GET /api/v1/roles List all roles available to the account — both **system roles** (e.g. `Owner`, `Admin`, `Member`, `Operator`) and any **custom roles** the account has defined. <sub>Updated May 8, 2026</sub> # Update Role Source: https://docs.rafftechnologies.com/api-reference/roles/update-role PATCH /api/v1/roles/{id} Update a custom role's name, description, or permission set. **System roles cannot be edited** — return `400 Bad Request`. Editing a role applies to every member and API key currently using it. <sub>Updated May 8, 2026</sub> # Create Snapshot Source: https://docs.rafftechnologies.com/api-reference/snapshots/create-snapshot POST /api/v1/snapshots Create a snapshot of a VM or a volume. - For a **VM snapshot**, set `resource_type` to `vm` and pass the VM UUID as `resource_id`. - For a **volume snapshot**, set `resource_type` to `volume` and pass the integer `volume_id`. <sub>Updated May 8, 2026</sub> # Delete Snapshot Source: https://docs.rafftechnologies.com/api-reference/snapshots/delete-snapshot DELETE /api/v1/snapshots/{id} Permanently delete a snapshot. <sub>Updated May 8, 2026</sub> # Get Snapshot Source: https://docs.rafftechnologies.com/api-reference/snapshots/get-snapshot GET /api/v1/snapshots/{id} Get details of a specific snapshot. <sub>Updated May 8, 2026</sub> # List Snapshots Source: https://docs.rafftechnologies.com/api-reference/snapshots/list-snapshots GET /api/v1/snapshots List snapshots for the authenticated account. Filter by VM, volume, or type. Pass `X-Project-ID` to scope the list to a single project. When omitted, returns snapshots across every project the API key has access to. <sub>Updated May 8, 2026</sub> # Rename Snapshot Source: https://docs.rafftechnologies.com/api-reference/snapshots/rename-snapshot PATCH /api/v1/snapshots/{id}/rename Rename a snapshot. Updates the display name only — does not affect the underlying disk image. <sub>Updated May 8, 2026</sub> # Restore Snapshot Source: https://docs.rafftechnologies.com/api-reference/snapshots/restore-snapshot POST /api/v1/snapshots/{id}/restore Revert the source VM (or volume) to the state captured in this snapshot. For VM snapshots, the VM must be in `passive` state (powered off) before calling this endpoint. After a successful restore, this snapshot's `status` flips to `active` and the previously-active snapshot (if any) is cleared. An `active` snapshot cannot be deleted — restore the source to a different snapshot first, or take a fresh one. <sub>Updated May 8, 2026</sub> # Create SSH Key Source: https://docs.rafftechnologies.com/api-reference/ssh-keys/create-ssh-key POST /api/v1/ssh-keys Add an SSH public key to your account. Pass its `id` (or the key itself) in the `ssh_keys` array on VM create or reinstall to enable key-based login. One key per saved key: the whole line of a `.pub` file. Accepted types: `ssh-ed25519`, `ecdsa-sha2-nistp256`, `ecdsa-sha2-nistp384`, `ecdsa-sha2-nistp521`, `ssh-rsa` (1024 bits or more) and the security key types `sk-ssh-ed25519@openssh.com` and `sk-ecdsa-sha2-nistp256@openssh.com`. DSA keys, `authorized_keys` options and anything that is not a public key are refused. Each key can be saved once per account: saving it again answers 409 with the name it already has. <sub>Updated May 8, 2026</sub> # Delete SSH Key Source: https://docs.rafftechnologies.com/api-reference/ssh-keys/delete-ssh-key DELETE /api/v1/ssh-keys/{id} Permanently delete an SSH key from your account. VMs that already have this key installed continue to accept it until the key is removed from the VM's `~/.ssh/authorized_keys`. <sub>Updated May 8, 2026</sub> # Get SSH Key Source: https://docs.rafftechnologies.com/api-reference/ssh-keys/get-ssh-key GET /api/v1/ssh-keys/{id} Get details of a specific SSH key. <sub>Updated May 8, 2026</sub> # List SSH Keys Source: https://docs.rafftechnologies.com/api-reference/ssh-keys/list-ssh-keys GET /api/v1/ssh-keys List the SSH keys saved in your account. Each key's `servers` are the servers in your projects where Raff last saw it in root's `authorized_keys`: created or reinstalled with it, changed through Raff, or read since. <sub>Updated May 8, 2026</sub> # Update SSH Key Source: https://docs.rafftechnologies.com/api-reference/ssh-keys/update-ssh-key PUT /api/v1/ssh-keys/{id} Update an SSH key's display name. The public key itself cannot be changed — delete and recreate to rotate. <sub>Updated May 8, 2026</sub> # Attach Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/attach-volume POST /api/v1/volumes/{id}/attach Attach a volume to a VM. The VM must be in the same region as the volume. A volume can only be attached to one VM at a time — detach it first if it's already attached elsewhere. A Cost-Optimized server keeps its volumes on its node: it takes the volumes created to attach to a Cost-Optimized server, and they attach to no other server. A volume created on its own attaches to General Purpose, CPU-Optimized and Windows servers. Inside the guest, the volume appears as `/dev/vdb`, `/dev/vdc`, etc. (virtio-blk). <sub>Updated May 8, 2026</sub> # Create Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/create-volume POST /api/v1/volumes Create a new block storage volume. Volumes are created asynchronously — the response returns immediately with `pending` status. Optionally attach the volume to an existing VM at create time by passing `vm_id`. Volume and VM must be in the same region. ## Filesystem For Linux VMs, set `filesystem_type` to choose how the volume is formatted: - `ext4` (default), `xfs`, `btrfs` — Linux filesystems - Omit for Windows VMs — they always use NTFS Filesystem is only applied if the volume is attached to a VM that mounts it via cloud-init or the contextualization script. <sub>Updated May 8, 2026</sub> # Delete Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/delete-volume DELETE /api/v1/volumes/{id} Permanently delete a volume. The volume must be detached from any VM before deletion. ## Billing For subscription volumes, the remaining prepaid balance is refunded pro-rata (hourly precision) to your account balance. <sub>Updated May 8, 2026</sub> # Detach Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/detach-volume POST /api/v1/volumes/{id}/detach Detach a volume from its current VM. Unmount the filesystem inside the guest before calling this endpoint to avoid data corruption. <sub>Updated May 8, 2026</sub> # Get Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/get-volume GET /api/v1/volumes/{id} Get details of a specific volume. <sub>Updated May 8, 2026</sub> # List Volumes Source: https://docs.rafftechnologies.com/api-reference/volumes/list-volumes GET /api/v1/volumes List volumes for the authenticated account. Filter by VM or region. Pass `X-Project-ID` to scope the list to a single project. When omitted, returns volumes across every project the API key has access to. <sub>Updated May 8, 2026</sub> # Resize Volume Source: https://docs.rafftechnologies.com/api-reference/volumes/resize-volume PATCH /api/v1/volumes/{id} Increase the size of a block storage volume. Volume size can only be increased, never decreased. ## Billing For subscription volumes, the storage cost difference is calculated pro-rata and deducted from your account balance. Returns `402` if insufficient balance. <sub>Updated May 8, 2026</sub> # Authentication Source: https://docs.rafftechnologies.com/authentication Authenticate with the Raff API — API keys, required headers, response shape, rate limits, and how to call the API from popular HTTP clients <sub>Updated May 8, 2026</sub> All API endpoints (except `/health` and `/ready`) require authentication via API key. ## API Key Authentication Pass your API key in the `X-API-Key` header. Each key is bound to a specific account. ```bash theme={null} curl -H "X-API-Key: YOUR_API_KEY" \ https://api.rafftechnologies.com/api/v1/vms ``` ## Required Headers | Header | Required | Description | | - | - | - | | `X-API-Key` | Always | Your API key for authentication | | `X-Project-ID` | Mutating endpoints | Project ID for create, delete, power actions, resize, and other write operations | Mutating operations (POST, DELETE, PATCH) return `400 Bad Request` with `"X-Project-ID required"` if this header is missing. ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: YOUR_API_KEY" \ -H "X-Project-ID: YOUR_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{"name": "my-vm", "template_id": "<template-uuid>", "pricing_id": 1, "region": "us-east"}' ``` ## Response Format API responses return the same standard fields: ```json theme={null} { "id": "69590a15-...", "name": "ubuntu-2cpu-4gb-01", "status": "active", "cpu": 2, "ram": 4, "storage": 80, "public_ipv4_address": "15.204.178.3", "price_per_hour": "0.027764", "pricing_id": 3, "billing_type": "payg", "region": "us-east", "created_at": "2025-07-12T02:36:56Z" } ``` ## Managing API Keys API keys are managed from the [Raff Dashboard](https://app.rafftechnologies.com): 1. Click **API Keys** in the sidebar (it's a top-level menu item — not under Settings) 2. Click **Create API Key** 3. Name the key, pick its Account Role (and Project Role if not Owner), set an expiration, and click **Create Key** 4. Copy the key immediately — it's only shown once For the full create flow with roles and permissions preview, see [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key). > [!WARNING] > > Store your API keys securely. Never commit them to version control or expose them in client-side code. ## Rate Limiting Requests are rate-limited **per API key**. The tier is set on the key when it's created (or by Raff support, on request). | Tier | Requests/sec | Burst | Notes | | - | - | - | - | | **Standard** *(default for all new keys)* | **30 / sec** | **60** | The right tier for typical dashboards, scripts, and automation — well above what most workloads sustain | | **High** | **100 / sec** | **200** | For tools that legitimately drive sustained throughput — bulk migrations, monitoring exporters scraping every endpoint, large fleet reconciliation loops | **How it actually works.** The limiter is a sliding 1-second window plus a separate burst budget. As long as you stay within the per-second number, you're fine. If you exceed it briefly, the burst budget covers you for short spikes — once that's consumed, you start getting `429`s until both windows recover. Burst budget refreshes on a 60-second window. When rate-limited, the API returns: ```http theme={null} HTTP/1.1 429 Too Many Requests Retry-After: 1 X-RateLimit-Limit: 30 X-RateLimit-Remaining: 0 { "error": "Rate limit exceeded", "message": "Maximum 30 requests per second allowed for your tier" } ``` **Recommended client behavior:** 1. **Honor the `Retry-After` header.** It tells you exactly when to retry — don't guess 2. **Implement exponential backoff** for `429` and `5xx`: `1s → 2s → 4s → 8s → 16s` capped at \~60s 3. **Coalesce reads** — if you're polling list endpoints every 100 ms in a loop, slow down. Most resources change on second-or-slower timescales 4. **Cache catalog data** — `/api/v1/public/templates`, `/api/v1/public/pricing/vm`, region lists, etc. don't change minute-to-minute. Cache them locally for the lifetime of your script ### Upgrading tier Need more than Standard sustains? Two paths: | Path | When | | - | - | | **Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com)** | Production migration, large fleet bulk-create, tooling that legitimately needs sustained throughput. Tell us the workload and the target peak RPS — we'll move the key to **High** if it's reasonable | | **Stay on Standard** | Anything human-driven (dashboards, ad-hoc scripts, occasional automation). Standard's 30/sec + burst-of-60 covers it with room to spare | There's no self-service upgrade today — it's a support request because we want to understand the use case (and stop accidental loops from flooding the platform). ## Calling the API from HTTP clients Raff doesn't ship a first-party SDK today. The API is plain REST + JSON, so any HTTP client works. The same headers + body apply across languages: > [tab] Python (requests) > > ```python theme={null} > import os, requests > > headers = { > "X-API-Key": os.environ["RAFF_API_KEY"], > "X-Project-ID": os.environ["RAFF_PROJECT_ID"], > "Content-Type": "application/json", > } > > resp = requests.get("https://api.rafftechnologies.com/api/v1/vms", headers=headers, timeout=30) > resp.raise_for_status() > > for vm in resp.json()["data"]: > print(vm["id"], vm["name"], vm["status"]) > ``` > [tab] Node.js (fetch) > > ```javascript theme={null} > const headers = { > "X-API-Key": process.env.RAFF_API_KEY, > "X-Project-ID": process.env.RAFF_PROJECT_ID, > "Content-Type": "application/json", > }; > > const resp = await fetch("https://api.rafftechnologies.com/api/v1/vms", { headers }); > if (!resp.ok) throw new Error(`HTTP ${resp.status}: ${await resp.text()}`); > > const { data } = await resp.json(); > for (const vm of data) console.log(vm.id, vm.name, vm.status); > ``` > [tab] Go (raff-go) > > ```bash theme={null} > go get github.com/rafftechnologies/raff-go > ``` > > ```go theme={null} > package main > > import ( > "context" > "fmt" > "os" > > "github.com/rafftechnologies/raff-go" > ) > > func main() { > client := raff.NewFromToken( > os.Getenv("RAFF_API_KEY"), > raff.SetProjectID(os.Getenv("RAFF_PROJECT_ID")), > ) > > vms, _, err := client.VMs.List(context.Background(), nil) > if err != nil { > fmt.Fprintln(os.Stderr, "list failed:", err) > os.Exit(1) > } > for _, vm := range vms { > fmt.Println(vm.ID, vm.Name, vm.Status) > } > } > ``` > [tab] Ruby (Net::HTTP) > > ```ruby theme={null} > require "net/http" > require "json" > > uri = URI("https://api.rafftechnologies.com/api/v1/vms") > req = Net::HTTP::Get.new(uri) > req["X-API-Key"] = ENV["RAFF_API_KEY"] > req["X-Project-ID"] = ENV["RAFF_PROJECT_ID"] > > resp = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) } > raise "HTTP #{resp.code}: #{resp.body}" unless resp.code == "200" > > JSON.parse(resp.body)["data"].each { |vm| puts "#{vm["id"]} #{vm["name"]} #{vm["status"]}" } > ``` # Adding a new resource to the public API Source: https://docs.rafftechnologies.com/contributing/adding-a-resource # Adding a new resource to the public API Walks through adding a resource end-to-end. The chain is: ``` docs/api-reference/openapi.yaml → raff-go (codegen) → raff-cli → terraform-provider-raff ``` Sync is automated through `make sync` and codegen — when the spec changes, raff-go is regenerated and the consumers rebuild against it. ## Prerequisites * The backend gateway already implements the endpoints you're about to expose. Validate first with `curl` against `https://api.rafftechnologies.com/api/v1/...` and a real API key. * You're working from the workspace root `raff_technologies/` where all four repos live side by side. ## 1. Edit the OpenAPI spec Edit `docs/api-reference/openapi.yaml`: * Add a tag for the resource (e.g. `Volumes`) under `tags:` if it doesn't exist. * Add each operation under `paths:` with a unique `operationId`. Use camelCase verb-resource form: `listVolumes`, `createVolume`, `getVolume`, `resizeVolume`. * Reference request/response schemas with `$ref: '#/components/schemas/Xxx'`. Avoid inline `type: object` definitions — they generate ugly anonymous structs in Go. * Add the resource and request/response schemas under `components/schemas/`. Spec quality rules that affect codegen: * **`required:` arrays** on response schemas matter. Fields marked required generate as non-pointer Go types (`Name string` instead of `*string`). Mark every field that is *always* present in API responses as required. Optional/nullable fields stay non-required. * **Avoid schemas named `<OperationID>Response`** — codegen generates a wrapper type with that exact name and you'll get a name collision. If you need a result schema, name it `XxxResult`. * **Use enums via `enum:`** for fixed value sets (e.g. `region: enum: [us-east]`). Codegen produces a typed string for each. Lint the spec locally: ```bash theme={null} cd docs && npx --yes @redocly/cli lint api-reference/openapi.yaml ``` Or via the top-level Makefile: ```bash theme={null} make spec-lint ``` ## 2. Add Mintlify navigation and MDX stubs Add the new operation pages in `docs/docs.json` under the appropriate group, and create matching MDX stubs in `docs/api-reference/<resource>/`. Each stub needs only the frontmatter: ```mdx theme={null} --- openapi: GET /api/v1/volumes --- ``` Mintlify auto-renders the page from `openapi.yaml`. ## 3. Scaffold the Go side From the workspace root: ```bash theme={null} scripts/new-resource.sh Volume volume ``` This creates: * `raff-go/<resource>s.go` — thin idiomatic wrapper using generated `spec.*` types * `raff-cli/internal/commands/<resource>.go` — Cobra command group * `terraform-provider-raff/internal/provider/resource_<resource>.go` — Terraform resource Each file has TODO markers for the resource-specific bits (schema attributes, flag wiring, etc.). ## 4. Regenerate raff-go from the spec ```bash theme={null} make generate ``` This runs `go generate` in `raff-go/spec/`, which calls oapi-codegen against `docs/api-reference/openapi.yaml` and writes `raff-go/spec/spec.gen.go`. Commit the regenerated file along with the spec change — they belong together. ## 5. Resolve the TODO markers Open the three scaffolded files and fill in the resource-specific code: * **raff-go**: confirm the type aliases match the generated names (the spec might generate `CreateVolumeRequest` but if your operationId is `createVolume`, the request body alias is `CreateVolumeJSONRequestBody = CreateVolumeRequest`). Implement any non-CRUD methods (`Attach`, `Detach`, `Resize`, etc.). * **raff-cli**: define the flags, build the request from flags, render output (table + JSON). * **terraform-provider-raff**: define the schema (required, optional, computed), implement Create/Read/Update/Delete, write `setResourceXxxState` to copy the API response into Terraform state. ## 6. Wire each piece into its entry point * `raff-go/raff.go` — add the field on `Client`, initialize it in `New`: ```go theme={null} Volumes VolumeService // ... c.Volumes = &VolumeServiceOp{client: c} ``` * `raff-cli/internal/commands/root.go` — `rootCmd.AddCommand(newVolumeCmd())` * `terraform-provider-raff/internal/provider/provider.go` — `ResourcesMap["raff_volume"] = resourceVolume()` ## 7. Verify end-to-end From the workspace root: ```bash theme={null} make sync ``` This regenerates raff-go, then builds + vets + tests raff-cli and terraform-provider-raff against it. If anything fails, fix and re-run. Smoke-test the new commands against prod: ```bash theme={null} cd raff-cli && go build ./... RAFF_API_KEY=raff_pub_xxx ./bin/raff volume list ``` For Terraform, build the provider locally and use a dev override: ```bash theme={null} cd terraform-provider-raff && go build -o ~/bin/terraform-provider-raff # In ~/.terraformrc: # provider_installation { # dev_overrides { "rafftechnologies/raff" = "/Users/you/bin" } # direct {} # } ``` Then run `terraform plan` against a config that uses the new resource. ## 8. Update the changelog Add a dated entry to `docs/api-reference/changelog.mdx`: ```markdown theme={null} ### {Today's Date} **Volumes — API** - 🟢 **Added** — **List volumes** — `GET /api/v1/volumes` - 🟢 **Added** — **Create volume** — `POST /api/v1/volumes` **Volumes — CLI** - 🟢 **Added** — `raff volume list`, `raff volume create`, `raff volume get`, `raff volume delete` **Volumes — Terraform** - 🟢 **Added** — `raff_volume` resource ``` Use the emoji legend: 🟢 Added, 🔵 Updated, 🟡 Deprecated, 🔴 Removed, 🟣 Fixed. ## 9. Commit The spec, regenerated SDK, CLI commands, and Terraform resource all live in different repos. Commit each separately with a matching message, and reference the spec change PR/commit in the downstream commits. The order is: 1. `docs` — spec + MDX stubs + changelog 2. `raff-go` — regenerated spec.gen.go + new wrapper file 3. `raff-cli` — new command file + root.go registration 4. `terraform-provider-raff` — new resource file + provider.go registration ## CI drift guard Each Go repo has a `make verify` (or the top-level `make verify-no-drift`) target that: 1. Runs `go generate` in `raff-go/spec/` 2. Fails if `git status` shows any change to `spec.gen.go` This catches the case where someone edits the spec but forgets to regenerate. Wire it into the raff-go CI check on every PR. (Note: in CI, raff-go needs the docs repo checked out at `../docs` for the generate step to find the spec.) ## Reference * Spec: `docs/api-reference/openapi.yaml` * Generated client: `raff-go/spec/spec.gen.go` — never edit by hand * Codegen config: `raff-go/spec/oapi-codegen.yaml` * Templates: `scripts/templates/*.tmpl` * Scaffolding: `scripts/new-resource.sh` * Top-level orchestrator: `Makefile` # Create Your First VM Source: https://docs.rafftechnologies.com/guides/create-your-first-vm Step-by-step guide to deploying a virtual machine on Raff <sub>Updated November 10, 2026</sub> This guide walks you through creating a virtual machine, connecting via SSH, and managing its lifecycle. ## Prerequisites * A Raff account with billing set up * An API key (Dashboard → **API Keys** → Create API Key) * A project ID (Dashboard → **Projects**) * An SSH key pair (optional but recommended) ## Step 1: Authenticate Set your API key and project ID as environment variables for convenience: ```bash theme={null} export RAFF_API_KEY="YOUR_API_KEY" export RAFF_PROJECT_ID="YOUR_PROJECT_ID" ``` Verify your access: ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" \ https://api.rafftechnologies.com/api/v1/vms ``` ## Step 2: Create a VM Create an Ubuntu VM with 2 vCPUs, 4 GB RAM: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "my-ubuntu-server", "template_id": "<template-uuid>", "pricing_id": 3, "region": "us-east", "ssh_keys": ["ssh-ed25519 AAAA... user@laptop"], "backup_type": "weekly", "backup_time": "8am", "backup_date": "Saturday" }' ``` > [!NOTE] > > Replace `<template-uuid>` with your OS template ID — get one from [List Templates](/api-reference/catalog/list-templates) (no auth required; filter with `?category=os`). > > The `pricing_id` selects a plan that determines vCPU, RAM, storage, and bandwidth — list plans with [List VM Pricing](/api-reference/catalog/list-vm-pricing). The response includes your new VM details: ```json theme={null} { "success": true, "data": { "id": "69590a15-9f68-4b6f-8232-b07781218852", "name": "my-ubuntu-server", "status": "provisioning", "cpu": 2, "ram": 4, "storage": 80, "pricing_id": 3, "price_per_hour": "0.027764", "billing_type": "payg", "public_ipv4_address": "15.204.178.3", "region": "us-east" } } ``` ## Step 3: Wait for VM to Become Active Poll the VM status until it becomes `active`: ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" \ https://api.rafftechnologies.com/api/v1/vms/69590a15-9f68-4b6f-8232-b07781218852 ``` The VM transitions through these states in order: | Status | Description | | - | - | | `initiating` | Queued, initial setup before provisioning | | `provisioning` | VM being created in the hypervisor | | `booting` | VM starting up | | `active` | Running and reachable | ## Step 4: Connect via SSH Once the VM is `active`, connect using the public IPv4 address: ```bash theme={null} ssh root@15.204.178.3 ``` If you provided a password instead of SSH keys during creation: ```bash theme={null} ssh root@15.204.178.3 # Enter the password you set ``` ## Step 5: Manage Your VM ### Stop the VM ```bash theme={null} curl -X POST -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/69590a15-9f68-4b6f-8232-b07781218852/stop ``` > [!NOTE] > > Stopped VMs retain their resources and IP address. You are still billed for reserved resources. ### Resize the VM Resize requires the VM to be stopped first. Pass a new `pricing_id` — the plan determines the new vCPU, RAM, storage, and bandwidth. Get plan IDs from [List VM Pricing](/api-reference/catalog/list-vm-pricing). ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms/69590a15-9f68-4b6f-8232-b07781218852/resize \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{"pricing_id": 5}' ``` ### Start the VM ```bash theme={null} curl -X POST -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/69590a15-9f68-4b6f-8232-b07781218852/start ``` ### Delete the VM ```bash theme={null} curl -X DELETE -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/69590a15-9f68-4b6f-8232-b07781218852 ``` > [!WARNING] > > Deleting a VM is permanent. All data on the VM will be lost. Make sure to back up any important data first. ## VPC Networking By default every VM gets a VPC. You can opt out, or share a VPC across multiple VMs. ### Auto-created VPC (default) If you don't pass any VPC fields, a VPC named `vpc-{vm-name}` is created automatically and the VM is attached to it. No extra setup required. ### Shared VPC To place multiple VMs on the same private network, [create a VPC first](/products/network/vpc/quickstart-guides/create-vpc), then pass its `vpc_id` to every VM that should join: ```bash theme={null} # Second VM joins the same VPC curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "my-second-vm", "template_id": "<template-uuid>", "pricing_id": 1, "region": "us-east", "vpc_id": "<vpc-uuid-from-first-vm>" }' ``` ### Inline VPC creation Create the VPC and the first VM in a single call by passing `vpc_name` and `vpc_cidr` instead of an existing `vpc_id`: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "my-vm", "template_id": "<template-uuid>", "pricing_id": 1, "region": "us-east", "vpc_name": "production-vpc", "vpc_cidr": "10.0.1.0/24" }' ``` ### Skip the VPC For a single-VM setup that only needs its public IP, pass `skip_vpc: true` to opt out of the auto-created VPC entirely. Cannot be combined with `skip_public_ip: true` — a VM must have at least one network. ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "public-only-vm", "template_id": "<template-uuid>", "pricing_id": 1, "region": "us-east", "skip_vpc": true }' ``` ## Firewall From the First Boot Pass `security_group_id` to start the VM with one of your firewalls on its public address instead of the Raff Default Firewall. The VM is held until the firewall is in place, so a port the firewall closes is never open, not even during the first boot. ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "web-01", "template_id": "<template-uuid>", "pricing_id": 1, "region": "us-east", "security_group_id": "<firewall-uuid>" }' ``` * The firewall must belong to the same project as the VM. List firewalls with `GET /api/v1/security-groups`. * The VM needs a public address: `skip_public_ip: true` is refused unless `enable_ipv6: true`. * Leave it out for the Raff Default Firewall. After creation it is the VM's normal firewall: `GET /api/v1/vms/{id}/networks` shows it as `security_group_id` on the public interface, and you change it as in [Attach a Firewall Group to a VM](/products/network/firewall/quickstart-guides/attach-to-vm). # Introduction Source: https://docs.rafftechnologies.com/introduction Build against Raff with the REST API, the CLI, or Terraform — pick the flavor that fits your workflow. <sub>Updated May 10, 2026</sub> > [!NOTE] > > The Raff public API is currently in **Beta** (v1.0.0). The endpoint surface is stable; minor backward-compatible changes may land before GA. Track them in the [API Changelog](/api-reference/changelog). ## What is Raff? Raff is a developer-friendly cloud for running virtual machines, block storage, object storage, managed Kubernetes, and VPC networking. This **Reference** tab is for driving Raff programmatically — REST API, CLI, or Terraform. For product guides and dashboard tutorials, see the [**Products**](/products) tab. ## Pick your interface > [card] [REST API](/api-reference/endpoints) > > Full HTTP API with an interactive playground. Auth via `X-API-Key`. > [card] [CLI](/reference/cli/introduction) > > Single static `raff` binary. Right for one-off ops, scripts, and CI/CD. > [card] [Terraform](/reference/terraform/introduction) > > Declarative IaC. Right for production, code-review, multi-tenancy. All three talk to the same public API and use the same API-key auth, the same role-based scoping, and the same resources. ## Base URL ``` https://api.rafftechnologies.com ``` ## Getting Started **1. Get an API key** Open the [Raff Dashboard](https://app.rafftechnologies.com), click **Team & Projects → API Keys**, then **Create API Key**. Copy the secret immediately — it's only shown once. **2. Pick your interface and authenticate** * **API**: set the `X-API-Key` header on every request — see [Authentication](/authentication). * **CLI**: install with [`go install` or a release binary](/reference/cli/install), then run [`raff configure`](/reference/cli/configure). * **Terraform**: declare the [provider](/reference/terraform/install) and pass `api_key` (or set `RAFF_API_KEY`). **3. Make your first call** * **API**: follow the [Quickstart](/quickstart) to list VMs and create one with `curl`. * **CLI**: `raff vm list` then `raff vm create --name … --template-id … --pricing-id … --region us-east`. * **Terraform**: copy the [Terraform quick start](/reference/terraform/introduction#quick-start) and run `terraform apply`. ## Documentation index Fetch the complete documentation index at: [https://docs.rafftechnologies.com/llms.txt](https://docs.rafftechnologies.com/llms.txt). Use this file to discover all available pages before exploring further. # PRODUCT_NAME Source: https://docs.rafftechnologies.com/products/_template PRODUCT_DESCRIPTION <sub>Updated May 8, 2026</sub> <sub>Updated MONTH DAY, YEAR</sub> ONE_PARAGRAPH_DESCRIPTION — what the product is, key specs, who it's for. Direct, no marketing. ![TODO: hero screenshot of PRODUCT in dashboard](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/PILLAR/PRODUCT/hero.png) *** ## Most viewed > [card] [TOP_TASK_1](PATH) > > ONE_LINE_DESCRIPTION > [card] [TOP_TASK_2](PATH) > > ONE_LINE_DESCRIPTION > [card] [TOP_TASK_3](PATH) > > ONE_LINE_DESCRIPTION > [card] [TOP_TASK_4](PATH) > > ONE_LINE_DESCRIPTION *** ## Browse > [card] [Quickstart & guides](QUICKSTART_PATH) > > Step-by-step dashboard tasks. > [card] [Concepts](CONCEPTS_PATH) > > How PRODUCT works under the hood. > [card] [Details](DETAILS_PATH) > > Features, limits, pricing, SLA. > [card] [Troubleshooting](TROUBLESHOOTING_PATH) > > Common issues and recovery. > [card] [API Reference](API_REF_PATH) > > Endpoints for PRODUCT. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # CONCEPT_TITLE Source: https://docs.rafftechnologies.com/products/_template-concept ONE_LINE_CONCEPT_DESCRIPTION <sub>Updated May 8, 2026</sub> ONE_PARAGRAPH_INTRO — what the concept is, why it matters, where it shows up in the product. ## How it works Direct, structured explanation. Use sub-headings (`###`) for distinct mechanisms. ### MECHANISM_1 Short paragraph or bullets. ### MECHANISM_2 Short paragraph or bullets. ## When to use it Bulleted list of scenarios: * SCENARIO_1 * SCENARIO_2 ## Trade-offs / limits What this concept costs the user (latency, price, durability, etc.) and any hard limits. ## Related > [card] [RELATED_CONCEPT](PATH) > > ONE_LINE_DESCRIPTION > [card] [RELATED_HOW_TO](PATH) > > ONE_LINE_DESCRIPTION # DETAILS_PAGE_TITLE Source: https://docs.rafftechnologies.com/products/_template-details ONE_LINE_DESCRIPTION <sub>Updated May 8, 2026</sub> ONE_LINE_INTRO — what this page covers. ## SECTION_HEADING_1 | Item | Value | Notes | | - | - | - | | ITEM_1 | VALUE | NOTE | | ITEM_2 | VALUE | NOTE | ## SECTION_HEADING_2 Short paragraph or bullets. ## See also > [card] [RELATED_DETAILS_PAGE](PATH) > > ONE_LINE_DESCRIPTION > [card] [API Reference](API_REF_PATH) > > Endpoints for PRODUCT. # TASK_TITLE Source: https://docs.rafftechnologies.com/products/_template-quickstart ONE_LINE_TASK_DESCRIPTION <sub>Updated May 8, 2026</sub> ONE_PARAGRAPH_INTRO — what this task does, when to use it, what the user will end up with. ## Before you start * PREREQ_1 (e.g. "An account with billing enabled" — link if a setup doc exists) * PREREQ_2 ## Steps **1. STEP_1_TITLE** Imperative instruction. Reference the dashboard literally — section names in **bold**. ![TODO: STEP_1 screenshot](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/PILLAR/PRODUCT/STEP_NAME.png) **2. STEP_2_TITLE** Imperative instruction. **3. STEP_3_TITLE** Imperative instruction. ## Verify How to confirm the task succeeded — what to look for in the dashboard, expected status, etc. ## Next steps > [card] [RELATED_TASK_1](PATH) > > ONE_LINE_DESCRIPTION > [card] [RELATED_TASK_2](PATH) > > ONE_LINE_DESCRIPTION # PRODUCT_NAME troubleshooting Source: https://docs.rafftechnologies.com/products/_template-troubleshooting Common PRODUCT issues and how to recover. <sub>Updated May 8, 2026</sub> Issues you may run into with PRODUCT, and how to resolve them. If your problem isn't listed, contact [support](mailto:support@rafftechnologies.com). ## Common issues > [accordion] ISSUE_SYMPTOM_1 > > **What's happening:** brief explanation in user-visible terms. > > **Why:** the root cause. > > **Fix:** > > 1. STEP_1 > 2. STEP_2 > 3. STEP_3 > [accordion] ISSUE_SYMPTOM_2 > > **What's happening:** ... > > **Why:** ... > > **Fix:** ... ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The PRODUCT ID (find it in the dashboard URL or `Get PRODUCT` API response) * The exact error message and timestamp * Steps you've already tried # MCP paid changes and confirmation Source: https://docs.rafftechnologies.com/products/ai/mcp/concepts/paid-changes How the Raff MCP server shows a price and the card it is charged to before an AI assistant creates or upgrades anything paid. <sub>Updated October 19, 2026</sub> An AI assistant cannot spend money in your Raff account without you seeing the price first. Every change that costs more is a two-step call: the first answer is a quote and changes nothing; only a second call that repeats the quoted price goes ahead. ## How it works ### The quote When the assistant creates a paid database or an app, upgrades a database, or scales an app up, the first call returns: | Field | Example | | - | - | | What you get | PostgreSQL 2 vCPU, 4 GB RAM, 80 GB storage | | Monthly price | \$45.99 a month | | How it is billed | Monthly subscription: the first month is charged now, from the account balance first, then the card | | Paid with | Visa ending in 4242 | If the account has no card that can be charged automatically, the quote says so and links to **Billing** in the dashboard to add one. Nothing is created. ### Your confirmation The assistant shows you the quote and asks. When you agree, it calls again with the quoted monthly price. If the price does not match, because the plan or the price changed in between, nothing happens and a new quote comes back. In Claude, a database quote appears as an order card in the chat with **Confirm** and, when no card is saved, **Add a card**. After you confirm, the card follows the database until it runs and shows the connection string with a **Copy** button. App quotes, and every quote in other apps, come as text. ![TODO: Raff order card in Claude with price, card and Confirm button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/ai/mcp/order-card.png) ### What needs a confirmation | Change | Quote first? | | - | - | | Create a free database | No, it is free (one per account) | | Create a paid database | Yes | | Resize to a plan, storage, high availability or replica count that costs more | Yes | | Resize to something that costs less | No, the difference is credited | | Move a free database to a paid plan | Yes | | Delete a database | No charge; the assistant must repeat the database's name to delete it | | Create an app | Yes, always | | Scale an app to more instances, a higher autoscaling maximum or minimum, or turn scale to zero off | Yes | | Scale an app down or let it sleep when idle | No, it costs less | | Link a database to an app, deploy, roll back, change environment variables, add a domain | No charge | | Delete an app | No charge; the assistant must repeat the app's name to delete it. Its linked databases are kept and keep their price | ## Billing Changes made through an AI assistant are billed like the same changes made with the Raff API: * **Paid database**: a monthly subscription. The first month is charged within seconds of the create, from the account balance first and then the card. * **Upgrade**: the rest of the current month is charged at the new price before the change applies. The monthly price changes with it. * **Downgrade**: the unused part is credited to the account balance once the change applies. * **Free to paid**: the database becomes a monthly subscription and keeps its data, address and password. * **Delete**: the unused part of the month is credited to the account balance. * Accounts on pay-as-you-go billing are billed by the hour instead. * **App**: billed by running time, the hourly price of its size for each running instance, charged at the end of the month from the account balance first, then the card. The quoted monthly price is the most instances it can run, running the whole month; a paused app, or one asleep with scale to zero, costs nothing for that time. App running time counts toward the account's Apps spend cap. Monthly app plans are bought in the dashboard. ## Trade-offs * An assistant that is told "yes to everything" in advance can still confirm a quote you have not read. Read-only mode removes every tool that changes anything; see [Read-only mode and tool groups](/products/ai/mcp/concepts/read-only-and-tool-groups). * The assistant never sees card numbers. It sees only the card brand and last four digits. ## Related > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > Free and paid creates, step by step. > [card] [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access) > > What a connected app can reach. # MCP read-only mode and tool groups Source: https://docs.rafftechnologies.com/products/ai/mcp/concepts/read-only-and-tool-groups Limit what an AI assistant can do in Raff by adding read_only and features to the MCP server URL. <sub>Updated October 19, 2026</sub> Two options in the server URL decide which tools an app sees: `read_only` keeps only the tools that look, and `features` picks the Raff products. An app cannot call a tool it was never given, so these are the simplest way to limit an assistant. ## How it works ### Read-only mode Add `?read_only=true` to the URL: ``` https://mcp.rafftechnologies.com/mcp?read_only=true ``` The app gets only the tools that read: list and inspect databases, plans, connection strings, tables, metrics, slow queries, logs, backups, extensions, users, read-only queries, apps, app templates and sizes, app logs, deploys, environment variables and domains, servers, images, plans, SSH keys, snapshots, backups and firewalls, Kubernetes clusters, nodes, events, metrics, upgrades and kubeconfigs, and documentation search. Every tool that creates, changes or deletes anything is left out, including `run_sql`, `set_app_env` and `deploy_app`. `run_query` stays, and refuses any statement that writes. `get_app_env` stays too: with `reveal` it can read an app's secret values if your role may manage apps. ### Tool groups Add `?features=` with the groups you want, separated by commas: ``` https://mcp.rafftechnologies.com/mcp?features=databases ``` | Group | Tools | | - | - | | `databases` | Managed databases (23 tools) | | `apps` | Raff Apps (18 tools) | | `servers` | Linux and Windows servers (21 tools) | | `kubernetes` | Managed Kubernetes (17 tools) | | `docs` | `search_docs`, answers from the Raff documentation | Without `features`, every group is loaded. An unknown group name is refused, so a typo does not silently load nothing. New groups (functions) are added as they ship; a URL that names its groups keeps exactly those. ### Both together ``` https://mcp.rafftechnologies.com/mcp?features=databases&read_only=true ``` ## When to use it * **Read-only**: letting an assistant explore a production database, explain slow queries or write reports, with no way to change data or spend money. * **Tool groups**: keeping the tool list short in apps that slow down or get confused with many tools, or keeping documentation search out when you only want account tools. * **Both**: a shared team assistant that answers questions about live databases. ## Trade-offs * These options are part of the URL you add in the app. Anyone who can edit the app's connector settings can remove them; for a hard limit, also use a member role or an API key without write permissions. See [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access). * An app connected twice (once read-only, once full) sees both sets of tools and may pick either. ## Related > [card] [Tools](/products/ai/mcp/details/tools) > > Which tools are read-only and which change things. > [card] [Paid changes](/products/ai/mcp/concepts/paid-changes) > > Confirmation before anything is charged. # MCP sign-in and access Source: https://docs.rafftechnologies.com/products/ai/mcp/concepts/sign-in-and-access How an AI app signs in to Raff, which account it works in, what it can reach, and how to remove its access. <sub>Updated October 19, 2026</sub> An AI app reaches your Raff account in one of two ways: you sign in with Raff in your browser (most apps), or you give it a Raff API key (tools that accept a header). Either way it acts as you, with your role in the account, and never as a Raff administrator. ## How it works ### Sign in with Raff (OAuth) When you add the server to an app such as Claude or ChatGPT, the app opens a Raff page in your browser: 1. Sign in to Raff, with your authenticator code if you use one. 2. Read the request: **Allow *app name* to use your Raff account?** 3. If you belong to more than one account, pick the account the app works in. 4. Click **Allow access**. The app gets a token for that account and refreshes it on its own, so you sign in once. The request page expires after 10 minutes; if it says **This request has expired**, connect again from the app. The app never sees your Raff password. Every app you allow is listed in the Raff dashboard under **Settings → Security → Connected apps**, with where it signs in (for example `claude.ai`, or "App on your computer" for Claude Code) and when it was last active. Any app can give itself a name like "Claude", so the sign-in address is what tells the real one apart. ### API key Tools that send a fixed header (Claude Code, Cursor, scripts) can use a Raff API key instead of signing in: ``` Authorization: Bearer raff_your_api_key ``` The key works in the account it was created in, with the permissions it was given. [Create an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) for each tool so you can remove one without affecting the others. ## What the app can do Access is granted once for the whole account, the same way you would give a teammate access: * Create and manage databases and apps, and functions and servers as Raff adds them to the MCP server. * Read and change data in your databases with SQL. * Only what your role allows in this account. A member without permission to delete databases cannot delete them through an AI app either. What an app signed in with Raff can reach today: | Reaches | Does not reach | | - | - | | Managed databases and Raff Apps (all tools on the [Tools](/products/ai/mcp/details/tools) page) | Virtual machines, Kubernetes, volumes, object storage, networking | | Your projects (to create databases and apps in the right one) | Team members, roles and API keys | | Your GitHub connections, to deploy a repository you already connected | Connecting GitHub, and an app's shell (both stay in the dashboard) | | Your saved card, as "Visa ending in 4242" (to show what a paid change is charged to) | Card numbers, invoices, billing settings | | Raff documentation | Raff admin access | As tools for more products ship, the same sign-in reaches them, and this table is updated. Every call is made through the public Raff API, so it follows the same permissions, billing rules and rate limits as the API, and appears in the account's audit log. ## Remove access * **Signed in with Raff**: in the Raff dashboard, open **Settings → Security → Connected apps** and click **Remove** next to the app. It stops working within a minute, and anything it created stays. Removing the Raff connector in the app (in Claude: **Customize → Connectors**; in Claude Code: `claude mcp remove raff`) only deletes the app's copy; remove it in Raff to end the access itself. * **API key**: [delete the key](/products/manage/team-projects/quickstart-guides/rotate-api-key) in the dashboard. Every tool using it stops at once. ## Trade-offs * Access is account-wide, not per database. To keep an app away from production data, sign it in to a separate account, or give it an API key in an account that holds only what it should touch. * [Read-only mode](/products/ai/mcp/concepts/read-only-and-tool-groups) removes every tool that changes anything, if you only want the app to look. ## Related > [card] [Paid changes](/products/ai/mcp/concepts/paid-changes) > > How prices are confirmed before anything is charged. > [card] [Connect Claude](/products/ai/mcp/quickstart-guides/connect-claude) > > Sign in with Raff from Claude. # Raff MCP server features and limits Source: https://docs.rafftechnologies.com/products/ai/mcp/details/features-and-limits Endpoint, protocol, sign-in methods, supported apps and the limits of the Raff MCP server. <sub>Updated October 19, 2026</sub> The facts about the Raff MCP server in one place. ## Server | Item | Value | Notes | | - | - | - | | URL | `https://mcp.rafftechnologies.com/mcp` | | | Transport | Streamable HTTP | Stateless: no session to keep alive | | Protocol | Model Context Protocol, current specification | Includes MCP Apps for the order card in Claude | | Sign-in | OAuth 2.1 (PKCE, dynamic client registration, refresh tokens) or a Raff API key as `Authorization: Bearer` | See [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access) | | URL options | `read_only=true`, `features=databases,apps,docs` | See [Read-only mode and tool groups](/products/ai/mcp/concepts/read-only-and-tool-groups) | | Price | Free | You pay only for the resources you create, at the normal price | ## Products | Product | Status | | - | - | | Managed databases (PostgreSQL, MySQL, Valkey, ClickHouse, Kafka) | Available, 23 tools | | Raff Apps | Available, 18 tools | | Raff documentation search | Available | | Functions | Planned | | Virtual machines | Planned | ## Limits | Item | Value | Notes | | - | - | - | | Request size | 1 MB | A larger request is refused with `413` | | Statements per call | 1 | `run_query` and `run_sql` run one statement each | | Statement time | 15 seconds | Longer statements are stopped | | Rows returned | 100 by default, up to 1,000 | Set `max_rows`; the answer says when more rows existed or did not fit | | Answer size | 70,000 characters | A longer answer is cut and says so: query rows from the end, log lines from the oldest | | Log lines | 100 by default, up to 1,000 | Set `lines` on `get_database_logs` and `get_app_logs` | | App deploys listed | 20 by default, up to 100 | Set `limit` on `list_app_deployments` | | Slow queries | 10 by default, up to 50 | Set `limit` on `get_slow_queries` | | Wait for a new database | Up to 150 seconds | A slower one comes back as starting; the order card and `get_database` follow it until it runs | | Wait for a new public address | Up to 1 minute after the database runs | The address is handed over once it accepts connections. One call never runs past 200 seconds | | Wait for a new app | Up to 150 seconds | A slower deploy (a build from source can take minutes) comes back as building; `get_app` follows it. An app linked to a database that is still starting comes back at once as waiting for it | | Free databases | 1 per account | | | Rate limit | 50 requests a second per person, with short bursts above | Apps signed in with Raff are counted per person, not per network address, so people using the same app do not slow each other. With an API key, see [Rate limiting](/authentication#rate-limiting) | | Sign-in request | Expires after 10 minutes | Connect again from the app | ## Supported apps Tested by Raff: Claude (web and desktop), Claude Code. Documented setup: [ChatGPT](/products/ai/mcp/quickstart-guides/connect-chatgpt), [Cursor](/products/ai/mcp/quickstart-guides/connect-cursor), [VS Code and Gemini CLI](/products/ai/mcp/quickstart-guides/connect-other-clients). Any app that supports remote MCP servers over Streamable HTTP works. ## See also > [card] [Tools](/products/ai/mcp/details/tools) > > Every tool and its arguments. > [card] [Troubleshooting](/products/ai/mcp/troubleshooting) > > When something does not work. # Raff MCP server tools Source: https://docs.rafftechnologies.com/products/ai/mcp/details/tools Every tool the Raff MCP server gives an AI assistant, its arguments, and which tools change things. <sub>Updated November 2, 2026</sub> The tools an AI assistant can call after you connect the Raff MCP server. You do not call them yourself: you ask in plain words and the assistant picks the tool. This page tells you what it can and cannot do. Every tool is labelled for the app: **read** tools only look, and every tool that changes something carries the app's destructive label, so apps such as Claude and ChatGPT ask before each one. In the tables below, **Destructive** marks the tools that can remove data. In [read-only mode](/products/ai/mcp/concepts/read-only-and-tool-groups) only the read tools are loaded. ## Databases: read | Tool | What it does | Arguments | | - | - | - | | `list_databases` | Lists the account's databases with engine, status, plan and price | none | | `get_database` | Status, engine and version, plan, storage, high availability, public access | `database_id` | | `list_database_plans` | Engines with their versions, and plans with size and monthly price; the free plan is marked | `engine` (optional) | | `get_connection_string` | The address an app connects to; the password only with `reveal` | `database_id`, `reveal` | | `run_query` | Runs one read-only statement and returns the rows: SQL for PostgreSQL, MySQL and ClickHouse, a Valkey command, or a Kafka command (`TOPICS`, `DESCRIBE`, `CONSUME`, `GROUPS`). Writes are refused | `database_id`, `statement`, `max_rows` | | `list_tables` | Tables of a PostgreSQL, MySQL or ClickHouse database, and its schemas | `database_id`, `schema`, `schemas` | | `describe_table` | A table's columns with types, nullability and defaults | `database_id`, `table`, `schema` | | `get_database_metrics` | Current CPU, memory, storage and connection use | `database_id` | | `get_slow_queries` | The statements that took the most total time, with calls and mean time (PostgreSQL) | `database_id`, `limit` | | `get_database_logs` | The newest lines of the database server's log | `database_id`, `lines` | | `list_backups` | Backups with time, size and whether they can be restored | `database_id` | | `list_extensions` | PostgreSQL extensions that can be turned on, and which are on | `database_id` | | `list_database_users` | Users (roles) inside the database and their access; the engine's system accounts are left out | `database_id` | ## Databases: write | Tool | What it does | Arguments | Notes | | - | - | - | - | | `create_database` | Creates a database, waits until it accepts connections, returns the connection string | `name`, `engine`, `plan_id`, `version`, `extensions`, `valkey_mode`, `private`, `project_id`, `confirm_monthly_price_usd` | No arguments: a free PostgreSQL with a public address. Paid plans need a [confirmed quote](/products/ai/mcp/concepts/paid-changes) | | `run_sql` | Runs one statement that changes data or schema (`CREATE`, `INSERT`, `UPDATE`, `DELETE`, `DROP`, `ALTER`, or a Valkey or Kafka write) | `database_id`, `statement`, `max_rows` | **Destructive** | | `enable_extension` | Turns a PostgreSQL extension on or off, for example `vector` | `database_id`, `name`, `enabled` | | | `set_public_access` | Turns the public address on or off, optionally only for some IP addresses | `database_id`, `enabled`, `allowlist` | Connections always need TLS and the password | | `resize_database` | Changes the plan, storage, high availability or read replicas | `database_id`, `plan_id`, `storage_gb`, `high_availability`, `replicas`, `confirm_monthly_price_usd` | A change that costs more needs a confirmed quote. Storage can only grow | | `create_backup` | Takes a backup now (databases are also backed up every night) | `database_id` | | | `restore_backup` | Restores a backup or a point in time into a new database; the original keeps running. The new database is billed by the hour, so the first call returns its price and restores nothing until you confirm | `database_id`, `backup_id` or `point_in_time`, `new_name`, `in_place`, `confirm_monthly_price_usd` | **Destructive** with `in_place`: overwrites the database (no new cost, no quote) | | `rotate_password` | Gives the main user a new password; apps using the old one stop at their next connection | `database_id` | | | `create_database_user` | Adds a user with read-write or read-only access and returns its password once | `database_id`, `name`, `role` | | | `delete_database` | Deletes a database, its data and its backups | `database_id`, `confirm_name` | **Destructive**. `confirm_name` must equal the database's name. Cannot be undone | ## Apps: read | Tool | What it does | Arguments | | - | - | - | | `list_apps` | Lists the account's apps with type, status, address, size and instances | none | | `get_app` | Status (and why it failed), address, source, size, instances and scaling, and the databases linked to it | `app_id` | | `list_app_templates` | Ready-to-run templates (n8n, Metabase, Grafana, Umami, Uptime Kuma, ...) with their size and whether they need a PostgreSQL database | none | | `list_app_sizes` | Sizes an app can run on (vCPU, memory) with the hourly and monthly price of one instance | none | | `get_app_logs` | The newest lines of the app's log, or with `deployment_id` the build log of that deploy | `app_id`, `deployment_id`, `lines`, `search`, `since` | | `list_app_deployments` | Deploys, newest first: status, what started it, commit, and why a failed one failed | `app_id`, `limit` | | `get_app_env` | Environment variables; secret values only with `reveal` | `app_id`, `reveal` | | `list_app_domains` | Custom domains with their status and the DNS records each one needs | `app_id` | ## Apps: write | Tool | What it does | Arguments | Notes | | - | - | - | - | | `create_app` | Creates an app from a template, a Docker image or a GitHub repository and deploys it, waits until it is live and returns its address | `name`, `template` or `image` or `github_repo`, `branch`, `root_dir`, `dockerfile_path`, `type`, `port`, `start_command`, `cron_schedule`, `size_id`, `instances`, `scale_to_zero`, `env`, `link_database_id`, `project_id`, `confirm_monthly_price_usd` | Always needs a [confirmed quote](/products/ai/mcp/concepts/paid-changes). The repository must be in a GitHub account already connected to Raff in the dashboard. `link_database_id` links a database before the first deploy | | `deploy_app` | Deploys the app again, or switches an image app to a new image | `app_id`, `image` | A GitHub app also deploys every push to its branch | | `rollback_app` | Goes back to an earlier deploy that went live | `app_id`, `deployment_id` | Without `deployment_id`: the deploy that ran before the current one | | `set_app_env` | Adds or changes environment variables and rolls them out | `app_id`, `vars`, `redeploy` | **Destructive**: replaces the old values. Variables set by a linked database cannot be changed | | `add_app_domain` | Adds a custom domain to a web app and returns the DNS records to create | `app_id`, `domain` | Raff checks DNS and issues the certificate by itself | | `scale_app` | Changes the number of instances, autoscaling or scale to zero | `app_id`, `instances`, `autoscaling`, `min_instances`, `max_instances`, `target_concurrency`, `scale_to_zero`, `confirm_monthly_price_usd` | A change that can cost more needs a confirmed quote. Not for cron and job apps | | `pause_app` | Stops every instance; settings, variables, domains and links are kept | `app_id` | Running time is not billed while paused | | `resume_app` | Starts a paused app again with the instances it had | `app_id` | | | `link_database_to_app` | Links a running database: sets `DATABASE_URL` and the other `DATABASE_*` variables and redeploys the app | `app_id`, `database_id`, `env_prefix` | A second database needs its own `env_prefix` | | `delete_app` | Deletes an app | `app_id`, `confirm_name` | **Destructive**. `confirm_name` must equal the app's name. Linked databases are kept and keep their price; delete them with `delete_database` | ## Servers: read Linux and Windows servers (virtual machines). | Tool | What it does | Arguments | | - | - | - | | `list_servers` | Lists the account's servers with status, OS, size and addresses | none | | `get_server` | Status, OS, size, plan, addresses, how to sign in (SSH or Remote Desktop), and whether Windows is still setting up | `server_id` | | `list_server_images` | Operating systems a server can run, with the smallest size each needs | `os` (optional: `linux` or `windows`) | | `list_server_plans` | Plans (vCPU, memory, disk, traffic) with their monthly price | `type` (optional) | | `list_ssh_keys` | SSH keys saved in the account | none | | `list_server_snapshots` | A server's snapshots | `server_id` | | `list_server_backups` | A server's backups and when each expires | `server_id` | | `list_firewalls` | Firewalls (security groups) with their rules | none | ## Servers: write No password is ever asked for or shown: a Linux server takes saved SSH keys, and otherwise Raff makes the password and emails it to the account. | Tool | What it does | Arguments | Notes | | - | - | - | - | | `create_server` | Creates a Linux or Windows server and waits until it runs | `name`, `image_id`, `plan_id`, `ssh_key_ids`, `project_id`, `confirm_monthly_price_usd` | No arguments: the newest Ubuntu on the smallest General Purpose plan. Always needs a [confirmed quote](/products/ai/mcp/concepts/paid-changes). A Windows server includes Raff's Windows licence and is paid before it is made | | `start_server`, `stop_server` | Starts or shuts down a server | `server_id` | A stopped server is still billed | | `reboot_server` | Restarts a server | `server_id`, `hard` | `hard` power-cycles it at once | | `resize_server` | Moves a stopped server to another plan of the same kind | `server_id`, `plan_id`, `confirm_monthly_price_usd` | A bigger plan needs a confirmed quote | | `reset_server_password` | Gives root or Administrator a new password, emailed to the account | `server_id` | The server must be running | | `rename_server` | Renames a server | `server_id`, `name` | | | `create_server_snapshot` | Saves the state of a server's disk | `server_id`, `name` | Space beyond the included snapshot space is billed by the hour | | `restore_server_snapshot` | Puts a stopped server's disk back to a snapshot | `server_id`, `snapshot_id` | **Destructive** | | `restore_server_backup` | Puts a stopped server back to a backup, in place | `server_id`, `backup_id` | **Destructive** | | `set_server_firewall` | Puts a firewall on the server's public address, or takes it off | `server_id`, `firewall_id` | | | `reinstall_server` | Erases the disk and installs an operating system again | `server_id`, `image_id`, `ssh_key_ids`, `confirm_name` | **Destructive**. `confirm_name` must equal the server's name | | `delete_server` | Deletes a server with its backups and snapshots | `server_id`, `confirm_name` | **Destructive**. Attached volumes are kept | ## Kubernetes: read | Tool | What it does | Arguments | | - | - | - | | `list_clusters` | Lists the account's clusters with status, version and node pools | none | | `get_cluster` | Status (and why it failed), whether it is ready, version, API address and node pools | `cluster_id` | | `list_kubernetes_versions` | Versions a new cluster can run | none | | `list_kubernetes_plans` | Worker node plans with their monthly price, and the high availability fee | none | | `list_cluster_nodes` | Nodes with their role, status, size and address | `cluster_id` | | `get_cluster_events` | Newest events: creation progress, scaling, upgrades, errors | `cluster_id`, `limit` | | `get_cluster_metrics` | CPU, memory and pod use, ready nodes, control-plane health | `cluster_id` | | `get_cluster_upgrades` | The version, whether an upgrade runs, and the versions it can move to | `cluster_id` | | `get_kubeconfig` | A kubeconfig with cluster-admin access, valid for 24 hours | `cluster_id` | ## Kubernetes: write | Tool | What it does | Arguments | Notes | | - | - | - | - | | `create_cluster` | Creates a cluster with one pool of workers, behind a firewall | `name`, `version_id`, `plan_id`, `nodes`, `high_availability`, `project_id`, `confirm_monthly_price_usd` | No arguments: 2 nodes of the cheapest plan. Always needs a confirmed quote. Ready in 8 to 12 minutes | | `add_node_pool` | Adds a pool of workers | `cluster_id`, `name`, `nodes`, `plan_id`, `confirm_monthly_price_usd` | Needs a confirmed quote | | `scale_node_pool` | Changes how many nodes a pool runs | `cluster_id`, `pool_id`, `nodes`, `confirm_monthly_price_usd` | Growing needs a confirmed quote | | `delete_node_pool` | Drains and removes a pool | `cluster_id`, `pool_id` | **Destructive**. A cluster keeps at least 2 workers | | `enable_cluster_ha` | Turns on three control-plane nodes | `cluster_id`, `confirm_monthly_price_usd` | **Destructive**: cannot be turned off. Needs a confirmed quote | | `upgrade_cluster` | Upgrades to a newer version, node by node | `cluster_id`, `version_id` | **Destructive**: cannot be undone | | `rotate_kubeconfig` | Cancels every kubeconfig handed out | `cluster_id` | | | `delete_cluster` | Deletes a cluster with every volume its workloads created | `cluster_id`, `confirm_name` | **Destructive**. `confirm_name` must equal the cluster's name | ## In the ChatGPT app The Raff app listed in ChatGPT manages what your account already has. It leaves out everything that buys or shows a price (`create_server`, `resize_server`, `create_server_snapshot`, `list_server_plans`, `create_cluster`, `add_node_pool`, `scale_node_pool`, `enable_cluster_ha`, `list_kubernetes_plans`, `list_database_plans`, `resize_database`, `restore_backup`, `create_app`, `scale_app`, `list_app_sizes`) and everything that shows a password or a kubeconfig (`get_kubeconfig`, `create_database_user`, `get_connection_string` and `get_app_env` without `reveal`). `create_database` there creates only the account's free database, without its password. Buy new things in the Raff dashboard. ## Documentation | Tool | What it does | Arguments | | - | - | - | | `search_docs` | Searches the Raff documentation (guides, API reference, CLI, Terraform) and returns matching passages with links | `query` | ## See also > [card] [Features and limits](/products/ai/mcp/details/features-and-limits) > > Row limits, timeouts and request size. > [card] [Raff API](/api-reference/endpoints) > > The API these tools call. # Raff MCP server Source: https://docs.rafftechnologies.com/products/ai/mcp/index Manage Raff from Claude, ChatGPT, Cursor and other AI assistants. Connect one URL, sign in with Raff, and ask in plain words to create databases, run SQL, deploy apps, run servers and Kubernetes clusters, and more. <sub>Updated October 19, 2026</sub> The Raff MCP server lets an AI assistant work in your Raff account. Connect `https://mcp.rafftechnologies.com/mcp` to Claude, ChatGPT, Cursor, Claude Code or any app that supports the [Model Context Protocol](https://modelcontextprotocol.io), sign in with your Raff account once, and ask for what you need: "give me a Postgres database for this app", "why is this query slow", "add an index on orders.created_at", "deploy n8n with a database". Managed databases, Raff Apps, Linux and Windows servers and managed Kubernetes are available; functions follow. ![TODO: Claude creating a Raff database from chat, with the Raff order card](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/ai/mcp/hero.png) ## What you can ask | You ask | The assistant does | | - | - | | "Create a free Postgres database for my side project" | Creates it, waits until it accepts connections and gives you the connection string | | "Show me the tables in my shop database" | Lists the tables and describes their columns | | "Which queries are slowest, and what index would help?" | Reads the slow query list and suggests an index; adds it if you agree | | "Upgrade the database to 2 vCPU" | Shows the new monthly price and the card it is paid with, and changes nothing until you confirm | | "Back up the database, then restore last night's backup into a copy" | Takes a backup and restores into a new database, leaving the original running | | "Deploy n8n with a Postgres database" | Shows the prices, then creates the database and the app, links them and gives you the app's address | | "Why did my last deploy fail?" | Reads the deploy's build log and explains the error; redeploys or rolls back if you ask | | "Create a Windows server for MetaTrader" | Shows the monthly price with the Windows licence, then creates it and emails you the Administrator password | | "Restart my web server" | Restarts it and tells you when it runs again | | "Create a Kubernetes cluster with 3 nodes" | Shows the monthly price, then starts the cluster and tells you when it is ready | | "How do I connect to Raff Postgres from Prisma?" | Answers from the Raff documentation | Paid changes always show the price first and wait for your confirmation. See [Paid changes](/products/ai/mcp/concepts/paid-changes). *** ## Most viewed > [card] [Connect Claude](/products/ai/mcp/quickstart-guides/connect-claude) > > Add Raff as a connector in Claude on the web or the desktop app. > [card] [Connect Claude Code](/products/ai/mcp/quickstart-guides/connect-claude-code) > > One command, then sign in from the terminal. > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > Your first database in under a minute, without leaving the chat. > [card] [Tools](/products/ai/mcp/details/tools) > > Every tool the assistant can use, and which ones change things. *** ## Browse > [card] [Quickstart & guides](/products/ai/mcp/quickstart-guides/connect-claude) > > Connect your AI app and do your first tasks. > [card] [Concepts](/products/ai/mcp/concepts/sign-in-and-access) > > Sign-in, access, paid changes and read-only mode. > [card] [Details](/products/ai/mcp/details/features-and-limits) > > Tools, features and limits. > [card] [Troubleshooting](/products/ai/mcp/troubleshooting) > > Common issues and how to fix them. > [card] [Docs server](/products/ai/mcp/quickstart-guides/connect-docs-server) > > The read-only server for Raff documentation, no sign-in needed. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Connect Raff to ChatGPT Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-chatgpt Add the Raff MCP server to ChatGPT as a custom MCP server and sign in with your Raff account. <sub>Updated October 11, 2026</sub> ChatGPT can use the Raff MCP server as a custom app. You add the server URL once, sign in with Raff, and ChatGPT can look at and manage your Raff databases. ## Before you start * A Raff account. * A ChatGPT plan with custom MCP servers. OpenAI is changing which plans include them and whether write actions (creating or changing things) are allowed; check [OpenAI's guide](https://developers.openai.com/api/docs/guides/custom-mcp-server) for your plan. On Business, Enterprise and Edu, a workspace admin may need to allow custom apps first. ## Steps **1. Add a custom MCP server** In ChatGPT, open the apps page, click **+** and choose **Add custom MCP server**. **2. Enter the Raff server** | Field | Value | | - | - | | **Name** | `Raff` | | **URL** | `https://mcp.rafftechnologies.com/mcp` | | **Authentication** | OAuth | ChatGPT registers itself with Raff; you do not need a client ID or secret. Accept the warning about custom servers and create it. **3. Sign in with Raff** When ChatGPT asks you to connect, a Raff page opens: sign in, pick the account and click **Allow access**. **4. Ask ChatGPT** In a new chat, turn on the Raff app and ask: *"List my Raff databases"*. ## What to expect * ChatGPT asks you to confirm every tool that is not read-only before it runs it. Paid changes also show a [price quote](/products/ai/mcp/concepts/paid-changes) first. * The Raff order card is drawn in Claude; ChatGPT shows the same quote as text. * If your plan allows only read access, use the read-only URL `https://mcp.rafftechnologies.com/mcp?read_only=true` so ChatGPT only sees tools it can use. ## Next steps > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > Your first database from a chat. > [card] [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access) > > What ChatGPT can reach in your account. # Connect Raff to Claude Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-claude Add the Raff MCP server as a custom connector in Claude on the web or the desktop app and sign in with your Raff account. <sub>Updated October 11, 2026</sub> Add Raff as a custom connector in Claude, sign in once, and Claude can create and manage your Raff databases in any chat. Works in Claude on the web and in the Claude desktop app. ## Before you start * A Raff account. A paid database also needs a card in **Billing**; free databases do not. * A Claude plan that allows custom connectors. Free, Pro, Max, Team and Enterprise all do; Free allows one custom connector. * On **Team** or **Enterprise**, an owner or admin adds the connector for the organization first (see below). ## Steps **1. Open connectors** In Claude, open **Customize → Connectors**, click **+ Add**, then **Add custom connector**. **2. Enter the Raff server** | Field | Value | | - | - | | **Name** | `Raff` | | **URL** | `https://mcp.rafftechnologies.com/mcp` | Click **Continue**. Claude detects that Raff uses sign-in; keep the detected settings and click **Add**. **3. Sign in with Raff** Click **Connect**. A Raff page opens in your browser: sign in, pick the account if you have more than one, and click **Allow access**. ![TODO: Raff consent page, Allow Claude to use your Raff account](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/ai/mcp/consent.png) **4. Ask Claude** In a new chat, ask: *"List my Raff databases"*. Claude calls Raff and answers with your databases. ### Team and Enterprise An organization owner (Team) or an admin with the right role (Enterprise) adds Raff once under **Organization settings → Connectors → Add → Custom → Web**, with the same name and URL. Each member then opens **Customize → Connectors**, finds Raff and clicks **Connect** to sign in with their own Raff account. Members only reach what their own Raff role allows. ## Verify * The Raff connector shows as connected in **Customize → Connectors**. * Asking *"Which Raff database plans are free?"* returns the free plan for each engine. ## Options * **Read-only**: use `https://mcp.rafftechnologies.com/mcp?read_only=true` as the URL. See [Read-only mode and tool groups](/products/ai/mcp/concepts/read-only-and-tool-groups). * **Change the URL later**: Claude does not edit connectors. Remove Raff and add it again with the new URL. ## Next steps > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > Your first database, in under a minute. > [card] [Paid changes](/products/ai/mcp/concepts/paid-changes) > > The order card and how prices are confirmed. # Connect Raff to Claude Code Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-claude-code Add the Raff MCP server to Claude Code with one command, then sign in with Raff or use an API key. <sub>Updated October 11, 2026</sub> Add Raff to Claude Code and it can create a database for the project you are working on, put the connection string in your `.env`, write the migrations and check the result, without leaving the terminal. ## Before you start * [Claude Code](https://code.claude.com) installed. * A Raff account, or a [Raff API key](/products/manage/team-projects/quickstart-guides/generate-api-key) for machines without a browser. ## Steps **1. Add the server** ```bash theme={null} claude mcp add --transport http raff https://mcp.rafftechnologies.com/mcp ``` By default the server is added for you in the current project. Add `--scope user` to have it in every project, or `--scope project` to share it with your team through the project's `.mcp.json`. **2. Sign in with Raff** Start Claude Code, run `/mcp`, select **raff** and choose to authenticate. A Raff page opens in your browser: sign in, pick the account and click **Allow access**. Claude Code shows the server as connected and refreshes the sign-in on its own. From the shell, `claude mcp login raff` does the same. **3. Ask Claude Code** *"Create a free Postgres database on Raff for this project and put the connection string in .env as DATABASE_URL."* ### Use an API key instead On a server or in CI, where no browser can open, pass a Raff API key as a header: ```bash theme={null} claude mcp add --transport http raff https://mcp.rafftechnologies.com/mcp \ --header "Authorization: Bearer raff_your_api_key" ``` Keep the key out of shared files: with `--scope project` the header would be written to `.mcp.json`. ## Verify ```bash theme={null} claude mcp list ``` `raff` is listed as connected. In Claude Code, *"list my Raff databases"* answers with your databases. ## Remove ```bash theme={null} claude mcp remove raff ``` ## Next steps > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > What happens when you ask for a database. > [card] [Tools](/products/ai/mcp/details/tools) > > Everything Claude Code can do in Raff. # Connect Raff to Cursor Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-cursor Add the Raff MCP server to Cursor's mcp.json and sign in with Raff or use an API key. <sub>Updated October 11, 2026</sub> Add Raff to Cursor and its agent can create the database your code needs, inspect tables while you write queries, and read slow queries when something is slow. ## Before you start * [Cursor](https://cursor.com) installed. * A Raff account, or a [Raff API key](/products/manage/team-projects/quickstart-guides/generate-api-key). ## Steps **1. Open mcp.json** Use `~/.cursor/mcp.json` to have Raff in every project, or `.cursor/mcp.json` in a project folder for that project only. **2. Add the Raff server** ```json theme={null} { "mcpServers": { "raff": { "url": "https://mcp.rafftechnologies.com/mcp" } } } ``` Save the file. Cursor finds the new server. **3. Sign in with Raff** Cursor shows Raff as needing sign-in in its MCP settings; click to connect. A Raff page opens: sign in, pick the account and click **Allow access**. **4. Ask the agent** *"Create a free Postgres database on Raff and add DATABASE_URL to .env."* ### Use an API key instead Read the key from an environment variable so it never sits in the file: ```json theme={null} { "mcpServers": { "raff": { "url": "https://mcp.rafftechnologies.com/mcp", "headers": { "Authorization": "Bearer ${env:RAFF_API_KEY}" } } } } ``` Set `RAFF_API_KEY` in the shell that starts Cursor. ## Verify Raff shows as connected in Cursor's MCP settings, with its tools listed. ## Next steps > [card] [Tools](/products/ai/mcp/details/tools) > > Everything the agent can do in Raff. > [card] [Read-only mode](/products/ai/mcp/concepts/read-only-and-tool-groups) > > Let the agent look without changing anything. # Use Raff docs in your AI tools Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-docs-server Connect the read-only Raff documentation MCP server so your AI assistant answers Raff questions from the current docs. No sign-in needed. <sub>Updated October 11, 2026</sub> Raff's documentation has its own MCP server at `https://docs.rafftechnologies.com/mcp`. It is public and read-only: no sign-in, no account, and it cannot see or change anything in Raff. Connect it when you only want accurate answers about Raff, for example in a tool where you do not want account access. The [Raff MCP server](/products/ai/mcp) already includes documentation search (`search_docs`), so you do not need both. ## What it gives the assistant | Tool | What it returns | | - | - | | **Search** | Matching passages from every published Raff docs page, with links | | **Read a page** | A specific page by its docs path, for example `products/build/virtual-machines/quickstart-guides/create-a-vm` | ## Connect > [tab] Claude > > **Customize → Connectors → + Add → Add custom connector**, name `Raff docs`, URL `https://docs.rafftechnologies.com/mcp`, and choose no sign-in. > [tab] Claude Code > > ```bash theme={null} > claude mcp add --transport http raff-docs https://docs.rafftechnologies.com/mcp > ``` > [tab] Cursor > > In `~/.cursor/mcp.json`: > > ```json theme={null} > { > "mcpServers": { > "raff-docs": { "url": "https://docs.rafftechnologies.com/mcp" } > } > } > ``` > [tab] Other apps > > Add a remote MCP server with the URL `https://docs.rafftechnologies.com/mcp` and no authentication. ## Example questions * *"Show me the curl call to create a Raff VM in a specific project."* * *"How do I move a reserved IP between two Raff VMs?"* * *"Write a Terraform module for a Raff VM with a 100 GB volume."* The assistant searches the docs and answers with Raff's real endpoints, field names and dashboard paths, with links to the pages it used. ## Next steps > [card] [Raff MCP server](/products/ai/mcp) > > Let the assistant work in your account, not only read the docs. > [card] [API Reference](/api-reference/endpoints) > > Every endpoint the docs describe. # Connect Raff to VS Code, Gemini CLI and other apps Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/connect-other-clients Add the Raff MCP server to VS Code with GitHub Copilot, Gemini CLI or any app that supports remote MCP servers. <sub>Updated October 11, 2026</sub> Any app that supports remote MCP servers over Streamable HTTP can use Raff. Point it at the server URL and either sign in with Raff in the browser or send a Raff API key as a header. | Setting | Value | | - | - | | **URL** | `https://mcp.rafftechnologies.com/mcp` | | **Transport** | Streamable HTTP | | **Sign-in** | OAuth 2.1 with dynamic client registration (the app registers itself), or the header `Authorization: Bearer raff_your_api_key` | ## VS Code with GitHub Copilot Run **MCP: Add Server** from the Command Palette, or add Raff to `.vscode/mcp.json` in your project: ```json theme={null} { "servers": { "raff": { "type": "http", "url": "https://mcp.rafftechnologies.com/mcp" } } } ``` On first use VS Code opens a browser to sign in with Raff. To use an API key instead, let VS Code ask for it once and store it: ```json theme={null} { "inputs": [ { "type": "promptString", "id": "raff-key", "description": "Raff API key", "password": true } ], "servers": { "raff": { "type": "http", "url": "https://mcp.rafftechnologies.com/mcp", "headers": { "Authorization": "Bearer ${input:raff-key}" } } } } ``` ## Gemini CLI ```bash theme={null} gemini mcp add --transport http raff https://mcp.rafftechnologies.com/mcp ``` Then run `/mcp auth raff` in Gemini CLI to sign in with Raff in the browser. Add `-s user` to have Raff in every project. Or edit `~/.gemini/settings.json`. Use `httpUrl` (Streamable HTTP), not `url`: ```json theme={null} { "mcpServers": { "raff": { "httpUrl": "https://mcp.rafftechnologies.com/mcp" } } } ``` Browser sign-in needs a local browser. On a server, use a header instead: `"headers": { "Authorization": "Bearer raff_your_api_key" }`. ## Any other app Look for "remote MCP server", "custom connector" or "MCP URL" in the app's settings and enter the URL above. If the app asks for an authentication type, choose OAuth; if it only takes headers, add `Authorization: Bearer` with a [Raff API key](/products/manage/team-projects/quickstart-guides/generate-api-key). ## Verify Ask the assistant *"List my Raff databases"*. It answers with your databases, or an empty list on a new account. ## Next steps > [card] [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) > > Your first database from the assistant. > [card] [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access) > > API keys, OAuth and what each can reach. # Create a database from chat Source: https://docs.rafftechnologies.com/products/ai/mcp/quickstart-guides/create-a-database-from-chat Ask an AI assistant connected to Raff for a database and get a working connection string, free or paid. <sub>Updated October 11, 2026</sub> With Raff connected, one sentence gets you a running database. The assistant creates it, waits until it accepts connections and hands you the connection string, usually within 30 seconds. A free PostgreSQL needs nothing else; a paid plan shows its price first. ## Before you start * Raff connected to your AI app: [Claude](/products/ai/mcp/quickstart-guides/connect-claude), [Claude Code](/products/ai/mcp/quickstart-guides/connect-claude-code), [ChatGPT](/products/ai/mcp/quickstart-guides/connect-chatgpt), [Cursor](/products/ai/mcp/quickstart-guides/connect-cursor) or [another app](/products/ai/mcp/quickstart-guides/connect-other-clients). * For a paid plan, a card in **Billing** in the Raff dashboard. ## A free database **1. Ask for it** *"Create a free Postgres database called notes-app."* Each account has one free database. It has a public address over TLS so you can connect from anywhere. **2. Get the connection string** The assistant answers with the database and its connection string: ``` postgresql://raffadmin:PASSWORD@abc12345.public.db.raffusercloud.com:5432/defaultdb?sslmode=require ``` The address works the moment you get it: the assistant only hands it over once the database accepts connections. **3. Use it** Ask the assistant to create your tables, or paste the string into your app's `DATABASE_URL`. ## A paid database **1. Ask for a plan** *"Create a Postgres database with 2 vCPU and 4 GB RAM for production."* The assistant finds the plan and gets a quote. Nothing is created yet. **2. Read the quote** The quote shows what you get, the monthly price and the card it is charged to, for example *PostgreSQL 2 vCPU, 4 GB RAM, 80 GB storage: \$45.99 a month, Visa ending in 4242*. In Claude it appears as an order card. ![TODO: Raff order card with Confirm](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/ai/mcp/order-card.png) **3. Confirm** Say yes, or click **Confirm** on the order card. The database is created as a monthly subscription; the first month is charged within seconds, from your account balance first and then the card. No card saved? The quote says so and links to **Billing**. Add a card there and ask again. ## Other engines and options | Ask | Creates | | - | - | | *"a free MySQL database"* | MySQL, free plan | | *"a Valkey cache"* | Valkey that drops the least recently used keys when full (`valkey_mode: cache`) | | *"a Postgres database with pgvector"* | PostgreSQL with the `vector` extension on | | *"a private Postgres database"* | No public address; reach it from a VPC | | *"Postgres 16"* | That version instead of the newest | ## Verify *"Show me my Raff databases"* lists the new database as running. It also appears under **Databases** in the Raff dashboard. ## Next steps > [card] [Tools](/products/ai/mcp/details/tools) > > Tables, SQL, slow queries, backups and more. > [card] [Paid changes](/products/ai/mcp/concepts/paid-changes) > > How billing works for changes from chat. # Raff MCP server troubleshooting Source: https://docs.rafftechnologies.com/products/ai/mcp/troubleshooting Common issues when connecting an AI app to the Raff MCP server, and how to fix them. <sub>Updated October 19, 2026</sub> Issues you may run into with the Raff MCP server, and how to resolve them. If your problem is not listed, contact [support](mailto:support@rafftechnologies.com). ## Common issues > [accordion] The Raff page says "This request has expired" > > **What's happening:** the sign-in request from your app is older than 10 minutes. > > **Fix:** go back to the app and connect Raff again. Finish the Raff page within 10 minutes. > [accordion] The app says it cannot connect or sign in to Raff > > **What's happening:** the app could not reach the server or finish sign-in. > > **Fix:** > > 1. Check the URL is exactly `https://mcp.rafftechnologies.com/mcp`, with `/mcp` at the end. > 2. Remove the Raff connector and add it again, then sign in. > 3. With an API key, check the header is `Authorization: Bearer raff_...` and the key has not been deleted. > [accordion] The app says its access to Raff was removed > > **What's happening:** the app was removed under **Settings → Security → Connected apps** in the Raff dashboard, so Raff no longer accepts it. > > **Fix:** connect Raff again from the app and allow it on the Raff page. If you did not remove it, check who else can sign in to your Raff account. > [accordion] The assistant works in the wrong account > > **What's happening:** an app signed in with Raff works in the account you chose on the Raff page. When you switch accounts in the Raff dashboard, the app follows within 5 minutes. > > **Fix:** switch to the right account in the dashboard, or remove the connector and connect again, choosing the account on the Raff page. An API key always works in the account it was created in. > [accordion] A paid create or upgrade asks for a card > > **What's happening:** paid databases are monthly subscriptions and need a card that can be charged automatically. > > **Fix:** add a card under **Billing** in the Raff dashboard (the quote links there), then ask the assistant again. > [accordion] The free database cannot be created > > **What's happening:** each account has one free database, and it is already in use. > > **Fix:** use the existing free database, delete it, or choose a paid plan. > [accordion] The assistant says it is not allowed to do something > > **What's happening:** either your Raff role does not allow it (for example a member without permission to delete databases), or the app was connected in read-only mode. > > **Fix:** ask an account owner to change your role, or connect without `read_only=true`. See [Sign-in and access](/products/ai/mcp/concepts/sign-in-and-access). > [accordion] The assistant will not delete a database > > **What's happening:** some assistants refuse to delete data by their own rules, whatever the server allows. Raff also requires the database's exact name to delete it. > > **Fix:** tell the assistant the database name and that you want it deleted, or delete it in the Raff dashboard. > [accordion] A query stops with a timeout > > **What's happening:** statements run through the MCP server stop after 15 seconds. > > **Fix:** add a `LIMIT`, filter on an indexed column, or run long jobs (large imports, index builds on big tables) from your own client with the connection string. > [accordion] The assistant cannot deploy my GitHub repository > > **What's happening:** connecting GitHub needs your own GitHub sign-in, which only the Raff dashboard can do. The assistant can deploy only repositories of a GitHub account already connected, that your GitHub sign-in can see. > > **Fix:** in the Raff dashboard, open **Apps**, click **Deploy an app** and **Continue with GitHub**, then ask the assistant again. > [accordion] A new app stays in building or fails > > **What's happening:** a build from source can take a few minutes, and the assistant stops waiting after 150 seconds. A failed deploy keeps its reason and build log. > > **Fix:** ask the assistant to check the app again, or why the last deploy failed: it reads the build log with `get_app_logs`. > [accordion] My client rejects the database certificate > > **What's happening:** each database has its own certificate authority, which your computer does not trust by default. Clients that verify the certificate (`sslmode=verify-full`, `--cacert`) need it. > > **Fix:** download the database's CA certificate (**Connect** tab, **Download CA certificate**, or `ca_cert` from the connection endpoint) and point your client at it, for example `sslmode=verify-full&sslrootcert=ca.crt`. Or use `sslmode=require`, as in the connection string Raff gives you: still encrypted, without the certificate check. See [Networking and security](/products/store/databases/concepts/networking-and-security). ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The AI app you use (Claude, ChatGPT, Cursor, ...) * The database ID or app ID, if one is involved * The exact error message and the time it happened # Kubernetes billing model Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/billing-model What bills, when — pay-as-you-go vs subscription, autoscaling overage, HA and storage fees <sub>Updated September 7, 2026</sub> **The single-master control plane is free.** You pay for worker nodes, \$30/month if you enable the HA control plane, and per-GB for the persistent volumes your PVCs create. ## Two billing modes * **Pay-as-you-go** — every worker node bills per hour at its plan's hourly rate while it exists. * **Subscription** — the cluster's node set is a monthly commitment. Create it from the dashboard (checkout) or the API (the saved payment method is charged automatically). Growing the cluster (scale-up, new pool, HA upgrade) costs the pro-rated difference — collected at checkout from the dashboard, or charged automatically via the API — and raises the monthly price; shrinking credits the remainder back to your balance. Deleting the cluster converts the unused subscription value to account balance automatically. ## Autoscaling and billing Autoscaling never changes your subscription price. It only adds temporary hourly charges while extra nodes exist. **Subscription cluster.** Your monthly price covers the node count you committed to at checkout (the *base*). When the autoscaler adds nodes above the base, each extra node bills **per hour, at the node plan's hourly rate**, only while it exists. When the autoscaler removes it, the charge stops. Your monthly subscription price stays the same in both directions. Example: you committed a pool of 2 nodes on the \$9.99/month Starter plan (subscription: \$19.98/month). | Event | What bills | | - | - | | Normal operation, 2 nodes | \$19.98/month — nothing else | | Traffic spike: autoscaler adds a 3rd node for 6 hours | \$19.98/month + 6 hours of the Starter hourly rate (shown as *overage* on your invoice) | | Autoscaler removes the 3rd node | back to \$19.98/month — overage stops | Only a **manual** scale (dashboard or API) changes the base, and your monthly price moves with it. **Pay-as-you-go cluster.** There is no base. Every node bills per hour while it exists, so autoscaling from 2 to 3 nodes means 3 nodes' hourly rates until it scales back to 2. ## What appears on your invoice A subscription cluster is itemised **one line per node pool**, priced at that pool's own plan — so a cluster mixing plans reads honestly rather than showing a single lump: | Line | Amount | | - | - | | Kubernetes node pool "default-pool" — K8s Standard × 2 | \$35.98 | | Kubernetes node pool "pool-2" — K8s Performance × 1 | \$33.99 | | Kubernetes — high availability control plane *(HA clusters only)* | \$30.00 | Usage-based charges arrive on the monthly pay-as-you-go invoice instead, one line per category: | Line | What it covers | | - | - | | Kubernetes Storage | every PVC in the account for that month, combined | | Kubernetes Node Overage | autoscaler nodes above your committed base | Storage and overage lines are totals per category, not per volume or per node — the per-resource breakdown is in the dashboard's usage view. ## What else bills | Item | Price | | - | - | | HA control plane | \$30/month flat | | Persistent volumes (PVCs) | \$0.10/GB/month, billed hourly for exactly the GB claimed — on both billing modes, never part of the subscription | | Reserved public IP (the cluster's) | included | Full rates: [Pricing](/products/build/kubernetes/details/pricing). # Cluster access and credentials Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/cluster-access How kubeconfigs are issued, how long they last, and how to revoke them <sub>Updated August 28, 2026</sub> Every cluster's API server is reachable at `https://<cluster-id>.k8s.raffusercloud.com:6443`, and access is by kubeconfig. **Every credential we issue expires** — there is no permanent kubeconfig, so a leaked file always has an end date and can be revoked immediately. There are two ways to get one. They differ only in whether you ever have to think about renewal. | | Command or action | Expires | | - | - | - | | **CLI** — recommended | `raff kubernetes kubeconfig <cluster-id> --save ~/.kube/config` | **Never.** A fresh token is fetched for each `kubectl` command | | **Download** | **kubeconfig** button on the cluster, or `GET /api/v1/k8s/clusters/{id}/kubeconfig` | 7 days by default (1 hour – 30 days) | ## The CLI kubeconfig renews itself The file the CLI writes contains **no credential at all** — no token, no client key. It carries the API server address, the cluster CA, and an instruction to run the Raff CLI: ```yaml theme={null} users: - name: raff-<cluster-id> user: exec: apiVersion: client.authentication.k8s.io/v1 command: raff args: [kubernetes, token, <cluster-id>] ``` Before every request, `kubectl` runs that command and receives a short-lived token (one hour by default, `--ttl` to change). Nothing long-lived is written to disk, the file is useless to anyone without your API key, and you never re-download it. It uses the standard Kubernetes [client-go exec credential](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins) interface, so it works with `kubectl`, Helm and any other client that speaks it. Use this for workstations, CI, and anything long-running. > [!NOTE] > > The CLI must be installed and authenticated wherever `kubectl` runs — including CI images. If it cannot be, use a downloaded kubeconfig (`--static` in the CLI) and plan for its expiry. ## Downloaded kubeconfigs expire A downloaded kubeconfig carries a token inside it, so it works anywhere without the CLI — and stops working when the token expires. Choose the lifetime under **Settings → Access**: **1 hour, 8 hours, 24 hours, 7 days, or 30 days**. The choice is remembered per cluster and reused by the **kubeconfig** button in the header, so you set it once. Thirty days is the maximum. Longer-lived files are not offered on purpose: a kubeconfig grants **full cluster-admin access** while it is valid, and a credential that outlives everyone's memory of creating it is the problem short-lived credentials exist to solve. If you don't want to think about expiry, use the CLI — it removes the deadline rather than postponing it. Over the API, `expires_in` selects the lifetime in seconds (600–2592000): ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $PROJECT_ID" \ "https://api.rafftechnologies.com/api/v1/k8s/clusters/<cluster-id>/kubeconfig?expires_in=86400" ``` ## Revoking access **Settings → Access → Revoke** (or `raff kubernetes kubeconfig rotate <cluster-id>`) invalidates **every** kubeconfig and token issued for the cluster, immediately — downloaded files and CLI sessions alike. Use it when a credential leaks or someone leaves the team. Revoking does not interrupt running workloads; it only ends existing API access. Downloading again, or running any `kubectl` command through a CLI kubeconfig, issues a fresh credential. ## What a kubeconfig grants Every issued credential is **cluster-admin** for the whole cluster while valid. Raff does not currently issue scoped-down kubeconfigs — if you need narrower access for a person or a service, create a ServiceAccount with your own RBAC rules inside the cluster and distribute a token for it. > [!WARNING] > > Treat any downloaded kubeconfig like a password: never commit it to a repository, and prefer the CLI where you would otherwise store a file on a shared machine. # Kubernetes cluster architecture Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/cluster-architecture What a Raff Kubernetes cluster is made of — gateway, control plane, workers, volume storage <sub>Updated August 24, 2026</sub> Every cluster is a set of virtual machines in a **dedicated VPC**, built from four roles: | Role | Count | What it does | | - | - | - | | **Gateway** | 1 (2 with HA) | Holds the cluster's public IP, NATs outbound traffic, load-balances the Kubernetes API (6443) and ingress traffic (80/443) into the cluster, and serves DNS to the nodes | | **Control plane** | 1 or 3 | Runs the Kubernetes API server, scheduler, controllers and etcd. Sized and managed by Raff, free of charge. etcd lives on hypervisor-local NVMe for consistent low latency | | **Workers** | 1–20 per pool | Your capacity — grouped into [node pools](/products/build/kubernetes/concepts/node-pools-and-autoscaling), each pool on its own plan, billed per node | | **Volume storage** | — | No storage nodes: PersistentVolumeClaims are provisioned as Raff Volumes and attached to workers on demand — see [Storage](/products/build/kubernetes/concepts/storage) | The distribution is **RKE2** with the **Cilium** CNI. Nodes have no public IPs — all traffic enters and leaves through the gateway, and the [firewall](/products/build/kubernetes/concepts/networking) on the gateway decides what gets in. The cluster's **Nodes** tab shows each role in its own section — Gateway (with the floating public IP), Control plane, Storage and Workers — with internal IPs, per-node CPU/memory and kubelet status: ![Nodes tab with Gateway, Control plane, Storage and Workers sections](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/nodes-tab.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=787c158435ad3c7ad57f771671b5dc44) ## Lifecycle states A cluster's `status` moves through: `pending` → `deploying` → `running`, with `warning` for degraded conditions (details in the status message), `failed` when provisioning could not complete (all infrastructure is cleaned up automatically and nothing bills), and `deleting` / `delete_failed` during teardown. The `ready` flag is the simple version: `true` means running with no pool mid-operation. # Kubernetes control plane and HA Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/control-plane-and-ha The managed control plane, what HA adds, and how we keep etcd fast <sub>Updated October 14, 2026</sub> The control plane — API server, scheduler, controllers, etcd — is run by Raff. The single-master control plane is **free**; the HA control plane (3 masters) costs a flat **\$30/month**. Workers and persistent volumes are billed separately. ## Standard vs HA | | Standard | HA (\$30/month) | | - | - | - | | Control-plane nodes | 1 | 3 (replicated etcd, quorum) | | API availability through a master failure | No | Yes | | Gateways | 1 (restarted automatically on failure) | 2 with automatic IP failover (VRRP) | | Endpoint SLA | [99.90% monthly](/products/build/kubernetes/details/sla) | [99.90% monthly](/products/build/kubernetes/details/sla) | | Recommended for | Dev, staging | Production | You can create a cluster with HA or [upgrade later](/products/build/kubernetes/quickstart-guides/upgrade-to-ha); upgrades are not reversible. HA covers VM- and host-level failures within the region. For production: enable HA, run workers across at least 2–3 nodes, and use `ClusterIP` Services behind [Traefik ingress](/products/build/kubernetes/quickstart-guides/expose-a-service) — a fully redundant ingress path with no standalone load balancer. ## etcd on local NVMe etcd is the one latency-critical component in Kubernetes: every write waits for an fsync. Raff places control-plane disks on **hypervisor-local NVMe** rather than network storage, keeping etcd fsync latency in single-digit milliseconds. The dashboard's control-plane health card shows the live etcd latency p99 and 24-hour restart counts for your cluster — the same signals our own alerting watches. # Kubernetes cluster states Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/lifecycle-states Every status a cluster, pool or node can be in, and what to do about it <sub>Updated August 24, 2026</sub> ## Cluster | Status | Meaning | Your move | | - | - | - | | `pending` / `deploying` | Provisioning (10–20 min) | Watch the Activity feed | | `running` | Control plane up | — | | `warning` | Degraded; message has detail | Usually transient; contact support if it persists | | `failed` | Provisioning could not complete — infrastructure was cleaned up, nothing bills | Delete the record; try again or contact support | | `deleting` | Teardown in progress | — | | `delete_failed` | Teardown incomplete; **nothing was removed** | Click **Retry delete** | The boolean `ready` (API and dashboard) is `true` only when the cluster is `running` and no pool is mid-operation — poll that instead of parsing statuses. ## Node pools `pending` → `provisioning` → `running`, with `scaling` / `deleting` while a background operation runs (the pool's status message reports the outcome, e.g. a drain blocked by a PodDisruptionBudget). ## Nodes | Status | Meaning | | - | - | | `provisioning` | VM deploying / joining the cluster | | `running` | kubelet reports Ready | | `not_ready` | Joined but failing health checks | | `cordoned` | Unschedulable — a drain in progress or a manual `kubectl cordon` | | `deleting` | Being drained and removed | Nodes in `not_ready` and `cordoned` still bill — the VM is running; these states describe Kubernetes scheduling, not the machine. # Kubernetes networking Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/networking VPC, CIDRs, the gateway, firewall, ingress and MetalLB <sub>Updated August 24, 2026</sub> Each cluster runs in its **own VPC**; nodes have private IPs only. The gateway holds the cluster's public IP and is the only way in or out. ## Address ranges | Network | Default | Notes | | - | - | - | | VPC (nodes) | auto-allocated /24 | one per cluster | | Pod network (`cluster_cidr`) | `10.42.0.0/16` | overridable at create: private IPv4, /12–/24 | | Service network (`service_cidr`) | `10.43.0.0/16` | same rules; must not overlap the pod network or the VPC | ## What the gateway forwards The gateway load-balances at **TCP level** across your nodes: * **6443** → the Kubernetes API (your kubeconfig endpoint `https://<cluster-id>.k8s.raffusercloud.com:6443`) * **80 / 443** → into the cluster for ingress (Traefik, or App Hub exposes) * **Custom TCP ports** → created when exposing an app over TCP (e.g. a database); manage them on the cluster page or [API](/api-reference/kubernetes/list-tcp-ports) * Everything else is blocked by the **firewall**: the platform baseline already permits exactly 80, 443 and 6443 with nothing to configure. If you attach one of your own security groups instead, make sure it allows those three ports. Change the active firewall any time in **Settings → Firewall**: ![Cluster Settings with the firewall section — active security group and assignment](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/firewall-settings.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=e477da19ad43280f00bf55cfdafa940b) **Health checks & failover:** the gateway health-checks the nodes behind it and removes unhealthy ones from rotation automatically; nodes added by scaling or autoscaling are picked up automatically. On a standard cluster the gateway is a single managed instance, restarted automatically on failure; with [HA](/products/build/kubernetes/concepts/control-plane-and-ha) it is a redundant pair with automatic IP failover (VRRP). **Limits:** there are no platform limits on connections, requests or Ingress hosts. Throughput is bounded by your cluster's own gateway; it is not shared with other customers. ## MetalLB With MetalLB enabled, `Service type=LoadBalancer` allocates private IPs from a reserved block inside the VPC (resizable up to 32 addresses). Combine with TCP port forwards to publish them externally. # Kubernetes node pools and autoscaling Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/node-pools-and-autoscaling How pools group workers, and the exact rules the autoscaler follows <sub>Updated August 24, 2026</sub> A **node pool** is a group of identical workers: same node plan, same Kubernetes labels and taints. Each pool has its own plan — mix General Purpose and CPU-Optimized pools in one cluster to match workloads. A cluster has 1+ pools with 1–20 nodes each; the platform keeps a minimum of 2 workers per cluster across all pools. * **Labels and taints** set on a pool are applied to its nodes automatically (and re-applied if a node is replaced). Use them to steer workloads: e.g. taint a dedicated pool and tolerate it only from your database pods. * **`node_count` vs `actual_node_count`** — the target vs what currently exists; they differ briefly while scaling. * **Scale-down is drain-first**: newest nodes go first, each cordoned and drained honouring PodDisruptionBudgets, never force-deleted. A node that can't be emptied within 10 minutes stops the operation with the reason on the pool. ## Autoscaling rules Enable per pool with min/max bounds — from the pool's **Edit autoscale** control or at creation: ![Node pool with the autoscale toggle and min/max node bounds](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/autoscale-pool.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=bd7c01409c7aaf380bb017779775e5c5) The autoscaler runs every 5 minutes and uses the same rules as the Kubernetes Cluster Autoscaler: * **Scale up:** a pod has been unschedulable for lack of CPU or memory for at least 1 minute. The autoscaler checks the pod against the pool's nodes (labels, taints, whether it fits one node) and adds the number of nodes the pending pods need, up to 3 per action. A pod that cannot fit any node — requests larger than the node plan, or constraints no pool matches — does not trigger scaling; it is reported in the Activity feed. * **Scale down (−1 node):** a node's pods **request** less than 50% of its CPU and memory for 10 minutes, and those pods fit on the remaining nodes. The least-utilized such node is removed through the same drain-first path. Decisions use requested resources, not live usage, because the scheduler places pods by requests. * **Bounds:** a pool outside its min/max (for example after a manual change) is scaled back inside automatically. * **Cooldown:** scale-up acts immediately. Scale-down waits at least 10 minutes after any autoscale action, so a node added for load is not removed before pods are scheduled onto it. Every action is recorded in the Activity feed with its reason. On subscription-billed clusters, autoscaled nodes above the committed base are metered hourly as overage — the subscription price itself never changes from autoscaling. # Kubernetes storage Source: https://docs.rafftechnologies.com/products/build/kubernetes/concepts/storage PersistentVolumes backed by Raff Volumes — pay per GB, no storage nodes <sub>Updated August 27, 2026</sub> Every cluster includes the **`raff-block`** storage class (the default). Create a PersistentVolumeClaim and it is provisioned as a [Raff Volume](/products/store/volumes) — a Ceph-backed block device the platform attaches to whichever worker runs your pod. Nothing to enable, nothing to size up front. ```yaml theme={null} apiVersion: v1 kind: PersistentVolumeClaim metadata: name: data spec: accessModes: ["ReadWriteOnce"] resources: requests: storage: 10Gi ``` ## How it works 1. **You declare what you need in Kubernetes** — a PersistentVolumeClaim with a size, applied with `kubectl` (App Hub apps create their own). You never touch the dashboard. 2. **The cluster's storage driver calls the platform** and a Volume of exactly that size is created under your account. Billing starts; the claim is usually `Bound` within seconds. 3. **The disk attaches to the right worker automatically.** Wherever Kubernetes schedules your pod, the volume is attached to that node, formatted on first use, and mounted into the pod. 4. **It follows the pod.** If the node is replaced or the pod moves, the volume detaches and re-attaches to the new node — data intact, typically in seconds. 5. **Grow a volume any time** — edit the claim's requested size (grow only): the disk and filesystem expand live, no pod restart, and billing moves to the new size. ```bash theme={null} kubectl patch pvc data -p '{"spec":{"resources":{"requests":{"storage":"20Gi"}}}}' ``` 6. **Deleting the claim deletes the volume** and billing stops. * **Pay for exactly what you claim** — \$0.10/GB/month, billed hourly, and every GB you pay for is a GB you can use. Storage is never part of the cluster price; it starts billing when a PVC is created and stops when it's deleted. * **Volumes follow pods.** When a pod moves to another node, its volume detaches and re-attaches automatically — data intact. * **Visible in your dashboard.** Each PVC appears in your [Volumes](/products/store/volumes) list, named after its cluster. It can only be managed through Kubernetes — deleting it from the dashboard is blocked while the PVC exists. * **Deleted with the PVC** (reclaim policy `Delete`), and cluster deletion removes any remaining volumes — nothing keeps billing after teardown. * **ReadWriteOnce** access (one node at a time, like AWS EBS and DigitalOcean block storage), 10 GB–10 TB per volume, `ext4` by default, online expansion supported (grow only). * Worker root disks are **ephemeral** — anything a pod writes outside a PVC is lost when the node is replaced or scaled away. * Apps from App Hub that need persistence (PostgreSQL, WordPress, NextCloud, …) work out of the box — their PVCs land on `raff-block`. For object storage (S3), use [Raff Object Storage](/products/store/object-storage) from inside the cluster instead. > [!NOTE] > > Clusters created before August 26, 2026 with dedicated **Longhorn storage nodes** keep working unchanged — their `longhorn` storage class and storage-node billing continue as before. New clusters no longer offer storage nodes. # Kubernetes features and limits Source: https://docs.rafftechnologies.com/products/build/kubernetes/details/features-and-limits Exactly what ships today — capabilities, limits, and what is not offered yet <sub>Updated October 14, 2026</sub> ## Limits | Limit | Value | | - | - | | Clusters per account | 10 (contact support to raise) | | Node pools per cluster | unlimited; ≥1 required | | Nodes per pool | 1–20 (≥2 workers per cluster across all pools) | | Minimum workers per cluster | 2 | | Persistent volumes | `raff-block` default StorageClass — PVCs become Raff Volumes (10 GB–10 TB each, ReadWriteOnce) | | MetalLB address pool | up to 32 addresses | | Kubernetes versions | up to three minor versions with in-place upgrades — see [Supported versions](/products/build/kubernetes/details/supported-versions) | | Region | us-east | | Connections / requests / Ingress hosts | **No platform-imposed limits** — throughput is bounded only by your cluster's dedicated gateway capacity (per-cluster, unaffected by other tenants) | ## What's included * Managed, free control plane (optional 3-master HA), RKE2 + Cilium * Node pools with labels, taints and autoscaling (all pools share the cluster's worker plan) * Drain-first scale-down (PodDisruptionBudgets honoured, never force-deleted) * Admin kubeconfig plus short-lived kubeconfigs (10 minutes to 30 days) with one-click revocation; full REST API; dashboard with workloads, pods, live logs, metrics and control-plane health * App Hub one-click installs with HTTPS/TCP expose * Dedicated VPC, gateway firewall (baseline or your security group), Traefik and MetalLB options, per-GB volume-backed persistent storage * [99.90% monthly SLA](/products/build/kubernetes/details/sla) and 24/7 support ## Not offered yet Honest list of gaps we're working on: * **Multiple regions** — us-east only * Windows nodes, GPU nodes, IPv6 # Kubernetes pricing Source: https://docs.rafftechnologies.com/products/build/kubernetes/details/pricing Worker node plans, HA control-plane fee and per-GB volume storage <sub>Updated September 7, 2026</sub> The single-master control plane is free. You pay per worker node, plus \$30/month for the optional HA control plane. Persistent storage is not part of the cluster price — PersistentVolumeClaims are billed per GB as you create them. Prices below are per node; live values come from the [pricing API](/api-reference/kubernetes/list-node-plans). ## Worker node plans Two CPU tiers, same convention as [VM plans](/products/build/virtual-machines/details/pricing): **Shared** for general workloads, **CPU-Optimized** with a much higher CPU commitment for steady, compute-heavy workloads (databases, CI runners, batch processing). ### Shared CPU | Plan | vCPU | Memory | \$/month | \$/hour | | - | - | - | - | - | | K8s Starter | 1 | 2 GB | \$9.99 | \$0.013875 | | K8s Standard | 2 | 4 GB | \$17.99 | \$0.024986 | | K8s Performance | 4 | 8 GB | \$33.99 | \$0.047208 | | K8s High Memory | 8 | 16 GB | \$71.99 | \$0.099986 | | K8s Large | 8 | 32 GB | \$119.99 | \$0.166653 | | K8s Scale | 16 | 64 GB | \$229.99 | \$0.319431 | ### CPU-Optimized | Plan | vCPU | Memory | \$/month | \$/hour | | - | - | - | - | - | | K8s CO Standard | 2 | 4 GB | \$36.99 | \$0.051375 | | K8s CO Performance | 4 | 8 GB | \$72.99 | \$0.101375 | | K8s CO High Memory | 8 | 16 GB | \$144.99 | \$0.201375 | | K8s CO Large | 8 | 32 GB | \$192.99 | \$0.268042 | | K8s CO Scale | 16 | 32 GB | \$288.99 | \$0.401375 | Every worker has a 25 GB NVMe root disk for the OS, container images, logs and ephemeral storage. Persistent volumes are [Raff Volumes provisioned by your PVCs](/products/build/kubernetes/concepts/storage), priced below. ## Add-ons | Item | Price | | - | - | | HA control plane (3 masters, 2 gateways) | \$30.00/month | | Persistent volume storage (`raff-block` PVCs) | \$0.10/GB/month, billed hourly (10 GB–1 TB per volume) | You pay for exactly the storage your claims request — every GB billed is a GB you can use. Pay-as-you-go bills hourly per existing node; subscriptions commit the node set monthly, with PVC storage always billed hourly on top — see [Billing model](/products/build/kubernetes/concepts/billing-model). Kubernetes itself uses about 1 GB of memory per node — prefer fewer, larger nodes over many small ones. # Kubernetes SLA Source: https://docs.rafftechnologies.com/products/build/kubernetes/details/sla 99.90% monthly uptime commitment for managed Kubernetes, and how service credits work <sub>Updated October 14, 2026</sub> Managed Kubernetes carries a **99.90% monthly uptime commitment**, measured per calendar month. ## What is covered | Component | Commitment | | - | - | | Worker nodes | 99.90% | | Managed endpoint and ingress path | 99.90%, on every cluster | HA does not change the commitment, but it keeps the endpoint up through a node failure: the endpoint is a redundant gateway pair with automatic failover and the control plane runs 3 nodes. For production workloads, [enable HA](/products/build/kubernetes/quickstart-guides/upgrade-to-ha). ## Service credits If monthly uptime falls below the commitment, you receive credits on the affected service, applied against future invoices: | Monthly uptime | Credit | | - | - | | 99.90% – 99.0% | 10% | | 99.0% – 95.0% | 25% | | Below 95.0% | 100% | ## Exclusions Announced maintenance, factors outside Raff infrastructure, and workload-level issues inside the cluster (for example your own Ingress or application configuration). ## Support All managed services include **24/7 support**; a support phone line is available for urgent situations — contact us to set it up. # Kubernetes supported versions Source: https://docs.rafftechnologies.com/products/build/kubernetes/details/supported-versions Which Kubernetes releases you can run, and how new versions and upgrades arrive <sub>Updated August 24, 2026</sub> | Version | Distribution | Status | | - | - | - | | **v1.33** | RKE2 (v1.33.4+rke2r1) | Default — new clusters | | **v1.34** | RKE2 (v1.34.10+rke2r1) | Available — create or upgrade | | **v1.35** | RKE2 (v1.35.7+rke2r1) | Available — create or upgrade | The current list is always available from [List Kubernetes Versions](/api-reference/kubernetes/list-kubernetes-versions), and the upgrade targets for your cluster from [Get cluster upgrades](/api-reference/kubernetes/get-cluster-upgrades). ## How versions are offered Up to three Kubernetes minor versions are offered at a time. When a new upstream release ships, we validate it on our infrastructure before it appears in your dashboard. The oldest version is then retired on a schedule (see below). Creating a cluster on a version newer than the base image is supported: the cluster provisions and then upgrades itself to your chosen version before it is handed over — this is part of the normal 10–20 minute creation time. Within a minor version we offer one specific patch release (for example v1.34.10). When a newer patch is validated, it replaces the older one as the upgrade target for that line. ## In-place upgrades Clusters upgrade in place from the dashboard (Settings → Kubernetes version), the [API](/api-reference/kubernetes/upgrade-cluster-version), or the CLI. Upgrades are rolling: * Control-plane nodes upgrade one at a time. On an HA cluster the Kubernetes API stays available throughout; on a single-master cluster the API is briefly interrupted while the master restarts. * Workers are cordoned and drained before upgrading, one at a time. Workloads with more than one replica keep serving. * Minor versions upgrade sequentially (1.33 → 1.34 → 1.35, no skipping). Patch upgrades within a minor are always allowed. * Upgrades cannot be rolled back. Upgrades are free — the price of the cluster does not change. ## Automatic upgrades and maintenance windows Each cluster has an upgrade mode: * **Manual** (default) — you start every upgrade yourself. * **Auto-patch** — patch releases apply automatically inside your maintenance window, with a notice email about 72 hours before. * **Auto-minor** — new minor versions also apply automatically, after a stability period following their release. The maintenance window is a weekly 4-hour slot (day + start hour, UTC) you can change in cluster Settings. It is not downtime: upgrades are rolling and workloads keep running. ## End of life When a version approaches end of life, account owners are emailed 60 days and again 14 days before the date. Clusters still on the version at end of life are upgraded to the next minor automatically in their maintenance window, regardless of upgrade mode. # Kubernetes Source: https://docs.rafftechnologies.com/products/build/kubernetes/index Managed Kubernetes clusters — free single-master control plane, optional paid HA, autoscaling node pools, billed per worker node <sub>Updated October 14, 2026</sub> Raff Kubernetes is a managed Kubernetes service. Pick a worker plan and a node count; 10–20 minutes later you have a running cluster and a kubeconfig. We operate the control plane, keep it monitored, and roll out version upgrades in place — you deploy with the tools you already use: kubectl, Helm, your CI. The control plane is free — you pay only for worker nodes, from \$9.99/month each. High availability (3 masters and a redundant gateway) is a flat \$30/month. Every cluster runs RKE2 with Cilium networking in its own VPC, behind a managed gateway with a dedicated public IP. ![Kubernetes cluster overview in the Raff dashboard — live node, pod, CPU, memory and control-plane health cards](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/hero.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=eb4e8c36333b7f0cec5b91a7bbcba93b) ## At a glance | Property | Value | | - | - | | **Kubernetes distribution** | RKE2 — v1.33 to v1.35 — see [Supported versions](/products/build/kubernetes/details/supported-versions) | | **Control plane** | Managed and free; optional [HA (3 masters)](/products/build/kubernetes/concepts/control-plane-and-ha) for \$30/month | | **Worker nodes** | [Node pools](/products/build/kubernetes/concepts/node-pools-and-autoscaling) of 1–20 nodes, each with its own plan, labels, taints and optional autoscaling | | **Networking** | Dedicated VPC per cluster, Cilium CNI, optional Traefik ingress and MetalLB — see [Networking](/products/build/kubernetes/concepts/networking) | | **Cluster access** | Kubeconfigs that expire, or a self-renewing one from the CLI — see [Cluster access](/products/build/kubernetes/concepts/cluster-access) | | **Storage** | Built-in `raff-block` storage class — PVCs are provisioned as Raff Volumes, billed per GB — see [Storage](/products/build/kubernetes/concepts/storage) | | **Apps** | One-click App Hub (Argo CD, Grafana, PostgreSQL, WordPress, …) from the dashboard | | **Access** | Admin kubeconfig download; full `kubectl` / Helm / CI compatibility | | **API** | Full [REST API](/api-reference/kubernetes/list-clusters) — clusters, pools, kubeconfig, metrics | | **Billing** | Per worker node — see [Billing model](/products/build/kubernetes/concepts/billing-model) and [Pricing](/products/build/kubernetes/details/pricing) | | **SLA & support** | [99.90% monthly](/products/build/kubernetes/details/sla) · 24/7 support | | **Region** | us-east | ## Get started > [card] [Create a cluster](/products/build/kubernetes/quickstart-guides/create-a-cluster) > > From zero to a running cluster in 10–20 minutes > [card] [Connect with kubectl](/products/build/kubernetes/quickstart-guides/connect-with-kubectl) > > Download the kubeconfig and run your first commands > [card] [Scale a node pool](/products/build/kubernetes/quickstart-guides/scale-a-node-pool) > > Add capacity by hand or let the autoscaler do it > [card] [Install an app](/products/build/kubernetes/quickstart-guides/install-an-app) > > One-click Grafana, Argo CD, PostgreSQL and more ## How a cluster is built Every cluster gets its own **VPC**, a **gateway** (public IP, NAT, load-balancer entry point), one or three **control-plane nodes** (on hypervisor-local NVMe for fast etcd), and your **worker pools**. Persistent volumes attach to workers on demand as Raff Volumes. The full picture is in [Cluster architecture](/products/build/kubernetes/concepts/cluster-architecture). # Add a Kubernetes node pool Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/add-a-node-pool Add a pool of worker nodes with its own labels, taints and autoscaling bounds <sub>Updated August 24, 2026</sub> Node pools group workers, labels and taints. Use separate pools to organize workloads — e.g. a general pool plus a tainted CPU-Optimized pool reserved for databases. Each pool picks its own node plan. ## Steps **1. Open the Pools tab** On the cluster page, open **Node pools** and click **Add node pool**. **2. Name it and choose size and count** Pool names follow the same rules as cluster names. Pick a node plan — any plan, independent of the other pools — and 1–20 nodes; optionally enable autoscaling with min/max bounds. **3. Confirm** On pay-as-you-go clusters the pool is created immediately and bills per node-hour. On subscription clusters you are taken through checkout for the pro-rated cost first. ## Verify The new pool appears with status **provisioning**, then **running** once every node has joined. Nodes carry the pool's labels and taints automatically — check with `kubectl get nodes --show-labels`. ## Next steps > [card] [Scale a node pool](/products/build/kubernetes/quickstart-guides/scale-a-node-pool) > > Change node counts or let autoscaling manage them > [card] [Node pools & autoscaling](/products/build/kubernetes/concepts/node-pools-and-autoscaling) > > How pools, labels, taints and the autoscaler work # Connect to Kubernetes with kubectl Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/connect-with-kubectl Get a kubeconfig and run kubectl against your cluster <sub>Updated August 24, 2026</sub> Every cluster exposes its API server on a public endpoint (`https://<cluster-id>.k8s.raffusercloud.com:6443`). Access is by the cluster's kubeconfig. There are two ways to get one, and the difference is only about renewal: | | How you get it | When it stops working | | - | - | - | | **CLI** (recommended) | `raff kubernetes kubeconfig <cluster-id>` | Never — it fetches a fresh token for every command and stores no credential on disk | | **Dashboard download** | **kubeconfig** button on the cluster | After 7 days by default — pick 1 hour to 30 days under **Settings → Access**, or switch to the CLI | Every credential we issue expires. Rotating access invalidates all of them at once — see [Cluster access and credentials](/products/build/kubernetes/concepts/cluster-access). ## Before you start * A cluster in **Running** state * [kubectl](https://kubernetes.io/docs/tasks/tools/) installed locally ## Steps ### Option A — the CLI (nothing to renew) ```bash theme={null} raff kubernetes kubeconfig <cluster-id> --save ~/.kube/config kubectl get nodes ``` The file it writes contains no credential: `kubectl` calls the Raff CLI for a short-lived token before each request. Anyone who copies the file cannot use it without your API key. ### Option B — download from the dashboard **1. Download the kubeconfig** Open the cluster and click **kubeconfig** in the header (also available under **Settings**). ![Cluster Settings page with the kubeconfig Download button](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/kubeconfig-download.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=f08568a597fc48edb6220264d9b422fc) **2. Point kubectl at it** ```bash theme={null} export KUBECONFIG=~/Downloads/<cluster-name>.yaml kubectl get nodes ``` You should see your control-plane and worker nodes in `Ready` state. **3. Deploy something** ```bash theme={null} kubectl create deployment web --image=nginx --replicas=2 kubectl get pods -o wide ``` > [!WARNING] > > A downloaded kubeconfig grants **full cluster-admin access until it expires** (7 days by default). Store it like a password and never commit it to a repository. For CI and anything long-running, use the CLI instead — it keeps no credential on disk. You can also issue one from the [API](/api-reference/kubernetes/get-kubeconfig), and **Settings → Access → Revoke** invalidates every issued kubeconfig immediately. ## Next steps > [card] [Expose a service](/products/build/kubernetes/quickstart-guides/expose-a-service) > > Reach your workload from the internet > [card] [View logs & metrics](/products/build/kubernetes/quickstart-guides/view-logs-and-metrics) > > Watch workloads without leaving the dashboard # Create a Kubernetes cluster Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/create-a-cluster Launch a managed Kubernetes cluster from the dashboard in 10–20 minutes <sub>Updated August 24, 2026</sub> Create a cluster with one or more worker pools. Provisioning takes 10–20 minutes; you can watch every step in the cluster's Activity feed. ## Before you start * An account with billing enabled and a project to put the cluster in * A rough idea of the workload size — you can [scale pools](/products/build/kubernetes/quickstart-guides/scale-a-node-pool) any time ## Steps **1. Open Kubernetes and click New cluster** In the dashboard, go to **Kubernetes** and click **New cluster**. ![Kubernetes page in the Raff dashboard with the New cluster button](https://mintcdn.com/rafftechnologiesllc/X8oG-n05u5DQAgSQ/images/products/compute/kubernetes/create-start.png?fit=max\&auto=format\&n=X8oG-n05u5DQAgSQ\&q=85\&s=ef451d3f82daa8411fc9f767c5b741cb) **2. Name the cluster and pick a version** Names are 1–63 lowercase letters, digits or hyphens, unique in your account. Leave the version on the default unless you need a specific one. **3. Choose the control plane** The standard control plane (1 node) is free. Pick **High availability · 3 masters** for \$30/month — recommended for production. See [Control plane & HA](/products/build/kubernetes/concepts/control-plane-and-ha). ![Control plane step with single master and high availability options](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/create-ha.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=68848af97bff99458da0d7bd16bfb094) **4. Configure node pools** Pick a worker plan and node count for the first pool. Add more pools for mixed workloads — each pool can use a different plan or tier — set labels and taints per pool, and enable **autoscaling** with min/max bounds if you want the cluster to size itself. ![Node pools step with worker plans, node count, autoscale, labels and taints](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/create-pools.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=73eefec964be618f474480d6667e9e01) **5. Pick add-ons** Cilium CNI and **persistent storage** (the `raff-block` storage class — PVCs are billed per GB as you create them, nothing to size here) are always included. Optionally enable **Traefik** (ingress) and **MetalLB** (LoadBalancer services). Defaults are fine for a first cluster. ![Add-ons step with Cilium, persistent storage sizing, Traefik and MetalLB](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/create-addons.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=abba4bf4a293862169dbff4ee62bbdef) **6. Choose the network and firewall** The cluster gets its own VPC automatically, or pick an existing one. The **managed firewall** applies a security group to the cluster's public entry point — the baseline `raff-default-secure` opens 80, 443 and 6443 only. You can change it any time in **Settings → Firewall**. ![Network step with VPC selection and managed firewall](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/create-network.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=f1365486dff7749705653d2c3b949889) **7. Review and create** The summary shows every choice and the exact monthly price before you confirm. ![Review step with configuration summary and monthly cost](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/create-review.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=14e1df011e0b1b32b1e5d4bb7f1b6938) ## Verify The cluster page shows live provisioning events. When the status badge turns **Running** and every pool shows **running**, the cluster is ready — download the kubeconfig and [connect with kubectl](/products/build/kubernetes/quickstart-guides/connect-with-kubectl). ## Next steps > [card] [Connect with kubectl](/products/build/kubernetes/quickstart-guides/connect-with-kubectl) > > Download the kubeconfig and deploy > [card] [Create via API](/api-reference/kubernetes/create-cluster) > > Automate cluster creation with the REST API # Delete a Kubernetes cluster Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/delete-a-cluster Remove a cluster and all its infrastructure <sub>Updated August 24, 2026</sub> Deleting a cluster removes its nodes, gateway, VPC, reserved IPs and DNS records. **All workloads and data on the cluster are destroyed** — this cannot be undone. ## Steps **1. Open Settings → Danger zone** On the cluster page, open **Settings** and click **Delete Cluster**. **2. Confirm by typing the cluster name** Deletion runs in the background and finishes in a couple of minutes. Subscription clusters have their remaining balance credited back automatically. > [!NOTE] > > If part of the teardown fails, the cluster stays visible with a **Delete failed** badge and nothing is removed or billed incorrectly — click **Retry delete** to run it again. # Expose a Kubernetes service Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/expose-a-service Publish workloads with Traefik ingress, MetalLB, or a TCP port on the cluster's public IP <sub>Updated August 24, 2026</sub> Every cluster sits behind a managed gateway with one public IP. Ports **80 and 443** are forwarded into the cluster; how traffic is routed from there is up to you. ## Option 1 — Traefik ingress (HTTP/HTTPS) If the cluster was created with **Traefik**, it is the standard IngressClass and plain Kubernetes `Ingress` resources work as-is — the recommended production shape is **Services as `ClusterIP` + Traefik Ingress** through the managed endpoint; no separate load balancer is needed. **Custom domains & TLS:** point your domain's A record at the cluster endpoint and use the cluster's cert-manager/Let's Encrypt issuer for automatic certificates: ```yaml theme={null} metadata: annotations: cert-manager.io/cluster-issuer: raff-letsencrypt ``` Every cluster also gets a wildcard subdomain under `<cluster-id>.k8s.raffusercloud.com` out of the box. ## Option 2 — App Hub expose (simplest) For apps installed from App Hub, click **Expose** — the platform creates the ingress and TLS certificate for you at `https://<app>.<cluster-id>.k8s.raffusercloud.com`, or forwards a raw TCP port (e.g. PostgreSQL 5432) on the public IP. Without an expose, the app stays private to the cluster. ## Option 3 — MetalLB (LoadBalancer services) With **MetalLB** enabled, `Service type=LoadBalancer` gets a private IP from the cluster's address pool — useful inside the VPC or behind your own port forwards. Manage the pool size on the cluster's settings (up to 32 addresses). > [!NOTE] > > The gateway's firewall controls what reaches the cluster from the internet — see [Networking](/products/build/kubernetes/concepts/networking). # Install an app from App Hub Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/install-an-app Install, configure, expose and upgrade Helm charts from the dashboard <sub>Updated August 24, 2026</sub> App Hub installs popular Helm charts into your cluster. Available apps include Argo CD, Grafana, cert-manager, Sealed Secrets, PostgreSQL, MySQL, Redis, MongoDB, n8n, NextCloud, Mattermost, Loki and kube-prometheus-stack. Apps are free — they run on your existing nodes, and only the nodes bill. ## Install On the cluster page, open **Apps** and pick an app from the catalog. ![App Hub catalog with one-click Helm charts and an installed Grafana release](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/app-hub.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=c62bac04ac9422c453d375b32cc7888b) The install dialog has three fields: ![Install dialog with release name, namespace and values fields](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/app-install-dialog.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=0d7906f11e3e2de2d6eb16da31b7570a) * **Release name** — the Helm release name, and part of the app's public URL if you expose it later. Lowercase letters, digits and hyphens, up to 53 characters, unique per cluster. Keep the default unless you install the same app twice. * **Namespace** — the Kubernetes namespace the app installs into. Created automatically if it does not exist. Each app defaults to its own namespace, which keeps uninstalls clean. * **Values (advanced)** — a JSON object merged over the chart's default values, passed to Helm as-is. Use the chart's own value names (for example, Grafana uses `replicas`, not `replicaCount`) — the **Chart documentation and available values** link inside this section opens the chart's docs. Leave empty for defaults. Limit: 64 KB. Clicking **Install** creates the release in the background: the chart is fetched from its repository and installed with a 5-minute timeout. The card shows **Installing**, then **Active** or **Failed**. Every step is recorded in the cluster's Activity feed. > [!NOTE] > > Apps marked **Needs persistent storage** (databases, NextCloud, …) store their data on [persistent volumes](/products/build/kubernetes/concepts/storage) — included on every cluster, billed per GB. ## Credentials Database apps (PostgreSQL, MySQL, Redis, MongoDB) get a generated password at install time. It is stored only inside your cluster, in a Secret named `<release>-raff-creds` in the app's namespace — never on Raff's side. Click **Credentials** on the installed app to reveal the username, password and in-cluster host (`<release>.<namespace>.svc.cluster.local`). The password stays the same across upgrades. ## Expose (publish) **An installed app is not public.** Until you expose it, it is reachable only from inside the cluster — no URL, no open port. Exposing is the explicit step that opens it to the internet. Each installed app has three actions — **Expose**, **Upgrade**, **Uninstall**: ![Installed app row with Expose, Upgrade and Uninstall actions](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/app-installed-actions.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=347b0cd079dbe6e704071fed64505f89) Two ways to expose: * **HTTPS** — click **Expose**. This creates an Ingress routed through Traefik at `https://<release>.<cluster-id>.k8s.raffusercloud.com` and returns the URL immediately. A Let's Encrypt certificate is issued automatically; on the first exposure of a cluster this takes a few minutes, during which the URL serves a placeholder certificate. Requires the Traefik add-on. * **TCP** — for apps that should be reached on a raw port (databases). The app's LoadBalancer service gets a public port on the cluster's IP, forwarded by the gateway. Requires the MetalLB add-on. Active ports are listed under **Settings → Public TCP ports**. **Unexpose** removes the route or port and the app is no longer reachable from the internet. The app keeps running inside the cluster either way. For your own workloads (not App Hub apps), see [Expose a service](/products/build/kubernetes/quickstart-guides/expose-a-service). ## Upgrade / reconfigure **Upgrade** re-runs the chart in place with the catalog's current chart version and your values merged over the defaults. Use it for two things: * **Change configuration** — edit the values JSON in the upgrade dialog; the release is updated without reinstalling and without data loss. * **Pick up chart updates** — when the catalog carries a newer chart version, Upgrade moves the release to it. The card shows **Upgrading**, then **Active** or **Failed**. Persistent data (volumes, generated credentials) survives upgrades. Uninstall removes the release and its namespace resources; data on persistent volumes is deleted with it. # Scale a Kubernetes node pool Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/scale-a-node-pool Add or remove worker nodes by hand, or set autoscaling bounds <sub>Updated August 24, 2026</sub> Scale a pool between 2 and 20 nodes. Scaling down never kills your workloads abruptly: each node is cordoned and drained first, respecting PodDisruptionBudgets. ## Steps **1. Open the pool's scale control** On the **Node pools** tab, use the +/− stepper on the pool card, or click the count to open the scale dialog with a cost preview. ![Node pools tab with the scale control and per-node pricing](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/scale-pool.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=25cce5450d530c046b4f34e90850cd6c) **2. Confirm the new count** Scale-up deploys new nodes (\~3 minutes each). Scale-down runs in the background: newest nodes are drained one at a time, then removed. The pool shows a **Scaling** badge until it settles. > [!NOTE] > > **Zero-downtime rule:** a node is only removed once every pod on it has been evicted. If a PodDisruptionBudget blocks eviction for 10 minutes, scaling stops, the node is restored, and the pool's status message names the blocking pod. Workloads with a **single replica** still restart during scale-down — there is no second copy to serve while the pod moves; run 2+ replicas for anything that must stay up. ## Autoscaling Enable autoscaling per pool with min/max bounds (**Edit autoscale** on the pool card). The autoscaler adds nodes as soon as pods can't be scheduled for lack of CPU/memory, and removes one when a node's pod requests stay under 50% for 10 minutes and its pods fit elsewhere — always inside your bounds, with at most one scale-down per 10 minutes. ## Next steps > [card] [Node pools & autoscaling](/products/build/kubernetes/concepts/node-pools-and-autoscaling) > > The rules the autoscaler follows > [card] [Scale via API](/api-reference/kubernetes/scale-node-pool) > > Automate scaling with the REST API # Upgrade the Kubernetes version Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/upgrade-kubernetes-version Move a cluster to a newer Kubernetes version with a rolling in-place upgrade <sub>Updated August 24, 2026</sub> Clusters upgrade in place: control-plane nodes one at a time, then workers drained one at a time. On an HA cluster the Kubernetes API stays available throughout; on a single-master cluster the API is briefly interrupted while the master restarts. Workloads with more than one replica keep serving either way. Upgrades are free and cannot be rolled back. ## Steps **1. Open Settings** On the cluster page, open **Settings** and find **Kubernetes version**. The card shows your current version and the available targets — minor versions are offered sequentially (1.33 → 1.34, no skipping). ![Kubernetes version card in cluster Settings — current version, upgrade mode, and maintenance window](https://mintcdn.com/rafftechnologiesllc/kqSIuas76DRL-V4V/images/products/compute/kubernetes/version-card.png?fit=max\&auto=format\&n=kqSIuas76DRL-V4V\&q=85\&s=845cafbbeefbda808abc4a57aa639b03) **2. Choose a version and upgrade** Pick the target version and click **Upgrade**. Confirm the dialog — on a single-master cluster it warns about the brief API interruption. **3. Watch the progress** The header shows an **Upgrading** badge and the **Activity** feed reports each node as it moves to the new version ("2 of 5 nodes upgraded"). A 5-node cluster typically takes 5–15 minutes. ## Verify When the badge clears, the cluster header shows the new version, and `kubectl get nodes` lists every node on it: ```bash theme={null} kubectl get nodes ``` ## Automatic upgrades In the same Settings card you can switch the upgrade mode: * **Manual** (default) — you start every upgrade yourself. * **Auto-patch** — patch releases (e.g. 1.34.6 → 1.34.9) apply automatically in your weekly maintenance window, with a notice email \~72 hours before. * **Auto-minor** — new minor versions too, after a stability period. The maintenance window is a 4-hour weekly slot (day + start hour, UTC). It is not downtime — upgrades are rolling and workloads keep running. > [!NOTE] > > When a version reaches end of life, remaining clusters are upgraded automatically in their maintenance window regardless of mode. You are emailed 60 and 14 days before. See [Supported versions](/products/build/kubernetes/details/supported-versions). # Upgrade to an HA control plane Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/upgrade-to-ha Promote a single-master cluster to a 3-master highly available control plane <sub>Updated August 24, 2026</sub> An HA control plane runs 3 masters with a replicated etcd, so the Kubernetes API stays up through a master failure. It costs a flat \$30/month; you can also enable it at cluster creation. ## Steps **1. Open Settings** On the cluster page, open **Settings** and find **High availability**. **2. Upgrade** Click **Upgrade to HA**. Pay-as-you-go clusters start immediately; subscription clusters go through checkout for the pro-rated fee first. The two new masters join over a few minutes with no API downtime. ![Nodes tab during an HA upgrade — two new masters provisioning while the cluster keeps running](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/ha-badge.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=d7f4818491de65d7ce5388608aad91b8) ## Verify The cluster header shows an **HA · 3 masters** badge, and `kubectl get nodes` lists three control-plane nodes. > [!NOTE] > > HA cannot be reversed from the dashboard — a 3-master control plane stays HA for the cluster's lifetime. # View Kubernetes logs and metrics Source: https://docs.rafftechnologies.com/products/build/kubernetes/quickstart-guides/view-logs-and-metrics Watch workloads, pod logs, node utilization and control-plane health from the dashboard <sub>Updated August 24, 2026</sub> The cluster page shows the following without any setup or port-forwarding: * **Overview / KPI strip** — nodes ready, pods, CPU and memory across the cluster, plus **control-plane health**: etcd latency p99 and 24-hour restart counts. Green means the control plane is healthy; sustained etcd latency above 100 ms or restarts indicate a problem on our side that we are alerted on. * **Workloads** — everything running in the cluster, read live from the cluster's API server. Read-only: you deploy and change workloads with kubectl, Helm or GitOps; this tab is for tracking. Five sub-tabs: * **Deployments / StatefulSets / DaemonSets** — each row shows the namespace, **Ready** count (`2/3` = 2 of 3 replicas ready), the container image with its tag, age, and a status: **Healthy** (all replicas ready), **Pending** (not ready yet, but created less than 10 minutes ago — still starting), **Degraded** (not all replicas ready past that window — worth investigating: check the pod's logs in the Logs tab). * **Services** — type, cluster IP and ports of every Service. * **Ingresses** — the HTTP routes into the cluster and their hosts. Filter by name or namespace to find a specific workload. A workload stuck **Degraded** with a rising restart count in the Logs tab is the usual sign of a crash loop or a failing image pull. ![Workloads tab listing deployments with namespace, readiness, image and health](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/workloads-tab.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=dd8022c57a607b1ddf14df1593e72efa) * **Metrics** — live utilization snapshot from the cluster's metrics-server: cluster-wide CPU, memory, pods and readiness, with a per-node breakdown. Refreshed every 60 seconds. ![Metrics tab with cluster-wide utilization and per-node CPU and memory breakdown](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/metrics-tab.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=281b50ac2537531150b5c1564c62486e) * **Pods & logs** — live pod list with streaming logs (tail, since, previous container). * **Nodes** — per-node readiness (Ready / Not ready / Cordoned), CPU and memory. * **Activity** — every action on the cluster from anyone in your org (dashboard or API), plus lifecycle events: provisioning steps, scaling, autoscaler actions, warnings. Retained for 90 days, exportable as CSV. ![Activity tab listing every cluster action with actor, source IP and result](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/activity-feed.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=50190f4c5f1466ba6bfc7d7309bcdce9) ![Logs tab streaming live pod logs with namespace and pod selectors, pause and download](https://mintcdn.com/rafftechnologiesllc/pydLUQqixwIwkrCw/images/products/compute/kubernetes/pods-logs.png?fit=max\&auto=format\&n=pydLUQqixwIwkrCw\&q=85\&s=c9fa0991e9189a6141626c08827324c2) The same data is available on the [metrics](/api-reference/kubernetes/get-cluster-metrics) and [events](/api-reference/kubernetes/list-cluster-events) API endpoints. For monitoring inside the cluster, install **Grafana** or **kube-prometheus-stack** from [App Hub](/products/build/kubernetes/quickstart-guides/install-an-app). # Kubernetes troubleshooting Source: https://docs.rafftechnologies.com/products/build/kubernetes/troubleshooting The issues people actually hit, and how to resolve them <sub>Updated August 24, 2026</sub> ## My PVC is stuck in Pending On clusters created since August 26, 2026 the `raff-block` default storage class is always present — check `kubectl get storageclass` and the PVC's events (`kubectl describe pvc <name>`). On older clusters created without storage nodes there is no default storage class — recreate the cluster (it will include `raff-block`), or use [Object Storage](/products/store/object-storage) for S3-style needs. ## Scale-down says a node "could not be emptied" A PodDisruptionBudget blocked eviction — the pool's status message names the pod. That's the platform protecting your availability: fix the PDB (e.g. `maxUnavailable: 0` with a single replica can never be drained) or scale the workload up first, then retry. ## My app went down briefly during scale-down Workloads with **one replica** restart when their node is drained — there's no second copy to serve meanwhile. Run 2+ replicas with a PodDisruptionBudget (`minAvailable: 1`) for anything that must stay up; the drain then waits for the moved pod to be ready. ## A node shows Cordoned Someone (or a scale-down in progress) marked it unschedulable. `kubectl uncordon <node>` reverses a manual cordon; a scale-down uncordons automatically if it aborts. ## The cluster shows "Delete failed" Teardown hit an infrastructure error and stopped **without removing anything**, so nothing is half-deleted or wrongly billed. Click **Retry delete** — if it persists, contact support with the cluster ID. ## Creating a cluster returns 402 from the API On a subscription account the API charges the saved payment method automatically. A `402` means the charge could not be set up — usually no active card, or a card that can't be auto-charged. Fix the payment method under Billing → Payment methods and retry, or create the cluster from the dashboard. ## kubectl says connection refused / certificate error Re-download the kubeconfig from the cluster page (it changes if the cluster was recreated), and check your firewall allows the API — port 6443 is open through the platform baseline, but a custom security group must allow it. ## An installed app ignores my custom values Values are passed to the Helm chart as-is; each chart has its own value names (Grafana uses `replicas`, Bitnami charts use `replicaCount`). Check the chart's documentation. # App types: web, private, worker, cron and job Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/app-types The five kinds of Raff app, how each one is reached, when it runs and which settings it has. <sub>Updated October 19, 2026</sub> Every Raff app has a type. The type decides whether the app gets an address, whether it runs all the time or only when needed, and which settings it has. You choose it under **What it is** when you create the app. ## How it works | Type | On the create page | In the Apps list | Address | Runs | | - | - | - | - | - | | Web | Website or API | Web Service | Public https address, custom domains | All the time, or sleeps when idle | | Private | Private service | Private Service | Private address for your other apps | All the time, or sleeps when idle | | Worker | Background worker | Background Worker | None | All the time | | Cron | Scheduled task | Cron Job | None | On a schedule, then stops | | Job | Runs once | One-off Job | None | When you start it, then stops | ### Web A web app gets a public https address, `https://<name>-<account id>.onraff.com`, with an automatic certificate. You can add your own domains, and apps deployed from GitHub can get a copy per pull request. Raff sends requests to the app's port, 8080 unless you set another. Your app should listen on the port in the `PORT` environment variable. ### Private A private app has no public address. Your other apps reach it at `<name>.<namespace>.svc.cluster.local` on its port; the app page shows the exact address. Raff asks for the port when you create a private app, so the address points at the port your app listens on. ### Worker A worker runs all the time and has no address. It has a fixed number of instances and no health check: it is live once it starts. ### Cron A cron app runs its command on a schedule and stops when the command ends. Its settings, under **Settings**, **Cron**: * **Schedule**: five fields (minute, hour, day of month, month, day of week). `0 2 * * *` runs every day at 02:00. * **Timezone**: an IANA name such as `UTC` or `Europe/London`. The default is UTC. * **Concurrency**: what happens when a run is due while the last one is still going. **forbid** (the default) skips the new run, **allow** lets runs overlap, **replace** cancels the running one. ### Job A job runs once each time you press **Run now**, then stops. Every run of a cron or job app is listed on its **Runs** tab with its result, and you can start a cron app's command with **Run now** too. ## When to use it * **Web**: sites, APIs, webhooks, dashboards. * **Private**: an internal API or service that only your web app calls. * **Worker**: queue consumers, chat bots, stream processors. * **Cron**: nightly reports, cleanups, syncs. * **Job**: database migrations, one-off imports, backfills. ## Trade-offs * The type is set when you create the app. To change it, create a new app. * Only web apps get custom domains and pull request previews. * Workers, cron and job apps have no address, so other apps cannot call them. * Cron and job apps have no scaling settings. Web, private and worker apps can run up to 6 instances each. ## Related > [card] [Networking and domains](/products/build/raff-apps/concepts/networking-and-domains) > > Public and private addresses, custom domains. > [card] [Run cron jobs and jobs](/products/build/raff-apps/quickstart-guides/run-cron-jobs-and-jobs) > > Schedules, Run now and the Runs tab. # How Raff Apps billing works Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/billing-model How Raff Apps are billed monthly or per second, what a sleeping, paused or deleted app costs, and how the spend cap works. <sub>Updated October 19, 2026</sub> Raff Apps bills the time your instances run, at the price of the app's size. Your account's billing mode decides whether you pay each app monthly in advance or per second from your balance. A spend cap, on by default, emails you as app usage grows and can pause apps at a limit you choose. ## How it works ### Monthly or pay-as-you-go * **Monthly (the default)**: each app is a monthly subscription for its size and number of instances. The first month is paid at checkout, at the price the create page shows. Instances above the plan, from scaling up or from an autoscaling maximum above it, are billed per second as usage. * **Pay-as-you-go**: every running instance is billed per second. The month's usage is charged at the end of the month, from your account balance first, then your card. The create page shows an estimate (`~$6.99/mo`). A month counts as 730 hours, so a size's monthly price is its hourly price for 730 hours. Apps you create with the API, the CLI, Terraform or an AI assistant (Raff MCP) are always pay-as-you-go. Monthly billing comes only from the dashboard's checkout. A database linked to an app is billed as a database, on its own. See [Database billing model](/products/store/databases/concepts/billing-model). ### What costs money on pay-as-you-go | The app is | It costs | | - | - | | Running | Its instances, per second | | Sleeping (scale to zero) | Nothing. The minutes it is awake are billed. | | A cron or job app | Only the time a run is going | | Paused | Nothing | | Deleted | Nothing after the delete. Usage up to it is billed. | Pull request previews are not billed. ### Pause and delete **Pause** stops the app and its billing; **Resume** starts it again. Deleting an app bills its usage up to the moment of deletion and nothing after. On monthly billing, the unused part of the month goes back to your account balance. ### Spend cap The spend cap watches app usage across your account. It is on by default at \$50 a month with **Keep apps running and email me**. Change it with **Manage cap** on the Apps page. * Raff emails the account owners and billing contacts at 75% and 90% of the cap, and again when it is reached. * With **Pause my apps**, pay-as-you-go apps stop when the cap is reached, until next month or until you raise the cap. Monthly apps within their plan keep running, and data is kept. * While apps are paused by the cap, Raff refuses to resume, create, deploy or scale up apps that count toward it, and to start job runs. Raise the cap or turn it off, and the paused apps start again within seconds. * The cap counts usage: pay-as-you-go instances, and the instances of monthly apps above their plan. Monthly plans paid at checkout and databases are not counted. * The cap is at least \$1 and at most \$1,000,000. ## When to use it * **Monthly** for apps that run all the time: one known price. * **Pay-as-you-go** for apps that sleep, cron jobs and short tests. * **Pause my apps** when a hard limit matters more than uptime, for example on test accounts. ## Trade-offs * Raff checks usage against the cap every 5 minutes, so spending can pass the cap by a few minutes of usage before apps pause. * On monthly billing, the size cannot be changed from the dashboard yet. Contact support to change it. * A sleeping app saves money only on pay-as-you-go. A monthly app's plan is paid in advance. ## Related > [card] [Pricing](/products/build/raff-apps/details/pricing) > > The price of every size. > [card] [Set a spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) > > Change the cap and what happens at it. # How Raff builds and runs your code Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/builds-and-sources Where a Raff app's code comes from (GitHub, a Docker image, a template or Docker Compose), how Raff builds it and how it runs. <sub>Updated October 19, 2026</sub> An app's code comes from one of four places: a GitHub repository, a public Docker image, a template or a Docker Compose file. Raff turns it into an image when it needs building, then runs that image with the CPU and memory of the app's size. ## How it works ### GitHub Connect GitHub once for your account, then pick a repository and a branch. Under **Build and start** you can set a **Folder** (for a repository that holds several apps), a **Dockerfile** path and a **Start command**. Raff downloads the branch over HTTPS and builds it in one of two ways: * **With a Dockerfile.** If the folder has a Dockerfile, Raff builds it and the create page shows **Dockerfile found**. The Dockerfile path is relative to the folder. * **Without one.** Raff detects the stack and builds it with buildpacks: Node.js, Python, Go, Ruby, PHP, Java and more. The create page shows, for example, **Node.js app found**, and finds the start command for you. Every push to the branch builds and deploys the app. You can change the branch, root directory and Dockerfile path later in **Settings**, **Repository**. ### Docker image Give the reference of a public image, such as `nginx:1.27-alpine`. Raff pulls it and runs it as it is: nothing is built. Set the **Port** the image listens on and, if you need to, a **Start command** that replaces the image's own. ### Template A template is a ready app: its image, port, health check and the settings it needs are filled in. See [Raff Apps templates](/products/build/raff-apps/details/templates). ### Docker Compose Paste a compose file and Raff proposes one app per service, which you review before creating them: * The first service with a port becomes a web app. Other services with a port become private apps, and services without one become workers. * Each service's `image`, `command`, `environment` and ports are imported. The `environment` values are stored as secrets. * Not imported, each with a warning: volumes, `env_file` (paste its contents on the **Environment** tab), `privileged` and `cap_add`. * A service that builds from source (`build:`) is imported without code. Connect its repository before you deploy it. ### Build variables Environment variables reach the running app only, unless you give them the **build** or **both** scope. Then Raff also passes them to the build: as build arguments for a Dockerfile (declare each one with `ARG`), and as environment variables for an automatic build. Frameworks that read settings at build time, such as Next.js `NEXT_PUBLIC_*` or Vite `VITE_*`, need this scope. Changing a build variable rebuilds the app. Apps that run a Docker image are never built, so they cannot have build variables. ### Running The image runs in its own sandbox. Its disk is temporary: files the app writes are lost on every deploy and restart. Keep data in a [database](/products/build/raff-apps/concepts/database-links). ## When to use it * **GitHub**: your own code, deployed on every push, with a preview per pull request. * **Docker image**: software that already ships an image, or images you build in your own pipeline and publish to a public registry. * **Template**: a known tool, running in minutes. * **Docker Compose**: moving a small multi-service project. ## Trade-offs * Images must be public. Private registries are not supported. * A build can run for 15 minutes. Repositories larger than 100 MB cannot be built. * Automatic builds keep a cache between builds; Dockerfile builds start from scratch each time. * Privileged containers and added Linux capabilities are not supported. ## Related > [card] [Deploy from GitHub](/products/build/raff-apps/quickstart-guides/deploy-from-github) > > Connect a repository and deploy on every push. > [card] [Deploy a Docker image](/products/build/raff-apps/quickstart-guides/deploy-a-docker-image) > > Run a public image as it is. > [card] [Import Docker Compose](/products/build/raff-apps/quickstart-guides/import-docker-compose) > > One app per compose service. > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Runtime and build scopes. # How apps connect to databases Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/database-links How a Raff app links to a managed PostgreSQL database, the DATABASE_* variables it gets, TLS and certificate checks, and what happens on delete. <sub>Updated October 19, 2026</sub> A link connects an app to a Raff managed PostgreSQL database. Raff creates a database user for the app, puts the connection settings in the app's environment variables and redeploys it. Connections go over Raff's private network, always with TLS. ## How it works ### Three ways to add a database * **When you create the app.** The **Database** section offers **No database**, **Postgres, free** and **Postgres** (\$7.99 a month, the smallest paid plan). Templates that need Postgres choose it for you. Raff creates the database, named `<app>-db`, shows **Starting the database**, links it as soon as it runs, then deploys the app. * **From the app.** On the **Bindings** tab, press **Attach** and choose a running database. * **From the database.** On the database's **Apps** tab, press **Link an app**, or **Start a new app** to create one that is linked from its first deploy. Each account has one free database. On monthly billing, an app and a new Postgres are bought in one checkout, as one order: the app, with the database as a line under it. If the database is not running within 30 minutes, the app deploys without it and you can attach one later. ### What the app gets | Variable | Value | | - | - | | `DATABASE_URL` | The full connection string | | `DATABASE_HOST` | `<database id>.private.db.raffusercloud.com` | | `DATABASE_PORT` | The port | | `DATABASE_USER` | The app's own database user | | `DATABASE_PASSWORD` | Its password | | `DATABASE_NAME` | The database name | | `DATABASE_CA_CERT` | The database's CA certificate, in PEM | A template also gets its own database settings filled in, so it uses the database without any change. A second linked database uses its own prefix, set in **Env var prefix** when you attach it (for example `ANALYTICS_URL`). `DATABASE_URL` stays with the first link. ### TLS and certificate checks Every link uses TLS, and new databases refuse connections without it. The host name is on the database's certificate, so your app can check the server with `DATABASE_CA_CERT`. Most PostgreSQL clients, such as psql, psycopg, pgx, Prisma and JDBC, try TLS first and connect with `DATABASE_URL` as it is. Node.js `pg` does not use TLS unless you pass it: ```js theme={null} const { Pool } = require('pg'); const pool = new Pool({ connectionString: process.env.DATABASE_URL, ssl: { ca: process.env.DATABASE_CA_CERT }, }); ``` Without the `ssl` option, Node.js fails with `pg_hba.conf rejects connection ... no encryption`. For a full check with psql or another libpq client, write the CA to a file and require verification: ```bash theme={null} printf '%s\n' "$DATABASE_CA_CERT" > /tmp/db-ca.crt PGSSLMODE=verify-full PGSSLROOTCERT=/tmp/db-ca.crt psql "$DATABASE_URL" ``` ### Users, previews and rotation * Each app gets its own database user, removed when the app is deleted. * **Rotate credentials** on the **Bindings** tab issues a new password and redeploys the app. The old password stops working at once. * Pull request previews never get a link's credentials. A preview starts without the database. * Links made before October 15, 2026 get the host name and `DATABASE_CA_CERT` on their next rotation. ### Deleting * **Deleting an app** lists its databases with **Keep** (the default) or **Delete**, and the price of keeping each one. A database that another app also uses is always kept. * **Deleting a database** that apps use lists them with **Keep** (the default) or **Delete**. A kept app loses the link and its `DATABASE_*` variables, and its next deploy starts without them. The database stays a product of its own: you can resize it, link it to other apps and keep it after the app is gone. See [Managed Databases](/products/store/databases). ## When to use it * Any app that keeps data. Files written inside an app are lost when it restarts or redeploys. * Templates that can use Postgres (n8n, Metabase, Grafana, Vaultwarden and Vikunja): with a database, their data survives restarts and redeploys. ## Trade-offs * A database is billed on its own, separately from the app. See [Managed Databases pricing](/products/store/databases/details/pricing). * The free database pauses after 7 days without connections. * Attaching, rotating and removing a link redeploy the app. ## Related > [card] [Add a database](/products/build/raff-apps/quickstart-guides/add-a-database) > > At create, from the app or from the database. > [card] [Database networking and security](/products/store/databases/concepts/networking-and-security) > > TLS, certificates and addresses on the database side. # Deploys, health checks and rollbacks Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/deploys-and-health-checks What starts a Raff app deploy, when a deploy counts as live, what health checks do and how rollbacks work. <sub>Updated October 19, 2026</sub> A deploy is one rollout of your app: get the code or image, build it when needed, start it and wait until it answers. The **Deploys** tab lists every deploy with its status, its build log and the reason when it failed. ## How it works ### What starts a deploy * Creating the app. * A push to the app's branch, for apps deployed from GitHub. * **Redeploy** on the app page, which runs what is live now. On an app in error the button reads **Retry build**. * Saving a setting that changes the running app: the port, the start command or the health check path. On a failed app, saving one of them starts a deploy. * Saving environment variables with **Save and redeploy**, attaching a database or rotating its credentials. Changing the size restarts the app on the new size. An app runs one deploy at a time. If several deploys wait their turn, only the newest runs and the older ones show **Canceled**. ### Statuses A deploy moves through **Queued**, **Building** (apps that Raff builds), **Deploying** and **Live**. When a new deploy goes live, the one before it shows **Replaced**. A deploy that does not go live shows **Failed** with the reason. ### When a deploy counts as live Raff moves traffic to a new deploy only once it answers: | The app has | Live when | Time allowed | | - | - | - | | A health check path, such as `/healthz` | The path returns a success status (200 to 399) on the app's port | 10 minutes | | No health check path | The app accepts connections on its port | 5 minutes | Workers have no port and no health check: they are live once they start. Raff keeps checking a running app, and one that stops answering shows **Error** with the reason. Every template has a health check. Add one to your own app when it needs time after its port opens, for example to run migrations at start. Set it in **Settings**, **Runtime**, **Health check path**; the path must start with `/`. ### Failed deploys A failed deploy says why in plain words, on the app page and on the **Deploys** tab. A failed build shows the last 10 lines of its build log; **Log** on the deploy shows the whole log. [Troubleshoot Raff Apps](/products/build/raff-apps/troubleshooting) lists each message and its fix. ### Rollbacks **Roll back** on an earlier deploy runs that deploy's image again, without a new build. Only a deploy that went live can be the target: the button shows on deploys marked **Replaced**. The rollback is listed as a new deploy, and the app keeps its current environment variables and settings. ## When to use it * Add a health check path to any app with a slow first start, or one that exposes a ready page. * Roll back when a new deploy went live but behaves wrongly. * Redeploy to restart an app on the same code. ## Trade-offs * An app without a health check counts as live as soon as its port opens, even if it is still setting up. * A rollback brings back code, not data. Changes your newer code made to a database stay. * An app that needs more than 10 minutes to start cannot go live. ## Related > [card] [Roll back a deploy](/products/build/raff-apps/quickstart-guides/roll-back-a-deploy) > > Go back to an earlier deploy. > [card] [View logs and metrics](/products/build/raff-apps/quickstart-guides/view-logs-and-metrics) > > Build logs, runtime logs and the timeline. # App isolation and security Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/isolation-and-security How Raff Apps keeps each app in its own sandbox, protects source code and secrets, and secures database links. <sub>Updated October 19, 2026</sub> Each Raff app runs in its own sandbox, separate from other customers' apps. Builds fetch your code over HTTPS with certificate checks, environment variable values are encrypted, and database links use TLS with a certificate your app can check. ## How it works ### A sandbox per app Every app runs in its own sandbox with its own kernel interface, instead of sharing the host's kernel directly with other customers' apps. For the same reason, privileged containers and added Linux capabilities (`privileged` and `cap_add` in Docker Compose) are not available. ### Network Only your own apps and functions can open a connection to your app's instances. Other customers' apps cannot reach them, including a private app's internal address. Public traffic reaches a web app only through its Raff address and your custom domains. ### Source code * Builds download your source over HTTPS and check the server's certificate. * Raff deploys only GitHub repositories that your own GitHub account can see. * A push deploys only the apps linked to that repository through your GitHub connection. * Pull requests from forks never get previews. Only branches in the repository itself do. ### Environment variables * Values are stored encrypted. * Values that look like secrets are hidden on the app page: names containing `KEY`, `SECRET`, `TOKEN`, `PASS` or `PASSWORD`, and URLs that carry a login. * A variable passed to the build can be read back from the built image. Keep credentials as runtime variables; the dashboard warns when you give a secret the build scope. ### Database links * Each app gets its own database user, removed when the app is deleted. * Links connect over Raff's private network, always with TLS. `DATABASE_CA_CERT` lets the app check the database's certificate. * Pull request previews never get a link's credentials, so unmerged code cannot reach the production database. ### Outbound mail Outbound connections on TCP port 25 are blocked for every app. Send email through a provider's submission port (587 or 465) or its HTTP API. ### Team access The **Shell** tab opens a terminal inside a running instance. It is available only to team members whose role allows it, and only while the app is live. ## When to use it * Keep API keys and passwords as runtime environment variables, not in your repository or image. * Check the database's certificate with `DATABASE_CA_CERT` instead of turning certificate checks off. * Give the shell only to team members who need to work inside running apps. ## Trade-offs * Software that needs privileged mode, kernel modules or added capabilities does not run on Raff Apps. Use a [virtual machine](/products/build/virtual-machines) instead. * Build variables are not secret inside the image. ## Related > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Secrets, scopes and redeploys. > [card] [How apps connect to databases](/products/build/raff-apps/concepts/database-links) > > Users, TLS and certificate checks. # App networking and domains Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/networking-and-domains Public https addresses, private addresses, ports, custom domains with automatic certificates and outbound traffic for Raff Apps. <sub>Updated October 19, 2026</sub> A web app gets a public https address and can serve your own domains. A private app gets a private address that your other apps call. Apps reach Raff managed databases over Raff's private network. ## How it works ### Public address Every web app gets `https://<name>-<account id>.onraff.com`. The account id is 12 hex characters from your account. The name part comes from the app name, at most 50 characters; if it is already taken in your account, Raff adds a short suffix. The address is fixed when the app is created. Renaming the app later changes only the name you see. HTTPS is automatic. ### Ports Raff sends requests to the app's port: 8080 unless you set another. Your app should listen on the port in the `PORT` environment variable. Change the port in **Settings**, **Runtime**, **HTTP port**. The platform reserves ports 8008, 8012, 8013, 8022, 9090 and 9091 on web apps and on private apps that scale to zero, so your app cannot use them. A request to a web app can run for up to 5 minutes. Run longer work in a worker or a job. ### Private address A private app is reached at `<name>.<namespace>.svc.cluster.local` on its port, for example `http://api.<namespace>.svc.cluster.local:8080`. The app page shows the exact address. A private app that scales to zero is reached on port 80 instead, and the app page shows that address. ### Custom domains Web apps can serve your own domains, with an automatic HTTPS certificate at no extra cost. On the app's **Connect** tab, under **Domains**, enter the domain and press **Add domain**. Raff then shows two DNS records to create at your DNS provider: | Type | Name | Value | What it does | | - | - | - | - | | TXT | `_raff-verify.<your domain>` | The verification value shown | Proves you own the domain | | CNAME | Your domain | The target shown | Sends traffic to Raff | Raff checks the records every 30 seconds, and **Check now** checks at once (5 times in 10 minutes). Once the records are right, Raff issues the certificate and the domain turns **Active**. The statuses on the way are **Waiting for DNS**, **Verifying DNS**, **DNS verified** and **Issuing certificate**. * **Root domain** (`example.com`): most DNS providers cannot put a CNAME on it. Use an A record to the same IP as the target, or your provider's ALIAS or CNAME flattening record. * **Cloudflare**: set the record to **DNS only** (grey cloud). A proxied record hides the CNAME and blocks the certificate. * A domain whose DNS is still not right after 24 hours turns to **Error**. Fix the records, then press **Check now**. * A domain can serve one app at a time. Addresses under `onraff.com` cannot be added as custom domains. * Deleting the app frees its domains. ### Outbound traffic Apps can connect out to the internet, except on TCP port 25 (SMTP), which is blocked. Send email through your provider's submission port (587 or 465) or its HTTP API. ### Databases Links to Raff managed PostgreSQL databases go over Raff's private network, always with TLS. See [How apps connect to databases](/products/build/raff-apps/concepts/database-links). ## When to use it * **The onraff.com address**: testing, and APIs that only your own code calls. * **A custom domain**: everything your users see. * **A private app**: services that only your other apps call, such as an internal API. ## Trade-offs * Requests are cut after 5 minutes. * Outbound port 25 is closed. * The onraff.com address cannot be changed after the app is created. ## Related > [card] [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain) > > DNS records, verification and the certificate. > [card] [App types](/products/build/raff-apps/concepts/app-types) > > Which apps get which address. # App sizes, scaling and sleeping Source: https://docs.rafftechnologies.com/products/build/raff-apps/concepts/sizes-and-scaling Raff Apps instance sizes, fixed instances, autoscaling on requests, scale to zero and the instance limits. <sub>Updated October 19, 2026</sub> Every instance of an app has the same size: a share of CPU, an amount of memory and a temporary disk. You choose how many instances run, whether Raff adds instances under load, and whether a web or private app sleeps when nobody uses it. ## How it works ### Sizes | Size | vCPU | Memory | Temporary disk | Good for | | - | - | - | - | - | | Micro | 0.25 | 512 MB | 2 GB | Tests and hobby projects | | Starter | 0.5 | 1 GB | 5 GB | Small sites and APIs | | Standard | 1 | 2 GB | 10 GB | Most production apps | | Pro | 2 | 4 GB | 20 GB | Busy apps | | Pro Max | 4 | 8 GB | 40 GB | Heavy work | | Scale | 8 | 16 GB | 80 GB | The largest apps | The create page lists sizes by their specs, for example **0.5 vCPU · 1 GB**. For prices, see [Raff Apps pricing](/products/build/raff-apps/details/pricing). An app cannot use more CPU than its size: a busy app runs slower instead. An app that runs out of memory is stopped and restarted. Change the size in **Settings**, **Instance size**; the app restarts on the new size. ### Fixed instances Web, private and worker apps run 1 to 6 instances. Each instance runs all the time and is billed at the size's price. Set the number in **Settings**, **Scaling**, **Instances**. ### Autoscaling Web apps, and private apps that scale to zero, can scale between **Min instances** and **Max instances**. Raff adds instances as the number of requests in progress per instance grows, and removes them as traffic drops. Workers and private apps that run all the time use a fixed number of instances. ### Scale to zero Web and private apps can sleep. With **Scale to zero** on, the app sleeps about 15 minutes after its last request and wakes on the next one. The first request after sleeping takes a few seconds longer while an instance starts. On pay-as-you-go, a sleeping app costs nothing; the minutes it is awake are billed like any running time. With autoscaling, scale to zero lets **Min instances** be 0. ### Instance limits | Limit | Value | Notes | | - | - | - | | Instances per app | 6 | Fixed instances, or the autoscaling maximum | | Instances per account | 20 | Web, private and worker apps. Paused, failed and not yet deployed apps count too, because resuming starts them again | Cron and job apps do not count. Scaling down is always allowed, even above a limit. Contact support to raise either limit. ## When to use it * **One fixed instance**: most small apps, and any app that keeps state in memory. * **Several fixed instances**: steady traffic, no waiting for new instances. * **Autoscaling**: traffic that rises and falls during the day. * **Scale to zero**: test apps, internal tools and sites with little traffic. ## Trade-offs * The first request after sleeping is slower by a few seconds. * Workers cannot sleep or autoscale. * Instances do not share memory or disk. Keep shared data in a [database](/products/build/raff-apps/concepts/database-links). * On monthly billing, the size cannot be changed from the dashboard yet. Contact support to change it. ## Related > [card] [Scale an app](/products/build/raff-apps/quickstart-guides/scale-an-app) > > Instances, autoscaling and scale to zero. > [card] [Pricing](/products/build/raff-apps/details/pricing) > > The price of every size. # Raff Apps features and limits Source: https://docs.rafftechnologies.com/products/build/raff-apps/details/features-and-limits App types, sources, sizes, deploy timeouts, ports, domains, previews, logs and every limit of Raff Apps in one place. <sub>Updated October 19, 2026</sub> The facts about Raff Apps in one place. ## App types | Type | Address | Scaling | Custom domains | Previews | | - | - | - | - | - | | Web | `https://<name>-<account id>.onraff.com` | Fixed, autoscaling, scale to zero | Yes | Yes, from GitHub | | Private | `<name>.<namespace>.svc.cluster.local` | Fixed; autoscaling with scale to zero | No | No | | Worker | None | Fixed | No | No | | Cron | None | None. **Concurrency** decides if runs overlap | No | No | | Job | None | None. One run per **Run now** | No | No | See [App types](/products/build/raff-apps/concepts/app-types). ## Sources | Source | What Raff does | | - | - | | GitHub | Builds the repository's Dockerfile, or detects the stack (Node.js, Python, Go, Ruby, PHP, Java and more) and builds it. Every push to the branch deploys. | | Docker image | Pulls a public image and runs it. Nothing is built. | | Template | Runs one of 16 ready apps. See [Raff Apps templates](/products/build/raff-apps/details/templates). | | Docker Compose | Proposes one app per service in a pasted compose file. | ## Sizes | Size | vCPU | Memory | Temporary disk | Previews per app | | - | - | - | - | - | | Micro | 0.25 | 512 MB | 2 GB | 2 | | Starter | 0.5 | 1 GB | 5 GB | 3 | | Standard | 1 | 2 GB | 10 GB | 5 | | Pro | 2 | 4 GB | 20 GB | 8 | | Pro Max | 4 | 8 GB | 40 GB | 10 | | Scale | 8 | 16 GB | 80 GB | 10 | ## Limits | Item | Limit | Notes | | - | - | - | | Region | US East | | | Instances per app | 6 | Fixed instances or the autoscaling maximum. Contact support to raise. | | Instances per account | 20 | Web, private and worker apps. Paused, failed and not yet deployed apps count too. Contact support to raise. | | App name in the address | 50 characters | A short suffix is added when the name is taken in your account | | Default port | 8080 | Web apps get the port in `PORT` | | Reserved ports | 8008, 8012, 8013, 8022, 9090, 9091 | Web apps and private apps that scale to zero | | Build time | 15 minutes | | | Repository size | 100 MB | GitHub | | Time to turn ready | 5 minutes, or 10 minutes with a health check | Per deploy | | Request duration | 5 minutes | Web apps | | Sleep after | About 15 minutes without requests | Apps with scale to zero | | Outbound TCP port 25 | Blocked | Use port 587 or 465, or an HTTP API | | Environment variable names | 253 characters | Letters, digits and underscores, not starting with a digit | | Database link prefix | 64 characters | | | Custom domains | Web apps | Error after 24 hours without working DNS | | DNS checks | Every 30 seconds | **Check now**: 5 times in 10 minutes | | Previews | Per size, table above | Web apps from GitHub. A preview runs on Micro and is removed 7 days after its last push. Forks are skipped. | | Free database | 1 per account | Pauses after 7 days without connections | | Saved shell commands | 50 per app | | ## History kept | Item | Kept | | - | - | | Runtime logs | 14 days | | Metrics | Views of the last 1 hour, 6 hours, 24 hours or 7 days | | Activity timeline | 30 days | | Cron and job runs | 30 days | ## Template minimum sizes | Template | Smallest size | | - | - | | Metabase | Standard (1 vCPU · 2 GB) | | LibreTranslate | Standard (1 vCPU · 2 GB) | | Stirling-PDF | Starter (0.5 vCPU · 1 GB) | | Every other template | Micro (0.25 vCPU · 512 MB) | ## Included with every app * Automatic HTTPS for the onraff.com address and custom domains. * Build logs, runtime logs, metrics (CPU, memory, instances, and requests for web apps), a shell inside running instances and an activity timeline. * Deploy history with rollback to any deploy that went live. * Encrypted environment variables. * A spend cap, on by default at \$50 a month. ## See also > [card] [Pricing](/products/build/raff-apps/details/pricing) > > Sizes, databases and the spend cap. > [card] [API Reference](/api-reference/apps/list-app-services) > > Endpoints for Raff Apps. # Raff Apps pricing Source: https://docs.rafftechnologies.com/products/build/raff-apps/details/pricing The price of every Raff Apps size per hour and per month, Postgres for apps, the spend cap, and how monthly and pay-as-you-go billing differ. <sub>Updated October 19, 2026</sub> Prices are in USD per instance, region US East. An app with three instances costs three times its size's price. HTTPS, custom domains and pull request previews are included. See [Billing model](/products/build/raff-apps/concepts/billing-model). ## Sizes | Size | vCPU | Memory | Temporary disk | Per hour | Per month | | - | - | - | - | - | - | | Micro | 0.25 | 512 MB | 2 GB | \$0.00411 | \$3.00 | | Starter | 0.5 | 1 GB | 5 GB | \$0.009575 | \$6.99 | | Standard | 1 | 2 GB | 10 GB | \$0.023274 | \$16.99 | | Pro | 2 | 4 GB | 20 GB | \$0.038342 | \$27.99 | | Pro Max | 4 | 8 GB | 40 GB | \$0.084918 | \$61.99 | | Scale | 8 | 16 GB | 80 GB | \$0.16437 | \$119.99 | The monthly price is the hourly price for 730 hours. ## Monthly or pay-as-you-go | | Monthly (the default) | Pay-as-you-go | | - | - | - | | How you pay | The monthly price per instance, at checkout | Per second of running time, from your account balance | | Instances above the plan | Billed per second at the hourly price | Every instance is billed per second | | A sleeping app (scale to zero) | Plan paid in advance | Nothing while it sleeps | | Delete | The unused part of the month goes to your balance | Billing stops | On pay-as-you-go, a cron or job app costs only while a run is going, and a paused app costs nothing. ## Postgres for an app Add a managed PostgreSQL database when you create the app, or link one later. It is billed as a database, on its own. | Plan | vCPU | Memory | Storage | Price | | - | - | - | - | - | | Postgres, free | 1 | 1 GB | 2 GB | Free. One per account, pauses after 7 days without connections. | | Postgres | 1 | 1 GB | 25 GB | \$7.99 per month | Bigger plans and high availability: see [Managed Databases pricing](/products/store/databases/details/pricing). ## Spend cap | Setting | Default | Range | | - | - | - | | Monthly cap | On, \$50 | \$1 to \$1,000,000, or off | | At the cap | Keep apps running and email me | Or pause pay-as-you-go apps | | Emails | 75%, 90% and 100% of the cap | To account owners and billing contacts | The cap counts pay-as-you-go instances and the instances of monthly apps above their plan. Monthly plans paid at checkout and databases are not counted. ## See also > [card] [Features and limits](/products/build/raff-apps/details/features-and-limits) > > What every app includes. > [card] [List Apps tiers](/api-reference/apps/list-app-tiers) > > The same sizes and prices from the API. # Raff Apps templates Source: https://docs.rafftechnologies.com/products/build/raff-apps/details/templates The 16 ready apps you can deploy on Raff Apps, what each one is, whether it uses Postgres, its smallest size, image, port and health check. <sub>Updated October 19, 2026</sub> A template is a ready app: Raff fills in its image, port, health check and the settings it needs to start. Every template is a web app with its own https address. Choose **Template** on the create page. ## Templates | Template | What it is | Postgres | Smallest size | Preselected size | | - | - | - | - | - | | NGINX | Static content and reverse proxy | No | Micro | Micro | | n8n | Workflow automation | Optional | Micro | Starter | | Uptime Kuma | Self-hosted status monitoring | No | Micro | Micro | | Metabase | Business intelligence and dashboards | Optional | Standard | Pro | | Grafana | Observability dashboards | Optional | Micro | Starter | | Vaultwarden | Bitwarden-compatible password manager | Optional | Micro | Micro | | Hello World | A small sample web app for a first deploy | No | Micro | Micro | | Excalidraw | Virtual whiteboard for sketching diagrams | No | Micro | Micro | | IT-Tools | Developer and sysadmin utilities | No | Micro | Micro | | Stirling-PDF | Self-hosted PDF toolkit | No | Starter | Starter | | LibreTranslate | Self-hosted machine translation API | No | Standard | Standard | | Kroki | Diagrams-as-code rendering service | No | Micro | Micro | | CyberChef | Tools to encode, decode and analyze data | No | Micro | Micro | | Umami | Privacy-friendly web analytics | Required | Micro | Micro | | Wiki.js | Wiki and documentation platform | Required | Micro | Starter | | Vikunja | To-do lists and project management | Optional | Micro | Micro | Sizes: Micro is 0.25 vCPU · 512 MB, Starter 0.5 vCPU · 1 GB, Standard 1 vCPU · 2 GB, Pro 2 vCPU · 4 GB. See [Raff Apps pricing](/products/build/raff-apps/details/pricing). ## Postgres * **Required** (Umami, Wiki.js): the app does not start without a database. The create page offers Postgres only: the free plan when your account's free database is still open, else the \$7.99 plan. * **Optional** (n8n, Metabase, Grafana, Vaultwarden, Vikunja): the create page also offers **No database**. Without one, the app keeps its data inside itself, and that data is lost when the app restarts or redeploys. Use Postgres for anything you want to keep. * **No** (the rest): the app needs no database. Any data it keeps inside itself is lost when the app restarts or redeploys. With Postgres, Raff links the database before the first deploy and fills in the template's own database settings, always with TLS. See [How apps connect to databases](/products/build/raff-apps/concepts/database-links). ## Sizes The create page lists smaller sizes than a template's smallest, but turns them off and marks them **Too small for** the template. Metabase, LibreTranslate and Stirling-PDF run out of memory on smaller sizes. You can move to a bigger size at any time. ## Images, ports and health checks Each template turns live only when its health check page answers. | Template | Image | Port | Health check | | - | - | - | - | | NGINX | `nginx:1.27-alpine` | 80 | `/` | | n8n | `n8nio/n8n:latest` | 5678 | `/healthz` | | Uptime Kuma | `louislam/uptime-kuma:1` | 3001 | `/` | | Metabase | `metabase/metabase:latest` | 3000 | `/api/health` | | Grafana | `grafana/grafana:11.4.0` | 3000 | `/api/health` | | Vaultwarden | `vaultwarden/server:1.32.7` | 80 | `/alive` | | Hello World | A small sample image in Go | 8080 | `/` | | Excalidraw | `excalidraw/excalidraw:latest` | 80 | `/` | | IT-Tools | `corentinth/it-tools:latest` | 80 | `/` | | Stirling-PDF | `stirlingtools/stirling-pdf:latest` | 8080 | `/` | | LibreTranslate | `libretranslate/libretranslate:latest` | 5000 | `/` | | Kroki | `yuzutech/kroki:latest` | 8000 | `/` | | CyberChef | `mpepping/cyberchef:latest` | 8000 | `/` | | Umami | `ghcr.io/umami-software/umami:postgresql-latest` | 3000 | `/api/heartbeat` | | Wiki.js | `ghcr.io/requarks/wiki:2` | 3000 | `/healthz` | | Vikunja | `vikunja/vikunja:latest` | 3456 | `/api/v1/info` | ## Settings Raff fills in These appear under **Environment variables** on the create page, and you can change them: | Template | Setting | Why | | - | - | - | | Metabase | `JAVA_OPTS=-XX:MaxRAMPercentage=75` | Lets Java use most of the app's memory | | LibreTranslate | `LT_LOAD_ONLY=en,es,fr` | Loads English, Spanish and French. All languages take several GB and too long to start. On Standard, keep to three languages. | | Vikunja | `VIKUNJA_SERVICE_PUBLICURL` | Set to the app's address; Vikunja does not start without it | ## See also > [card] [Deploy a template](/products/build/raff-apps/quickstart-guides/deploy-a-template) > > Pick a template, a size and a database. > [card] [Add a database](/products/build/raff-apps/quickstart-guides/add-a-database) > > Postgres for an app. # Raff Apps Source: https://docs.rafftechnologies.com/products/build/raff-apps/index Run websites, APIs, workers and scheduled jobs on Raff from GitHub, a Docker image, a template or a Docker Compose file, with an https address and Postgres in one step. <sub>Updated October 19, 2026</sub> Raff Apps runs your code without servers to manage: websites and APIs with an https address, private services, background workers, scheduled tasks and one-off jobs. Deploy from a GitHub repository (every push deploys), a public Docker image, one of 16 ready templates such as n8n and Metabase, or a Docker Compose file. Link a Postgres database in one step, add your own domain, and start from 0.25 vCPU and 512 MB for \$3 a month, in US East. ![TODO: Apps list in the Raff dashboard](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/hero.png) *** ## Most viewed > [card] [Deploy from GitHub](/products/build/raff-apps/quickstart-guides/deploy-from-github) > > Pick a repository. Raff builds it, and every push deploys. > [card] [Deploy a template](/products/build/raff-apps/quickstart-guides/deploy-a-template) > > n8n, Metabase, Uptime Kuma and 13 more ready apps. > [card] [Add a Postgres database](/products/build/raff-apps/quickstart-guides/add-a-database) > > Link Postgres and the app gets `DATABASE_URL`. > [card] [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain) > > Serve the app on your own domain with automatic HTTPS. *** ## Browse > [card] [Quickstart & guides](/products/build/raff-apps/quickstart-guides/deploy-from-github) > > Step-by-step dashboard tasks. > [card] [Concepts](/products/build/raff-apps/concepts/app-types) > > App types and how Raff Apps works. > [card] [Details](/products/build/raff-apps/details/features-and-limits) > > Features, sizes and limits. > [card] [Troubleshooting](/products/build/raff-apps/troubleshooting) > > Common issues and recovery. > [card] [API Reference](/api-reference/apps/list-app-services) > > Endpoints for Raff Apps. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Add a custom domain to an app Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/add-a-custom-domain Serve a Raff app on your own domain. Add two DNS records and Raff verifies the domain and sets up HTTPS for you. <sub>Updated October 19, 2026</sub> Serve a website or API on your own domain, such as `app.example.com`. You add two DNS records; Raff checks them and sets up the HTTPS certificate for you, at no extra cost. The app keeps its Raff address as well, so it stays reachable while your DNS changes spread. ## Before you start * A live app of the type **Website or API**. Other app types have no public address. * Access to the DNS settings of your domain, at your registrar or DNS provider. ## Steps **1. Open Domains** Open the app and go to the **Connect** tab. Find **Domains**. **2. Add the domain** Type the domain, for example `app.example.com`, and click **Add domain**. It shows as **Waiting for DNS**. **3. Create the two DNS records** At your DNS provider, create both records Raff shows. Each has a **Name / Host** and a **Value / Points to** you can copy: | Type | What it does | | - | - | | **TXT** | Proves you own the domain | | **CNAME** | Points traffic to Raff | ![TODO: Domains section with the TXT and CNAME records to copy](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/domain-records.png) **4. Wait for verification** Raff checks the records every 30 seconds. To check now, click **Check now**. The domain moves through **Verifying DNS**, **DNS verified** and **Issuing certificate** to **Active**. ## Verify When the domain shows **Active**, open `https://` and your domain. It serves the app with a valid certificate. If the domain shows **Error**, its message says what is wrong. Fix the record and click **Check now**. ## Good to know * **Cloudflare**: set both records to **DNS only** (grey cloud, not orange). A proxied record hides the CNAME and blocks the HTTPS certificate. * **Root domains** such as `example.com`: most providers cannot put a CNAME on the root. Use your provider's CNAME flattening or ALIAS record, or an A record to the same IP as the CNAME target. * **Remove a domain** with the trash icon next to it. Deleting the app also frees its domains. ## Use the API Add the domain. The response has the records to create, `cname_target`, `verification_txt_name` and `verification_txt_value`: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/domains \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "domain": "app.example.com" }' ``` Follow its `status` (`pending_dns`, `verifying`, `dns_verified`, `issuing_cert`, `active` or `error`) and check again after you change DNS: ```bash theme={null} # List the app's domains and their status curl https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/domains \ -H "X-API-Key: $RAFF_API_KEY" # Check DNS now curl -X POST https://api.rafftechnologies.com/api/v1/apps/domains/DOMAIN_ID/retry \ -H "X-API-Key: $RAFF_API_KEY" ``` See [Add custom domain](/api-reference/apps/add-app-custom-domain), [List custom domains](/api-reference/apps/list-app-custom-domains), [Retry domain verification](/api-reference/apps/retry-app-domain-verification) and [Delete custom domain](/api-reference/apps/delete-app-custom-domain). ## Use the CLI ```bash theme={null} # Add a domain and print the DNS records to create raff apps domains add SERVICE_ID app.example.com # Status of the app's domains raff apps domains list SERVICE_ID # Remove a domain raff apps domains delete DOMAIN_ID ``` ## Next steps > [card] [Deploy from GitHub](/products/build/raff-apps/quickstart-guides/deploy-from-github) > > Deploy on every push. > [card] [Troubleshooting](/products/build/raff-apps/troubleshooting) > > Common issues and recovery. # Add a Postgres database to an app Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/add-a-database Create or link a Raff Postgres database for an app. Raff sets DATABASE_URL and the other DATABASE_* variables and connects them over the private network with TLS. <sub>Updated October 19, 2026</sub> Link a Raff Postgres database to an app and Raff gives the app its own database user and sets `DATABASE_URL` and the other `DATABASE_*` variables. There is no password to copy. The app connects over Raff's private network, always with TLS. You can add the database when you create the app, or link one you already have. ## Before you start * To link an existing database: a running Postgres database in the same account. See [Create a database](/products/store/databases/quickstart-guides/create-a-database). * To create one with the app: your account's free database still unused, or the \$7.99 a month plan. ## Add a database when you create the app **1. Find the Database section** On the **Deploy an app** page, after you pick the code, find **Database**. For a template it shows only when the template keeps data in Postgres. **2. Pick an option** | Option | What you get | | - | - | | **No database** | Nothing now. You can add one later. | | **Postgres, free** | The free plan. One free database per account. See [Free plan](/products/store/databases/concepts/free-plan). | | **Postgres** | The smallest paid plan, \$7.99 a month, with daily backups and point-in-time recovery. | A template that needs Postgres starts with it picked. ![TODO: Database section of the create page with the three options](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/create-database.png) **3. Deploy** Click **Deploy**. * **Pay-as-you-go account**: Raff creates the database and the app at once. * **Monthly account**: the app and its database are one order at checkout, with the database as a line under the app. A free database is created when you pay. **4. Wait for the first deploy** The app page shows **Starting the database**. Once the database runs, Raff links it and starts the first deploy, so `DATABASE_URL` is set from the start. Raff names the database after the app, for example `n8n-db`, and creates it with public access on, like any new database. The app does not need public access: it uses the private network. To turn it off, see [Turn on public access](/products/store/databases/quickstart-guides/turn-on-public-access). ## Link a database you already have **From the database's page:** 1. Open the database and go to the **Apps** tab. 2. Under **Linked apps and functions**, pick the app in **Choose an app…** and click **Link an app**. 3. Raff creates a database user for that app, adds the variables and redeploys the app. The same tab has **Start a new app on this database**: pick a template that uses Postgres, or **Your own app** (from GitHub or an image). The create page opens with the database already chosen. **From the app's page:** 1. Open the app and go to the **Bindings** tab. 2. Click **Attach**, choose **Database**, and pick the database. 3. Keep **Env var prefix** as `DATABASE_` and click **Attach**. The app redeploys with the connection. ## The variables your app gets | Variable | Value | | - | - | | `DATABASE_URL` | The full connection string | | `DATABASE_HOST` | `<database_id>.private.db.raffusercloud.com` | | `DATABASE_PORT` | The database port | | `DATABASE_USER` | The app's own database user | | `DATABASE_PASSWORD` | That user's password | | `DATABASE_NAME` | The database name | | `DATABASE_CA_CERT` | The CA certificate, to check the server | For a template, the link also fills in the app's own database settings, so the app uses the database without extra setup. The variables show on the app's **Environment** tab with the database as their source. Change them through the link, not there. `DATABASE_URL` and `DATABASE_PASSWORD` are masked. **A second database:** attach it from the **Bindings** tab with another prefix, for example `ANALYTICS_`. It gets `ANALYTICS_URL`, `ANALYTICS_HOST` and the rest; `DATABASE_URL` stays with the first database. ## Connect with TLS New databases refuse connections without TLS. `DATABASE_HOST` is a name on the database's certificate, so your app can check the server with `DATABASE_CA_CERT`. **Node.js (`pg`):** ```js theme={null} const { Pool } = require('pg'); const pool = new Pool({ connectionString: process.env.DATABASE_URL, ssl: { ca: process.env.DATABASE_CA_CERT }, }); ``` Without the `ssl` option, `pg` connects without TLS and the database refuses it with `pg_hba.conf rejects connection ... no encryption`. **psql and other libpq clients:** write the CA to a file and use `sslmode=verify-full` with `sslrootcert`: ```bash theme={null} printf '%s\n' "$DATABASE_CA_CERT" > /tmp/raff-db-ca.pem PGPASSWORD="$DATABASE_PASSWORD" psql "host=$DATABASE_HOST port=$DATABASE_PORT dbname=$DATABASE_NAME user=$DATABASE_USER sslmode=verify-full sslrootcert=/tmp/raff-db-ca.pem" ``` `DATABASE_HOST` is on Raff's private network, so run this inside the app, for example from the **Shell** tab. ## Change or remove the link On the app's **Bindings** tab: * **Rotate credentials** issues a new password and redeploys the app with it. The old password stops working at once. * **Delete binding** removes the app's database user and its `DATABASE_*` variables, and redeploys the app without them. The database itself stays. ## What happens on delete **When you delete the app**, the dialog lists its databases with **Keep** (the default) or **Delete**: * **Keep**: the database keeps running and billing, for example "Keeps running and billing \$7.99/mo". Only the app's login to it is removed. * **Delete**: the database is deleted with the app. Its backups are kept for 14 days, and on monthly billing the unused part of the month goes back to your balance. * A database another app also uses is always kept. **When you delete the database**, its dialog lists the apps that use it with **Keep** (the default) or **Delete**. Kept apps keep running: Raff removes the link and the `DATABASE_*` variables, so their next deploy starts without them. **Delete** removes those apps too. ## Use the API Create the app with `link_database_id`, the database's `id` (a UUID) from [List databases](/api-reference/databases/list-databases) or [Create database](/api-reference/databases/create-database): ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "api", "service_type": "web", "source_type": "image", "builder": "image", "image_ref": "ghcr.io/you/api:latest", "http_port": 8080, "tier_id": 2, "deploy_now": true, "link_database_id": "DATABASE_UUID" }' ``` The app waits until the database runs, links it, then deploys. The database must belong to your account. To see which apps use a database, call [List apps and functions using the database](/api-reference/databases/list-database-consumers). ## Next steps > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Connect from your laptop or other tools. > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Add the rest of the app's settings. # Delete an app Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/delete-an-app Delete a Raff app, choose whether its linked databases are kept or deleted, and what happens to its address, domains and billing. <sub>Updated October 19, 2026</sub> Deleting an app stops it, removes its address and stops billing. Databases linked to the app are kept unless you choose to delete them in the same dialog. A delete cannot be undone. ## Before you start * Decide what happens to each database the app uses. The dialog offers **Keep** or **Delete** for each one. * To stop an app for a while instead, [pause it](/products/build/raff-apps/quickstart-guides/pause-and-resume). ## Steps **1. Open the delete dialog** Open the app and go to **Settings**. Under **Danger zone**, **Delete this service**, click **Delete**. You can also click **...** (More actions) at the top of the app page and choose **Delete service**. **2. Keep or delete each linked database** The dialog lists each database linked to the app, with its plan and price. * **Keep** (the default): the database keeps running and billing, for example "Keeps running and billing \$7.99/mo". Only the app's login to it is removed. * **Delete**: the database is deleted with the app. Its backups are kept for 14 days, and on a monthly plan the unused part of the month goes back to your account balance. A database that another app also uses is always kept, and the dialog names the other app. ![TODO: Delete service dialog with a linked database and the Keep and Delete choice](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/delete-app-dialog.png) **3. Confirm** Under **Why are you deleting this service?**, pick a reason, then click **Delete service**. To delete several apps at once, select them in the **Apps** list and click **Delete**. Their linked databases are all kept. ## What happens * All instances stop and the app's address is removed. Its deploy history and [pull request previews](/products/build/raff-apps/quickstart-guides/preview-pull-requests) are deleted too. * The delete finishes in the background. Then the app's name and address can be used again, and its custom domains are freed. Remove their DNS records if you no longer need them. * The app's own login to each linked database is removed. A database you kept keeps its data and keeps billing. * **Billing**: usage up to the delete is billed, nothing after it. On a monthly plan, the unused part of the month goes back to your account balance. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). **API**: [Delete app service](/api-reference/apps/delete-app-service) ```bash theme={null} curl -X DELETE "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID" \ -H "X-API-Key: $RAFF_API_KEY" ``` The API keeps every linked database. To delete one too, [delete the database](/products/store/databases/quickstart-guides/delete-a-database) on its own. **CLI** ```bash theme={null} # Asks to confirm; --force skips the question raff apps delete $APP_ID ``` ## Next steps > [card] [Pause and resume an app](/products/build/raff-apps/quickstart-guides/pause-and-resume) > > Stop an app and its billing without deleting it. > [card] [Delete a database](/products/store/databases/quickstart-guides/delete-a-database) > > Remove a database you kept. # Deploy a Docker image Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/deploy-a-docker-image Run any public Docker image on Raff Apps, from Docker Hub, GitHub Packages or another registry, with an https address. <sub>Updated October 19, 2026</sub> Run an image you already built, or any public image, without a build step. Raff pulls the image, starts it and gives a website or API an https address. Use this when your CI builds the image, or to run an open-source app that ships as an image. ## Before you start * A Raff account and a project to create the app in. * A public image on Docker Hub, GitHub Packages or another registry, for example `nginx:1.27-alpine` or `ghcr.io/you/app:latest`. * The port the image listens on, for a website, API or private service. ## Steps **1. Open the create page** Go to **Apps** and click **New service**. On the **Deploy an app** page, choose **Docker image**. **2. Enter the image** Type the image in **Image**, for example `nginx:1.27-alpine`, and click **Continue**. ![TODO: Docker image tab with the Image field](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/image-source.png) **3. Name it and say what it is** Under **App**, set the **Name** and pick **What it is**: **Website or API**, **Background worker**, **Private service**, **Scheduled task** or **Runs once**. See [App types](/products/build/raff-apps/concepts/app-types). For a website, API or private service, set **Port** to the port the image listens on. It starts at 8080; `nginx` listens on 80. **4. Pick a size** Under **Size**, pick the CPU and memory for each instance, from 0.25 vCPU · 512 MB ($3 a month) to 8 vCPU · 16 GB ($119.99 a month). You can change it any time. **5. Add a database and settings (optional)** * **Database**: keep **No database**, or create Postgres with the app. See [Add a Postgres database to an app](/products/build/raff-apps/quickstart-guides/add-a-database). * **Environment variables**: paste a `.env` file, one `KEY=value` per line. * **Start command**: leave it empty to use the image's own command, or type one to replace it. **6. Deploy** Check the **Summary** and click **Deploy**. On a monthly account you pay at checkout first. ## Verify The app page shows **Got the image**, **Starting** and **Live**. There is no build step. Raff marks the app **Live** once it answers on its port. If the deploy fails, the app page says why, for example that Raff cannot pull the image or that the app does not accept connections on its port. For a wrong port, fix **HTTP port** in **Settings** > **Runtime** and the app deploys again. ## Run a new version of the image **Redeploy** runs the exact image that is live now. It does not pull a newer image, even for a tag such as `latest`. To run a new version, deploy it by its tag with the API or the CLI below. ## Use the API Create the app and deploy it at once. Set `builder` to `image` and `deploy_now` to `true`: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "website", "service_type": "web", "source_type": "image", "builder": "image", "image_ref": "nginx:1.27-alpine", "http_port": 80, "tier_id": 1, "deploy_now": true }' ``` `tier_id` is the size: `1` is 0.25 vCPU · 512 MB, `2` is 0.5 vCPU · 1 GB, up to `6`. List them with [List Apps tiers](/api-reference/apps/list-app-tiers). The response has the new app with its `service_id`, which the other calls use. See [Create app service](/api-reference/apps/create-app-service). Deploy a new version of the image: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/deployments \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image_ref": "ghcr.io/you/app:v2" }' ``` See [Create deployment](/api-reference/apps/create-app-deployment). ## Use the CLI ```bash theme={null} # Create a website from an image and deploy it raff apps create --name website --type web \ --source image --builder image --image ghcr.io/you/app:latest \ --tier 1 --deploy-now # Deploy a new version raff apps deploy SERVICE_ID --image ghcr.io/you/app:v2 ``` The CLI has no port option, so a website created with it listens on 8080. For another port, create the app in the dashboard or with the API. ## Next steps > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Add settings and secrets. > [card] [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain) > > Serve the app on your own domain. # Deploy n8n, Metabase and other templates Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/deploy-a-template Deploy n8n, Metabase, Uptime Kuma, Grafana, Umami and other ready apps on Raff Apps, with the port, health check, size and Postgres already set. <sub>Updated October 19, 2026</sub> A template is a ready app you deploy in a few clicks. Raff already knows its port, the page that says it is ready, the smallest size it runs on and, when it keeps data in Postgres, the database it needs. You get the app at its own https address, and you can add your own domain once it is live. ## Templates | Template | What it is | Postgres | | - | - | - | | **n8n** | Workflow automation | Optional | | **Metabase** | Business intelligence and dashboards | Optional | | **Grafana** | Observability dashboards | Optional | | **Vaultwarden** | Bitwarden-compatible password manager | Optional | | **Vikunja** | To-do lists and project management | Optional | | **Umami** | Privacy-friendly web analytics | Required | | **Wiki.js** | Wiki and documentation | Required | | **Uptime Kuma** | Status and uptime monitoring | No | | **Excalidraw** | Whiteboard for sketching diagrams | No | | **IT-Tools** | Tools for developers and sysadmins | No | | **Stirling-PDF** | PDF toolkit | No | | **LibreTranslate** | Machine translation API | No | | **Kroki** | Diagrams from text | No | | **CyberChef** | Encode, decode and convert data | No | | **NGINX** | Static content and reverse proxy | No | | **Hello World** | A sample page for a first deploy | No | Three templates need a minimum size: **Metabase** and **LibreTranslate** need 1 vCPU · 2 GB, **Stirling-PDF** needs 0.5 vCPU · 1 GB. See [Raff Apps templates](/products/build/raff-apps/details/templates) for each one in detail. ## Before you start * A Raff account and a project to create the app in. * For a template that keeps data in Postgres: your account's free database still unused, or the \$7.99 a month plan. Every account has one free database. ## Steps **1. Open the templates** Go to **Apps** and click **New service**. On the **Deploy an app** page, choose **Template**. **2. Pick a template** Search, for example `n8n`, `analytics` or `wiki`, or browse **Popular** and the categories below it. A template that keeps its data in Postgres says **Needs a database.** or **Works best with a database.** ![TODO: Template tab with the search box and the Popular group](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/templates.png) **3. Name it** Under **App**, set the **Name**. **Address** shows the https address the app gets. **What it is** is set by the template. **4. Pick a size** Raff preselects a size that suits the template. Sizes too small for it are turned off and say so, for example **Too small for Metabase**. You can change the size any time. **5. Choose the database** For a template that uses Postgres, the **Database** section offers **No database** (only when the template runs without one), **Postgres, free** and **Postgres** (\$7.99 a month). Raff picks the free Postgres when your account's free database is unused. Otherwise it picks **No database** for templates where Postgres is optional, and **Postgres** for Umami and Wiki.js, which do not start without one. Raff links the database before the first deploy and fills in the template's own database settings. **6. Check the settings** Under **Optional**, **Environment variables** already holds what the template needs to start, for example the languages LibreTranslate loads (`LT_LOAD_ONLY=en,es,fr`) or Vikunja's public address. Change them if you need to. **7. Deploy** Check the **Summary** and click **Deploy**. On a monthly account the app and its database are one order at checkout. ## Verify A template turns **Live** only when its own health page answers, not only when its port opens. When the app page shows **Live**, open the address and start using the app. ## Keep your data Without a database, n8n, Metabase, Grafana, Vaultwarden and Vikunja keep their data inside the app. That data is lost when the app restarts or redeploys. Pick Postgres for these apps when the data matters; you can also add a database later, see [Add a Postgres database to an app](/products/build/raff-apps/quickstart-guides/add-a-database). Uptime Kuma has no database option, so its data is lost on a restart or redeploy too. ## Use the API A template is a public image with known settings, so you create it like any [image app](/products/build/raff-apps/quickstart-guides/deploy-a-docker-image). This creates n8n with a Postgres database you already have: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "n8n", "service_type": "web", "source_type": "image", "builder": "image", "image_ref": "n8nio/n8n:latest", "http_port": 5678, "health_check_path": "/healthz", "tier_id": 2, "deploy_now": true, "link_database_id": "DATABASE_UUID" }' ``` `link_database_id` is the database's `id` (a UUID) from [List databases](/api-reference/databases/list-databases). Leave it out to deploy without a database. When the image is a template's image, the database link also fills in that app's own database settings. Each template's image, port, health check path and settings are listed in [Raff Apps templates](/products/build/raff-apps/details/templates). For Metabase, LibreTranslate and Vikunja, which need settings to start, create the app without `deploy_now`, add the settings with `"redeploy": false` (see [Set app environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables)), then start the first deploy with [Create deployment](/api-reference/apps/create-app-deployment) and the body `{}`. ## Next steps > [card] [Add a Postgres database](/products/build/raff-apps/quickstart-guides/add-a-database) > > Keep a template's data in Postgres. > [card] [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain) > > Serve the app on your own domain. # Deploy an app from GitHub Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/deploy-from-github Connect GitHub, pick a repository and deploy it on Raff Apps. Raff builds it, gives it an https address and deploys again on every push. <sub>Updated October 19, 2026</sub> Pick a repository and Raff builds it, runs it and gives it an https address. Raff uses the repository's Dockerfile when there is one; otherwise it detects the stack (Node, Python, Go, Ruby, PHP, Java and more) and builds it for you. Every push to the branch you pick deploys again, with no setup on your side. ## Before you start * A Raff account and a project to create the app in. * A GitHub account that can reach the repository. * For a website, API or private service: an app that listens on the port in the `PORT` variable. It is 8080 unless you set another port. ## Steps **1. Open the create page** Go to **Apps** and click **New service**. The **Deploy an app** page asks where your code is. Choose **GitHub**. **2. Connect GitHub** Click **Continue with GitHub**, sign in, and choose the repositories Raff may see. Raff sees only the repositories you share with it. You do this once per account. ![TODO: GitHub tab of the Deploy an app page with Continue with GitHub](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/github-connect.png) **3. Pick the repository** Find the repository under **Your repositories** and click **Import**. Raff starts from the repository's default branch. A repository is missing? Click **Share more on GitHub** to give Raff access to it, then **Don't see it? Refresh from GitHub**. **4. Name it and say what it is** Under **App**, set the **Name**. Names are unique within a project. For a website, **Address** shows the https address the app gets, made from the name. Under **What it is**, pick one: | Choice | What it does | | - | - | | **Website or API** (default) | Gets a public https address. | | **Background worker** | Runs all the time with no address: queues, bots, consumers. | | **Private service** | Only your other apps can reach it. | | **Scheduled task** | Runs on a schedule you set in **Schedule** (cron, in UTC: `0 2 * * *` is every day at 02:00), then stops. | | **Runs once** | A one-off task you start yourself with **Run now**. | See [App types](/products/build/raff-apps/concepts/app-types) for how each one runs. **5. Pick a size** Under **Size**, pick the CPU and memory for each instance. You can change it any time; the app restarts on the new size. | Size | Suits | Per month | | - | - | - | | 0.25 vCPU · 512 MB | Tests and hobby projects | \$3 | | 0.5 vCPU · 1 GB | Small sites and APIs | \$6.99 | | 1 vCPU · 2 GB | Most production apps | \$16.99 | | 2 vCPU · 4 GB | Busy apps | \$27.99 | | 4 vCPU · 8 GB | Heavy work | \$61.99 | | 8 vCPU · 16 GB | The largest apps | \$119.99 | **6. Add a database (optional)** Under **Database**, keep **No database**, or pick **Postgres, free** or **Postgres** to create one with the app. Raff links it before the first deploy, so `DATABASE_URL` is already set. See [Add a Postgres database to an app](/products/build/raff-apps/quickstart-guides/add-a-database). **7. Check the build (optional)** The line above the app's name shows what Raff found in the repository: **Dockerfile found**, or the stack it detected. Under **Optional**, open **Build and start** to change the **Branch**, the **Folder** (when the app lives in a subfolder of the repository), the **Dockerfile** path, the **Start command** or the **Port**. Open **Environment variables** to paste a `.env` file, one `KEY=value` per line. See [Set app environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables). ![TODO: Optional section with Build and start open](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/github-build-and-start.png) **8. Deploy** Check the **Summary** on the right and click **Deploy**. * **Pay-as-you-go account**: the app is created at once and billed by the second from your balance while it runs. * **Monthly account**: you pay at checkout, then Raff builds the app and starts it. ## Verify The app page shows the **First deploy** steps: **Got the code**, **Building**, **Starting** and **Live**. A first build takes a few minutes. You can leave the page; the deploy goes on. Raff marks the app **Live** only once it answers on its port, or on its health check path when it has one. Open the address to see it. If the deploy fails, the app page says why in plain words, for example a failed build with the last lines of its build log. ## After the first deploy * **Every push deploys.** Push to the branch and Raff builds and deploys the new commit. The **Deploys** tab lists each deploy with its build log. * **Roll back.** On the **Deploys** tab, **Roll back** returns to an earlier deploy that went live. **Redeploy** at the top of the page runs the live deploy again; it does not fetch a new commit. See [Roll back a deploy](/products/build/raff-apps/quickstart-guides/roll-back-a-deploy). * **Change the branch or folder** in **Settings** > **Repository**. * **Previews.** Turn on **Preview environments** in **Settings** and every open pull request gets its own address, rebuilt on every push. The number of previews depends on the app's size, and previews never get the app's database link. See [Preview pull requests](/products/build/raff-apps/quickstart-guides/preview-pull-requests). * **Lost GitHub access.** If Raff loses access to the repository, the app page shows a banner and the app keeps running its last deploy. Give Raff access again on GitHub and click **Reconnect GitHub**. See [Reconnect GitHub to Raff Apps](/products/build/raff-apps/quickstart-guides/reconnect-github). ## Use the API Connecting GitHub needs your own GitHub sign-in, so create the app in the dashboard. After that, follow its deploys with the API, for example the ones your pushes start: ```bash theme={null} curl https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/deployments \ -H "X-API-Key: $RAFF_API_KEY" ``` Each deploy has a `status` (`queued`, `building`, `deploying`, `live`, `superseded`, `failed` or `canceled`) and, when it failed, an `error` that says why. Read a deploy's build log: ```bash theme={null} curl https://api.rafftechnologies.com/api/v1/apps/deployments/DEPLOYMENT_ID/logs \ -H "X-API-Key: $RAFF_API_KEY" ``` `SERVICE_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services). See [List deployments](/api-reference/apps/list-app-deployments) and [Get deployment build logs](/api-reference/apps/get-app-deployment-logs). ## Use the CLI ```bash theme={null} # Deploy history raff apps deployments SERVICE_ID # Recent runtime logs, errors only raff apps logs SERVICE_ID --level error ``` `raff apps list` shows each app's ID. ## Next steps > [card] [Add a Postgres database](/products/build/raff-apps/quickstart-guides/add-a-database) > > Link Postgres and get `DATABASE_URL`. > [card] [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain) > > Serve the app on your own domain. > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Add settings and secrets. > [card] [App types](/products/build/raff-apps/concepts/app-types) > > Websites, workers, private services and jobs. # Import a Docker Compose file Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/import-docker-compose Paste a docker-compose.yml and Raff Apps creates one app for each service that runs an image, with its port, command and environment. <sub>Updated October 19, 2026</sub> Paste a `docker-compose.yml` and Raff makes one app for each service that runs an image. You review the list, untick what you do not want, and deploy them in one click. Each service becomes its own app, with its own address, size, logs and deploys. ## Before you start * A Raff account and a project to create the apps in. * A compose file whose services run public images (`image:`). Services that build from a folder (`build:`) are listed but not deployed: deploy those [from GitHub](/products/build/raff-apps/quickstart-guides/deploy-from-github). ## How Raff reads the file Raff goes through the services by name, A to Z: | In the file | On Raff | | - | - | | A service with `image:` | An app that runs that image | | The first service with `ports:` or `expose:` | **Website or API**, on the container port (`8080` in `"80:8080"`) | | Every other service with a port | **Private service** on that port | | A service with no port | **Background worker** | | `command:` | The app's start command | | `environment:` | The app's environment variables, stored as secrets | | `env_file:` | Not imported. Paste its contents on the app's **Environment** tab | | `privileged:`, `cap_add:` | Not supported, because apps run in a sandbox | For example, this file: ```yaml docker-compose.yml theme={null} services: app: image: ghcr.io/acme/app:latest ports: - "80:8080" environment: SEARCH_URL: http://search:7700 search: image: ghcr.io/acme/search:latest expose: - "7700" worker: image: ghcr.io/acme/worker:latest command: ["node", "worker.js"] ``` becomes three apps: `app`, a website on port 8080 with `SEARCH_URL` set; `search`, a private service on port 7700; and `worker`, a background worker that runs `node worker.js`. ## Steps **1. Open the create page** Go to **Apps** and click **New service**. On the **Deploy an app** page, choose **Docker Compose**. **2. Add the file** Paste the file into **docker-compose.yml**, or click **Choose a file** to pick it from your computer. Click **Read the file**. **3. Review the services** **Services** lists one row per service: its name, what it becomes, its image and its port. Notes in amber say what Raff cannot carry over, for example an `env_file`. Untick any service you do not want. To make a different choice for one service, untick it here and deploy its image on its own from [Docker image](/products/build/raff-apps/quickstart-guides/deploy-a-docker-image). ![TODO: Services list after reading a compose file, with checkboxes](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/compose-services.png) **4. Deploy** Click **Deploy 3 apps** (the button counts the services you ticked). Each app starts at 1 vCPU · 2 GB; change the size on its app page. ## Verify Each row gets a check mark when its app is created. When all are created, Raff opens the **Apps** list, where each app deploys on its own and turns **Live**. If one cannot be created, its row says why and you stay on the page. The others are still created. ## After the import * **Point apps at each other.** A private service's address is on its **Connect** tab, under **Private network**. Put that address in the variables of the apps that call it, for example `SEARCH_URL` above. See [Set app environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables). * **Move databases to Raff Postgres.** A database container from the file, such as `postgres`, keeps its data inside the app, so the data is lost when it restarts or redeploys. Use a Raff Postgres database instead and link it to the apps. See [Add a Postgres database to an app](/products/build/raff-apps/quickstart-guides/add-a-database). ## Use the API Reading a compose file is a dashboard step. With the API, create one app per service, the same way the import does: ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/apps/services \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "worker", "service_type": "worker", "source_type": "image", "builder": "image", "image_ref": "ghcr.io/acme/worker:latest", "start_command": "node worker.js", "tier_id": 3, "deploy_now": true }' ``` Use `"service_type": "web"` or `"private"` with `http_port` for services with a port. A private service needs its port. Then set each app's variables with [Bulk set environment variables](/api-reference/apps/bulk-set-app-env-vars). ## Next steps > [card] [Set environment variables](/products/build/raff-apps/quickstart-guides/set-environment-variables) > > Add what `env_file` held. > [card] [App types](/products/build/raff-apps/concepts/app-types) > > Websites, private services and workers. # Pause and resume an app Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/pause-and-resume Stop a Raff app and its billing without deleting anything, then start it again with the same settings. <sub>Updated October 19, 2026</sub> Pausing stops every instance of an app and stops billing for them. Nothing is deleted: the code, settings, environment variables, deploy history and address all stay. Resume starts the app again with the scaling it had. ## Before you start * A live app. One-off jobs have nothing to pause: they run only when you start them. ## Pause an app Open the app and click **Pause** at the top of the page. You can also go to **Settings**, **Danger zone**, **Pause service** and click **Pause**. ![TODO: App page header with the Pause button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/pause-button.png) While the app is paused: * **Websites and private services** stop answering. Their address comes back when you resume. * **Background workers** stop working. * **Cron jobs** stop their schedule. A run missed while paused is skipped, not started when you resume. * **Billing** for the app's instances stops. * The app still counts toward your account's limit of 20 instances. To pause several apps at once, select them in the **Apps** list and click **Pause**. ## Resume an app Open the app and click **Resume**, or use **Settings**, **Danger zone**, **Resume service**. The app starts again with its scaling, and billing starts again with it. * Environment variables you changed while it was paused apply when it resumes. * An app that never went live before you paused it cannot resume: it goes back to its error state, and you deploy it again. ## Apps paused by the spend cap When a [spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) set to **Pause my apps** is reached, Raff pauses your pay-as-you-go apps. Their **Overview** says **Paused by the monthly spend cap**, and resuming them is refused while the cap still applies. Raise the cap or turn it off: the apps start again within seconds. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). **API**: [Pause app service](/api-reference/apps/pause-app-service), [Resume app service](/api-reference/apps/resume-app-service) ```bash theme={null} # Pause curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/pause" \ -H "X-API-Key: $RAFF_API_KEY" # Resume curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/resume" \ -H "X-API-Key: $RAFF_API_KEY" ``` **CLI** ```bash theme={null} raff apps pause $APP_ID raff apps resume $APP_ID ``` ## Next steps > [card] [Set an Apps spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) > > Pause apps on their own at a monthly limit. > [card] [Delete an app](/products/build/raff-apps/quickstart-guides/delete-an-app) > > Remove an app you no longer need. # Preview pull requests Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/preview-pull-requests Give every pull request its own copy of a Raff Apps website at its own address, rebuilt on every push and removed when the pull request closes. <sub>Updated October 19, 2026</sub> With previews on, every open pull request gets its own copy of your app at its own https address. The copy is built from the pull request's latest commit, rebuilt on every push and deleted when the pull request is closed or merged. Previews are free. ## Before you start * A website or API deployed from GitHub. Other app types, and apps from a Docker image or a template, have no previews. * Pull requests from a branch of the same repository. Pull requests from forks are never built. Draft pull requests are built. ## How many previews you get The app's size sets how many previews can run at the same time. | App size | Previews at once | | - | - | | Micro (0.25 vCPU, 512 MB) | 2 | | Starter (0.5 vCPU, 1 GB) | 3 | | Standard (1 vCPU, 2 GB) | 5 | | Pro (2 vCPU, 4 GB) | 8 | | Pro Max (4 vCPU, 8 GB) | 10 | | Scale (8 vCPU, 16 GB) | 10 | When all of them are in use, a new pull request gets no preview until one closes. Running previews are never removed to make room. ## Turn on previews **1. Open Settings** Open the app and go to **Settings**, **Preview environments**. **2. Turn them on** Tick **Preview environments** and click **Save**. ![TODO: Preview environments section in app Settings with the toggle on](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/previews-settings.png) **3. Open a pull request** Open a pull request on the app's repository. Its preview appears on the **Deploys** tab within a minute. ## Find and manage previews On the **Deploys** tab, **Preview environments** lists one row per pull request, with its state, its address and when it expires. * **Redeploy** builds the preview again from the pull request's latest commit. * **Delete** removes the preview. Your app is not touched, and the next push to the pull request builds a new preview. To read a preview's output, open **Logs** and pick the pull request under **Source**. ## What a preview runs with * **Environment variables**: the app's own, secrets included. * **Databases**: none. A preview never gets the login of a database linked to the app, and a preview of an app that needs its database starts without one. A connection string you added yourself as an environment variable does reach previews. * **Sleeping**: previews sleep when idle. The first request after a quiet period takes a few seconds longer. * **Expiry**: a preview is deleted when its pull request closes, or 7 days after its last push. When a [spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) set to pause stops your apps, their previews pause too. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). ```bash theme={null} # Turn previews on (false turns them off) curl -X PATCH "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"previews_enabled": true}' # List the app's previews, with their address and state curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/previews" \ -H "X-API-Key: $RAFF_API_KEY" # Build one preview again ($PREVIEW_ID is its id from the list) curl -X POST "https://api.rafftechnologies.com/api/v1/apps/previews/$PREVIEW_ID/redeploy" \ -H "X-API-Key: $RAFF_API_KEY" # Delete one preview curl -X DELETE "https://api.rafftechnologies.com/api/v1/apps/previews/$PREVIEW_ID" \ -H "X-API-Key: $RAFF_API_KEY" # Read one preview's logs curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/logs?preview_id=$PREVIEW_ID" \ -H "X-API-Key: $RAFF_API_KEY" ``` ## Next steps > [card] [Roll back a deploy](/products/build/raff-apps/quickstart-guides/roll-back-a-deploy) > > Go back if a merged change breaks the app. > [card] [Reconnect GitHub to Raff Apps](/products/build/raff-apps/quickstart-guides/reconnect-github) > > Fix pushes that stopped deploying. # Reconnect GitHub to Raff Apps Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/reconnect-github Fix Raff apps whose GitHub pushes stopped deploying, after the Raff GitHub app was removed, paused or lost access to a repository. <sub>Updated October 19, 2026</sub> Apps from GitHub deploy every push to their branch. When Raff loses access to the repository, pushes stop deploying and the app shows a banner that says why. The app keeps running its last deploy in the meantime. ## What the banner says | Banner | Cause | Fix | | - | - | - | | Raff lost access to GitHub account @name | The Raff GitHub app was removed from that GitHub account | **Reconnect GitHub** | | Raff cannot find owner/repo on GitHub | The repository was renamed, moved or deleted | If it was renamed or moved, **Reconnect GitHub** | | The Raff GitHub app is paused on @name | An owner of that GitHub account suspended the app | **Open GitHub settings**, then an owner unsuspends it | | Raff can no longer see owner/repo | The repository was taken out of the Raff GitHub app's access | **Open GitHub settings** and give the app access to the repository again | The banner shows on the app page, in **Settings**, **Repository**, and once for all affected apps on the **Apps** list. ## Reconnect GitHub **1. Click Reconnect GitHub** Click **Reconnect GitHub** on the banner. From the **Apps** list, one reconnect repairs every app on that GitHub account. ![TODO: App page banner saying Raff lost access to the GitHub account, with the Reconnect GitHub button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/github-reconnect-banner.png) **2. Sign in with GitHub** A GitHub window opens. Sign in with a GitHub account that can see the app's repository. Raff links only what that GitHub account can see. **3. Install the Raff GitHub app if asked** If the Raff GitHub app is no longer installed, GitHub asks you to install it. Pick the account and the repositories your apps use, and finish the install. **4. Check the result** The window closes and the dashboard says "GitHub reconnected", with the branch it is deploying. The banner goes away. If your browser blocks the GitHub window, the sign-in runs in the same tab and brings you back when it is done. ## What happens after * Each repaired app deploys the latest commit on its branch when that differs from what it runs. * Apps you paused, and apps paused by the [spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap), are left alone. * After you give the Raff GitHub app access to a repository again in GitHub settings, its apps deploy their latest commit by themselves. If an app uses a private repository that your GitHub account cannot see, the reconnect is refused. Ask someone in that GitHub organization who can see the repository to reconnect. ## Do it from your tools Reconnecting needs the dashboard, because it signs you in to GitHub. API keys cannot start it. To check an app from the API, read `github_status` from [Get app service](/api-reference/apps/get-app-service). It is empty when the link works, otherwise `disconnected`, `suspended`, `no_repo_access` or `repo_not_found`. ```bash theme={null} curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID" \ -H "X-API-Key: $RAFF_API_KEY" ``` `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). ## Next steps > [card] [Preview pull requests](/products/build/raff-apps/quickstart-guides/preview-pull-requests) > > Build every pull request at its own address. > [card] [Roll back a deploy](/products/build/raff-apps/quickstart-guides/roll-back-a-deploy) > > Go back to an earlier deploy. # Roll back a deploy Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/roll-back-a-deploy Put a Raff app back on an earlier deploy that worked, from the dashboard, the API or the CLI, and what a rollback keeps and changes. <sub>Updated October 19, 2026</sub> A rollback puts your app back on the code of an earlier deploy that went live. Raff runs that deploy's built image again as a new deploy, without building anything, so it is the fastest way back after a bad release. ## Before you start * An app with at least one earlier deploy that went live. A deploy that failed cannot be a rollback target. ## Roll back to the previous deploy Open the app. On **Overview**, **Live deploy**, click **Roll back**. The app goes back to the deploy that was live before the current one. There is no confirmation step: the rollback starts when you click. ## Roll back to an older deploy **1. Open Deploys** Open the app and go to **Deploys**. Each row shows the deploy number, its state, the commit, what started it, how long it took and when. **2. Pick the deploy** Find the deploy you want. Deploys that were live and then replaced show the state **Replaced**. Click **Log** on a row to check what it built. **3. Roll back** Click **Roll back** on that row. ![TODO: Deploys tab with a Replaced deploy and its Roll back button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/deploys-roll-back.png) ## What happens * The rollback runs as a new deploy with the trigger **rollback**. It goes live the same way as any deploy: once the app answers its health check, or its port opens when it has none. Until then the current deploy keeps serving. * Only the code goes back. Environment variables, scaling and other settings stay as they are now. * On an app from GitHub, the next push to the branch deploys that commit as usual. Fix or revert the change in Git before you push again. * To go back to the newer code, roll back to that deploy the same way. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). **API**: [List deployments](/api-reference/apps/list-app-deployments), [Roll back to a deployment](/api-reference/apps/rollback-app-service) ```bash theme={null} # Find the deploy: newest first, with id, deployment_number, status and commit curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/deployments" \ -H "X-API-Key: $RAFF_API_KEY" # Roll back to it curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/rollback" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"target_deployment_id": "DEPLOYMENT_ID"}' ``` Pick a deploy with status `live` or `superseded`. **CLI** ```bash theme={null} raff apps deployments $APP_ID raff apps rollback $APP_ID --target DEPLOYMENT_ID ``` ## Next steps > [card] [View logs, metrics and a shell](/products/build/raff-apps/quickstart-guides/view-logs-and-metrics) > > Find out what broke. > [card] [Preview pull requests](/products/build/raff-apps/quickstart-guides/preview-pull-requests) > > Try changes before they reach the live app. # Run cron jobs and one-off jobs Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/run-cron-jobs-and-jobs Run code on a schedule or on demand with Raff Apps, set the time zone and overlap rule, start a run now and read the run history. <sub>Updated October 19, 2026</sub> A cron job runs your code on a schedule, then stops. A one-off job runs once each time you start it. Both deploy from GitHub or a Docker image like any other app, and keep no instance running between runs. ## Before you start * Code that exits when its work is done. A run that exits with code 0 succeeded; any other exit code means it failed. ## Create a cron job or a one-off job **1. Start a new app** On **Apps**, click **New service**. Pick **GitHub** or **Docker image** and choose your code. **2. Choose the type** Under **What it is**, choose **Scheduled task** for a cron job, or **Runs once** for a one-off job. ![TODO: What it is options on the create page with Scheduled task selected and the Schedule field](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/cron-create-type.png) **3. Set the schedule** For a scheduled task, enter the **Schedule** as a five-field cron expression, in UTC. `0 2 * * *` runs every day at 02:00. You can pick another time zone later in **Settings**. **4. Deploy** Pick a **Size**, add environment variables if the code needs them, and click **Deploy**. Once the deploy is live, a cron job runs on its schedule. A one-off job waits until you start it. ## Start a run now Open the app and click **Run now** at the top of the page. It works for both cron jobs and one-off jobs, once the app is live, and opens the **Runs** tab. ## Read the run history The **Runs** tab lists each run, newest first: * Its state: pending, running, succeeded, failed or canceled. * What started it: the schedule, or a manual run. * When it started, and why it failed for a failed run. Click **Cancel** to stop a run that is pending or running. The output of each run is on the **Logs** tab. For a cron job, **Schedule** at the top of the tab shows the cron expression, the time zone, the overlap rule and when the next run is due. ## Change the schedule, time zone or overlap rule Open **Settings**, **Cron**: * **Schedule**: five fields, minute, hour, day of month, month and day of week. `*/15 * * * *` runs every 15 minutes. * **Timezone**: a time zone name such as `Europe/London`. The default is UTC. Set it here, not inside the schedule. * **Concurrency**: what happens when a run is due while the last one is still running. | Concurrency | When a new run is due during a run | | - | - | | **forbid** (default) | The new run is skipped | | **allow** | Both runs go ahead at the same time | | **replace** | The running one is canceled and the new one starts | Click **Save**. ## Pause a cron job **Pause** at the top of the app page stops the schedule. A run missed while the app is paused is skipped, not started when you resume. See [Pause and resume an app](/products/build/raff-apps/quickstart-guides/pause-and-resume). A one-off job has nothing to pause: it runs only when you start it. ## How runs are billed On pay-as-you-go, each run is billed per second while it runs, at the app's size. Nothing is billed between runs. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). To create one with the API, send `service_type` `cron` (with `cron_schedule`) or `job` to [Create app service](/api-reference/apps/create-app-service). **API**: [Trigger a manual job run](/api-reference/apps/run-app-job), [List job runs](/api-reference/apps/list-app-job-runs), [Cancel a job run](/api-reference/apps/cancel-app-job-run) ```bash theme={null} # Start a run now curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/jobs/run" \ -H "X-API-Key: $RAFF_API_KEY" # List runs, newest first curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/jobs/runs" \ -H "X-API-Key: $RAFF_API_KEY" # Cancel a run ($RUN_ID is the run's id from the list) curl -X POST "https://api.rafftechnologies.com/api/v1/apps/jobs/runs/$RUN_ID/cancel" \ -H "X-API-Key: $RAFF_API_KEY" ``` Change the schedule, time zone or overlap rule of a cron job: ```bash theme={null} curl -X PATCH "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"cron_schedule": "*/15 * * * *", "cron_timezone": "Europe/London", "cron_concurrency": "forbid"}' ``` ## Next steps > [card] [View logs, metrics and a shell](/products/build/raff-apps/quickstart-guides/view-logs-and-metrics) > > Read the output of each run. > [card] [Pause and resume an app](/products/build/raff-apps/quickstart-guides/pause-and-resume) > > Stop a schedule for a while. # Scale an app and let it sleep Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/scale-an-app Run a fixed number of instances, autoscale on traffic, let a web or private app sleep when idle, and change the size of a Raff app. <sub>Updated October 19, 2026</sub> You choose how many copies of your app run and how big each one is. An app can run a fixed number of instances, add instances as requests grow, or sleep when nobody uses it. Each running instance is billed at the app's size. ## Before you start * A website or API, a private service or a background worker. Scheduled tasks and one-off jobs have no scaling settings: see [Run cron jobs and one-off jobs](/products/build/raff-apps/quickstart-guides/run-cron-jobs-and-jobs). * An app can run at most 6 instances, and your account 20 in total. Paused, failed and not yet deployed apps count toward the 20. Contact support to raise either limit. ## Choose how it scales | Option | What it does | Available for | | - | - | - | | Fixed instances | Runs the same number of instances, 1 to 6, all the time | All three app types | | Autoscaling | Adds instances between a minimum and a maximum as the requests in progress per instance grow | Websites and APIs, and private services that scale to zero | | Scale to zero | Stops every instance when the app is idle and starts one on the next request | Websites and APIs, and private services | A background worker always runs a fixed number of instances. ## Change the scaling **1. Open Settings** Open the app and go to **Settings**. **Scaling** shows how the app runs now. **2. Set instances or autoscaling** * **Fixed**: leave **Autoscaling** off and set **Instances**. * **Autoscaling**: turn on **Autoscaling**, then set **Min instances** and **Max instances**. ![TODO: Scaling section in app Settings with Autoscaling, Min instances, Max instances and Scale to zero](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/scaling-settings.png) **3. Let it sleep (optional)** Tick **Scale to zero** to let the app sleep when it is idle. On a private service, tick it first: **Autoscaling** then appears. **4. Apply** Click **Apply scaling**. A live app takes the change without downtime. ## How sleeping works * The app stops its last instance about 15 minutes after its last request. * The next request wakes it. That first request takes a few seconds longer than usual. * On pay-as-you-go, a sleeping app costs nothing. The minutes it stays awake are billed like any running time. Scale to zero suits test sites, internal tools and APIs with little traffic. Keep it off for an app that must answer at once, or that does work between requests. Websites, and private services that scale to zero, cannot listen on ports 8008, 8012, 8013, 8022, 9090 or 9091. The platform reserves them. ## Change the size Open **Settings**, **Instance size**, pick a size and click **Change tier**. The app restarts on the new size, and every instance uses it. | Size | vCPU | Memory | Disk | Per hour | Per month | | - | - | - | - | - | - | | Micro | 0.25 | 512 MB | 2 GB | \$0.00411 | \$3.00 | | Starter | 0.5 | 1 GB | 5 GB | \$0.009575 | \$6.99 | | Standard | 1 | 2 GB | 10 GB | \$0.023274 | \$16.99 | | Pro | 2 | 4 GB | 20 GB | \$0.038342 | \$27.99 | | Pro Max | 4 | 8 GB | 40 GB | \$0.084918 | \$61.99 | | Scale | 8 | 16 GB | 80 GB | \$0.16437 | \$119.99 | Prices are per instance. The disk is wiped on every deploy. For an app on a monthly plan, size changes go through support. ## How scaling is billed * **Pay-as-you-go**: every running instance is billed per second at the app's size. With autoscaling, you pay for the instances that actually run. * **Monthly plan**: the plan covers the instances you bought at checkout. Instances above it, with a higher fixed count or autoscaling maximum, are billed as usage. A [spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) emails you at 75%, 90% and 100% of a monthly limit, and can pause your apps when it is reached. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). **API**: [Scale app service](/api-reference/apps/scale-app-service) `autoscaling_enabled` and `scale_to_zero` apply only when you send `autoscaling_set: true`. With it, leaving either one out turns it off. ```bash theme={null} # 2 fixed instances, always on curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/scale" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"autoscaling_set": true, "autoscaling_enabled": false, "scale_to_zero": false, "replicas": 2}' # Autoscale between 1 and 4 instances curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/scale" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"autoscaling_set": true, "autoscaling_enabled": true, "min_replicas": 1, "max_replicas": 4}' # Autoscale up to 3 instances and sleep when idle curl -X POST "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/scale" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"autoscaling_set": true, "autoscaling_enabled": true, "min_replicas": 1, "max_replicas": 3, "scale_to_zero": true}' ``` `autoscaling_target` sets how many requests in progress one instance takes before another starts. To change the size, get the size IDs from [List Apps tiers](/api-reference/apps/list-app-tiers) and send the new `tier_id`: ```bash theme={null} curl -X PATCH "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"tier_id": 3}' ``` **CLI** ```bash theme={null} # Fixed instances (for an app that does not autoscale) raff apps scale $APP_ID --replicas 2 # Autoscale between 1 and 4 instances raff apps scale $APP_ID --min-replicas 1 --max-replicas 4 # Autoscale up to 3 instances and sleep when idle raff apps scale $APP_ID --min-replicas 1 --max-replicas 3 --scale-to-zero # List sizes and their IDs raff apps tiers ``` ## Next steps > [card] [Set an Apps spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap) > > Get an email or pause apps at a monthly limit. > [card] [View logs, metrics and a shell](/products/build/raff-apps/quickstart-guides/view-logs-and-metrics) > > See CPU, memory and requests before you scale. # Set an Apps spend cap Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/set-a-spend-cap Set a monthly limit on Raff Apps spending, get emails at 75%, 90% and 100% of it, and choose whether apps keep running or pause when it is reached. <sub>Updated October 19, 2026</sub> The spend cap is a monthly limit on what your apps cost. It is on for every account from the start, at \$50 a month, and only sends emails. You can change the amount, turn it off, or have it pause your apps when it is reached. ## How the cap works * It covers all the apps in your account, for each calendar month. * It counts usage: pay-as-you-go apps, and apps on a monthly plan only for what they run above their plan. The price of a monthly plan paid at checkout does not count. * The account owners and billing contacts get an email and a notice in the dashboard at 75% and 90% of the cap, and again when it is reached. * Raff checks spending every few minutes, so usage can pass the cap by a little before apps pause. ## Set the cap **1. Open the Apps page** Go to **Apps**. The bar at the top shows what you spent this month and the cap, for example "$12.40 spent this month · cap $50, email only". **2. Open the cap settings** Click **Manage cap**. ![TODO: Monthly spend cap dialog with the amount and the two choices](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/spend-cap-dialog.png) **3. Set the amount** Leave **Spend cap enabled** on and enter the **Monthly cap (USD)**, at least \$1. **4. Choose what happens at the cap** * **Keep apps running and email me**: apps keep serving past the cap. The bar shows **Over cap, still running**. * **Pause my apps**: pay-as-you-go apps stop until next month, or until you raise the cap. Apps on a monthly plan keep running unless they run above their plan. Your data is kept. **5. Save** Click **Save**. The new cap applies at once. To remove the cap, turn **Spend cap enabled** off and click **Save**. Raff keeps the amount and choice for when you turn it on again. ## When the cap pauses your apps The bar on **Apps** shows **Paused by cap**. Raff stops: * Pay-as-you-go apps, and apps on a monthly plan that run above their plan. * Cron job and one-off job runs that are in progress. * [Pull request previews](/products/build/raff-apps/quickstart-guides/preview-pull-requests) of the paused apps. While they are paused, resuming, creating, deploying, scaling up and running jobs of pay-as-you-go apps is refused. Raise the cap or turn it off, and Raff starts the apps it paused within seconds. Apps you paused yourself stay paused. ## Do it from your tools `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). The cap is set for the whole account. **API**: [Get spend cap settings](/api-reference/apps/get-app-spend-settings), [Update spend cap settings](/api-reference/apps/update-app-spend-settings), [Get Apps usage](/api-reference/apps/get-apps-usage) ```bash theme={null} # Read the cap; paused_by_cap is true while the cap has apps paused curl "https://api.rafftechnologies.com/api/v1/apps/spend-settings" \ -H "X-API-Key: $RAFF_API_KEY" # Cap at $100 a month and pause apps when it is reached curl -X PATCH "https://api.rafftechnologies.com/api/v1/apps/spend-settings" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"enabled": true, "monthly_cap_usd": 100, "cap_action": "pause"}' # Turn the cap off curl -X PATCH "https://api.rafftechnologies.com/api/v1/apps/spend-settings" \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{"enabled": false}' # Spending this month, per app curl "https://api.rafftechnologies.com/api/v1/apps/usage" \ -H "X-API-Key: $RAFF_API_KEY" ``` Send only the fields you want to change. `cap_action` is `notify_only` or `pause`. While apps are paused by the cap, the refused calls return `412`. **CLI** ```bash theme={null} # Spending this month, per app raff apps usage ``` ## Next steps > [card] [Scale an app and let it sleep](/products/build/raff-apps/quickstart-guides/scale-an-app) > > Spend less with apps that sleep when idle. > [card] [Pause and resume an app](/products/build/raff-apps/quickstart-guides/pause-and-resume) > > Stop an app and its billing yourself. # Set app environment variables Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/set-environment-variables Add settings and secrets to a Raff app as environment variables, at create or later, for the running app, the build or both. <sub>Updated October 19, 2026</sub> Environment variables hold your app's settings and secrets, such as API keys or a feature flag. Raff stores every value encrypted and hides secrets on the app page. Set them when you create the app, or later on the app's **Environment** tab. A change reaches the app with a new deploy. ## Set them when you create the app On the **Deploy an app** page, under **Optional**, open **Environment variables** and paste a `.env` file, one `KEY=value` per line: ```bash .env theme={null} API_KEY=your-key LOG_LEVEL=info ``` Blank lines and `#` comments are skipped, an `export ` in front is dropped, and quotes around a value are removed. The values are stored as secrets and are in place for the first deploy. ## Add or change a variable **1. Open the Environment tab** Open the app and go to the **Environment** tab. **2. Add the variable** Click **Add variable** and fill in: * **Key**: letters, digits and underscores, not starting with a digit. * **Value**. * **Injected into**: **Runtime only** (the default), **Build only** or **Build and runtime**. See [Runtime or build](#runtime-or-build). * **Secret (masked in the console)**: ticked by default. Untick it for values that are safe to show. ![TODO: Add variable dialog with Key, Value, Injected into and Secret](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/env-add-variable.png) **3. Save** Click **Add variable**. A runtime value redeploys the app with it. A build value rebuilds the app, which takes longer. To change a variable, click its pencil icon and **Save variable**. To remove one, click its trash icon. Both redeploy the app. ## Import a .env file On the **Environment** tab, click **Import .env**, paste `KEY=value` lines and click **Import variables**. Imported values are stored as secrets. An import is all or nothing: if Raff refuses one line, for example a name with a space, it saves none of them and says which one to fix. ## Runtime or build | Injected into | Reaches | | - | - | | **Runtime only** | The running app. Use this for passwords and keys. | | **Build only** | The build of the app, not the running app. | | **Build and runtime** | Both. | Some frameworks write settings into the code at build time: Next.js `NEXT_PUBLIC_*`, Vite `VITE_*`, Create React App `REACT_APP_*`, SvelteKit and Astro `PUBLIC_*`. These need **Build only** or **Build and runtime**. Left on runtime, they ship as empty strings and the deploy still succeeds. Build values can be read back from the built image, so keep credentials on **Runtime only**. Apps from a Docker image, a template or a Docker Compose file are never built. On those apps Raff refuses **Build only**; **Build and runtime** still reaches the running app. ## Good to know * **Database variables** such as `DATABASE_URL` come from a database link and show the database as their source. Change them through the link on the **Bindings** tab, not here. See [Add a Postgres database to an app](/products/build/raff-apps/quickstart-guides/add-a-database). * **Paused apps** keep your changes. Runtime values apply when you resume the app; a build value needs a deploy after you resume it. * **Seeing a secret**: click the eye icon on its row. You need permission to manage the app. ## Use the API Set one variable. The app redeploys unless you send `"redeploy": false`, which saves it for the next deploy: ```bash theme={null} curl -X PUT https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/env \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": "API_KEY", "value": "your-key", "is_secret": true, "scope": "runtime" }' ``` Set several at once, with one deploy: ```bash theme={null} curl -X PUT https://api.rafftechnologies.com/api/v1/apps/services/SERVICE_ID/env/bulk \ -H "X-API-Key: $RAFF_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "vars": [ { "key": "LOG_LEVEL", "value": "info" }, { "key": "SMTP_PASSWORD", "value": "your-password", "is_secret": true } ] }' ``` `scope` is `runtime` (default), `build` or `both`. List the variables with secrets masked using `GET .../env`, or with their values using `GET .../env/reveal`. Remove one with `DELETE .../env/KEY`. See [Set environment variable](/api-reference/apps/set-app-env-var), [Bulk set environment variables](/api-reference/apps/bulk-set-app-env-vars) and [Delete environment variable](/api-reference/apps/delete-app-env-var). ## Use the CLI ```bash theme={null} # Set a secret for the running app raff apps env set SERVICE_ID API_KEY --value your-key --secret # Set a value the build needs raff apps env set SERVICE_ID NEXT_PUBLIC_API_URL --value https://api.example.com --scope build # List, with or without the secret values raff apps env list SERVICE_ID raff apps env list SERVICE_ID --reveal # Remove one raff apps env delete SERVICE_ID API_KEY ``` ## Next steps > [card] [Add a Postgres database](/products/build/raff-apps/quickstart-guides/add-a-database) > > Get `DATABASE_URL` without copying passwords. > [card] [Deploy from GitHub](/products/build/raff-apps/quickstart-guides/deploy-from-github) > > Build and deploy on every push. # View logs, metrics and a shell Source: https://docs.rafftechnologies.com/products/build/raff-apps/quickstart-guides/view-logs-and-metrics Read a Raff app's runtime and build logs, watch CPU, memory and request charts, open a terminal inside a running instance and see what changed. <sub>Updated October 19, 2026</sub> Each app page has what you need to see how the app is doing: its logs, charts for the last hour to the last week, a terminal inside a running instance, and a list of what happened to it. ## Runtime logs Open the app and go to **Logs**. Lines appear within seconds of your app writing to stdout or stderr, newest first, and the list refreshes every 10 seconds. * Type in **Filter logs…** to show only lines with that text. * Pick a level: **All**, **Info**, **Warn** or **Error**. * Click **Download** to save the lines you see. * When the app has [pull request previews](/products/build/raff-apps/quickstart-guides/preview-pull-requests) running, pick **Production** or a pull request under **Source**. ![TODO: Logs tab with the filter box, level buttons and log lines](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/logs-tab.png) ## Build logs Go to **Deploys** and click **Log** on a deploy to see its build output. A failed deploy shows why it failed in plain words, and a failed build ends with the last lines of its log. ## Metrics Go to **Metrics** and pick the window: **1h**, **6h**, **24h** or **7d**. * **CPU**, **Memory** and **Instances** for every app type that runs instances. * **Requests / second**, **p95 latency** and **Responses by class** (2xx to 5xx) for websites and APIs, and for private services that scale to zero. * Tiles at the top show the current values, the error rate and the app's cost this month. Cron jobs and one-off jobs have no **Metrics** tab: see their **Runs** tab instead. ## Shell Go to **Shell** to open a terminal inside a running instance of a website, private service or background worker. The tab appears once the app is live. * Pick **newest running** or a specific instance on the left. * Click **Save command** to keep a command you run often. Clicking a saved command types it into the terminal; press Enter to run it. Saved commands are shared with your team. Commands run inside the live instance, and nothing you change there survives the next deploy. An app that scales to zero has no running instance while it sleeps: open its address first to wake it. ![TODO: Shell tab with the instance list, saved commands and the terminal](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-apps/shell-tab.png) ## What happened to the app * **Overview**, **Recent events** lists the latest events: deploys that went live or failed, scaling changes, pauses and resumes. * The **Activity** tab lists the changes made to the app and who made them. **Export CSV** downloads the list. ## Do it from your tools `$APP_ID` is the app's ID from [List app services](/api-reference/apps/list-app-services) or `raff apps list`. `$RAFF_API_KEY` is an [API key](/products/manage/team-projects/quickstart-guides/generate-api-key). The shell is in the dashboard only. **API**: [List runtime logs](/api-reference/apps/list-app-logs), [Get deployment build logs](/api-reference/apps/get-app-deployment-logs), [Get service metrics](/api-reference/apps/get-app-service-metrics) ```bash theme={null} # The last 100 error lines curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/logs?level=error&limit=100" \ -H "X-API-Key: $RAFF_API_KEY" # Build log of one deploy ($DEPLOYMENT_ID from the app's deployments) curl "https://api.rafftechnologies.com/api/v1/apps/deployments/$DEPLOYMENT_ID/logs" \ -H "X-API-Key: $RAFF_API_KEY" # CPU, memory, instances and request series for the last 24 hours curl "https://api.rafftechnologies.com/api/v1/apps/services/$APP_ID/metrics?window=24h" \ -H "X-API-Key: $RAFF_API_KEY" ``` Logs also take `search`, and `since` and `until` as RFC 3339 times. Metrics take `window` `1h`, `6h`, `24h` or `7d`. **CLI** ```bash theme={null} # Runtime logs, filtered raff apps logs $APP_ID --level error --search timeout --limit 100 # Deploy history, to find a deploy's ID raff apps deployments $APP_ID ``` ## Next steps > [card] [Scale an app and let it sleep](/products/build/raff-apps/quickstart-guides/scale-an-app) > > Add instances when the charts say so. > [card] [Roll back a deploy](/products/build/raff-apps/quickstart-guides/roll-back-a-deploy) > > Go back to a deploy that worked. # Troubleshoot Raff Apps Source: https://docs.rafftechnologies.com/products/build/raff-apps/troubleshooting The messages Raff Apps shows when a deploy, a limit, a database link, a domain or GitHub goes wrong, and how to fix each one. <sub>Updated October 19, 2026</sub> Raff Apps tells you what went wrong in plain words, on the app page and on the **Deploys** tab. Find the message below. If your problem is not listed, contact [support](mailto:support@rafftechnologies.com). ## Deploys > [accordion] "Your app is running but does not accept connections on port 8080" > > **What's happening:** the app started, but nothing answers on the port Raff sends traffic to, so the deploy failed. > > **Why:** the app listens on a different port. > > **Fix:** > > 1. Make the app listen on the port in the `PORT` environment variable (8080 unless you set another). In Node.js, for example: `app.listen(process.env.PORT || 8080)`. > 2. Or set the port your app really uses in **Settings**, **Runtime**, **HTTP port**. Saving it starts a new deploy. > [accordion] "Raff could not pull the image" > > **What's happening:** the full message is `Raff could not pull the image "<image>". Check the image name and tag, and that the image is public.` > > **Why:** the image name or tag is wrong, or the image is private. Raff Apps pulls public images only. > > **Fix:** check the reference with `docker pull <image>` on a computer that is not signed in to the registry. Make the image public, then create the app again with the right reference, or deploy the corrected image through [Create deployment](/api-reference/apps/create-app-deployment). > [accordion] "The build failed" > > **What's happening:** the message shows the last lines of the build log. A line such as `The command exited with code 1.` means a step of your build failed. > > **Fix:** > > 1. Open the **Deploys** tab and press **Log** on the failed deploy for the whole log. > 2. Fix the error in your code or Dockerfile and push again, or press **Retry build**. > 3. If the build needs settings, such as `NEXT_PUBLIC_*` or `VITE_*` values, give those variables the **build** or **both** scope. See [How Raff builds and runs your code](/products/build/raff-apps/concepts/builds-and-sources). > > If the message says the log is no longer available, deploy again and follow the log on the **Deploys** tab. > [accordion] "Raff could not find a Dockerfile at ..." > > **What's happening:** for example, `Raff could not find a Dockerfile at "Dockerfile". Check the Dockerfile path in the app's settings.` > > **Why:** the Dockerfile path points at a file that is not in the repository, on that branch, in that folder. The path is relative to the app's root directory. > > **Fix:** in **Settings**, **Repository**, correct **Dockerfile path** and **Root directory**, then redeploy. > [accordion] "The build did not finish within 15 minutes" > > **What's happening:** builds stop after 15 minutes. > > **Fix:** make the build faster: install only what the app needs, and leave tests and other slow steps to your CI. Automatic builds (without a Dockerfile) reuse a cache from the previous build. If the build cannot be shortened, contact support. > [accordion] "Raff could not read the source code for this deploy" > > **What's happening:** Raff could not fetch the code it had staged for this deploy. > > **Fix:** press **Retry build** or push again. Contact support if it keeps happening. > [accordion] "Your app stopped with exit code 1 and keeps restarting" > > **What's happening:** the app starts, then exits. Raff starts it again, and it exits again. > > **Why:** an error at start, such as a missing environment variable, a wrong start command or a database it cannot reach. > > **Fix:** > > 1. Open the **Logs** tab: the last lines before each exit show the error. > 2. Check the start command in **Settings**, **Runtime**, and the variables on the **Environment** tab. > 3. Fix it and redeploy. > [accordion] "Your app ran out of memory and was stopped" > > **What's happening:** the full message names the memory of the app's size, for example `Your app ran out of memory (512 MiB on its size) and was stopped.` > > **Fix:** choose a larger size in **Settings**, **Instance size**, or make the app use less memory. See [App sizes, scaling and sleeping](/products/build/raff-apps/concepts/sizes-and-scaling). > [accordion] "Your app is running but does not answer the health check" > > **What's happening:** for example, `Your app is running but does not answer the health check at "/healthz" on port 8080. Check the health check path and the port.` > > **Why:** the path does not exist, it returns an error status, or the app listens on another port. > > **Fix:** open the path on your app locally and check it returns a status from 200 to 399. Then correct **Health check path** or **HTTP port** in **Settings**, **Runtime**. Saving starts a new deploy. > [accordion] "Your app did not become ready within 5 minutes" > > **What's happening:** the app did not answer in time, and nothing else explains it. > > **Fix:** check the **Logs** tab for what the app was doing. If it needs longer to set up after its port opens, add a health check path: an app with one has 10 minutes. If the logs show nothing, contact support. > [accordion] "Your app is not healthy" > > **What's happening:** an app that was live stopped answering. > > **Fix:** check the **Logs** and **Metrics** tabs for errors or memory at the size's limit. Redeploy, or choose a larger size. If the logs show nothing, contact support. > [accordion] "Port 9090 is reserved by the platform" > > **What's happening:** ports 8008, 8012, 8013, 8022, 9090 and 9091 are reserved on web apps and on private apps that scale to zero. > > **Fix:** make your app listen on another port, such as 8080, and set the app's port to match. > [accordion] A template size is marked "Too small", or a template keeps failing > > **What's happening:** some templates need more memory: Metabase and LibreTranslate need at least Standard (1 vCPU · 2 GB), Stirling-PDF at least Starter (0.5 vCPU · 1 GB). The create page turns smaller sizes off and marks them **Too small for** the template. > > **Why:** on a smaller size, set later in **Settings** or through the API, the app runs out of memory, restarts or never turns ready. > > **Fix:** in **Settings**, **Instance size**, choose at least the template's smallest size. See [Raff Apps templates](/products/build/raff-apps/details/templates). > [accordion] "... is a build variable, but this app runs a ready image and is never built" > > **What's happening:** apps that run a Docker image are not built, so a variable with the **build** scope has nowhere to go. > > **Fix:** give the variable the **runtime** scope. > [accordion] "This app has not run yet. Deploy it to start it." > > **What's happening:** you resumed an app that never went live, so there is nothing to start. > > **Fix:** press **Retry build** or **Redeploy** to deploy it. ## Cron and job runs > [accordion] "The run exited with code 1" > > **What's happening:** the command of a cron or job app ended with an error. The message says how many times it was tried. > > **Fix:** find the run on the **Runs** tab and read the **Logs** tab around its time. Fix the command or its variables, then press **Run now**. > [accordion] "The run ran out of memory" > > **Fix:** choose a larger size in **Settings**, **Instance size**, or make the command use less memory, for example by working in smaller batches. ## Names and limits > [accordion] "An app named ... already exists in this project" > > **What's happening:** app names are unique within a project. > > **Fix:** choose another name, or create the app in another project. The create page suggests a free name, such as `n8n-2`. > [accordion] "Your apps can have 20 instances in total" > > **What's happening:** an account can run 20 instances across its web, private and worker apps. Paused, failed and not yet deployed apps count too, because resuming starts them again. > > **Fix:** scale down or delete an app you do not need, or contact support to raise the limit. Scaling down is always allowed. > [accordion] "An app can have at most 6 instances" > > **What's happening:** one app can run 6 instances, fixed or as its autoscaling maximum. > > **Fix:** use a larger size for more capacity per instance, or contact support. > [accordion] "A private service needs the port your app listens on" > > **What's happening:** other apps reach a private app on its port, so Raff needs it at create. > > **Fix:** enter the port your app listens on, for example 8080. > [accordion] "Apps on a subscription cannot change instance size here yet" > > **What's happening:** on monthly billing, the size is part of the app's plan and cannot be changed from the dashboard yet. > > **Fix:** contact support to change the plan. ## Spend cap > [accordion] "Your spend cap is reached, so your pay-as-you-go apps are paused" > > **What's happening:** your account's app usage reached its monthly spend cap, and the cap is set to **Pause my apps**. Pay-as-you-go apps are paused with their data kept. Monthly apps within their plan keep running. Until the cap allows it, Raff refuses to resume, create, deploy or scale up these apps. > > **Fix:** on the Apps page, press **Manage cap** and raise the cap, turn it off, or choose **Keep apps running and email me**. The paused apps start again within seconds. Otherwise they start again next month. See [Set a spend cap](/products/build/raff-apps/quickstart-guides/set-a-spend-cap). ## Databases > [accordion] Node.js: "pg_hba.conf rejects connection ... no encryption" > > **What's happening:** the database refuses connections without TLS, and Node.js `pg` does not use TLS unless you ask for it. > > **Fix:** pass the database's CA when you create the pool: `new Pool({ connectionString: process.env.DATABASE_URL, ssl: { ca: process.env.DATABASE_CA_CERT } })`. Most other clients, such as psql, psycopg, pgx, Prisma and JDBC, use TLS by themselves. See [How apps connect to databases](/products/build/raff-apps/concepts/database-links). > [accordion] DATABASE_CA_CERT is missing > > **What's happening:** links made before October 15, 2026 connect by IP address and have no `DATABASE_CA_CERT`, so the app cannot check the certificate. > > **Fix:** on the **Bindings** tab, rotate the link's credentials. The app redeploys with the new password, the host name and `DATABASE_CA_CERT`. > [accordion] The app deployed without its database > > **What's happening:** an app created with a database waits for it to run, up to 30 minutes. If the database is not running by then, the app deploys without it. > > **Fix:** when the database runs, attach it on the app's **Bindings** tab. Attaching redeploys the app with the `DATABASE_*` variables. ## Sleeping, domains and network > [accordion] The first request after a quiet period is slow > > **What's happening:** the app has **Scale to zero** on. It sleeps about 15 minutes after its last request, and the next request waits a few seconds while an instance starts. > > **Fix:** if every request must be fast, turn off **Scale to zero** in **Settings**, **Scaling**. On pay-as-you-go, the app is then billed all the time it runs. > [accordion] A custom domain stays on Waiting for DNS or Verifying DNS > > **What's happening:** Raff cannot see the right DNS records yet. The message under the domain says which one: > > * `We could not find the TXT record _raff-verify.<domain>`: add the TXT record with the verification value shown. > * `The TXT record ... does not match`: copy the value into the record exactly. > * `This domain does not resolve yet`: add the CNAME record to the target shown. > * `This domain is proxied through Cloudflare (orange cloud)`: set the record to **DNS only** (grey cloud). > * `This domain points to ..., not ...`: change the CNAME, or the A record, to the target shown. > > **Fix:** correct the records at your DNS provider, then press **Check now**. For a root domain, use an A record to the target's IP or your provider's ALIAS record. After 24 hours without working DNS the domain turns to **Error**; fixing the records and pressing **Check now** retries it. See [Add a custom domain](/products/build/raff-apps/quickstart-guides/add-a-custom-domain). > [accordion] "The certificate for this domain was not issued within an hour" > > **What's happening:** DNS was verified, but the certificate could not be issued. Usually the record changed or became proxied after verification. > > **Fix:** check that the CNAME still points to the target shown and is not proxied, then retry with **Check now**. > [accordion] "This domain is already connected to another app" > > **What's happening:** a domain can serve one app at a time. > > **Fix:** remove the domain from the other app first, or use another subdomain. If the other app is not yours, contact support. > [accordion] My app cannot send email > > **What's happening:** outbound TCP port 25 is blocked for every app. > > **Fix:** send through your email provider's submission port (587 or 465) or its HTTP API. ## GitHub > [accordion] "Raff lost access to the GitHub account this app deploys from" > > **What's happening:** the Raff GitHub app was uninstalled from the GitHub account, or its access was removed. Pushes no longer deploy; the app keeps running its last deploy. The app page shows a banner with **Reconnect GitHub**. > > **Fix:** press **Reconnect GitHub** and sign in to GitHub. Raff then deploys the latest commit on the branch if it is not already running. See [Reconnect GitHub](/products/build/raff-apps/quickstart-guides/reconnect-github). > [accordion] "The Raff GitHub App is suspended" > > **What's happening:** an owner of the GitHub account suspended the Raff GitHub app, so pushes do not deploy. > > **Fix:** press **Open GitHub settings** on the banner and unsuspend the app there. > [accordion] "Raff cannot see ... on GitHub" or "Raff cannot find ... on GitHub" > > **What's happening:** the repository was removed from the Raff GitHub app's access, or it was renamed, moved or deleted. > > **Fix:** in GitHub, give the Raff GitHub app access to the repository, then deploy again. If you renamed or moved it, press **Reconnect GitHub** on the app page. > [accordion] "Raff could not download branch ..." > > **What's happening:** the branch does not exist, or Raff has no access to the repository. > > **Fix:** check the branch name in **Settings**, **Repository**, and that the Raff GitHub app still has access to the repository. > [accordion] "The repository is larger than 100 MB" > > **What's happening:** Raff builds repositories up to 100 MB. > > **Fix:** remove large files from the repository, or build the image in your own pipeline and deploy it as a public Docker image. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The app ID, from the dashboard URL * The exact message and the time it happened * What you have already tried # Raff Keep billing model Source: https://docs.rafftechnologies.com/products/build/raff-keep/concepts/billing-model How a Raff Keep server is billed. One price for the server and its operating system licence, paid up front for the period you choose, renewed automatically, with what happens when you resize or delete. <sub>Updated October 15, 2026</sub> A Raff Keep server is billed like any Raff server: a subscription you pay up front at checkout for the period you choose, which renews automatically. The price is the server plan plus the Windows licence. Installing the stack costs nothing extra, and neither do the terminals, sites and .NET versions you add later. ## How it works ### The price ``` price for the period = server plan for the period + Windows licence ($15.00 a month × months in the period) ``` For example, a MetaTrader server with 1 to 4 terminals on 2 vCPU · 4 GB · 80 GB costs \$22.99 + \$15.00 = \$37.99 a month. See [Pricing](/products/build/raff-keep/details/pricing) for every size. The **Summary** on the setup page also lists [Raff Guardian](/products/manage/raff-guardian/index): "Raff Guardian: free for the first 6 months, then \$10.00 a month". It is not part of what you pay at checkout. ### Billing periods | Period | You pay | Cheaper because | | - | - | - | | **Monthly** | One month at checkout | | | **Yearly** | 12 months up front | The server plan costs 10 months' price | | **24 months** | 24 months up front | The server plan costs 18 months' price | The Windows licence has no period discount: it is \$15.00 for every month of the period. ### Paying and renewing You pay at checkout, from your Raff balance first, then your card. Raff Keep is for accounts on monthly billing: pay-as-you-go accounts cannot buy a stack yet. At the end of the period the subscription renews automatically, for the same period, from your Raff balance first, then your saved card. ### Changes during the period | Change | What happens to the bill | | - | - | | Resize to a bigger size | The difference for the rest of the period is charged | | Resize to a smaller size | The difference for the rest of the period goes to your Raff balance | | Add a terminal, site, domain or .NET version | Nothing is charged | | Delete an installed server | The unused part of the server plan goes to your Raff balance. The Windows licence for the current period is not returned | | Stop an install with **Stop install and delete server** | Everything you paid for the order goes to your Raff balance | | The install fails | Everything you paid goes to your Raff balance, or Raff holds the server and charges nothing more while it checks. See [Failed installs](/products/build/raff-keep/concepts/failed-installs) | ## When to use which period * **Monthly** while you try a stack, or for a server you may not need for long. * **Yearly** or **24 months** for a server you will keep: the per-month price is lower. ## Trade-offs * Yearly and 24 months are paid in full at checkout. * Stopping the server in **Compute** does not pause the subscription. * Refunds for failed installs go to your Raff balance only. ## Related > [card] [Pricing](/products/build/raff-keep/details/pricing) > > Every size with its monthly, yearly and 24-month price. > [card] [Delete the server](/products/build/raff-keep/quickstart-guides/delete-a-keep-server) > > What a delete does to the bill. # Failed Raff Keep installs Source: https://docs.rafftechnologies.com/products/build/raff-keep/concepts/failed-installs What Raff does when a Raff Keep install does not finish. When it removes the server and returns your money to your Raff balance, and when it keeps the server for a person to check. <sub>Updated October 15, 2026</sub> When a Raff Keep install does not finish, you never pay for a server that does not work. When the cause is clear, Raff removes the server it created and returns everything you paid for it to your Raff balance, in about 5 minutes and with no person involved. When the cause is not clear, Raff keeps the server, charges nothing more, and a person checks it and contacts you. ## How it works ### Removed and refunded Raff removes the server and returns your money when: * A step of the install failed and nobody was signed in to the server. * The server could not start or continue the install. * The server could not be created after you paid. * [Raff Guardian](/products/manage/raff-guardian/index) could not be installed on the server. * You stopped the install with **Stop install and delete server**. The page shows **Removing**: "This install did not finish. Raff is removing the server it created and returning your money to your Raff balance." When it is done, the banner says why and how much came back, for example "This install did not finish: Raff Guardian could not be installed on this server. We removed the server it created and returned \$37.99 to your Raff balance.", with **Try again**. You also get one email, such as "Your MetaTrader 4 and 5 install did not finish", with the same details and a **Try again** button. Everything you paid for the order comes back: the server and the Windows licence. A discount code you used can be used again. The money always goes to your Raff balance, where your next purchase or renewal uses it first. It shows in your billing history. ### Kept for a person to check Raff keeps the server instead when removing it could lose your work or when it cannot be sure what happened: * The install has not finished after 24 hours. * The install stopped in a way that may have worked, such as a restart Raff did not ask for. * Someone is or was signed in to the server during the install. * Several installs failed at the same step within an hour. * The Windows licence could not be activated. * Raff cannot match the payment to the install. The page says "This install did not finish. We are checking it and will contact you. Nothing more is charged while we check." and the bell shows, for example, "We are checking your MetaTrader 4 and 5 install". The server keeps running. If a renewal falls due while Raff checks, it is moved back, so nothing is charged and nothing ends. When the check ends, Raff either removes the server and returns your money, or marks the install installed. An install held at 24 hours that then finishes becomes **Installed** by itself. ### When removing takes longer Rarely, deleting the server takes longer than usual. The page then says "Removing the server is taking longer than usual. Our team has been told. Nothing more is charged." Raff finishes the removal and returns the money. ## When to use it * **Try again** opens the stack's setup page so you can start a new install. Your earlier answers are not kept. * If you delete a server Raff is checking, it is a normal delete: the unused part of its subscription comes back at once, and Raff still checks the install and contacts you. ## Trade-offs and limits * Refunds go to your Raff balance only. * A server Raff removed is gone with its disks. Do not sign in and store anything on a server while it installs. * Once an install is **Installed**, later problems are not install failures. They are handled like any other server problem: Raff Guardian warns you and you can contact support. ## Related > [card] [Billing model](/products/build/raff-keep/concepts/billing-model) > > Subscriptions, renewals and deletes. > [card] [Troubleshooting](/products/build/raff-keep/troubleshooting) > > The install failed, or seems stuck. # How a Raff Keep install works Source: https://docs.rafftechnologies.com/products/build/raff-keep/concepts/how-an-install-works What Raff does between your payment and an installed Raff Keep server, including the Raff Guardian step, restarts and the final check. <sub>Updated October 15, 2026</sub> A Raff Keep install turns your setup answers into a working server with no person involved. Raff prices the answers, creates the server, runs the stack's install steps on it, installs [Raff Guardian](/products/manage/raff-guardian/index) if you chose it, checks the result and hands over the logins. Every step is reported to the server's page as it runs. ## How it works ### 1. The setup page and the price Your answers decide the size: the number of terminals on a MetaTrader server, the number of sites on an ASP.NET server. Raff picks the smallest size that fits, and you may choose a bigger one. Answers the server would reject, such as a time zone Windows does not know or a domain that is not a domain name, are refused on the setup page, before you pay. The price is the server plan plus the Windows licence. See [Pricing](/products/build/raff-keep/details/pricing). ### 2. Payment and the server You pay at checkout. Raff then creates the server in US East with the size you chose, on the stack's operating system (Windows Server 2025 for today's stacks), and sets up its licence. Raff keeps the built-in Administrator password you chose encrypted only until the server is set up, then deletes it. ### 3. The install steps On its first start the server downloads the stack's install script from Raff and checks that it is exactly the version Raff published. If the check fails, nothing runs. The script then runs its steps one by one and reports each one, with a line that says what it did. Both stacks first set up Remote Desktop access (network level authentication, the account lockout and the addresses you allowed) and create your own admin login. Then each stack installs its application: * **MetaTrader**: a trader login, MetaTrader from MetaQuotes (its signature checked) into one folder per terminal, a task that starts every terminal when the trader login signs in, and auto sign-in after a restart. * **ASP.NET**: IIS, the .NET 10 hosting bundle, Web Deploy, the sites with their application pools, free certificates for the domains you gave and SQL Server Express if you chose it. Microsoft's installers are checked for Microsoft's signature before they run. Some steps need a restart. The server restarts, and the install continues where it stopped. ### 4. Raff Guardian Near the end, the install installs Raff Guardian, which then looks after the server the way you chose on the setup page. A Raff Keep server is never marked installed without a running Raff Guardian: if it cannot be installed, the install fails. With **Install only**, this step reports "Install only: Raff Guardian is not installed". ### 5. The built-in Administrator and the final check The last change keeps the built-in Administrator off Remote Desktop and network sign-in, so your admin login is the way in. A final step then checks the result: on a MetaTrader server, that every terminal is in place and, with auto start on, runs as the trader login after the restart, and that the trader login cannot read Raff's setup data; on an ASP.NET server, that IIS answers, .NET 10 and Web Deploy work, the sites and their domains are set up, SQL Server Express runs when chosen and your admin login signs in to Web Deploy. If anything after this change fails, the install puts the built-in Administrator back on Remote Desktop. ### 6. Installed The server reports that it is done, with the logins it created. Raff keeps their passwords encrypted until someone opens them on the server's page, then deletes its copy. Raff also clears the setup data from the server, including the built-in Administrator password and the install's one-time key. ## When to use it * You want MetaTrader or an ASP.NET host running without setting up Windows yourself. * You want the server set up the same safe way every time: an admin login nobody can guess, the built-in Administrator off Remote Desktop, a lockout and attack blocking. If you want to install everything yourself, start from a plain Windows server in **Compute** instead. ## Trade-offs and limits * A Raff Keep server cannot be reinstalled or factory reset. To start over, delete it and create a new one. * A restart Raff did not ask for stops the install. If you sign in while it installs and a step then fails, Raff keeps the server for a person to check instead of removing it. * Raff does not promise an install time. When an install is slower than it should be, the page says "Taking longer than usual. Raff has been told." ## Related > [card] [Failed installs](/products/build/raff-keep/concepts/failed-installs) > > What Raff does when an install does not finish. > [card] [Follow the install](/products/build/raff-keep/quickstart-guides/follow-the-install) > > Statuses and steps on the server's page. # Logins and the built-in Administrator Source: https://docs.rafftechnologies.com/products/build/raff-keep/concepts/logins-and-the-built-in-administrator Why a Raff Keep server gives you your own admin login for Remote Desktop, keeps the built-in Administrator for the VNC console, and how the lockout and attack blocking protect them. <sub>Updated October 15, 2026</sub> A Raff Keep server signs you in with logins it created for you, not with Windows' built-in Administrator. Bots try the name Administrator on open Remote Desktop all day, so Raff Keep turns it off for Remote Desktop and gives you an admin login with a name nobody can guess. The built-in Administrator stays as your way back in, through the VNC console. ## How it works ### The logins Raff Keep creates | Login | Name | Member of | Signs in | | - | - | - | - | | **Admin login** | `admin-` plus 3 random characters, such as `admin-k7q` | Administrators, Remote Desktop Users | Remote Desktop, SSH with a key, Web Deploy; SQL Server Express on an ASP.NET server | | **Trader login** (MetaTrader) | `trader-` plus 3 random characters, such as `trader-m2p` | Users, Remote Desktop Users | Remote Desktop; runs the terminals | | **Built-in Administrator** | `Administrator` | Administrators | VNC console only | Raff Keep makes a 20-character password for each login it creates, never expiring and never forced to change. The passwords are shown once on the server's page; see [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins). ### The built-in Administrator At the end of the install, Raff Keep denies the built-in Administrator "Log on through Remote Desktop Services" and "Access this computer from the network". Guessing its password over the internet then opens nothing. It still signs in at the VNC console, the server's own screen in the dashboard, with the password you chose on the setup page. If the install fails after this change, Raff Keep puts the built-in Administrator back on Remote Desktop at once. With Raff Guardian on, you get a warning if the built-in Administrator can sign in over Remote Desktop or from the network again. ### Lockout and attack blocking * **Network level authentication**: Windows checks the sign-in before a Remote Desktop session opens. * **Account lockout**: 10 wrong passwords lock an account for 15 minutes. * **Raff Guardian blocking** (every choice except **Watch only** and **Install only**): after 8 wrong passwords from one address in 15 minutes, Raff Guardian blocks that address on the server within seconds, for 7 days. While it blocks, it takes over from Windows' lockout, so guessing bots cannot lock you out of your own accounts. Change the number on the **Settings** tab (**Block an attacker after**, 5 to 200), and see or lift blocks on the **Security** tab. See [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking). * **Allowed addresses**: Remote Desktop can be limited to your addresses on the setup page, or later on the **Security** tab. ### Administrator rights over the network Windows gives an administrator other than the built-in Administrator a limited token when it signs in over the network. So PowerShell remoting and admin shares such as `\\server\c$` answer "Access is denied" for your admin login. Raff keeps this Windows default. Use Remote Desktop with **Run as administrator**, or SSH with one of your account's SSH keys as your admin login, which gets full administrator rights. SSH takes keys only; passwords are off. ## When to use which * **Every day**: your admin login over Remote Desktop, or the trader login on a MetaTrader server. * **Lost your admin login's password**: with Raff Guardian, **Users**, **New password**. Without it, sign in as the built-in Administrator in the VNC console and set a new password in Windows. * **Lost the built-in Administrator's password**: **Reset password** on the server's page in **Compute**. Raff emails the new password to the account's billing email address and restarts the server. ## Trade-offs and limits * The built-in Administrator cannot use Remote Desktop, PowerShell remoting or admin shares on a Raff Keep server. * Remote Desktop on a MetaTrader server is for one person who sets up and checks the terminals. A team working in the desktop every day needs Remote Desktop user licences: ask support. * Raff keeps no copy of your passwords once they have been shown, so it cannot tell you a password later. ## Related > [card] [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop) > > Connect, and reach the VNC console. > [card] [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice) > > What Raff Guardian does on a Keep server. # Kept by Raff and Raff Guardian Source: https://docs.rafftechnologies.com/products/build/raff-keep/concepts/raff-guardian-choice How Raff Guardian looks after a Raff Keep server, the four choices on the setup page, what Install only leaves to you, and how to change your choice later. <sub>Updated October 15, 2026</sub> A Raff Keep server is kept by Raff when Raff Guardian runs on it. Raff Guardian is Raff's agent on the server: it keeps Windows updated, restarts stopped services, watches your application, blocks attackers and tells you about problems. You choose how far it goes on the setup page, in the **Raff Guardian** group, under **How Raff looks after it**. This page covers Raff Guardian on a Raff Keep server. For everything it does on any Windows server, see [Raff Guardian](/products/manage/raff-guardian). ## How it works ### The four choices | Choice | What Raff Guardian does | | - | - | | **Raff manages everything** (default) | Updates in your maintenance window, stopped services restarted, the application watched, attacks blocked, disk kept clean. | | **Ask me before changes** | Prepares each change and waits for your OK. Attacks are still blocked at once. | | **Watch only** | Checks the server and tells you about problems. It changes nothing. | | **Install only** | Not installed. Raff installs the stack once and you look after the server yourself. | Raff Guardian takes your choice when it first connects from the server. You can then change it, or set each action on its own. ### What it does on a Raff Keep server On top of what it does on any Windows server, Raff Guardian knows the stack Raff Keep installed: * **MetaTrader**: checks every terminal, tells you by email when one stops, shows each terminal's broker connection and algo trading, adds terminals (**Add terminal**) and takes on terminals you installed by hand (**Look after it**). A new password for the trader login keeps auto sign-in working, and you get a warning when the trader login will not sign in by itself. * **ASP.NET**: checks each site every 5 minutes and says why one does not start, with the fix. It sets up a publishing login per site, makes publish profiles, adds sites, domains and .NET versions, and changes where Web Deploy answers from. * **Both**: shows your admin and trader logins on the **Users** tab and sets new passwords for them, and changes who can reach Remote Desktop. Your own presses, such as **Add terminal** or **Publish profile**, run on **Watch only** too. ### Install only With **Install only**, Raff installs the stack, checks it and hands it over, and Raff Guardian is never installed. Windows still downloads updates, but waits for you to install them. Windows' account lockout (10 wrong passwords, 15 minutes) still protects the logins. These need Raff Guardian, so they do not work on an **Install only** server: adding terminals, publish profiles and per-site publishing logins, adding sites, domains and .NET versions, **New password** on the **Users** tab, changing who can reach Remote Desktop from the dashboard, attack blocking, and the warnings and emails when something stops. The **Settings** tab says "Raff Guardian is not on this server". ## When to use it * **Raff manages everything**: you want the server to look after itself, such as a trading server that must keep running. * **Ask me before changes**: you want to approve each update or change, but still have attacks blocked. * **Watch only**: you manage the server yourself and want Raff's warnings. * **Install only**: you have your own tools for updates and monitoring. ## Change your choice * **With Raff Guardian**: open the server's **Settings** tab. Under **Raff Guardian**, change **How Raff looks after it**, set **Block an attacker after**, or open **Each action on its own**. On a Raff Keep server Raff Guardian cannot be uninstalled from here: Keep needs it to manage the server. See [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions). * **Install only**: install Raff Guardian later from the server's **Guardian** tab in **Compute**. See [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server). ## Price The **Summary** on the setup page shows Raff Guardian as its own line: "Raff Guardian: free for the first 6 months, then \$10.00 a month". It is not part of what you pay at checkout. With **Install only**, the line is not shown. ## Related > [card] [Logins and the Administrator](/products/build/raff-keep/concepts/logins-and-the-built-in-administrator) > > Lockout and attack blocking. > [card] [Add a MetaTrader terminal](/products/build/raff-keep/quickstart-guides/add-a-metatrader-terminal) > > A terminal installed by Raff Guardian. # Raff Keep features and limits Source: https://docs.rafftechnologies.com/products/build/raff-keep/details/features-and-limits What the MetaTrader and ASP.NET stacks of Raff Keep install, the logins and security every server gets, the region and every limit in one place. <sub>Updated October 15, 2026</sub> The facts about Raff Keep in one place. ## Every Raff Keep server | Item | Value | | - | - | | Operating system | Windows Server 2025, licence included | | Region | US East | | Sizes | 2 vCPU · 4 GB up to 16 vCPU · 32 GB, NVMe storage. See [Pricing](/products/build/raff-keep/details/pricing) | | Billing | Monthly, yearly or 24 months, paid at checkout. Not available to pay-as-you-go accounts | | Logins | Your admin login (`admin-` plus 3 characters), shown once. The built-in Administrator signs in only in the VNC console | | Remote Desktop | Network level authentication; from any address or only the addresses you choose (up to 20 IPv4 addresses or ranges) | | Account lockout | 10 wrong passwords lock an account for 15 minutes. [Raff Guardian](/products/manage/raff-guardian/index) takes this over while it blocks attackers | | SSH | Keys only, where SSH runs | | Windows updates | **Raff manages everything**: installed by Raff Guardian in your maintenance window. **Ask me before changes**: after your OK. **Watch only** and **Install only**: Windows downloads them and waits for you to install them | | Raff Guardian | Raff manages everything (default), Ask me before changes, Watch only or Install only | | In Compute | Listed with a **Keep** tag; snapshots, backups, networking, console and graphs work there | | Reinstall, factory reset | Not available. Delete the server and create it again | ## MetaTrader | Item | Value | Notes | | - | - | - | | Platforms | MetaTrader 5, MetaTrader 4 or both | From MetaQuotes; the installer and every terminal are checked for MetaQuotes' signature | | Terminals | 1 to 16 | With both platforms, at most 8 of each | | Terminals per size | 4 from 2 vCPU · 4 GB, 8 from 4 vCPU · 8 GB, 16 from 8 vCPU · 16 GB | Add more later with **Add terminal**, up to the size's limit | | Folders | `C:\MT5\1`, `C:\MT5\2` and on; `C:\MT4\1` and on | Each terminal runs in portable mode in its own folder | | Trader login | `trader-` plus 3 characters | The terminals run as this login; only it, SYSTEM and administrators can use their folders | | Start | When the trader login signs in | A shortcut per terminal on the desktop | | After a restart | With **Start the terminals after a restart** on: the trader login signs in by itself, every terminal starts and the screen locks | Its password is kept in Windows' protected store | | Always on | Sleep and screen saver off; Remote Desktop sessions kept when you disconnect | | | Updates | Each terminal updates itself from MetaQuotes when it starts | | | Time zone | Your choice on the setup page | | | Remote Desktop use | For one person who sets up and checks the terminals | A team working in the desktop every day needs Remote Desktop user licences: ask support | ## ASP.NET | Item | Value | Notes | | - | - | - | | Web server | IIS with ASP.NET support and WebSockets | | | .NET | ASP.NET Core 10 hosting bundle and .NET Framework 4.8.1 | .NET 9 and .NET 8 on request, added by Raff Guardian; Microsoft ends their support on 10 November 2026 | | Sites | 1 to 20 | Site 1 is **Default Web Site** and also answers on the server's address; the others are `site2` and on, in `C:\inetpub\sites` | | Application pools | One per site, always running | | | Domains | One or more per site; a domain belongs to one site | Host binding on port 80 | | Certificates | Free from Let's Encrypt, requested once the domain points at the server (checked every 15 minutes for 7 days), renewed by themselves | | | Publishing | Web Deploy on port 8172, from the addresses you list, or from anywhere | With Raff Guardian, each site has its own publishing login (`publish-site1` and on) and a publish profile in the dashboard | | SQL Server Express | Optional, SQL Server 2025 Express | Windows sign-in only, this server only, 10 GB per database; your admin login is an administrator | | Firewall | Ports 80 and 443 open | | | IIS logs | Deleted after 30 days | | ## Limits | Item | Limit | | - | - | | Stacks | MetaTrader 4 and 5, ASP.NET / IIS host | | Operating system | Windows Server 2025 for today's stacks | | Region | US East | | Terminals per server | 16 | | Sites per server | 20 | | Allowed addresses at setup | 20 IPv4 addresses or ranges | | Logins shown | Once, to one person, again for 10 minutes; unopened logins are deleted after 7 days | | Install held when not finished | After 24 hours | For more terminals or sites than one server takes, contact Raff and we size it with you. ## See also > [card] [Pricing](/products/build/raff-keep/details/pricing) > > Every size and period. > [card] [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice) > > What Raff Guardian does on a Keep server. # Raff Keep pricing Source: https://docs.rafftechnologies.com/products/build/raff-keep/details/pricing Every Raff Keep server size with its monthly, yearly and 24-month price, the operating system licence included. <sub>Updated October 15, 2026</sub> Prices are in USD per server, region US East. Every price includes the Windows Server licence (\$15.00 a month). Installing the stack is included; there is no setup fee. See [Billing model](/products/build/raff-keep/concepts/billing-model). ## Prices with the Windows licence The **Summary** on the setup page shows these totals. The price beside each size in the **Size** list is the server alone, before the licence. | Size | vCPU | RAM | NVMe | Monthly | Yearly | 24 months | | - | - | - | - | - | - | - | | 2 vCPU · 4 GB | 2 | 4 GB | 80 GB | \$37.99 | \$409.90 | \$773.82 | | 4 vCPU · 4 GB | 4 | 4 GB | 80 GB | \$44.99 | \$479.90 | \$899.82 | | 4 vCPU · 8 GB | 4 | 8 GB | 120 GB | \$55.99 | \$589.90 | \$1,097.82 | | 8 vCPU · 8 GB | 8 | 8 GB | 120 GB | \$69.99 | \$729.90 | \$1,349.82 | | 8 vCPU · 16 GB | 8 | 16 GB | 180 GB | \$91.99 | \$949.90 | \$1,745.82 | | 8 vCPU · 32 GB | 8 | 32 GB | 240 GB | \$152.99 | \$1,559.90 | \$2,843.82 | | 16 vCPU · 16 GB | 16 | 16 GB | 200 GB | \$127.99 | \$1,309.90 | \$2,393.82 | | 16 vCPU · 32 GB | 16 | 32 GB | 360 GB | \$189.99 | \$1,929.90 | \$3,509.82 | Yearly and 24 months are paid up front for the whole period. ## How the price is made up | Size | Server, monthly | Server, yearly | Server, 24 months | Windows licence | | - | - | - | - | - | | 2 vCPU · 4 GB | \$22.99 | \$229.90 | \$413.82 | \$15.00 a month | | 4 vCPU · 4 GB | \$29.99 | \$299.90 | \$539.82 | \$15.00 a month | | 4 vCPU · 8 GB | \$40.99 | \$409.90 | \$737.82 | \$15.00 a month | | 8 vCPU · 8 GB | \$54.99 | \$549.90 | \$989.82 | \$15.00 a month | | 8 vCPU · 16 GB | \$76.99 | \$769.90 | \$1,385.82 | \$15.00 a month | | 8 vCPU · 32 GB | \$137.99 | \$1,379.90 | \$2,483.82 | \$15.00 a month | | 16 vCPU · 16 GB | \$112.99 | \$1,129.90 | \$2,033.82 | \$15.00 a month | | 16 vCPU · 32 GB | \$174.99 | \$1,749.90 | \$3,149.82 | \$15.00 a month | ## Raff's pick by stack Raff picks the smallest size that fits your answers. You can choose any bigger size. | Stack | Your answer | Raff's pick | Monthly | | - | - | - | - | | MetaTrader | 1 to 4 terminals | 2 vCPU · 4 GB | \$37.99 | | MetaTrader | 5 to 8 terminals | 4 vCPU · 8 GB | \$55.99 | | MetaTrader | 9 to 16 terminals | 8 vCPU · 16 GB | \$91.99 | | ASP.NET | 1 site | 2 vCPU · 4 GB | \$37.99 | | ASP.NET | 2 to 3 sites | 4 vCPU · 8 GB | \$55.99 | | ASP.NET | 4 to 8 sites | 8 vCPU · 16 GB | \$91.99 | | ASP.NET | 9 to 20 sites | 8 vCPU · 32 GB | \$152.99 | With **Both** MetaTrader platforms, every terminal of each platform counts: 3 of each is 6 terminals. ## Raff Guardian The **Summary** shows Raff Guardian as "Raff Guardian: free for the first 6 months, then \$10.00 a month" for every choice except **Install only**. It is not part of what you pay at checkout. See [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice). ## Included * The install, its checks and the receipt of every step. * Adding terminals, sites, domains and .NET versions later. * SQL Server Express on an ASP.NET server (free from Microsoft, up to 10 GB per database). * Let's Encrypt certificates for your domains. ## See also > [card] [Features & limits](/products/build/raff-keep/details/features-and-limits) > > What each stack includes. > [card] [Billing model](/products/build/raff-keep/concepts/billing-model) > > Renewals, resizes and deletes. # Raff Keep Source: https://docs.rafftechnologies.com/products/build/raff-keep/index Ready-made application servers. Pick a stack, answer a short setup page and pay. Raff creates the server, installs and checks the application, and keeps it running for you if you choose. <sub>Updated October 15, 2026</sub> Raff Keep is where you get application servers that are ready to use. You pick a stack, answer a short setup page and pay. Raff creates the server, installs and configures the application, checks that it works and hands you the logins. Then, if you choose, Raff keeps it running with [Raff Guardian](/products/manage/raff-guardian/index), the agent that looks after your server from the inside. ![TODO: Keep page in the Raff dashboard with two installed stacks](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/hero.png) ## Why it is called Keep Most one-click installs stop when the application is installed. The work that follows is yours: updates, restarts, attacks, full disks. Raff Keep is named for that part, the keeping. Raff installs the stack, and then Raff Guardian looks after the server so the application keeps running. On the setup page this is **Raff manages everything**. Three words are used across Raff: | Word | Meaning | | - | - | | **Keep** | The place in the dashboard where you find stacks and your installed servers. | | **Stack** | A ready-made application server: the application, everything it needs, and the setup questions that size it. | | **Kept by Raff** | A stack Raff looks after with Raff Guardian after the install. | If you would rather look after the server yourself, choose **Install only**. Raff installs the stack once and hands it over. ## How it works 1. **Pick a stack** under **Keep** in the dashboard. 2. **Answer the setup page.** Raff picks the smallest server size that fits your answers; you can choose a bigger one. 3. **Choose how Raff looks after it**, then pay. The price includes the server and its operating system licence. 4. **Raff builds it.** Raff creates the server, installs and configures the application and checks that it works. You can follow each step. 5. **Get your logins.** Raff shows them once, when the install finishes. 6. **Raff keeps it running**, if you chose that: updates in your window, stopped services started again, attacks blocked, the application watched, everything recorded in **Activity**. If an install fails, Raff removes the server and returns everything you paid to your Raff balance. See [Failed installs](/products/build/raff-keep/concepts/failed-installs). ## Stacks | Stack | Name in the dashboard | What Raff installs | Sized by | Runs on | | - | - | - | - | - | | **MetaTrader** | MetaTrader 4 and 5 | MetaTrader 5, MetaTrader 4 or both. Each terminal has its own folder and starts again by itself after a restart. | Terminals, up to 16 | Windows Server 2025 | | **ASP.NET** | ASP.NET / IIS host | IIS with .NET 10, Web Deploy publishing, free Let's Encrypt certificates, SQL Server Express if you want it. | Sites, up to 20 | Windows Server 2025 | Every stack runs in US East. Keep is built to hold stacks of every kind, and Raff adds new stacks over time. ## How Raff looks after it The setup page asks **How Raff looks after it**: | Choice | What happens | | - | - | | **Raff manages everything** (default) | Raff Guardian installs updates in your maintenance window, starts stopped services again, blocks attacks, keeps the disk clean and tells you when the application stops and how to start it again. | | **Ask me before changes** | Raff Guardian prepares each change and waits for your OK. Attacks are still blocked at once. | | **Watch only** | Raff Guardian checks the server and tells you about problems. It changes nothing. | | **Install only** | No Raff Guardian. Raff installs the stack once and you look after the server yourself. | See [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice), and [everything Raff Guardian does](/products/manage/raff-guardian/index#what-it-does). ## What you get * A server sized for your answers, with its operating system licence included. * The application installed, configured and checked by Raff. * Your own admin login for Remote Desktop, and on a MetaTrader server a trader login that runs the terminals. Their passwords are shown once. * A page for the server under **Keep** with how to connect, your terminals or sites, and every install step in **Activity**. *** ## Most viewed > [card] [Set up a MetaTrader server](/products/build/raff-keep/quickstart-guides/set-up-a-metatrader-server) > > Terminals, platform, auto start and access, then pay. > [card] [Set up an ASP.NET server](/products/build/raff-keep/quickstart-guides/set-up-an-aspnet-server) > > Sites, domains, SQL Server Express and publishing. > [card] [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins) > > Shown once when the server is ready. > [card] [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop) > > Which login to use and where. *** ## Browse > [card] [Set up a MetaTrader server](/products/build/raff-keep/quickstart-guides/set-up-a-metatrader-server) > > Step-by-step dashboard tasks. > [card] [How an install works](/products/build/raff-keep/concepts/how-an-install-works) > > Installs, logins, Raff Guardian, failed installs and billing. > [card] [Features & limits](/products/build/raff-keep/details/features-and-limits) > > Features, limits and pricing. > [card] [Troubleshooting](/products/build/raff-keep/troubleshooting) > > Common issues and recovery. Raff Keep is managed from the dashboard. A Raff Keep server is also a normal Raff server, so it shows in **Compute** with a **Keep** tag, and the full server controls (snapshots, backups, networking, graphs) work there. # Add a MetaTrader terminal Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/add-a-metatrader-terminal Add one more MetaTrader 4 or 5 terminal to a Raff Keep MetaTrader server, or have Raff Guardian look after a terminal you installed yourself. <sub>Updated October 15, 2026</sub> Add a terminal from the server's page instead of buying a new server. [Raff Guardian](/products/manage/raff-guardian/index) installs it the way setup installed the others: in its own folder, started whenever the trader login signs in. It takes a minute or two, the terminals that run now keep running, and nothing is charged. ## Before you start * A Raff Keep MetaTrader server that is **Installed**, with Raff Guardian on. On an **Install only** server the card says "Raff Guardian adds terminals, and this server runs without it. Install Raff Guardian from the server's Guardian tab first." * Permission to manage the server (`vm.manage`). * Room on the server's size. The **Your terminals** card says how many it runs, for example "2 of 4 this server's size runs". | Server size | Terminals it runs | | - | - | | At least 2 vCPU and 4 GB | 4 | | At least 4 vCPU and 8 GB | 8 | | At least 8 vCPU and 16 GB | 16 | ## Steps **1. Open Your terminals** Open the server's page under **Keep**. The **Overview** tab shows **Your terminals**: each terminal, whether it runs, its broker connection, algo trading and what it uses. Click **Check now** for a fresh reading. ![TODO: Your terminals card with two running terminals and Add terminal](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/terminals-01-card.png) **2. Add a terminal** Click **Add terminal**. The dialog **Add a MetaTrader terminal?** names the terminal it adds, such as "MetaTrader 5 terminal 3", and the most this server runs. On a server with both platforms, choose **MetaTrader 5** or **MetaTrader 4**. Click **Add terminal**. **3. Sign in to your broker in the new terminal** When the card lists the new terminal as running, sign in over Remote Desktop as the trader login, open the terminal and sign in to your trading account. ## Verify The new terminal shows in **Your terminals** with its folder, such as `C:\MT5\3`, and **Running**. The line under the card gives Raff Guardian's result, or why it could not add the terminal. ## When the size is full The **Add terminal** button is off and the card says, for example, "This server's size runs at most 4 MetaTrader terminals. Resize it to 4 vCPU and 8 GB to run up to 8." Click **Resize the server**, pick the bigger size, then add the terminal. A server runs at most 16 terminals. ## Look after a terminal you installed yourself When Raff Guardian finds a MetaTrader terminal installed by hand outside Raff Keep, the card lists it under **Found on the server**. Raff Guardian does not start or watch it until you choose: * **Look after it**: the terminal becomes one of your Raff Keep terminals. It starts whenever the trader login signs in, and Raff Guardian tells you when it stops. Its charts, profiles and experts are copied into its folder from the login that used it. Nothing is reinstalled, and nothing is charged. If it asks for your broker password, sign in to your broker once in it as the trader login. * **Not this one**: the card stops offering it. The **Apps** tab still lists it. A terminal you look after counts toward the size like any other. ## Next steps > [card] [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop) > > Sign in as the trader login. > [card] [Features & limits](/products/build/raff-keep/details/features-and-limits) > > Terminals per size, folders and auto start. # Delete a Raff Keep server Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/delete-a-keep-server Delete a Raff Keep server and its stack, stop an install that is still running, or remove a failed install from your list. <sub>Updated October 15, 2026</sub> Deleting a Raff Keep server destroys the server and its disks and stops its subscription. What the delete button says, and what happens to your money, depends on where the install is. > [!WARNING] > > Deleting a server cannot be undone. Copy anything you need off the server first, or take a snapshot in **Compute**. ## Before you start * Permission to delete servers in the project (`vm.delete`). ## Steps **1. Open the delete action** Open the server's page under **Keep**, click the **...** button (**More actions**) next to **Connect**, and choose the delete action. On an installed server it is also on the **Settings** tab, under **Server**: **Delete this server**. | The install is | The action says | What happens | | - | - | - | | **Installed** | **Delete stack and server** | The server and its disks are destroyed, its subscription stops and the stack leaves Keep. | | **Creating server**, **Installing** or **Checking** | **Stop install and delete server** | The install stops. Raff removes the server it created and returns everything you paid to your Raff balance. | | **Failed**, and Raff is checking it | **Delete server** | The server and its disks are destroyed and its subscription stops. The unused part comes back to your Raff balance. Raff still checks the install and contacts you. | | **Failed** or **Awaiting payment**, with no server | **Remove from list** | There is no server to delete. The install leaves your Keep list. | ![TODO: More actions menu with Delete stack and server](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/delete-01-menu.png) **2. Confirm** The dialog repeats what happens. Click **Delete**, or **Keep it** to go back. ## Verify The status changes to **Deleting**, then **Deleted** once the server is gone: "The server is gone. This page stays as the record." When you stopped an install, the status is **Removing** until Raff has removed the server and returned your money. ## What happens to your money * **Delete an installed server**: the unused part of the server's subscription goes back to your Raff balance. The Windows licence for the current period is not returned. * **Stop an install**: everything you paid for the order goes back to your Raff balance. See [Billing model](/products/build/raff-keep/concepts/billing-model). ## Delete it from Compute A Raff Keep server is also listed in **Compute**, and deleting it there works the same way. Reinstall and factory reset are not available for a Raff Keep server: "This server was set up by Raff Keep. Delete it and create it again." ## Next steps > [card] [Set up a MetaTrader server](/products/build/raff-keep/quickstart-guides/set-up-a-metatrader-server) > > Start a new MetaTrader server. > [card] [Set up an ASP.NET server](/products/build/raff-keep/quickstart-guides/set-up-an-aspnet-server) > > Start a new ASP.NET server. # Follow a Raff Keep install Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/follow-the-install Watch a Raff Keep install from payment to Installed, step by step, and know what each status means. <sub>Updated October 15, 2026</sub> After you pay, Raff creates the server and installs the stack on it. The server's page under **Keep** shows each step as it runs. You can close the page at any time: the install keeps going. ## Before you start * A Raff Keep stack you paid for. See [Set up a MetaTrader server](/products/build/raff-keep/quickstart-guides/set-up-a-metatrader-server) or [Set up an ASP.NET server](/products/build/raff-keep/quickstart-guides/set-up-an-aspnet-server). ## Steps **1. Open the install** Checkout takes you to the server's page. Later, click **Keep** in the sidebar and click the stack's name, or **Open**, in the list. The list shows each stack's **Status** and the step it is on. **2. Watch the steps** The page shows a progress bar ("3 of 11 steps", for example) and, on the **Overview** tab, every step with its result. While the server is being created, the bar shows the Windows licence setup instead, for example "Setting up the Windows licence: activating Windows". Some steps restart the server. The step then ends with "Restarting the server ...; setup continues after the restart." and the install carries on by itself. ![TODO: Install page with the progress bar and the step list](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/install-01-steps.png) **3. Get the logins when it is installed** When the status is **Installed**, a box at the top says "Raff Keep created logins for this server." Click **Show the logins** and save them. See [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins). ## Statuses | Status | What it means | | - | - | | **Awaiting payment** | Checkout was not finished. The page says "Payment was not completed. Nothing was created." and links back to the stack page. | | **Creating server** | Raff is creating the server and setting up its Windows licence. | | **Installing** | The server is running the install steps. | | **Checking** | The last step checks that everything came up. | | **Installed** | Ready. The page shows how to connect, and the Security, Users, Apps, Updates and Settings tabs open. | | **Removing** | The install did not finish. Raff is removing the server it created and returning your money to your Raff balance. | | **Failed** | The install did not finish. The banner says what Raff did. See [Failed installs](/products/build/raff-keep/concepts/failed-installs). | | **Deleting** / **Deleted** | You deleted the server. The page stays as the record of what was installed. | ## The steps Every step's result is kept in the **Activity** tab. **MetaTrader**: Remote Desktop access and always-on tuning; creating the trader login; creating your admin login; installing MetaTrader; starting every terminal when the trader login signs in; auto sign-in after a restart; the update policy, closing the server's setup data to the trader login and turning SSH passwords off; installing [Raff Guardian](/products/manage/raff-guardian/index); starting the terminals (one restart, when auto start is on); keeping the built-in Administrator off Remote Desktop; and a final check that every terminal runs. **ASP.NET**: Remote Desktop access, then IIS; creating your admin login; the .NET 10 hosting bundle; Web Deploy; setting up the sites; free certificates; SQL Server Express (when chosen); the firewall, the update policy and turning SSH passwords off; installing Raff Guardian; keeping the built-in Administrator off Remote Desktop; and a final check of the server. With **Install only**, the Raff Guardian step reports "Install only: Raff Guardian is not installed". ## When it takes longer Raff watches every install. When the server stops reporting, or the install runs longer than it should, the status line says "Taking longer than usual. Raff has been told." The install keeps going, and the line goes once it finishes. Do not restart or sign in to the server while it installs. If you sign in and a step then fails, Raff keeps the server for a person to check instead of removing it. See [Failed installs](/products/build/raff-keep/concepts/failed-installs). ## Next steps > [card] [How an install works](/products/build/raff-keep/concepts/how-an-install-works) > > What Raff does on the server, and why. > [card] [Troubleshooting](/products/build/raff-keep/troubleshooting) > > An install that failed or seems stuck. # Get your Raff Keep logins Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/get-your-logins Show the logins Raff Keep created for your server once, save them, and get a new password if you lose one. <sub>Updated October 15, 2026</sub> Raff Keep creates the logins you use on the server: your own admin login on every server, and a trader login that runs the terminals on a MetaTrader server. Their passwords are shown once, in the dashboard, to one person. Raff keeps an encrypted copy only until you have seen them, then deletes it. ## Before you start * A Raff Keep server whose status is **Installed**. * You are signed in to the Raff dashboard and may manage servers in the server's project (`vm.manage`). Other members see "The logins this install created are shown once, to someone who can manage servers in this project." * A password manager or another safe place to keep them. ## Steps **1. Open the server's page** Click **Keep** in the sidebar and open the stack. At the top, a box says "Raff Keep created logins for this server. They are shown once: after you open them you can show them again for 10 minutes, then Raff deletes its copy." **2. Show the logins** Click **Show the logins**. The box turns green: "Everything you need to get in. Copy it now." Each row has a copy button: | Row | Where | | - | - | | **Web address** | ASP.NET: site 1 on the server's address | | **Publish with Web Deploy** | ASP.NET, when you listed addresses for publishing at setup | | **Admin login (Remote Desktop)** and **Password** | Every server: `admin-` plus 3 characters, such as `admin-k7q` | | **Trader login (runs your terminals)** and **Password** | MetaTrader: `trader-` plus 3 characters, such as `trader-m2p` | Under the rows: "The built-in Administrator signs in only in the VNC console, with the password you chose when you created the server." ![TODO: Logins box with the admin and trader logins and I saved them](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/logins-01-shown.png) **3. Save them, then click I saved them** Copy every row into your password manager. The box says who saw the logins and until when you can show them again, 10 minutes after you first opened them. Click **I saved them** to have Raff delete its copy at once. ## Verify The box closes once the 10 minutes end or you click **I saved them**. The **Users** tab then says who the logins were shown to and that Raff keeps no copy. Sign in with them: see [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop). ## Rules * **Shown once, to one person.** The first person to click **Show the logins** sees them, and only that person can show them again, for 10 minutes. Anyone else sees who they were shown to and when. * **Dashboard only.** The logins are never sent by email and never shown to an API key. * **Unopened for 7 days**: Raff deletes them. The box says "The logins this install created were not opened within 7 days, so Raff deleted them." Set new passwords as below. ## Lost a password **With Raff Guardian** (every choice except **Install only**): 1. Open the **Users** tab. Your logins are tagged "your admin login (Raff Keep)" and "Trader login (runs your terminals)". 2. Click **New password** on the login and confirm **Set a new password**. If your account asks for a two-step code, enter it. 3. The new password is shown once, only to you, in this browser. Copy it and click **I saved it**. The old password stops working at once, with no restart. On a MetaTrader server, auto sign-in gets the trader login's new password too, so the terminals still start by themselves after a restart. **With Install only**: there is no [Raff Guardian](/products/manage/raff-guardian/index) to set a password. Sign in as the built-in Administrator in the VNC console and set a new password for the login in Windows. **The built-in Administrator**: open the server in **Compute** and use **Reset password** ("New password for the built-in Administrator (VNC console)"). Raff generates a new password, emails it to the account's billing email address and restarts the server. Your admin login keeps its password. ## Next steps > [card] [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop) > > Which login to use and where. > [card] [Logins and the Administrator](/products/build/raff-keep/concepts/logins-and-the-built-in-administrator) > > Why Remote Desktop uses your own admin login. # Manage ASP.NET sites and domains Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/manage-sites-and-domains Add a site or a domain with its free certificate, remove a site, and add a .NET version on a Raff Keep ASP.NET server. <sub>Updated October 15, 2026</sub> After the install you can change the sites on a Raff Keep ASP.NET server from its page. [Raff Guardian](/products/manage/raff-guardian/index) makes each change on the server the way setup made the first sites. Nothing is charged. ## Before you start * A Raff Keep ASP.NET server that is **Installed**, with Raff Guardian on. * Permission to manage the server (`vm.manage`). ## Steps **1. Add a site** On the **Overview** tab, click **Add site** in **Your sites**. Give it a **Name** (letters, digits, dots, hyphens or underscores, such as `shop`) and, optionally, a **Domain**. Click **Add the site**. The site gets its own folder in `C:\inetpub\sites` and its own application pool, like the sites Raff Keep set up. It shows in the list within 5 minutes and gets its own publishing login a few minutes later. A server holds up to 20 sites. **2. Add a domain to a site** Open the site's **...** menu and click **Add a domain** (a site without one also shows **Add a domain** under its name). Type the **Domain** and click **Add the domain**. Point the domain's A record at the server's address. Raff Keep checks every 15 minutes for 7 days and gets the free Let's Encrypt certificate as soon as the domain points at the server. The site then answers on the domain over HTTP and HTTPS, and the certificate renews by itself. **3. Remove a site** Open the site's **...** menu and click **Remove site**. Raff Guardian removes the site, its application pool, its publishing login and its domains' certificates; the domains stop answering here and its publish profile stops working. Tick **Also delete its files** to delete its folder too. Without it, the files stay in `C:\inetpub\sites` on the server. Click **Remove the site** (or **Remove with its files**). Site 1, **Default Web Site**, cannot be removed. **4. Add a .NET version** On the **Apps** tab, the **.NET on this server** card lists the .NET versions with Microsoft's support dates. Click **Add a .NET version**, pick the version and click **Add .NET** with its number. Raff Guardian installs the newest hosting bundle of that version from Microsoft, checks its signature and restarts the running sites once so they can use it. It takes a minute or two. ## Verify Each change shows its progress under the site or the card, then Raff Guardian's result. Every change is also in the **Activity** tab. ## A site does not start When a site does not answer, **Your sites** shows it as **Not starting** with Raff Guardian's reason and the fix: | Fix | When | What it does | | - | - | - | | **Add .NET** with its number | The app needs a .NET version the server does not have | Installs that version, as above | | **Bring the site back** | A publish did not finish and left the site offline | Removes the offline page. Publish again afterwards so every file is the new one | | **Start it again** | The app stopped or failed to start | Restarts the site's application pool. If the app fails again, fix it and publish again | ## Next steps > [card] [Publish an ASP.NET site](/products/build/raff-keep/quickstart-guides/publish-an-aspnet-site) > > Publish profile and GitHub Actions. > [card] [Features & limits](/products/build/raff-keep/details/features-and-limits) > > What an ASP.NET server includes. # Publish an ASP.NET site Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/publish-an-aspnet-site Publish to a Raff Keep ASP.NET server with Web Deploy, from Visual Studio with a publish profile or from GitHub Actions on every push. <sub>Updated October 15, 2026</sub> Every site on a Raff Keep ASP.NET server has its own publishing login, which can publish to that site only. You download a publish profile for Visual Studio, or set up GitHub Actions to publish on every push. Both use Web Deploy on port 8172. ## Before you start * A Raff Keep ASP.NET server that is **Installed**, with Raff Guardian on. On an **Install only** server, see [Publish without Raff Guardian](#publish-without-raff-guardian). * Permission to manage the server (`vm.manage`) and to open its console. * Visual Studio, or a GitHub repository with your app. ## Steps **1. Check where Web Deploy answers from** Open the server's page under **Keep** and click the **Apps** tab. The **Publishing** card shows **Web Deploy (port 8172)**: * **From your addresses: ...**: the addresses you listed at setup. * **From anywhere**: any address, each site still protected by its own login. * **Closed**: nobody can publish. This is the case when you listed no addresses at setup. To change it, click **Change**, choose **Only your addresses** or **From anywhere** in **Where should Web Deploy answer from?**, and click **Save**. GitHub Actions and other build machines publish from changing addresses, so they need **From anywhere**. [Raff Guardian](/products/manage/raff-guardian/index) blocks addresses that keep failing to sign in. ![TODO: Publishing card with Web Deploy, Certificate and Change](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/publish-01-publishing.png) **2. Download the publish profile** On the **Overview** tab, **Your sites** lists each site with its state, its domains and its **Publishing login**, such as `publish-site1`. Click **Publish profile** on the site. Raff Guardian makes a new password for the site's publishing login, and your browser saves a `.publishsettings` file. The row then says "Saved. Import it in Visual Studio (Publish, Import Profile). An older profile of this site no longer works." Raff emails your project's members that a new publish profile was made. ![TODO: Your sites card with the Publish profile button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/publish-02-sites.png) **3. Publish from Visual Studio** In Visual Studio, open **Publish**, choose **Import Profile** and pick the file. Click **Publish**. The first time, Visual Studio asks you to trust the server's Web Deploy certificate. Once a site's domain has its Let's Encrypt certificate, Web Deploy uses that certificate and Visual Studio trusts it without asking. ## Verify Open the site's domain, or for site 1 the server's address, in a browser. In **Your sites** the site shows **Running**; Raff Guardian checks each site every 5 minutes. ## Publish from GitHub Actions 1. Set Web Deploy to **From anywhere** (step 1 above). The dialog reminds you when it is not. 2. In **Your sites**, open the site's **...** menu and click **Set up GitHub Actions**. The dialog, such as **Publish site2 from GitHub Actions**, lists four secrets to add to your repository, each with a copy button: `WEBDEPLOY_URL`, `WEBDEPLOY_SITE`, `WEBDEPLOY_USER` and `WEBDEPLOY_PASSWORD`. The password is the one in your publish profile (`userPWD`). 3. Add the file the dialog shows as `.github/workflows/deploy.yml` (**Copy the file**), and set `dotnet-version` to the .NET version your app targets. It looks like this: ```yaml theme={null} name: Publish on: push: branches: [main] jobs: deploy: runs-on: windows-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' - run: > dotnet publish -c Release -p:WebPublishMethod=MSDeploy -p:MSDeployServiceURL=${{ secrets.WEBDEPLOY_URL }} -p:DeployIisAppPath="${{ secrets.WEBDEPLOY_SITE }}" -p:UserName=${{ secrets.WEBDEPLOY_USER }} -p:Password=${{ secrets.WEBDEPLOY_PASSWORD }} -p:AuthType=Basic -p:AllowUntrustedCertificate=true -p:SkipExtraFilesOnServer=true ``` Every push to `main` then builds your app on GitHub and publishes it. Once Web Deploy uses a site's domain certificate, the dialog's file leaves out `AllowUntrustedCertificate`. > [!WARNING] > > Each **Publish profile** press makes a new password and the old one stops working. After you download a new profile, update `WEBDEPLOY_PASSWORD` in GitHub. ## Publish without Raff Guardian An **Install only** server has no per-site publishing logins or publish profiles in the dashboard. Publish with Web Deploy as your admin login instead: * **Server**: the **Publish with Web Deploy** address from your logins, `https://<address>:8172/msdeploy.axd`. * **Site**: `Default Web Site` for site 1, `site2`, `site3` and so on for the others. * **User name and password**: your admin login and its password. Web Deploy answers only the addresses you listed at setup; with none it is closed. To open it, change the Windows Firewall rule for port 8172 on the server. ## Next steps > [card] [Manage sites and domains](/products/build/raff-keep/quickstart-guides/manage-sites-and-domains) > > Add sites, domains and .NET versions. > [card] [Troubleshooting](/products/build/raff-keep/troubleshooting) > > A site that does not publish or start. # Set up a MetaTrader server Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/set-up-a-metatrader-server Buy a ready-made MetaTrader 4 or 5 server with Raff Keep. Choose the terminals, the platform, auto start, Raff Guardian and who can reach Remote Desktop, then pay. <sub>Updated October 15, 2026</sub> A MetaTrader server from Raff Keep is a Windows Server 2025 server with MetaTrader 5, MetaTrader 4 or both installed by Raff. Each terminal has its own folder, and by default every terminal starts again by itself after a restart. You answer one setup page, pay at checkout, and Raff does the rest. ## Before you start * A Raff account on monthly billing. Pay-as-you-go accounts see "Raff Keep stacks are paid through checkout. Pay as you go is not available for them yet." * Permission to create servers in the project (`vm.create`). * A card on file or enough Raff balance for the first period. ## Steps **1. Open the MetaTrader stack** Click **Keep** in the sidebar, then **Create**. On **What do you want to run?**, click **MetaTrader 4 and 5** under **Trading**. ![TODO: Create page with the MetaTrader 4 and 5 row](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/metatrader-01-catalog.png) **2. Setup: terminals, platform and auto start** * **MetaTrader terminals**: how many terminals you want, from 1 to 16. Each gets its own folder. * **Platform**: **MetaTrader 5** (default), **MetaTrader 4** or **Both**. With **Both**, you get that many terminals of each platform and every one counts toward the size, so at most 8 of each. * **Start the terminals after a restart** (on by default): after any restart, for example one for Windows updates, a trader login signs in by itself, starts every terminal and locks the screen. Its password is kept in Windows' protected store. Turn it off and the terminals start only when you sign in as the trader login. ![TODO: Setup group with terminals, platform and auto start](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/metatrader-02-setup.png) **3. Size: keep Raff's pick or choose bigger** Raff picks the size from your answers and marks it **Raff pick for your answers**: | Terminals (with **Both**, count each platform) | Raff's pick | | - | - | | 1 to 4 | 2 vCPU · 4 GB · 80 GB | | 5 to 8 | 4 vCPU · 8 GB · 120 GB | | 9 to 16 | 8 vCPU · 16 GB · 180 GB | You can choose a bigger size; smaller ones are not offered. **Show bigger sizes** lists the rest. If you change your answers and a size you chose no longer fits, Raff picks one that does and says so. > [!NOTE] > > The price beside each size is the server alone. The **Summary** on the right adds the Windows licence (\$15.00 a month) and shows the total. See [Pricing](/products/build/raff-keep/details/pricing). **4. Raff Guardian: how Raff looks after it** The **Raff Guardian** group shows **How Raff looks after it**, set to **Raff manages everything**. Click the row to choose another: * **Raff manages everything**: updates in your maintenance window, stopped services restarted, the application watched, attacks blocked, disk kept clean. * **Ask me before changes**: [Raff Guardian](/products/manage/raff-guardian/index) prepares each change and waits for your OK. Attacks are still blocked at once. * **Watch only**: Raff Guardian checks the server and tells you about problems. It changes nothing. * **Install only**: no Raff Guardian. Raff installs it once and you look after the server yourself. With Raff Guardian, Raff also tells you when a terminal stops, and you can add terminals later from the dashboard. The **Windows licence** row says **Included**. See [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice). **5. Access: time zone, Remote Desktop, name and password** * **Time zone**: the server's Windows time zone. It starts at your browser's time zone. * **Allow Remote Desktop from**: **Any address** (default), **Only my address** (your IPv4 address and the browser console in the dashboard) or **Addresses I choose** (up to 20 IPv4 addresses or ranges, such as `203.0.113.7, 198.51.100.0/24`). Any address keeps Remote Desktop open, protected by logins nobody can guess, a lockout after 10 failed sign-ins for 15 minutes, network level authentication and Raff Guardian blocking attackers. * **Server name**: starts as `forex-mt-01`. 3 to 63 letters, digits or hyphens. * **Built-in Administrator password**: type one or click **Generate**. It needs 12 to 128 characters, at least 2 uppercase letters, at least 2 digits, at least 1 of `@+-_.,!` and no other symbols, and no runs like `aaa` or `123` or common words. > [!NOTE] > > This is not the password you sign in with every day. Raff Keep creates your own admin login and shows its password once when the server is ready. The built-in Administrator signs in only in the VNC console and is your way back in if you lose your admin login. Raff keeps this password encrypted only until the server is set up, then deletes it. See [Logins and the Administrator](/products/build/raff-keep/concepts/logins-and-the-built-in-administrator). **6. Choose the billing period and start** In the **Summary**, check the lines and the total, then pick the **Billing period**: **Monthly**, **Yearly** or **24 months**. Yearly and 24 months are paid up front and cost less per month; the Summary shows how much you save. Click **Start**, then pay at checkout. Raff then creates the server, installs everything and records every step. ![TODO: Summary card with lines, billing period and Start](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/metatrader-03-summary.png) ## Verify After payment you land on the server's page under **Keep**. Its status moves from **Creating server** to **Installing**, **Checking** and **Installed**, and the steps show as they run. When it is installed, a box at the top offers **Show the logins**. See [Follow the install](/products/build/raff-keep/quickstart-guides/follow-the-install). With **Start the terminals after a restart** on, the install restarts the server once at the end, so the trader login signs in by itself and every terminal is running when you get the server. ## Next steps > [card] [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins) > > The admin and trader logins, shown once. > [card] [Connect with Remote Desktop](/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop) > > Sign in as the trader to see your terminals. # Set up an ASP.NET server Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/set-up-an-aspnet-server Buy a ready-made ASP.NET server with Raff Keep. Choose the sites, their domains, extra .NET versions, SQL Server Express, Raff Guardian and who can reach Remote Desktop and publishing, then pay. <sub>Updated October 15, 2026</sub> An ASP.NET server from Raff Keep is a Windows Server 2025 server with IIS, the .NET 10 hosting bundle and Web Deploy, ready for your ASP.NET site or API. Each site gets its own application pool and folder, and a free Let's Encrypt certificate as soon as its domain points at the server. You answer one setup page, pay at checkout, and Raff does the rest. ## Before you start * A Raff account on monthly billing. Pay-as-you-go accounts see "Raff Keep stacks are paid through checkout. Pay as you go is not available for them yet." * Permission to create servers in the project (`vm.create`). * A card on file or enough Raff balance for the first period. * Optional: the domains your sites will use, and access to their DNS. ## Steps **1. Open the ASP.NET stack** Click **Keep** in the sidebar, then **Create**. On **What do you want to run?**, click **ASP.NET / IIS host** under **Websites and APIs**. ![TODO: Create page with the ASP.NET / IIS host row](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/aspnet-01-catalog.png) **2. Setup: sites, domains, .NET and SQL Server** * **How many sites or APIs**: 1 to 20. Each site gets its own application pool and folder. Site 1 also answers on the server's address. You can add sites and domains later on the server's page. * **Domains**: optional, one per site, such as `app.example.com`. A domain can belong to one site only. Point each domain's A record at the server's address once you have it: Raff Keep checks every 15 minutes for 7 days and gets each certificate as soon as the domain points at the server. * **Email for Let's Encrypt**: optional. Let's Encrypt only adds the address to its mailing list; Raff Keep renews the certificates automatically. * **Also install**: **.NET 9** and **.NET 8**, for an app that still needs them. .NET 10 is always installed. Microsoft ends support for both on 10 November 2026, after which they get no security fixes. * **Install SQL Server Express alongside**: free, up to 10 GB per database. Windows sign-in only and not reachable from outside the server. > [!NOTE] > > [Raff Guardian](/products/manage/raff-guardian/index) adds .NET 9 and .NET 8 right after the install. On an **Install only** server there is no Raff Guardian, so only .NET 10 is installed. ![TODO: Setup group with sites, domains, Also install and SQL Server Express](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/aspnet-02-setup.png) **3. Size: keep Raff's pick or choose bigger** Raff picks the size from the number of sites and marks it **Raff pick for your answers**: | Sites | Raff's pick | | - | - | | 1 | 2 vCPU · 4 GB · 80 GB | | 2 to 3 | 4 vCPU · 8 GB · 120 GB | | 4 to 8 | 8 vCPU · 16 GB · 180 GB | | 9 to 20 | 8 vCPU · 32 GB · 240 GB | You can choose a bigger size; smaller ones are not offered. **Show bigger sizes** lists the rest. > [!NOTE] > > The price beside each size is the server alone. The **Summary** on the right adds the Windows licence (\$15.00 a month) and shows the total. See [Pricing](/products/build/raff-keep/details/pricing). **4. Raff Guardian: how Raff looks after it** The **Raff Guardian** group shows **How Raff looks after it**, set to **Raff manages everything**. Click the row to choose **Ask me before changes**, **Watch only** or **Install only** instead. Raff Guardian also sets up publishing for each site: its own Web Deploy login and a publish profile you download from the dashboard. Without it (**Install only**) you publish as your admin login instead. See [Kept by Raff](/products/build/raff-keep/concepts/raff-guardian-choice) and [Publish an ASP.NET site](/products/build/raff-keep/quickstart-guides/publish-an-aspnet-site). **5. Access: Remote Desktop, publishing, name and password** * **Allow Remote Desktop and publishing from**: **Any address** (default), **Only my address** (your IPv4 address and the browser console in the dashboard) or **Addresses I choose** (up to 20 IPv4 addresses or ranges). * Remote Desktop: any address keeps it open, protected by an admin login nobody can guess, a lockout after 10 failed sign-ins for 15 minutes, network level authentication and Raff Guardian blocking attackers. With addresses, only they and the browser console reach it. * Publishing with Web Deploy (port 8172) answers only the addresses listed. With **Any address**, publishing stays off until you turn it on from the server's page. * **Server name**: starts as `windows-iis-01`. 3 to 63 letters, digits or hyphens. * **Built-in Administrator password**: type one or click **Generate**. It needs 12 to 128 characters, at least 2 uppercase letters, at least 2 digits, at least 1 of `@+-_.,!` and no other symbols, and no runs like `aaa` or `123` or common words. > [!NOTE] > > This is not the password you sign in with every day. Raff Keep creates your own admin login and shows its password once when the server is ready. The built-in Administrator signs in only in the VNC console and is your way back in if you lose your admin login. See [Logins and the Administrator](/products/build/raff-keep/concepts/logins-and-the-built-in-administrator). **6. Choose the billing period and start** In the **Summary**, check the lines and the total, then pick the **Billing period**: **Monthly**, **Yearly** or **24 months**. Yearly and 24 months are paid up front and cost less per month. Click **Start**, then pay at checkout. Raff then creates the server, installs everything and records every step. ## Verify After payment you land on the server's page under **Keep**. Its status moves from **Creating server** to **Installing**, **Checking** and **Installed**. When it is installed, a box at the top shows the site's **Web address** and offers **Show the logins**. See [Follow the install](/products/build/raff-keep/quickstart-guides/follow-the-install). The **Web address** is site 1 on the server's address (`http://<address>/`). Your other sites answer on their domains once you point them at the server. ## Next steps > [card] [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins) > > Your admin login, shown once. > [card] [Publish an ASP.NET site](/products/build/raff-keep/quickstart-guides/publish-an-aspnet-site) > > Visual Studio publish profile or GitHub Actions. # Sign in to a Raff Keep server Source: https://docs.rafftechnologies.com/products/build/raff-keep/quickstart-guides/sign-in-with-remote-desktop Connect to a Raff Keep server with Remote Desktop as your admin login or the trader login, in your Remote Desktop app or in the browser, and reach the VNC console when you need the built-in Administrator. <sub>Updated October 15, 2026</sub> You sign in to a Raff Keep server over Remote Desktop with the logins Raff Keep created for you. The built-in Administrator cannot sign in over Remote Desktop: it signs in only in the VNC console, the server's own screen in the dashboard. ## Which login to use | Login | Signs in | Use it for | | - | - | - | | **Admin login** (`admin-` plus 3 characters) | Remote Desktop, in your app or the browser | Installing software and changing Windows settings. It is an administrator. | | **Trader login** (`trader-` plus 3 characters, MetaTrader only) | Remote Desktop | Seeing and using your terminals. They run as this login. | | **Built-in Administrator** | VNC console only | Your way back in if you lose your admin login. Its password is the one you chose at setup. | ## Before you start * The server is **Installed** and you saved its logins. See [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins). * A Remote Desktop app: Windows App on Windows, Mac, iPhone and iPad, or Remote Desktop Connection on Windows. Or use the browser. * Your address may reach the server. The **Connect with Remote Desktop** card says "Reachable only from ..." or "Open to every address". ## Steps **1. Open Connect** Open the server's page under **Keep** and click **Connect**. The menu offers: * **Download Remote Desktop file**: a file for your admin login. * **Remote Desktop file for the trader** (MetaTrader): a file for the trader login. * **Open Remote Desktop in the browser**: Remote Desktop in a new tab, no app needed. * **Open VNC console**: the server's own screen. * **Copy address**: the server's address with the Remote Desktop port, such as `203.0.113.10:3389`. The **Overview** tab's **Connect with Remote Desktop** card shows the same: the **Address**, **Sign in as** (the trader login on a MetaTrader server, your admin login on an ASP.NET server) and the buttons **Download Remote Desktop file** and **Open in the browser**. ![TODO: Connect menu on a MetaTrader server](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/build/raff-keep/sign-in-01-connect.png) **2. Sign in** Open the downloaded file in your Remote Desktop app, or use the browser. Enter the login's password. In the browser the sign-in fills in your admin login and says "Raff Keep server: sign in as admin-k7q, or as trader-m2p to see your terminals. The built-in Administrator signs in only in the VNC console." **3. Leave without stopping anything** On a MetaTrader server, close the Remote Desktop window to leave: your terminals keep running. **Sign out** closes them. ## Verify You see the Windows desktop. On a MetaTrader server signed in as the trader login, every terminal is open. With [Raff Guardian](/products/manage/raff-guardian/index) on, the **Users** tab lists your session. ## Work as an administrator * Your admin login is an administrator, but programs that change Windows ask you to confirm. If a tool says access is denied, right-click it and choose **Run as administrator**. * PowerShell remoting (`Enter-PSSession`, `Invoke-Command`) and admin shares such as `\\server\c$` answer "Access is denied" for your admin login. Windows gives an administrator other than the built-in Administrator a limited token over the network, and Raff keeps that default. Sign in over Remote Desktop and use **Run as administrator**, or use SSH with one of your account's SSH keys as your admin login. * Where SSH runs on a Raff Keep server, it takes keys only; passwords are off. ## Use the VNC console The VNC console is the server's own screen, so it works even when Remote Desktop does not. Click **Connect**, then **Open VNC console**. * Sign in as **Administrator** with the password you chose at setup, or as any other login. * To type a password, use **Type text** in the console's bar: it types into the field that has focus, key by key. Paste only fills the server's clipboard. * On a MetaTrader server with auto start on, the trader login is signed in and the screen is locked. Choose **Other user** on the Windows screen to sign in as someone else. ## Change who can reach Remote Desktop With Raff Guardian on, open the **Security** tab. **Who can reach Remote Desktop** offers **Any address**, **Only my address** or **A list of addresses**, and Raff Guardian applies the change on the server. The VNC console does not use Remote Desktop, so it works whatever you choose. With **Install only**, change the Windows Firewall rules on the server yourself. ## Next steps > [card] [Logins and the Administrator](/products/build/raff-keep/concepts/logins-and-the-built-in-administrator) > > Why the built-in Administrator is off Remote Desktop. > [card] [Troubleshooting](/products/build/raff-keep/troubleshooting) > > Cannot sign in over Remote Desktop. # Raff Keep troubleshooting Source: https://docs.rafftechnologies.com/products/build/raff-keep/troubleshooting Common Raff Keep issues and how to fix them. Failed or slow installs, Remote Desktop sign-in, MetaTrader terminals, ASP.NET publishing and refunds. <sub>Updated October 15, 2026</sub> Issues you may run into with Raff Keep, and how to resolve them. If your problem is not listed, contact [support](mailto:support@rafftechnologies.com). ## Installs > [accordion] The install failed > > **What's happening:** the banner on the server's page says what Raff did. > > * "This install did not finish: ... We removed the server it created and returned \$X to your Raff balance." Raff removed the server and returned everything you paid. Click **Try again** to start a new install. > * "We could not create the server. ... was returned to your Raff balance." The server was never created; your payment is back. Click **Try again**. > * "This install did not finish. We are checking it and will contact you. Nothing more is charged while we check." Raff kept the server for a person to check, usually because someone was signed in or the cause is not clear. Wait for Raff to contact you. > > **Fix:** try again, or reply to the email "Your ... install did not finish" and we will help. See [Failed installs](/products/build/raff-keep/concepts/failed-installs). > [accordion] The install seems stuck > > **What's happening:** some steps take several minutes, and some restart the server. While the server is being created, the progress line shows the Windows licence setup. > > **Why:** when the server stops reporting, or the install runs longer than it should, the page says "Taking longer than usual. Raff has been told." Raff is already looking at it. > > **Fix:** > > 1. Leave the server alone. A restart Raff did not ask for stops the install, and if you are signed in when a step fails, Raff holds the server for a person to check. > 2. Close the page if you like; the install keeps going and the line goes once it finishes. > 3. If it has not finished after 24 hours, Raff holds it and checks it, and nothing more is charged. > [accordion] "Payment was not completed. Nothing was created." > > **What's happening:** checkout was left before paying. No server was created and nothing was charged. > > **Fix:** click **Start again from the stack page**. To clean up the list, use **Remove from list** in the **...** menu. > [accordion] I cannot click Start > > **What's happening:** the line under **Start** says why: > > * "Raff Keep stacks are paid through checkout. Pay as you go is not available for them yet.": your account is on pay-as-you-go. Contact support. > * "You need the vm.create permission to start a stack.": ask a project admin for a role that can create servers. > * "Choose a built-in Administrator password that meets the rules.": the password rules show under **Access**. > * "Give the server a name (3 to 63 letters, digits or hyphens)." > * "Fix the answers above to get a price.": an answer is not accepted; the **Summary** shows the reason, such as more terminals than one server takes. > [accordion] "Licence activation pending: our team is on it" > > **What's happening:** Windows' licence activation did not finish on the server. Raff's team has been told and will finish it. It never removes the server or charges you more. > > **Fix:** nothing to do. Contact support if you need it sooner. ## Signing in > [accordion] I cannot sign in over Remote Desktop > > **Fix:** check each of these. > > 1. **The login.** Sign in as your admin login (`admin-...`) or, on a MetaTrader server, the trader login (`trader-...`). The built-in Administrator cannot sign in over Remote Desktop. In the browser the console says "This server does not let the built-in Administrator sign in over Remote Desktop." and offers **Use VNC console instead**. > 2. **Your address.** The **Connect with Remote Desktop** card says "Reachable only from ..." when Remote Desktop is limited. If your address changed, open the **Security** tab and change **Who can reach Remote Desktop**, or use **Open Remote Desktop in the browser**. > 3. **A blocked address.** After 8 wrong passwords from one address in 15 minutes, [Raff Guardian](/products/manage/raff-guardian/index) blocks it for 7 days. The **Security** tab lists it under **Blocked addresses**: click **Unblock**. > 4. **A locked account.** 10 wrong passwords lock an account for 15 minutes when Raff Guardian does not block attackers. Wait, or use **Unlock** on the **Users** tab. > 5. **The password.** If you lost it, set a new one: see [Get your logins and passwords](/products/build/raff-keep/quickstart-guides/get-your-logins). > 6. **The server.** If the server is off, click **Power on** on its page. > [accordion] I lost the logins, or never opened them > > **What's happening:** the logins are shown once. Unopened logins are deleted after 7 days, and Raff keeps no copy after they were shown. > > **Fix:** with Raff Guardian, open **Users** and click **New password** on the login. With **Install only**, sign in as the built-in Administrator in the VNC console and set a new password in Windows. If you lost the built-in Administrator's password too, use **Reset password** on the server's page in **Compute**: the new password goes to the account's billing email address and the server restarts. > [accordion] "Access is denied" with PowerShell remoting or \\\server\c\$ > > **What's happening:** Windows gives an administrator other than the built-in Administrator a limited token over the network. Raff keeps this Windows default. > > **Fix:** sign in over Remote Desktop and use **Run as administrator**, or use SSH with one of your account's SSH keys as your admin login. > [accordion] A program says access is denied > > **What's happening:** your admin login runs programs without administrator rights until you confirm. > > **Fix:** right-click the program and choose **Run as administrator**. ## MetaTrader > [accordion] A terminal does not run > > **What's happening:** **Your terminals** shows it as **Stopped**, and Raff Guardian emails "... stopped on your server ..." after about 15 minutes. The terminals run as the trader login: **Sign out** of the trader login closes them. > > **Fix:** > > 1. Sign in over Remote Desktop as the trader login. Every terminal starts when it signs in. To leave, close the Remote Desktop window instead of signing out. > 2. With auto start on, a restart also starts them: the trader login signs in by itself. > 3. If Raff Guardian warns that the trader login will not sign in by itself, follow the warning's fix. A **New password** for the trader login on the **Users** tab sets auto sign-in up again. > 4. Click **Check now** on **Your terminals** for a fresh reading. > [accordion] A terminal lost its broker > > **What's happening:** **Your terminals** says "A terminal lost its broker", or a terminal shows "connection lost". > > **Fix:** sign in as the trader login, open the terminal and sign in to your trading account again. Check with your broker that the account and server name are right. > [accordion] I cannot add a terminal > > **What's happening:** the card says why under **Add terminal**: > > * "This server's size runs at most ... Resize it to ...": click **Resize the server**, then add the terminal. > * "Raff Guardian adds terminals, and this server runs without it.": install Raff Guardian from the server's **Guardian** tab in **Compute** first. > * "This server runs 16 MetaTrader terminals, the most Raff Keep sets up on one server.": use a second server. ## ASP.NET > [accordion] Publishing fails, or Visual Studio cannot connect > > **Fix:** > > 1. **Where Web Deploy answers from.** On the **Apps** tab, **Publishing** shows **Web Deploy (port 8172)**. **Closed** means nobody can publish; your address must be in the list, or choose **From anywhere** with **Change**. GitHub Actions needs **From anywhere**. > 2. **An old profile.** Each **Publish profile** makes a new password, and older profiles of the site stop working. Download a new one and update `WEBDEPLOY_PASSWORD` in GitHub. > 3. **The certificate.** Visual Studio asks once to trust the server's Web Deploy certificate; accept it. Once a site's domain has its certificate, Web Deploy uses it. > 4. **A blocked address.** Raff Guardian blocks an address that keeps failing to sign in to Web Deploy. Check **Blocked addresses** on the **Security** tab. > [accordion] The publish profile does not download > > **What's happening:** the site's row explains it: > > * "Raff Guardian is setting up publishing for this site. Its profile is ready in a few minutes.": a new site gets its publishing login a few minutes after it appears. > * "This profile was already downloaded. Download a new one." > * "This browser no longer holds the key for this profile. Download a new one.": the profile was asked for in another browser. > > **Fix:** click **Publish profile** again. > [accordion] A site shows Not starting > > **What's happening:** Raff Guardian found why the site does not answer, and the row shows the reason with its fix. > > **Fix:** click the fix: **Add .NET** (the app needs a version the server does not have), **Bring the site back** (a publish did not finish and left the site offline; publish again afterwards) or **Start it again** (the app stopped). If it fails again, fix the app and publish again. See [Manage sites and domains](/products/build/raff-keep/quickstart-guides/manage-sites-and-domains). > [accordion] My domain has no certificate > > **What's happening:** Let's Encrypt issues the certificate only once the domain points at the server. > > **Fix:** set the domain's A record to the server's address. Raff Keep checks every 15 minutes for 7 days and gets the certificate as soon as it does. ## Money > [accordion] Where did my money go after a failed install? > > **What's happening:** Raff returns money for a failed install to your Raff balance, never to a card. > > **Fix:** > > 1. Check the banner on the install's page: it names the amount returned. > 2. Open **Billing** to see the balance and the refund in your billing history. > 3. Your next purchase or renewal uses the balance first. > 4. If the page says Raff is checking the install, nothing more is charged until Raff decides. If it says removing the server is taking longer than usual, Raff's team is on it and returns the money when it is done. > [accordion] I deleted my server. Why did the licence not come back? > > **What's happening:** when you delete an installed server, the unused part of the server plan goes back to your Raff balance. The Windows licence for the current period is not returned. > > **Fix:** none. See [Billing model](/products/build/raff-keep/concepts/billing-model). > [accordion] I cannot reinstall or factory reset the server > > **What's happening:** "This server was set up by Raff Keep. Delete it and create it again." > > **Fix:** delete the server and set up a new one from **Keep**. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The stack and the server's name (on the server's page under **Keep**) * The exact message and the time it happened * What you have already tried # Account limits Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/account-limits Per-account quotas that govern how many VMs and how much CPU/RAM you can run at once <sub>Updated May 8, 2026</sub> Every account has soft caps on how many VMs and how much aggregate CPU and RAM it can hold simultaneously. These limits exist to keep the platform fair, prevent abuse (runaway scripts, mining), and give billing a safety net. ## What's limited | Limit | Default for new accounts | Counts | | - | - | - | | **VM count** | **30 VMs** | Total VMs across `active` and `passive` states | | **vCPU sum** | Tied to plan choices | Total vCPU across all your VMs | | **RAM sum** | Tied to plan choices | Total RAM (GB) across all your VMs | New accounts start with a **30-VM default**. Quotas increase automatically as you build a usage history, and can be raised on request — see *Request a limit increase* below. ## When you hit a limit Creation or resize-up returns a clear error naming the limit that was hit (`too many VMs`, `RAM quota exceeded`). Your options: 1. **Delete VMs you no longer need** — including stopped (`passive`) ones, since they still count. 2. **[Resize](/products/build/virtual-machines/quickstart-guides/resize) down** — drop CPU/RAM on existing VMs to make room for the new one. 3. **Request a limit increase** — see below. ## Stopped VMs still count A `passive` VM holds its CPU, RAM, disk, and IP reservations on the hypervisor and counts the same as a running VM toward your quota. Stopping a VM does not free quota — only **deleting** it does (unused subscription time is credited back to your balance). ## Request a limit increase Quotas can be raised on request. Standard turnaround is **24 hours** for limit-increase emails. * **Standard increases** — email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with your account ID, the limit you're hitting, and the workload you're planning. Response within **24 hours** in business hours; reasonable bumps are typically approved on the same response. * **Urgent increases** — if you're actively launching, in the middle of an incident, or have a time-sensitive workload, **mark the request as urgent in the subject** and include the account ID and the deadline; support can lift quotas in real time when context warrants it. * **Planned bursts** — load tests, conferences, batch jobs, traffic events: give support a heads-up before the window so they can pre-stage the increase. What to put in the request: | Field | Example | | - | - | | Account ID | from the dashboard's account dropdown | | Current limit | "30 VMs / 250 GB RAM" | | Requested limit | "60 VMs / 500 GB RAM" | | Why | "Spinning up a CI fleet for a 2-week migration" | | Deadline (if any) | "Need by Monday — production cutover" | ## Related > [card] [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) > > What CPU and RAM each plan reserves. > [card] [Lifecycle states](/products/build/virtual-machines/concepts/lifecycle-states) > > Why `passive` keeps consuming quota. # Authentication & access Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/authentication How credentials and transports combine to let you reach a VM, and what to use when <sub>Updated October 21, 2026</sub> Every way of getting into a Raff VM combines two layers: | Layer | What it does | Examples | | - | - | - | | **Credentials** | Prove who you are to the OS | SSH key, root/Administrator password | | **Transport** | Carry the session from your machine to the VM | Browser terminal, VNC console, direct SSH, direct RDP | Pick the credential at create-time; pick the transport whenever you connect. They're independent — you can switch transport without changing credentials and vice versa. ## Credentials The two credential types Raff supports. ### SSH keys (recommended for Linux) Public-key authentication. You upload the **public** key once at the account level — the dashboard's **SSH Keys** section in the left nav — and reference it whenever you create or reinstall a VM. * The private key never leaves your machine. * Multiple keys per account (one per laptop, per CI runner, per teammate). * Adding or removing a key on a running Linux server: [Add or remove SSH keys](/products/build/virtual-machines/quickstart-guides/manage-ssh-keys), from the server's Security tab, without a restart. * Keys are unaffected by [reset password](/products/build/virtual-machines/quickstart-guides/reset-password) — they keep working even after a password rotation. ### Password (root / Administrator) Generated at create-time (or you set your own). The platform never displays the password in the dashboard — it's always emailed to your account address. * **Linux** — `root` user. * **Windows** — `Administrator`. Required for RDP; SSH key isn't an option for the in-built remote-desktop flow. * Recovery: **Send to Email** (sends the current password) or [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) (generates a new one). * Reset on a running VM triggers a hard reboot to apply; on a stopped VM it lands on next start. ### When to use which | Scenario | Credential | | - | - | | Linux, daily work, multi-user | SSH keys (preferred) | | Linux, you locked yourself out | Password (recover via email) | | Windows, anything | Password (Administrator) | | Automated provisioning (Terraform, scripts) | SSH keys | You can have both on the same VM — keys for routine access, password as the recovery fallback. This is the recommended posture for production Linux VMs. ## Transports Five ways to actually reach the VM. ### 1. Browser SSH terminal — in-app Click **Console** on the VM detail page. Opens a web terminal that's already authenticated as `root`. No client install. Best for quick checks. Auto-selected by the dashboard when: * VM has a public IPv4 **and** SSH is enabled inside the OS. ### 2. VNC console — in-app, graphical Same **Console** button, different rendering — the dashboard auto-switches to VNC when the SSH terminal can't work, OR when the VM is Windows. VNC connects through the **hypervisor**, not the network, so it works even if SSH is broken or the VM has no public IP. Auto-selected when: * The VM has no public IPv4 (private-only VPC), **or** * SSH is disabled or its daemon isn't running, **or** * The VM is Windows (in-app RDP isn't offered; VNC is the in-app option). VNC sessions have a visible **Expires** timer — re-open the console when it counts down to extend. ### 3. Direct SSH — your terminal Run `ssh root@<public-ipv4>` (or `ssh -i <key> ...`) from your local terminal. Best for daily Linux use, scripts, file transfer (`scp` / `rsync`), port forwarding. * Requires public IPv4 + SSH enabled. * Tightly tied to the security group — port 22 must be allowed from your IP. * Use any SSH client: macOS/Linux native `ssh`, Windows OpenSSH (Win10+), PuTTY. See [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh). ### 4. Direct RDP — your client For Windows VMs. Connect with `mstsc` (Windows), the **Windows App** (macOS / iOS / web), Royal TS / Royal TSX, Jump Desktop, FreeRDP (`xfreerdp`), or Remmina. * Requires public IPv4 + TCP/3389 allowed in the security group. * Username `Administrator`, password from the **Credentials** card. See [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp). ### 5. Direct VNC — *not exposed* VNC is only available through the in-app console (transport #2). Raff doesn't expose VNC over the public network; there's no port to point a desktop VNC client at. ## How the Console button decides When you click **Console** on the VM detail page: ``` ┌─ VM is Linux? │ ├─ Public IPv4 + SSH enabled? ──→ Browser SSH terminal │ └─ Otherwise ──→ VNC console └─ VM is Windows? ──→ VNC console (always) ``` You don't pick — the dashboard chooses based on what's actually reachable. This makes the **Console** button safe as your "I just need to get in" path: it always works as long as the VM is up. ## Credentials × transports — quick table | Credential ↓ / Transport → | Browser SSH | VNC | Direct SSH | Direct RDP | | - | - | - | - | - | | SSH key | ✅ (auto-login) | ❌ (VNC needs password) | ✅ | n/a | | Password (Linux) | ✅ (auto-login) | ✅ | ✅ | n/a | | Password (Windows) | n/a | ✅ | n/a | ✅ | A few non-obvious points: * **Browser SSH auto-logs in** as root using the VM's stored credentials, even if password auth is disabled at the SSH daemon level — it goes through a privileged path. * **VNC always requires the password**, even with SSH keys configured. For Linux, this means you should keep a password set as a recovery option, not just keys. * **A Linux server created with only an SSH key has no root password.** SSH accepts the key only, and password sign-in is turned off. [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) gives root a password for the VNC console. * **Windows in-app access is VNC only** — direct RDP is the production-quality path; VNC is for recovery. ## Recovery scenarios Walk through which combination to use when things go wrong. | Situation | First try | If that fails | | - | - | - | | Forgot SSH key, password works | Direct SSH with password (if enabled) | VNC + password | | Forgot password, key works | Direct SSH with key | VNC after **Reset password** | | Lost both | [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password), then VNC | [Factory reset](/products/build/virtual-machines/quickstart-guides/factory-reset) (preserves volumes/backups) | | SSH config locked you out | VNC, fix `sshd_config` | [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) | | Firewall rule locked you out | VNC, fix UFW/firewalld | (same) | | No public IPv4 | VNC | (only option) | | OS won't even boot | VNC + GRUB single-user | Factory reset | ## Related > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > All three Linux transports in detail. > [card] [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) > > Windows VNC + direct RDP clients. > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Recover a lost root / Administrator password. > [card] [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) > > Five-tier recovery ladder. # Billing model Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/billing-model How money moves through your account — cards, balance, subscriptions, credits, and the rotation rule <sub>Updated May 8, 2026</sub> Raff's billing has a few moving parts that look more complicated than they are. This page walks through the whole money flow on one canvas, so the rules you'll encounter elsewhere — credit on delete, balance applied first, rotation to the 1st — fit together. ## The two payment containers Money on a Raff account lives in one of two places: | Container | What it is | When it's used | | - | - | - | | **Account balance** | A prepaid pool of credit on your account | Always applied first at checkout | | **Saved card** | Cards you've used at checkout, stored on file | Charged for any remainder the balance can't cover | You don't have to top up the balance before using Raff — the dashboard checkout will charge the card for the full amount if your balance is \$0. Balance just sits in front of the card; whatever's there gets used first. ## Supported payment methods Raff accepts ten payment methods at checkout — seven major card networks and three digital wallets — processed through Airwallex. ![Supported payment methods table — Cards: JCB, Visa, American Express, UnionPay, Diners Club, Mastercard, Discover. Wallets: Airwallex Pay, Apple Pay, Google Pay.](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/payment-methods.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=47428cad49e5add45fbed8d53da17530) | Payment Method | Type | | - | - | | **Visa** | Cards | | **Mastercard** | Cards | | **American Express** | Cards | | **Discover** | Cards | | **JCB** | Cards | | **Diners Club** | Cards | | **UnionPay** | Cards | | **Apple Pay** | Wallet | | **Google Pay** | Wallet | | **Airwallex Pay** | Wallet | Cards are saved on file when you check out the first time and reused for renewals. Wallets work the same way — you authorize once at checkout, and the wallet is the saved-payment-method for renewals afterwards. Add, remove, or reorder methods at any time from **Settings → Payment Methods**. ### 3D Secure / SCA at checkout When your card-issuing bank requires a step-up authentication (3D Secure 2 / SCA in Europe, equivalent rails for other regions), Airwallex's flow surfaces the challenge **inline at checkout**: 1. You click **Activate Subscription** (or **Top up balance**) 2. Airwallex routes the auth through your bank 3. If the bank requires 3DS, an inline modal appears asking for the challenge — usually a one-time code from your banking app, an SMS, or a biometric prompt in your bank's mobile app 4. After you complete the challenge, the auth completes and the subscription / top-up is confirmed Some specific behaviors to know: * **Frictionless 3DS** — if your bank can authorize without challenging (low-risk transactions, well-known device + IP combo), the flow completes without showing you a modal at all. Both paths are still 3DS-authenticated; one just doesn't ask * **Failed 3DS** — if you cancel the challenge, enter the wrong code too many times, or the bank declines, checkout shows the failure with a `3DS authentication failed` message. Try again or pick a different card * **Saved cards** — first checkout authenticates the card. Subsequent renewals from the same card are typically frictionless (Airwallex's Merchant-Initiated Transaction flow handles re-auth invisibly), unless your bank specifically requires re-challenge * **Wallet-paid purchases** (Apple Pay, Google Pay, Airwallex Pay) — the wallet's own biometric is the SCA equivalent; no separate 3DS modal appears ## The two billing modes ### Subscription (default for new accounts) You pay the full term up front (Monthly / Yearly / 2-Year), and the resource runs without further charges until the term ends or you change it. * Term discounts: **Yearly -17%**, **2 Years -17%** vs Monthly. * Stopping a VM (`passive`) does **not** prorate or pause charges — the subscription continues for the term you paid for. * Resize-up mid-term charges the prorated difference; resize-down credits the prorated difference back to your balance. * Delete mid-term credits all unused days and hours back to your balance. ### Pay-as-you-go (PAYG, on request) For enterprise and SMB customers who request it. Bills usage by the hour from your balance, with no advance commitment. * Hourly rate matches the equivalent monthly subscription's per-hour cost. * Settled at month-end on the 1st against your balance. * No credit-on-delete — you only pay for what already ran. The **cost of one full term is the same** in both modes. The only practical difference is when the money leaves your wallet. ## The charge order at checkout When you confirm a purchase in the dashboard, the order summary always shows three lines: | Line | What it means | | - | - | | **Subtotal** | Full price of what you're buying | | **Account Balance** | How much of your existing balance gets applied to this purchase | | **Card Charge** | Whatever's left after balance — charged to the card you pick | If your balance covers the subtotal, **Total Due is \$0** and you click **Activate Subscription** — no card charge. Otherwise the card form is presented, the difference is charged, and the card is saved for future renewals (removable in Settings → Payment Methods). The 14-day **money-back guarantee** applies to subscription purchases made through the dashboard checkout. ## Credit — the universal "refund" When something gives you money back — delete a VM mid-term, downsize a plan, hit an SLA credit — Raff returns the value as **account balance**, not as a card refund. | Action | What you get | | - | - | | Delete a VM mid-subscription | Unused days/hours credited to balance | | Downsize a plan | Prorated difference credited to balance | | Resize-up | (Charged the prorated difference, no credit) | | SLA failure | Credit applied per the [SLA](/products/build/virtual-machines/details/sla) schedule | | 14-day money-back claim | Original purchase amount back; balance vs card depends on the original payment path | Credits sit in your balance and apply to the next purchase, renewal, or top-up. They don't go back to the original payment method. **They are not refunded to your card.** This is why "refund" is the wrong mental model — it's "credit forward." ## Billing date rotation to the 1st By default, every Raff account's billing rotates to the **1st of the month** within two cycles. This happens automatically with no setting to toggle. | Cycle | What happens | | - | - | | Month 1 — create | Pay the full subscription term from your create date | | Month 2 — normalization | At renewal, system charges a prorated amount for the days between the renewal date and the upcoming 1st | | Month 3 onward — aligned | Every renewal lands on the 1st — one consolidated invoice across all your resources | The month-2 prorated charge is always smaller than a full month — it covers only the gap. After the single correction, every VM, volume, snapshot, backup, and Public IP renews on the 1st with clear per-resource line items. They share an invoice; they don't merge into a lump sum. See [Pricing → Billing-date alignment](/products/build/virtual-machines/details/pricing#billing-date-alignment-to-the-1st-of-the-month) for the worked example. ## What's metered vs unlimited | Item | Billing | | - | - | | Plan (CPU, RAM, base disk) | Subscription term or hourly | | **Outbound bandwidth** | **Unlimited and free on every plan — no per-GB charge** | | Inbound bandwidth | Free, never billed | | Private VPC traffic between your own VMs | Free, never billed | | Block storage volumes | Per GB, subscription term or hourly | | Snapshots | Per GB-hour | | Backups | Per GB-month above the shared backup + snapshot free pool | | Custom images | Per GB stored | | Object Storage | Per GB stored | | Public IPs | Per IP, billed separately | The **Total Data Transfer** graph in the dashboard tracks outbound for visibility — not for billing. There's nothing to bill against. ## Failure modes When a paid action fails for billing reasons via the API, the response is one of: | Status | Reason | Meaning | | - | - | - | | `403` | `banned` / `failed` / `no_billing_customer` | Account isn't in good standing — contact support | | `402` | (plain error) | Balance insufficient *and* the card path didn't satisfy the cost | Through the dashboard, you'll typically see the checkout page block before any of this surfaces — it tells you exactly what's happening (balance shortfall, card declined, etc.) before resources are created. ## Quick mental model ``` Top-up ──────► Account balance ──┬──────► Resource (subscription) Card on file ─────────────────────┘ │ │ Delete or downsize │ ▼ Credit back to balance ``` * One account ⇒ one balance ⇒ one invoice (after rotation completes). * Credits flow forward, never backward to the card. * Bandwidth is free; only stored bytes (volumes, snapshots, backups, images, Object Storage) and IP reservations are metered separately from the plan. ## Related > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Per-line-item rates and the rotation worked example. > [card] [Account limits](/products/build/virtual-machines/concepts/account-limits) > > What can fail before billing even runs. > [card] [SLA](/products/build/virtual-machines/details/sla) > > Credit schedule when uptime drops below 99.90%. > [card] [Acceptable use](/products/build/virtual-machines/details/acceptable-use) > > What can suspend an account regardless of payment. # CPU and bursting Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/cpu-and-bursting The sustained level Standard plans can always hold, how bursting above it works, and what happens after long periods of heavy load <sub>Updated October 27, 2026</sub> Standard and Cost-Optimized VMs are **burstable**. Your VM can use all of its vCPUs whenever it needs them, and it has a **sustained level** it can hold indefinitely. Most VMs never reach the limit. Bursting is what makes Standard both fast and cheap. This page applies to **Standard (General Purpose)** and **Cost-Optimized** plans. [Premium and Windows Server plans](/products/build/virtual-machines/concepts/plans-and-sizing) use guaranteed vCPU and work differently. ## How it works Your plan includes a sustained level of **40% of your vCPUs**. On a 4 vCPU VM that is 1.6 cores, available every second of every day. Use less than that and you build credit. Use more and you spend it. Bursting above your sustained level is included. It is not an extra charge, and there is nothing to enable. Credit builds up to **24 hours' worth**, so a VM that is quiet overnight starts the morning with a full balance. ### When credit runs out After a long stretch of heavy use the balance reaches zero. Your VM then alternates: it runs at a reduced level (**20% of your vCPUs**) for about **two hours** while credit rebuilds, then returns to full speed automatically. Nothing is suspended, nothing needs restarting, and no action is required from you. Averaged over time this works out to your sustained level. ## How much burst you get Two cases, and which one you are in depends only on your average CPU use over time. **Below 40% average, nothing ever happens.** The reserve only fills. Your VM runs at full speed permanently and never sees a limit. Most VMs live here. **Above 40% average, your VM averages 40%.** You still get the extra, but delivered in bursts rather than continuously. Under constant heavy load a VM alternates: roughly two hours at its sustained level, then a stretch at full speed, then the same again. A VM that has been quiet starts with a full reserve, so it can run flat out for about **16 hours** before any of this applies. That is a head start, not something you get back each day. Short spikes never come close. A build that pins every core for twenty minutes, a nightly backup, a traffic burst: none of them touch the reserve in any meaningful way. ## Where to see it The **CPU** card on your VM's Information tab shows the current state: | State | Meaning | | - | - | | **Full speed** | All cores available. Nothing to think about | | **Bursting** | Currently using more than your sustained level | | **At baseline** | Credit is rebuilding. Full speed returns on its own | The card also shows the last 24 hours, so a pattern is easy to spot. ### What it looks like inside your VM If you run `top` while your VM is at its sustained level, you will see a high **steal time** (`st`), with load average unchanged: ``` load average: 4.16, 3.50, 1.91 %Cpu(s): 7.8 us, 9.5 sy, 0.0 id, 82.8 st ``` Steal time usually means a busy host, so this is easy to misread. Here it means something simpler: your processes are asking for CPU and are being held to your sustained level while the reserve refills. Load average stays high because the work is still queued. Nothing is wrong with the host, and nothing is wrong with your VM. ## If you need more A VM that sits at **At baseline** regularly is telling you something. Two options: * **Resize to more vCPUs.** The sustained level is a percentage, so it scales with the plan. An 8 vCPU Standard VM holds 3.2 cores indefinitely. See [Resize a VM](/products/build/virtual-machines/quickstart-guides/resize). * **Move to Premium.** [CPU Optimized plans](/products/build/virtual-machines/concepts/plans-and-sizing) use guaranteed vCPU, which suits workloads that need consistent CPU every millisecond: databases, real-time services, latency-sensitive APIs. ## Related * [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing): choosing between Standard, Premium and Windows Server * [Monitoring & metrics](/products/build/virtual-machines/concepts/monitoring-and-metrics): CPU graphs and history * [Pricing](/products/build/virtual-machines/details/pricing): full price list # Custom images Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/custom-images Save a VM's disk as a reusable template, then create new VMs from it <sub>Updated May 8, 2026</sub> A **custom image** is a snapshot of a VM's OS disk preserved as a reusable template. Save one from any VM, then pick it from the create flow to launch identical VMs — same kernel, same packages, same configuration, fresh disks. Custom images sit alongside Raff's stock OS templates (Ubuntu, Debian, Windows Server, …). The create-VM dialog lists both: stock templates under the **OS** tab, your custom images alongside Marketplace images. ## Why use custom images | Goal | Custom image solves it | | - | - | | Standardize a base config across many VMs | Build once, image, deploy from image N times | | Roll back to a known-good state | Save before changes, recreate from image if needed | | Cut provisioning time for repeat workloads | Skip cloud-init / Ansible runs after every create | Snapshots are good for *one* VM's restore points; custom images are good for *N* VMs sharing a starting state. ## Custom images vs related concepts | | Custom image | Snapshot | Backup | OS template | | - | - | - | - | - | | Source | Your VM | Your VM | Your VM | Raff-provided | | Reusable to create new VMs | **Yes** | No (restore-only) | No (restore-only) | Yes | | Lifecycle | Until you delete | Until you delete | Per retention policy | Until Raff retires | | Survives source-VM delete | **Yes** | No (deleted with VM) | Yes (per retention) | n/a | | Best for | "Golden image" pattern | Pre-change checkpoint | Routine protection | Vanilla starting point | The big practical difference: snapshots are deleted when the source VM is deleted; **custom images outlive the VM**. If you want a starting point that persists, save the snapshot as an image first. ## How to create one Two paths reach the same outcome: 1. **From an existing VM** — use [Save VM disk as image](/api-reference/endpoint/save-vm-disk-as-image) (API today; dashboard exposure planned). The VM's current OS disk is captured as an image. 2. **From a snapshot** — convert an existing snapshot into a permanent image *before* deleting the source VM, so the image survives. Both produce a custom image that appears in the create-VM template picker. ## How to use one Open the **Create VM** flow and pick the OS template step. The picker lists: * **OS tab** — Raff stock templates (vanilla distros, Windows Server) * **Marketplace tab** — pre-built application stacks * **Your custom images** — what you've saved Select your image, choose region/plan/auth, and create as normal. The new VM boots with your saved disk as its OS disk. ## What gets baked in A custom image captures **everything on the OS disk at the moment of capture**: * Installed packages, configs, kernel, drivers * Application code in your usual paths * Set hostnames *inside* the OS, fixed IPs in `/etc/netplan` or similar (these will conflict — clear them before imaging) * Cron jobs, systemd units, mounted state * Any secrets or credentials sitting on disk — sanitize first It does **not** capture: * Attached volumes (separate volumes, separate snapshots) * The dashboard hostname, tags, notes (those belong to the VM record) * Network configuration assigned by the platform — new VMs get fresh IPs ## Best practices for golden images * Run a **sanitization pass** before imaging: clear shell history, remove machine-specific keys (`ssh-keygen -A` or `cloud-init clean`), zero out sensitive disk areas. * Pin package versions so the image is reproducible, or document the apt/yum state. * Version your images by name — `web-base-2026-04`, `web-base-2026-05` — so you know what's current. * Delete old image versions you no longer use to stop storage charges. ## Pricing Custom images bill per GB-stored, similar to backups and snapshots. The exact rate is in [Pricing](/products/build/virtual-machines/details/pricing). Delete images you no longer need. ## Related > [card] [OS templates](/products/build/virtual-machines/concepts/os-templates) > > Stock images Raff provides. > [card] [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > Decision framework for protective copies. # Lifecycle states Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/lifecycle-states How a VM moves through provisioning, running, stopped, and terminal states <sub>Updated October 20, 2026</sub> Every VM has a `status` field that reflects where it is in its lifecycle. Most actions you take in the dashboard or via the API are state transitions. ## State diagram ``` Creation: initiating → provisioning → booting → active Stop: active → finalizing → passive Start: passive → booting → active Reboot: active → booting → active Delete: any → terminated Failure: any → failure (non-billable) ``` ## State reference | Status | Description | Billable | | - | - | - | | `initiating` | Queued, initial setup before provisioning | Yes | | `provisioning` | VM being created in the hypervisor | Yes | | `booting` | Starting up | Yes | | `active` | Running and accessible | Yes | | `passive` | Stopped, resources reserved | Yes | | `finalizing` | Shutting down | Yes | | `failure` | Creation or operation failed | No | | `unknown` | Unhandled state | No | ## Why `passive` is billable A stopped VM still holds CPU, RAM, disk, and IP allocations on the hypervisor. Those reservations are billed at the same per-hour plan rate even when the OS isn't running. To stop billing, **delete** the VM (and its volumes, snapshots, and backups, if no longer needed). See [Billing model](/products/build/virtual-machines/concepts/billing-model) for how subscription credits work when you delete mid-term. ## `provisioning` during snapshots and backups While a snapshot or scheduled/instant backup is running on a VM, the dashboard temporarily shows the VM in **`provisioning`** state, even when the VM was up and serving traffic. A stopped VM shows `provisioning` while its snapshot is taken and then returns to `passive`. This is **normal and not a problem**: * The VM continues running. Network traffic, SSH/RDP sessions, and applications keep working. * The state flips back to `active` automatically when the capture completes — snapshots are typically 1–2 minutes, backups around 3 minutes on average; both scale with the size of the disk being captured. * It's the same `provisioning` label used during creation; the dashboard reuses the state because the hypervisor is doing capture work in the background. If you see `provisioning` and you didn't trigger anything, check the **Snapshots** or **Backups** tab on the VM detail page — there's almost certainly a scheduled job running. No action needed; just wait for it to finish. | What you see | What it actually means | | - | - | | `provisioning` right after **Create** | Real provisioning — VM being built | | `provisioning` on an existing VM | Snapshot or backup in progress; VM is still serving | | `provisioning` stuck for 10+ minutes | Possible issue — see [Troubleshooting](/products/build/virtual-machines/troubleshooting) | ## Related > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Trigger state transitions. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > What each state costs. # Monitoring & metrics Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/monitoring-and-metrics How Raff measures VM health, what each graph means, and where to read live state <sub>Updated October 14, 2026</sub> A running VM emits a continuous stream of operational signals — CPU, memory, network, disk, and aggregate data transfer. Raff collects these from the **hypervisor**, not from inside the guest OS, so there's no agent to install and metrics work the same way regardless of distro, kernel, or whether the OS is even healthy. Hypervisor-level metrics treat the VM as a black box: they tell you how loaded the VM is, but not why. Pair them with in-VM tools (`top`, `htop`, your APM) for the full picture. ## What's tracked | Metric | Granularity | What it answers | | - | - | - | | **Total Data Transfer** | Cumulative outbound to internet | "How much egress is this VM generating?" | | **CPU Usage** | Average % over time | "Is this VM CPU-bound? Do I need to resize?" | | **Memory Usage** | Used vs Free in MB | "Memory leak? OOM kill? Memory pressure?" | | **Network Traffic** | RX/TX KB/s per interface | "Is traffic actually reaching the right NIC?" | | **Disk Throughput** | Read/Write KB/s on boot disk | "Is the workload disk-bound?" | All five share a single time-range selector and update on a regular interval. ## Where to find it Open the VM detail page either way: * **Click the row** anywhere in the Instances list, or * Open the row's **⋮** menu and pick **View Details** The detail page opens on the **Graphs** tab by default. ![VM detail page on the Graphs tab with the VM Information side panel and time-range selector](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/monitoring-01-graphs-overview.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=2fd8999a45c00692b668427b380f2077) The time-range selector at the top of the tab applies to every chart at once: **30m / 1h / 2h / 6h / 24h / 7d / 1m / All**. Pick a wider range for trend analysis, narrower for live troubleshooting. The **Refresh** button forces an immediate re-fetch; otherwise charts auto-refresh. ## Reading each graph ### Total Data Transfer Cumulative outbound bytes from the VM to the public internet for the selected window. Outbound bandwidth is **unlimited and free** on every plan — this graph is for visibility, not billing. Useful for: * Catching unexpected egress (compromised host, runaway loop, data leak) * Sizing CDN offload for static assets * Capacity-planning across regions Inbound traffic isn't counted here; private VPC traffic between your own VMs is also excluded. ### CPU Usage Average CPU utilization (%) across all vCPUs over time. The dashed red line at **80%** is a soft threshold — sustained CPU above it means the VM is becoming a bottleneck. > [!NOTE] > > **The 80% line is a visual reference, not a cap.** On Standard plans your VM can use all of its vCPUs, and use above the sustained level (40% of your vCPUs) is paced by CPU credit. The CPU card on the Information tab shows the current state. See [CPU and bursting](/products/build/virtual-machines/concepts/cpu-and-bursting). What the shape tells you: * **Single spikes** — normal: a deploy, a backup, a cron job * **Sustained 80%+** — undersized; resize up, optimize, or split workload * **Saw-tooth** — periodic load: a scheduler running every N minutes * **Stuck at 100%** — a runaway process; SSH in and check `top` ### Memory Usage Used and Free memory in MB, summing to the VM's total RAM. ![Memory Usage graph showing Used (red) and Free (green) MB stacked over time, with a sharp drop indicating an OOM event or restart](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/monitoring-02-memory.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=2922d777ac6197cff0f78fc621e80a97) What to watch for: * **Used trending up over hours** — memory leak; check long-running services * **Sharp drop in Used** — OOM kill, service restart, or VM reboot * **Used near total** — paging or swap pressure; resize up Note: "Used" includes the OS page cache, which Linux happily fills. Treat it as a load indicator, not a panic signal. ### Network Traffic RX (receive) and TX (transmit) per network interface, in KB/s. Each interface is numbered (`0`, `1`, …). Typically `0` is the public NIC and `1` is the VPC NIC, but labelling depends on attachment order — verify on the **Network** tab. ![Network Traffic graph with RX and TX series for two interfaces over time](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/monitoring-03-network.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f41bb64b8f1808dec377c585045a90b7) Use it to: * Confirm an app is actually receiving traffic (RX > 0 on the right interface) * Catch traffic on the wrong NIC (e.g. internal calls hitting the public IP) * Detect DDoS, scraping, or bandwidth abuse (sudden sustained RX spike) * Verify private-network setups (RX/TX on the VPC interface) ### Disk Throughput Read and Write in KB/s on the **boot disk** (attached volumes have their own metrics). ![Disk Throughput graph with Read and Write KB/s over time, showing a single read spike during a one-off load](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/monitoring-04-disk.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=4cba39d5aac75d685d71bc9b4ce62554) What to watch for: * **Sustained writes** — background jobs, log churn, or a database flushing * **Sustained reads** — cache misses; consider more RAM or a read replica * **Periodic spikes** — backups, cron jobs, snapshot windows ## VM Information side panel The left side panel on the detail page is a **live summary** of the VM — useful even when you're not looking at graphs. It collapses with the chevron when you want more room for charts. | Section | What it shows | | - | - | | **Pricing** | Plan, monthly price, status, next billing date, current billing period | | **Credentials** | Username (e.g. `root`), Send Password to Email | | **Resources** | vCPU, memory, storage, total storage | | **Network** | Public IPv4, IPv6 (if enabled), private IPv4 in the VPC | | **Storage & Volumes** | Boot disk size, count of attached volumes | | **Backups & Snapshots** | Counts of each | Click an arrow on a section header to jump to the related management page (Resources → Resize, Storage → Volumes, etc.). ## What hypervisor metrics can't tell you Because the data comes from outside the guest, the dashboard can't see: | You won't see here | Use instead (inside the VM) | | - | - | | Per-process CPU / RAM | `top`, `htop`, `pidstat` | | Per-mount disk usage | `df`, `du` | | Per-connection network | `ss`, `iftop`, `tcpdump` | | Application latency, errors | Prometheus / OpenTelemetry / APM | | HTTP request rates | Web-server logs, APM | For production observability, run an in-VM agent and ship to your own monitoring stack (Prometheus + Grafana, Datadog, New Relic, etc.). Raff's graphs are best used as a **first-glance** signal: is the VM alive, is it loaded, is it transferring data — then dig deeper with in-VM tools. ## Retention and refresh * **Time range** — up to **All** (since VM creation). Older windows are aggregated; recent windows show finer-grained samples. * **Refresh** — charts update on a regular interval. The **Refresh** button forces an immediate refetch. * **Export** — not available in the dashboard today; for long-term retention or alerting, scrape from inside the VM or use an external monitoring stack. ## Related > [card] [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) > > What CPU, RAM, and storage a plan includes. > [card] [Resize a VM](/products/build/virtual-machines/quickstart-guides/resize) > > When metrics tell you the VM is undersized. # OS templates Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/os-templates The Linux distros, BSD, and Windows Server images Raff provides at VM creation, plus the marketplace one-click apps that install software on top <sub>Updated October 20, 2026</sub> An **OS template** is the pre-built operating system image you select when creating a VM. The template determines what's on the VM's disk **before** any of your code or config runs — kernel, init system, package manager, base packages, default users. A version is retired from the picker when its upstream standard support ends; existing VMs on a retired version keep running, reinstalling and snapshotting unchanged. Two kinds of templates ship with the platform: | Type | What it is | | - | - | | **OS** | A clean operating system (Ubuntu, Debian, Rocky, Windows Server, etc.). You install your software after the VM boots | | **Marketplace** | An OS template + pre-installed software, ready to use after the credentials prompt at create-time (Docker, WordPress, OPNsense, n8n, OpenClaw) | Beyond these you can [save your own VM as a Custom Image](/products/build/virtual-machines/concepts/custom-images) and reuse it like an OS template. ## What every Raff Linux image includes Base images are rebuilt regularly from the upstream cloud image with all updates applied, and every Linux template ships the same baseline: | Included | Detail | | - | - | | **Latest packages and kernel** at build time | The image name carries the rebuild date (for example "Ubuntu 26.04.1 LTS (BASE 2026-09)") | | **Root login over SSH** | You choose an SSH key, a password, or both at create-time. With a password, SSH accepts it. With only an SSH key, SSH accepts the key only and root has no password until you set one with [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password). Keys are recommended | | **fail2ban** with the `sshd` jail active | 5 failed logins within 10 minutes ban the source IP for 10 minutes. Tune `/etc/fail2ban/jail.local` | | **sshd brute-force limits** | `MaxAuthTries 3`, `LoginGraceTime 20` | | **Automatic security updates** | `unattended-upgrades` enabled, security pocket only | | **Disk tuning for Raff storage** | udev rules set the virtio disks to `rotational=0`, `scheduler=none`, 8 MB read-ahead | | **Raff Terminal Agent** | Installed at first boot with a per-VM token so the dashboard terminal works. It is not part of the image; see [Terminal](/products/build/virtual-machines/details/features-and-limits) | Not enabled by default: a host firewall. `ufw` (Debian family) and `firewalld` (RHEL family) are installed but inactive so the ports you open are the ones you choose. See [Initial server setup](/products/build/virtual-machines/quickstart-guides/initial-server-setup). ## OS templates available today (`us-east`) All Linux templates ship with `cloud-init` already configured for Raff's CONTEXT-disk pattern (SSH key + password injection at first boot). All Windows templates ship with `cloudbase-init` for the same. ### Ubuntu | Version | When to pick | | - | - | | **Ubuntu 26.04** (LTS, x64) | **Recommended for new Linux workloads** — newest LTS (26.04.1), supported through April 2031 | | **Ubuntu 24.04** (LTS, x64) | Previous LTS, supported through April 2029. Pick when matching an existing 24.04 fleet or when a vendor has not certified 26.04 yet | | **Ubuntu 22.04** (LTS, x64) | Existing fleets running 22.04. Supported through April 2027 | ### Debian | Version | When to pick | | - | - | | **Debian 13** (x64) | Current stable. Pick this for new Debian workloads | | **Debian 12** (x64) | Previous stable, oldstable. Still widely used; pick when matching an existing fleet | ### RHEL family — AlmaLinux, Rocky Linux, CentOS Stream Three RHEL-compatible distros covering the same surface — same `dnf`/`rpm` ecosystem, same SELinux defaults, same admin patterns. Pick whichever fits your shop's preference. | Version | Notes | | - | - | | **AlmaLinux 10**, **Rocky Linux 10** | **Recommended for new RHEL-family workloads** — RHEL 10 compatible (10.2), supported to 2035. Requires an x86-64-v3 CPU, which every Raff host provides. SELinux enforcing by default | | **AlmaLinux 9**, **Rocky Linux 9** | RHEL-9-compatible, supported to 2032. Pick when matching an existing RHEL 9 fleet or when a vendor has not certified RHEL 10 yet | **Minimum plan per template.** Every template requires at least 1 vCPU and 25 GB of disk. Templates whose upstream minimum is above 1 GB require a plan with **at least 2 GB of memory**: AlmaLinux 9 and 10, Rocky Linux 9 and 10, CentOS Stream 9, Fedora, openSUSE Leap 16, and all Windows Server editions (which also need 50 GB). The 1 GB plan stays available for Ubuntu, Debian, Alpine, FreeBSD and AlmaLinux/Rocky 8. \| **AlmaLinux 8**, **Rocky Linux 8** | RHEL-8-compatible. Use for matching existing RHEL 8 fleets | \| **CentOS 9 Stream** (x64) | Upstream of RHEL — useful for testing what's coming in RHEL next; not recommended as a long-term production base since it's a rolling-release variant | \| **Oracle Linux 10**, **Oracle Linux 9** | RHEL-compatible with Oracle's UEK kernel, free to use. Pick for Oracle Database or Oracle-certified stacks. **Requires a plan with at least 2 GB memory and a 40 GB disk** (the base image is 37 GB) | ### Amazon Linux | Version | When to pick | | - | - | | **Amazon Linux 2023** (x64) | AWS's own RHEL-family distribution. Pick when moving workloads off AWS with minimal change. Ships without fail2ban (not available for AL2023); SSH brute-force limits come from sshd's own rate limiting | ### Fedora | Version | When to pick | | - | - | | **Fedora 44** (x64) | Latest. Newest userland and kernel; \~13-month support window | | **Fedora 43** (x64) | Previous release, supported until December 2026 | ### Alpine | Version | When to pick | | - | - | | **Alpine 3.24** | Latest. Tiny base image, musl libc, ideal for container hosts and resource-constrained workloads | | **Alpine 3.23** | Previous stable, supported until November 2027 | | **Alpine 3.21** | Older release, supported until November 2026 | Alpine is **not glibc-compatible** — some prebuilt binaries (Java, Node native modules, proprietary databases) don't run without rebuilding for musl. Pick another distro if your stack expects glibc. ### Other Unix-like | Template | Notes | | - | - | | **openSUSE Leap 16** | RPM-based with `zypper`; popular in European shops and SUSE-trained ops teams | | **FreeBSD 14** | Real BSD (not Linux) — different kernel, different package manager (`pkg`), `jails` instead of containers. Pick for ZFS workloads, network appliances, or BSD-shop preference | ### Windows Server | Version | Edition | When to pick | | - | - | - | | **Windows Server 2025** | **Datacenter** | Newest, full feature set. Pick for production Windows workloads needing the latest | | **Windows Server 2025** | Standard | Most production Windows VMs. Cheaper-equivalent licensing than Datacenter | | **Windows Server 2022** | **Datacenter** | One generation back, full feature set | | **Windows Server 2022** | Standard | One generation back, mainstream | | **Windows Server 2019** | Standard | Legacy fleets. Mainstream support has ended; extended support to 2029 | **Datacenter vs Standard:** Datacenter unlocks Storage Spaces Direct, Software-Defined Networking, and unlimited Hyper-V VM hosting — features most cloud-VM customers don't need. **Pick Standard unless you specifically need a Datacenter feature.** ## Marketplace templates Pre-installed apps on top of an OS image — usable straight after first boot once you fill in any credential fields the dialog asks for. | Template | Category | What it provides | | - | - | - | | **Docker on Ubuntu 24.04** | DevOps & Containers | Latest Docker Engine + Compose, ready to run containers immediately | | **WordPress on Ubuntu 24.04** | CMS and Website Platforms | WordPress + MySQL preconfigured. Asks for the MySQL root password and WordPress DB password at create-time | | **n8n on Ubuntu 24.04** | Automation & Workflow | n8n workflow automation engine, accessible via `http://<vm-ip>` after boot | | **OPNsense 26.1** | Network & Security | OPNsense firewall appliance — also surfaced as the [VPC Firewall Appliance gateway option](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) | | **OpenClaw on Ubuntu 24.04** | AI & Machine Learning | DevOps-focused AI agent — connects to an LLM provider, optionally to Telegram / Discord / Slack | Marketplace templates each ship a Get-Started **Guides** entry (linked from the VM detail page) that walks through first use. ## Custom Images Beyond stock and marketplace, you can save any VM's OS disk as a **Custom Image** for reuse. This is how you: * Bake your own gold image with your packages / configs / certificates pre-installed * Roll back to a known-good state by reinstalling from a snapshot-saved image * Standardize a baseline across many VMs in your account See [Save VM disk as image](/api-reference/endpoint/save-vm-disk-as-image) for the API call. Custom Images appear under their own filter in the create-VM dialog's template picker. ## Picking a template A short decision flow: | Need | Template | | - | - | | **General-purpose Linux**, recent LTS | **Ubuntu 26.04 LTS** | | **Stable, conservative Linux**, RHEL-shop preference | **AlmaLinux 10** or **Rocky Linux 10** | | **Stable Linux**, Debian preference | **Debian 13** | | **Tiny container host** | **Alpine 3.24** | | **Windows production workload** | **Windows Server 2025 Standard** | | **Match an existing fleet** | Same template + version that fleet runs | | **Pre-installed app** (Docker, WordPress, OPNsense, etc.) | The matching **Marketplace** template | If you don't have a strong preference, **start with Ubuntu 26.04 LTS** — broadest community support, newest kernel, current LTS through 2031. ## Related > [card] [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Pick a template and launch. > [card] [Reinstall a VM](/products/build/virtual-machines/quickstart-guides/reinstall) > > Re-image with a different template. > [card] [Custom images](/products/build/virtual-machines/concepts/custom-images) > > Save a configured VM as a reusable image. # Plans & sizing Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/plans-and-sizing Four plan tiers (General Purpose with shared CPU, CPU Optimized with guaranteed CPU, Windows Server, and Cost-Optimized on local NVMe), how to pick between them, and which size to start with for common workloads: web apps, databases, workers, dev/staging, Windows desktop, game servers <sub>Updated November 8, 2026</sub> A **plan** is a fixed bundle of CPU, RAM, and base disk, billed at a single rate. Outbound bandwidth is **unlimited** on every plan. Picking the right plan is the main sizing decision when creating a VM. The full price list lives on [Pricing](/products/build/virtual-machines/details/pricing); this page is the **how-to-pick** guide. ## The four tiers | Tier | CPU model | When it's the right pick | | - | - | - | | **Standard — General Purpose** | **Shared** vCPU | Most workloads. Cheapest per-vCPU rate. Short performance dips during host-level contention are acceptable | | **Premium — CPU Optimized** | **Guaranteed** vCPU | Workloads where consistent CPU performance matters every millisecond — databases, real-time services, latency-sensitive APIs | | **Windows Server** | **Guaranteed** vCPU | Anything running Windows. Its own plan family, chosen by picking a Windows template; the licence is a separate line | | **Cost-Optimized** | **Shared** vCPU, local NVMe disk | The lowest price, for servers that can be offline while their node is repaired: dev and staging, CI runners, workers you can rebuild, side projects. No uptime commitment | In simple terms: * **Standard** — the platform may share the underlying physical core with other VMs. Performance is great most of the time but can have brief jitter when neighbors get busy. Best price/CPU. Standard is **burstable**: all your vCPUs are available whenever you need them, on top of a sustained level you can hold indefinitely. See [CPU and bursting](/products/build/virtual-machines/concepts/cpu-and-bursting). * **Premium** — half a physical thread is reserved for every vCPU, with burst to the full thread. Performance is predictable and steady. Higher price/CPU but no noisy-neighbor dips. * **Cost-Optimized**: the disk is local NVMe on the one node the server runs on, which makes it fast and cheap. A repair of that node takes the server offline until the node is back, so it has no uptime commitment. CPU is shared and burstable, like Standard. Linux only, in US East. If you can't tell which fits, **start with Standard**. Move workloads to Premium when you can point to a specific symptom (latency p99 spikes, database query timeouts under load, real-time-stream stutter) that guaranteed CPU would solve. Pick Cost-Optimized when price matters more than uptime and your important data also lives somewhere else. ### What is different on Cost-Optimized * **Linux only.** Every Linux template runs on it; Windows does not. * **Resize stays in the tier.** A Cost-Optimized server resizes to another Cost-Optimized plan. To move to another tier, create a new server. * **Backups cover the OS disk** and are stored off the node, so they survive a node failure. Snapshots stay on the node with the disk. * **Volumes stay on the node.** Extra storage added at create, or a volume created to attach to the server, attaches only to Cost-Optimized servers. * **No custom images.** Save as image is not available, because the image would stay on one node. * **No uptime commitment.** See the [SLA](/products/build/virtual-machines/details/sla). ## Recommended starting plans by workload Each row below names a **starting** plan — the place to begin, then resize up if you outgrow it. All prices are monthly subscription rates; see [Pricing](/products/build/virtual-machines/details/pricing) for yearly / 24-month locks. ### Web and application servers | Workload | Starting plan | Cost | | - | - | - | | **Personal blog, hobby project, low-traffic landing page** | Standard 1 vCPU / 1 GiB / 25 GiB | \$4.99/mo | | **Static-site host with Caddy / nginx** | Standard 1 vCPU / 1 GiB or 1 vCPU / 2 GiB | \$4.99–\$8.99/mo | | **Small dev / staging server** | Standard 2 vCPU / 4 GiB / 80 GiB | \$17.99/mo | | **Dev / staging or side project on the lowest budget** | Cost-Optimized 2 vCPU / 4 GiB / 30 GiB | \$9.99/mo | | **Production web app, low–medium traffic** | Standard 4 vCPU / 8 GiB / 160 GiB | \$33.99/mo | | **Production API, medium traffic** | Standard 8 vCPU / 16 GiB / 240 GiB | \$71.99/mo | | **Latency-sensitive production API** | Premium 4 vCPU / 8 GiB / 120 GiB | \$72.99/mo | | **High-traffic API or event-driven service** | Premium 8 vCPU / 16 GiB / 180 GiB | \$144.99/mo | ### Databases Databases are CPU-and-disk-sensitive — almost always pick Premium for consistent I/O. | Workload | Starting plan | Cost | | - | - | - | | **Small Postgres / MySQL / MongoDB** (single tenant, \<100 GB data) | Premium 2 vCPU / 4 GiB / 80 GiB | \$36.99/mo | | **Medium production database** | Premium 4 vCPU / 8 GiB / 120 GiB | \$72.99/mo | | **Heavy production database** (many connections, OLTP) | Premium 8 vCPU / 32 GiB / 240 GiB | \$192.99/mo | | **Large analytical / OLAP workload** | Premium 16 vCPU / 32 GiB / 360 GiB | \$288.99/mo | For databases above \~80 GB, attach a [Volume](/products/store/volumes) for the data directory so disk size and VM size scale independently. ### Background workers, batch, ML | Workload | Starting plan | Cost | | - | - | - | | **Lightweight cron / scheduled jobs** | Standard 1 vCPU / 1 GiB | \$4.99/mo | | **Background queue workers** (Sidekiq, Celery, BullMQ) | Standard 4 vCPU / 8 GiB | \$33.99/mo | | **Parallel batch jobs** (data processing, scrapers) | Standard 8 vCPU / 16 GiB | \$71.99/mo | | **CPU-bound batch** (encoding, image processing) | Premium 8 vCPU / 16 GiB | \$144.99/mo | | **CPU-only ML inference** (small models) | Premium 8 vCPU / 32 GiB | \$192.99/mo | ### CI/CD runners | Workload | Starting plan | Cost | | - | - | - | | **Small repo, sequential builds** | Standard 4 vCPU / 8 GiB | \$33.99/mo | | **Multiple parallel builds** | Standard 8 vCPU / 16 GiB | \$71.99/mo | | **Heavy build (Docker images, monorepo)** | Standard 12 vCPU / 24 GiB | \$109.99/mo | | **Runner you can rebuild, lowest price** | Cost-Optimized 4 vCPU / 8 GiB / 50 GiB | \$19.99/mo | ### Bastion / jump host | Workload | Starting plan | Cost | | - | - | - | | **Bastion host** (SSH gateway, low-load) | Standard 1 vCPU / 1 GiB / 25 GiB | \$4.99/mo | ### Windows workloads Windows Server runs on its own **Windows plan family** (not on Standard or Premium): Windows plans are placed on licensed hosts, and the Windows Server Standard licence is a separate **\$15/mo** line on every Windows VM. Prices below are the plan plus the licence. Windows has a higher RAM floor than Linux, so start at 4 GiB for anything beyond a single admin session. | Workload | Starting plan | Plan + licence | | - | - | - | | **Windows admin / RDP terminal** (single user) | Windows 2 vCPU / 4 GiB / 80 GiB | \$22.99 + \$15 = **\$37.99/mo** | | **Multi-user RDP terminal server** (add RDS user licences) | Windows 4 vCPU / 8 GiB / 120 GiB | \$40.99 + \$15 = **\$55.99/mo** | | **Windows app server** (.NET, IIS, SQL Server with light load) | Windows 4 vCPU / 8 GiB / 120 GiB | \$40.99 + \$15 = **\$55.99/mo** | | **Windows production database** (SQL Server, heavy) | Windows 8 vCPU / 32 GiB / 240 GiB | \$137.99 + \$15 = **\$152.99/mo** | ### Game servers Latency-sensitive — Premium is the right pick for any production game server. | Workload | Starting plan | Cost | | - | - | - | | **Small game server** (Minecraft, Counter-Strike, \<30 players) | Premium 2 vCPU / 4 GiB | \$36.99/mo | | **Medium game server** (50–100 players) | Premium 4 vCPU / 8 GiB | \$72.99/mo | | **Large game server / multi-instance** | Premium 8 vCPU / 16 GiB | \$144.99/mo | ## How to size in practice Three rules that beat any sizing chart: 1. **Start one size below what you think you need.** Resize up is fast (one reboot, prorated billing). Right-size at month-end with real metrics. 2. **Watch RAM, not CPU.** Most "I need a bigger VM" moments are RAM-bound — the OS starts swapping and everything slows down. CPU saturation is rarer than memory pressure for typical web/app workloads. 3. **Move data off the VM.** If the disk is filling up, attach a [Volume](/products/store/volumes); if backups are the issue, [Object Storage](/products/store/object-storage) is cheaper per GB than VM disk. Don't size up the VM to gain disk. You can change plans on a running VM — see [Resize](/products/build/virtual-machines/quickstart-guides/resize). Disk can grow but cannot shrink, so be conservative there. ## Plan vs storage vs network — what's billed where | | Cost | | - | - | | **Plan** (vCPU + RAM + base disk) | Subscription rate or hourly (see [Pricing](/products/build/virtual-machines/details/pricing)) | | **Outbound bandwidth** | **Free, unlimited, never metered** | | **Extra block storage** | [Volumes](/products/store/volumes) — \$0.08/GiB/mo | | **Snapshots** | Per-GB-month | | **Backups** | Per-GB-month above the shared free pool | | **Public IPs** | Free if auto-assigned and attached; \$3/mo (IPv4) or \$1/mo (IPv6) for reserved | ## Related > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Per-plan rates and lock-in discount table. > [card] [Resize](/products/build/virtual-machines/quickstart-guides/resize) > > Change plan on a running VM. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > Where to put data — base disk, volumes, snapshots, backups, Object Storage. # Regions Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/regions Where Raff servers run, what each region offers, and how regional scope affects networking, IP allocation, and moving a server <sub>Updated November 9, 2026</sub> A **region** is a geographic location where Raff operates compute, storage, and networking. The region you pick at VM creation determines where the VM physically lives, which IP ranges it can be assigned, and which VPCs it can join. ## Available regions | Region | Code | Location | | - | - | - | | **US East** | `us-east` | Vint Hill, Virginia | | **EU Central** | `eu-central` | Frankfurt, Germany | Pick the region in the dashboard, or pass its code as `region` on every create call. The [List Regions](/api-reference/catalog/list-regions) endpoint returns the current regions and what each one sells in `products`, so your code never has to hard-code this list. ## What each region offers | Product | US East | EU Central | | - | - | - | | Cost-Optimized servers (Linux) | Yes | Yes | | General Purpose and CPU-Optimized servers | Yes | Not yet | | Windows servers, Standard plans | Yes | Yes | | Windows servers, Business plans | Yes | Not yet | | Volumes, snapshots, and backups | Yes | Yes | | VPC | Yes | Yes | | Site-to-Site VPN | Yes | Yes | | Kubernetes, Managed Databases, Apps, Functions, Object Storage | Yes | Not yet | ## What region scope means A region is a hard boundary — resources from different regions cannot share networking or be moved between regions in place. | Scope | Behavior | | - | - | | **VM location** | The VM's CPU, RAM, and disk physically live in the chosen region's datacenter | | **VPC scope** | A VPC and every VM in it must share a region. You can't have one VPC spanning two regions | | **Public IPs** | IPv4 / IPv6 addresses come from region-specific pools. A reserved IP can only attach to VMs in the same region it was reserved in | | **Volumes** | A volume can only attach to VMs in its own region | | **Object Storage** | Buckets are region-scoped; same-region traffic between VMs and Object Storage is free | | **Snapshots** | Stored in the same region as the source VM | | **Backups** | Stored separately from your server | ## Picking a region * **Latency** — pick the region closest to your users: US East for North America, EU Central for Europe. Round-trip time to a region is the floor of how fast your service can respond * **What you need** — check the table above: a region must sell everything your service uses * **Data residency** — the region determines where your server disks and volumes are stored * **Cross-region traffic** — same-region traffic between Raff resources is free; traffic between regions goes over the public internet and counts against egress ## Moving a server to a different region You can't change a server's region, and a snapshot, backup, or custom image can't create a server in another region. The path: 1. **Create a new server** in the target region 2. **Copy your data** via SCP/SFTP/rsync 3. **Update DNS / load balancer / clients** to point at the new server 4. **Delete the source server** when the cutover is done — unused subscription time credits back to your balance Keep the old VM running until the new one is verified — there's no auto-failover between regions. ## Related > [card] [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) > > Per-plan specs and pricing. > [card] [VPC](/products/network/vpc) > > Region-scoped private networking. > [card] [Public IPs](/products/network/public-ips) > > Region-scoped IPv4 / IPv6. # Snapshots vs Backups Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/snapshots-vs-backups Both capture a VM's disk state, but they answer different needs — manual restore points vs scheduled protection. Both are deleted with the VM. <sub>Updated October 27, 2026</sub> Snapshots and backups both capture a VM's disk state, but they're built for different jobs. The short version: **snapshots are manual restore points** you take before risky changes, **backups are scheduled protection** that runs in the background. You can use both on the same VM. > [!WARNING] > > **Both snapshots and backups are deleted when you delete the VM.** Verified in `vm_deletion_processor.go` — the deletion flow removes snapshots, backup schedules, AND backup files all together. If you need data to survive VM deletion, you have to copy it elsewhere first (Object Storage, an attached Volume that you keep, or `scp` it off). The VM is the lifecycle owner; its protections die with it. ## Side by side | | Snapshot | Backup | | - | - | - | | **When taken** | On-demand, manually | Automated, on a schedule | | **Schedule** | None | `daily` or `weekly` (with chosen time / day) | | **Retention** | Until you delete it (or until the VM is deleted) | Configurable per schedule | | **Restore time (RTO target)** | Fast — minutes for typical OS disks; restore creates a fresh VM disk from the snapshot | Similar — minutes | | **Data freshness (RPO)** | As fresh as the moment you clicked "Snapshot" | At most one schedule interval (e.g. 24 hours behind for daily) | | **Best for** | One-off "known good" states; before risky changes | Routine protection without remembering to act | | **Pricing** | Per-GB stored, against the shared free pool | Per-GB stored, against the shared free pool — the schedule itself has no fee | ## When to use a snapshot * **Before** upgrading kernel, OS, critical packages — quick rollback if the upgrade breaks something * **Before** a reinstall or factory reset * **To clone a VM** into a new VM (via the [Save image as Custom Image](/products/build/virtual-machines/quickstart-guides/create-snapshot) flow — same machinery) * **For a one-time "known good" state** you'll keep around as a recovery floor — e.g. right before a major migration Snapshots are the manual tool. They're cheap, fast, and capture exactly the moment you click. Use them liberally before any change you're not 100% confident about. ## When to enable backups * **Production VMs** where you can't rely on remembering manual snapshots * **Compliance / RPO requirements** that mandate "no more than 24 hours of data loss" — a daily backup schedule meets that * **Any VM where data loss between manual snapshots would matter** — backups give you a guaranteed safety net even when nobody's paying attention * **VMs you'd want to restore to a point-in-time** — backups are dated; pick the right day, restore from it Backups are the always-on tool. They run on a schedule whether or not you remember to do anything. Backups and snapshots draw from a shared free-storage pool (50 GB + 10–15% of each VM's disk), so a typical VM's routine backup cycle stays free. ## How backups are stored: incremental series Each VM has a **backup series**. The first backup in the series is a full baseline; every subsequent backup stores only the blocks that changed since the previous one. You see each backup as a separate restore point in the dashboard and list response — pick any date, restore to it. Three things to know: * **Sizes are small after the first one.** A daily backup on a quiet VM is often a few MB. You're billed only for what's actually stored. * **Restore points in a series depend on each other.** To delete the oldest restore point without losing the newer ones, you need to delete the whole series (or wait for retention to age it out). The dashboard's "Delete" button on a single restore point will surface this and offer to delete the whole series in one click. * **You can start a fresh series whenever you want.** Use [Reset Backup Series](/api-reference/backups/reset-backup-chain) — it closes the current series and the next backup will create a new baseline. Existing restore points stay restorable until you delete them. Customers used to scheduled snapshots will recognize this model — `Backup` rows in the API now include an `increment_id` field so you can see the series structure programmatically. Legacy backups taken before this feature shipped have `increment_id: null` and behave exactly as they did before (standalone, no series). ## On Cost-Optimized servers A Cost-Optimized server's disk is on its node's local NVMe. Its snapshots stay on that node with the disk. Its backups cover the OS disk and are stored off the node, so they are the copy that survives a node failure: keep backups on for anything you can't rebuild. ## RPO and RTO targets If you're sizing your protection strategy: | Target | Snapshots | Backups | | - | - | - | | **RPO** (max data loss tolerance) | Whatever interval *you* manually take them at — could be 1 hour, could be 6 months | The schedule interval — `daily` ≈ 24h, `weekly` ≈ 168h | | **RTO** (time to restore) | Minutes for typical OS disks (the restore creates a fresh disk from the snapshot, then attaches and boots) | Minutes — same restore mechanism | Both restore times scale roughly with disk size — 25 GiB OS disk in a couple minutes; a 1 TiB volume snapshot will take longer. There's no fundamental difference between snapshot and backup restore speed; the difference is **when the data was captured**, not how fast it comes back. ## Combining both — typical pattern Many production VMs use both: * **Daily backup schedule** for routine protection — covers the "I forgot to snapshot before deploying" case * **Manual snapshots** before known-risky changes — kernel upgrades, schema migrations, OS reinstalls Each tool is independent. The daily backup keeps running whether or not you take a manual snapshot, and the snapshot doesn't replace the next scheduled backup. ## What's *not* a backup A few patterns that aren't real protection — clarifying so the difference is concrete: * **A `passive` (stopped) VM** — still consumes quota, still bills, but the disk lives on the same hypervisor as the running VM. A hardware-level loss takes both. Not a backup * **A second VM created from the same template** — fresh VM with no data; not a backup of anything * **`rsync` between two VMs in the same VPC** — useful for replication but the destination is also on the platform; if the platform has an issue both copies could be impacted If you need protection that survives platform-wide events: copy data to **[Object Storage](/products/store/object-storage)** (different storage layer, different lifecycle), or pull copies off-platform via `scp` / `rsync` to your own infrastructure. ## Related > [card] [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) > > Capture state on demand. > [card] [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) > > Configure a schedule. # Storage model Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/storage-model How base disks, volumes, snapshots, backups, and custom images relate — and what survives what <sub>Updated October 27, 2026</sub> A Raff VM has up to **five storage objects** in its orbit, and the source of most "where did my data go?" support tickets is mixing them up. This page is the map. ## The three categories | Category | Purpose | Lives where | | - | - | - | | **Active storage** | The disks the running OS reads and writes | Attached to a single VM at a time | | **Protective copies** | Point-in-time captures for restore | Stored in the platform, separate from the VM | | **Reusable templates** | Configurations you can boot new VMs from | Stored at the account level | Every storage object on a Raff VM falls into exactly one of these. ## Active storage These are what the OS sees as block devices. ### Base disk The boot disk that comes with every VM. Sized by the plan you pick (e.g. 50 GB on the \$8.99/mo plan). Holds the OS, installed software, and anything you didn't put on a volume. * Size grows via [resize](/products/build/virtual-machines/quickstart-guides/resize) → Storage tab. **One-way** — disks can grow but cannot shrink. * The base disk and the VM are inseparable: deleting the VM destroys the base disk. * On Cost-Optimized plans the base disk is local NVMe on the node the server runs on: fast, but offline while that node is repaired. See [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing). ### Block volumes Additional storage you attach on top of the base disk — see [Volumes](/products/store/volumes). * Live in the same region as the VM; can be detached and reattached to a different VM in that region. * Survive the VM. Delete the VM → the volume detaches but is **not** deleted; it keeps billing until you delete it explicitly. * Format and mount inside the OS — see [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm). * A Cost-Optimized server takes only volumes created for it (extra storage at create, or a volume created to attach to it). They stay on its node and attach to no other kind of server. ## Protective copies Captures of disk state for restore. Different lifecycle, different retention, different price. ### Snapshots Manual, on-demand point-in-time copies of a VM disk or a volume. * Created when you click **Snapshot** — see [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot). * Stored until you delete them, or until the source VM is destroyed (VM-disk snapshots are deleted with the VM; volume snapshots survive). * Billed per **GB-hour** — accrues continuously, settled at month-end on the 1st. * Best for restore points before risky changes. ### Backups Scheduled or on-demand copies, governed by a retention policy. * Configured per-VM with a Daily / Weekly schedule and a retention window (1-365 days). See [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups). * Backup + snapshot storage shares a **free pool per account** (50 GB + 10–15% of each VM's disk). * Above the pool: \$0.06/GB/month on the combined excess only. * Crucially: **backups survive VM delete** as long as the retention is still active. This is the only mechanism for true post-delete recovery. For when to use which, see [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups). ## Reusable templates Configurations from which you can deploy *new* VMs. ### Stock OS templates Raff-maintained images: Ubuntu, Debian, Fedora, CentOS, AlmaLinux, Rocky, openSUSE, Alpine, FreeBSD, Windows Server. See [OS templates](/products/build/virtual-machines/concepts/os-templates). ### Custom images A snapshot of a VM's OS disk preserved as a reusable template you can launch new VMs from. See [Custom images](/products/build/virtual-machines/concepts/custom-images). * Outlive the source VM (unlike snapshots). * Appear in the create-VM dialog alongside stock templates. * Best for golden-image workflows: build once, deploy N times. ## Survival matrix — the key reference What survives each lifecycle event: | | Base disk | Attached volumes | Volume snapshots | VM snapshots | Backups | Custom images | | - | - | - | - | - | - | - | | **Stop / start** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | **Reboot** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | **Resize compute** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | **Resize disk (grow)** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | **Reset password** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | **Reinstall (Change OS)** | ❌ wiped | ✅ | ✅ | ❌ deleted | ❌ deleted | ✅ | | **Factory reset** | ❌ wiped | ✅ | ✅ | ❌ deleted | ✅ | ✅ | | **Delete VM** | ❌ destroyed | ✅ detached, kept | ✅ | ❌ deleted | ✅ kept per retention | ✅ | Reading the matrix: * **Backups are the only thing that survives delete-VM.** If you might want to recover the OS disk after destroying the VM, you must have a backup — not a snapshot. * **Reinstall is more destructive than factory reset.** Reinstall deletes both snapshots *and* backups; factory reset preserves backups. * **Volumes always survive** any VM-level operation; only volume-level delete removes them. ## Pricing summary | Object | How it's billed | | - | - | | Base disk | Bundled in the plan price | | Block volumes | Per GB stored — subscription term or hourly | | Snapshots | Per GB-hour | | Backups | Per GB-month above the shared free pool | | Custom images | Per GB stored | | Object Storage (orthogonal — for files, not disks) | Per GB stored | All charges accrue continuously, settle on the 1st of the month, and deduct from your account balance first before charging the saved card. See [Pricing](/products/build/virtual-machines/details/pricing) for the full picture. ## "I need to…" — decision flowchart | Goal | Use | | - | - | | Add more disk to one VM | Resize the base disk **or** attach a [volume](/products/store/volumes) | | Capture state before a risky change | [Snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) | | Routine, scheduled protection | [Backups](/products/build/virtual-machines/quickstart-guides/enable-backups) | | Move a VM to a different region | Snapshot → Save as image → create new VM in target region from image | | Stand up N identical VMs from a config | Build one → save as [custom image](/products/build/virtual-machines/concepts/custom-images) → create N from image | | Recover a destroyed VM's OS disk | Only possible from a backup — contact support | | Keep data when the VM is destroyed | Put it on a [volume](/products/store/volumes) (volumes survive); the OS disk doesn't | ## Related > [card] [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > Decision framework for protective copies. > [card] [Custom images](/products/build/virtual-machines/concepts/custom-images) > > Save and reuse a VM's OS disk. > [card] [Volumes](/products/store/volumes) > > Block storage that outlives the VM. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Per-storage-object cost details. # Tags & organization Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/tags-and-organization How VM tags, priorities, and Group by Tag let you organize many VMs without losing your mind <sub>Updated November 10, 2026</sub> A tag is a free-form label you attach to a VM. Once you have more than a handful of VMs, tags become the primary tool for finding, filtering, and grouping them in the dashboard. ## What a tag is | Field | Description | | - | - | | **Name** | Free-form text — `prod`, `customer-acme`, `db`, `web-tier` | | **Colour** | `gray` (default), `red`, `orange`, `amber`, `green`, `blue`, `violet` or `pink` | | **Priority** | Integer 1-9 (or none) — controls display order in the Tags column and in **Group by Tag** view | | **Scope** | Account-wide — the same tag name on multiple VMs is the **same tag**, not a copy | | **Firewall** | Optional, one per project: see [Tags That Carry a Firewall](#tags-that-carry-a-firewall) | ## Add a tag Click the **+** in the Tags column on any VM row. The Add New Tag dialog opens: ![Add New Tag dialog with Tag Name field and Priority selector showing values 1-9 and a clear option](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/tags-01-add-tag-dialog.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=5a14b975189360dbf2fd90dd63acfe37) | Field | Notes | | - | - | | **Tag Name** | Required. Free-form. Reusing an existing name attaches the same account-wide tag, not a duplicate. | | **Priority** | Optional. Pick `1` - `9`, or click the **×** to leave it unset. Lower numbers display first. | ## Priority — what it controls Priority shapes two parts of the UI: 1. **Tags column on the VM list** — when a VM has many tags, only a couple fit inline. The lowest-priority numbers (1, 2, 3, …) show first; tags without a priority show last. 2. **Group order in Group by Tag view** — described below. A common convention: use priority `1` for the most important "what is this?" tag (e.g. `prod`), priority `2` for ownership (`team-payments`), no priority for everything else. ## Group by Tag view Toggle the **View: List / Group by Tag** control at the top right of the Instances list. The list reorganizes into groups, one per tag. ![Instances list with Group by Tag toggle on the top right and a "raff-app-stack (1) (5 VMs)" group header](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/tags-02-group-by-tag.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=0ee3a2038a4cdc865cc7de2d77884696) **Ordering of groups:** 1. By **priority value** — groups with priority `1` come before priority `2`, etc. 2. By **tag name** alphabetically — when two groups share the same priority, the tie breaks by name. 3. **Untagged VMs** appear separately at the top, before any grouped VMs. The number in brackets on the group header is the priority (`[1] raff-app-stack`); the second number is the count of VMs in the group (`(5 VMs)`). **Sub-grouping:** up to **2 levels** deep. A VM that carries two tags shows up under the higher-priority group at level 1, with the second tag forming a sub-group inside it. Beyond 2 levels, additional tags appear inline on the VM row but don't form further nesting. ## Renaming a tag globally When you rename a tag, the change applies to **every** VM that carries it — there is no other tag with the same name elsewhere; the tag is one record account-wide. This makes mass-renaming safe (one rename = consistent everywhere), but typos propagate. Pick names with care, or fix them globally as soon as you spot one. ## Tags That Carry a Firewall A tag can carry a cloud firewall in a project. Every server of that project with the tag gets the firewall on its public IPs: when the tag is linked, when the tag is added to a server, and from the first boot of a server created with the tag. | Rule | What it means | | - | - | | **One firewall per tag per project** | In a project a tag carries at most one firewall. The same tag can carry a different firewall in another project. | | **Conflicts change nothing** | When a server's tags carry different firewalls in its project, Raff leaves the server as it is. Creating a server with such tags is refused before any charge. | | **A hand change wins** | Attaching or detaching a firewall by hand stays until the server's tags change. | | **Nothing reopens by itself** | Removing a tag from a server, unlinking it or deleting it leaves the firewall on. Remove the tag with `reset_firewall=true` (CLI: `--reset-firewall`) to go back to the Raff Default Firewall. | Link a tag to a firewall with [Set firewall tags](/api-reference/endpoint/set-firewall-tags) or [`raff security-group tags set`](/reference/cli/security-group#tags-set). Creating, changing and deleting tags and links needs the `account.tags.manage` permission (account Owner and Admin by default). ## Hostnames vs tags Hostnames and tags answer different questions: | | Tag | Hostname | | - | - | - | | Scope | Account-wide label | Per-VM identifier | | Purpose | Grouping, filtering | Naming the VM in dashboard, API, OS | | Multiplicity | Many tags per VM | One hostname per VM | | Allowed chars | Free-form | `A-Z`, `a-z`, `0-9`, hyphen — 3-63 chars | Hostnames auto-generate as `<os>-<cpu>-<ram>-NN` at creation (e.g. `ubuntu-1cpu-2gb-01`). Edit per-VM at creation, or [rename](/products/build/virtual-machines/quickstart-guides/rename) later. The OS-internal hostname (what the kernel reports) is separate — set it inside the VM with `hostnamectl set-hostname` (Linux) or System Properties (Windows). ## Naming patterns that work Pick a convention before you have 20 VMs, not after: | Pattern | Example | Use when | | - | - | - | | `<env>-<role>-<n>` | `prod-web-01`, `staging-db-02` | Single-team, environment-scoped infra | | `<customer>-<role>` | `acme-app`, `acme-db` | Multi-tenant or customer-isolated | | `<service>-<region>-<n>` | `api-us-east-01` | Multi-region deployments | | `<stack>-<role>` | `raff-app-stack-web` | Logical stacks of related VMs | Keep tags orthogonal to hostnames: hostname says *what this server is*, tags say *which subset is this part of*. ## Limits | Item | Limit | | - | - | | **Tags per VM** | **20** — covers any reasonable env / team / stack / project mix. If you're hitting it, you're probably encoding things in tags that should be separate metadata | | **Tag name characters** | 1-40 characters, unique in the account ignoring case. Keep names short (5–20 chars) and consistent for fast filtering | | **Bulk tag operations** | Per-VM via the Add Tag dialog and `tags:set` action; the dashboard's bulk-select doesn't yet support a multi-VM tag-edit. Use [`raff vm tags add`](/reference/cli/vm#tags-add) on each VM in a script for fleet-wide changes | ## Related > [card] [Rename a VM](/products/build/virtual-machines/quickstart-guides/rename) > > Change a VM's display name. > [card] [VM notes](/products/build/virtual-machines/concepts/vm-notes) > > Free-form notes that complement tags. # VM notes — My Notes & Team Notes Source: https://docs.rafftechnologies.com/products/build/virtual-machines/concepts/vm-notes Two kinds of free-form notes attached to a VM, and who can see each <sub>Updated May 8, 2026</sub> Every VM has two free-form note fields living together at the bottom of the **Actions** tab on the VM detail page: * **My Notes** — *only you* can see them. Private to the user who wrote them. * **Team Notes** — *every team member* with access to the account can see them. Shared knowledge for the whole team. ![Actions tab on a VM detail page showing My Notes and Team Notes fields, with hint text "only you can see this" and "visible to all members"](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/concepts/vm-notes-01-actions-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=b9e87bdf01c77f38ca1873053a34cb07) Both fields are stored with the VM and survive resizes, reinstalls, and rebuilds — they're tied to the VM's ID, not its disk. ## Side by side | | My Notes | Team Notes | | - | - | - | | Dashboard label hint | *only you can see this* | *visible to all members* | | API type | `personal` | `account` | | Scope | The user who wrote it | Every member of the account | | Best for | Reminders to yourself, debug context, todo flags | Runbook hints, ownership info, "do not delete" warnings | ## When to use which * **My Notes** — anything that only matters to you. `# investigating slow query, see ticket #ops-1234`. `# resize this VM after Friday's deploy.` Other people on your team don't need to wade through it. * **Team Notes** — anything the team needs to know if you're away. `Owner: payments-team.` `Restore from backup before destroying.` `On-call: PagerDuty service raff-prod-payments.` If you're hesitating, prefer Team Notes. Knowledge in My Notes leaves with the user; Team Notes outlive any one person on the team. ## What notes don't do * **No notifications** — writing a note doesn't ping anyone; treat it like inline documentation, not a channel. * **No formatting** — plain text only. * **No version history** — the latest write replaces the previous one. Use git or a runbook tool if you need history. * **No global search** — notes show on the VM they're attached to, not in a cross-VM view. ## Length guidance There's **no enforced character limit** on either My Notes or Team Notes — the API accepts whatever you write. Practical guidance: * **Keep it scannable** — a few short paragraphs. If a note runs longer than a few hundred characters, the value of "inline at the VM" starts dropping * **Link to runbooks for the heavy stuff** — "See PagerDuty service raff-prod-payments" beats a 5-paragraph runbook embedded in the note * **The Append API** (`PUT /api/v1/vms/{id}/notes/append`) is the right pattern for change-log-style notes — it adds a new line each call without overwriting earlier text. Use it from CI / deploy scripts: `raff vm notes append <vm-id> --content "deploy v2.3.1 by alice 2026-05-08"` ## Lifecycle Notes survive: * VM resize, rename, reset password * Reinstall (Change OS) — notes belong to the VM record, not the OS disk * Factory reset — same reason Notes are **deleted with the VM**. Delete and recreate ⇒ notes are gone. If you want notes to outlive a VM, keep them in a runbook system instead. ## Related > [card] [Tags & organization](/products/build/virtual-machines/concepts/tags-and-organization) > > Structured labelling that complements free-form notes. > [card] [API Reference](/api-reference/endpoint/get-vm-notes) > > Read and write notes via API. # Acceptable use Source: https://docs.rafftechnologies.com/products/build/virtual-machines/details/acceptable-use What you can and can't run on a Raff VM, abuse handling, and how to report violations <sub>Updated October 14, 2026</sub> This page summarizes the Raff Acceptable Use Policy (AUP) as it applies to Virtual Machines. The full, legally binding AUP — which governs every Raff service and prevails over this summary — is published at: > [card] [Acceptable Use Policy (legal)](https://app.rafftechnologies.com/legal#acceptable-use-policy) > > app.rafftechnologies.com/legal#acceptable-use-policy ## What is acceptable * **Normal business use** — websites, applications, internal tools, dev/test environments, batch jobs, data processing, machine learning training and inference (your own models, your own data), gaming servers, build farms, CI runners, and similar workloads. * **Heavy resource use that's legitimate**: sustained high CPU is fine if your workload is genuine. On Standard plans, use above your sustained level (40% of your vCPUs) is paced by CPU credit, as described in [CPU and bursting](/products/build/virtual-machines/concepts/cpu-and-bursting). * **All applicable laws** — what's legal in your jurisdiction *and* in the regions where you operate the VM. If your usage affects shared infrastructure in other ways, Raff contacts you to discuss capacity, fees or limits before changing anything. ## What is prohibited The categories below are not allowed on Raff VMs. The legal AUP has the exhaustive list and definitions; this is a practical summary. ### Cryptocurrency mining — fully banned Cryptocurrency mining is prohibited on Raff infrastructure, **any algorithm, any coin** — proof-of-work, proof-of-stake, or any other consensus mechanism. Detection results in immediate suspension. ### Spam and unsolicited messaging * No unsolicited bulk or commercial email * No unconfirmed mailing lists (every recipient must have opted in) * No spoofed `From`, reply-to, or domain headers * All commercial email must include a working unsubscribe mechanism * Compliance with CAN-SPAM (US), CASL (Canada), and the EU ePrivacy Directive is required * Applies to messages sent from the VM and to networks that refer recipients to a Raff-hosted destination ### Malware, botnets, and security abuse * No hosting, distributing, or commanding **malware** or **botnets** (C2 servers, bots, droppers) * No **phishing** sites, fake login pages, or credential harvesting tools * No **DDoS** attacks, packet flooding, mail bombing, or deliberate overload of any system * No **IP spoofing**, packet header forgery, or transmission of falsified source addresses * No **DNS hijacking** or operating malicious DNS services * No **unauthorized network scanning, vulnerability testing, or pentesting** of third-party systems * No **interception or capture** of data in transit without authorization ### Network abuse * No **Tor exit nodes**, open proxies, or open mail relays * No anonymizing services that enable abuse of third-party systems * No **DDoS mitigation services for third parties** running on Raff infrastructure * No **IP hijacking, parking, squatting**, unauthorized BGP announcements, or activity that gets Raff IPs blacklisted * No interfering with other customers' use of the network ### Account abuse * One account per person or organization for promotional offerings and quota increases * No creating multiple accounts to dodge usage limits or billing — including via VPNs, proxies, or device spoofing * No sharing or transferring credentials to bypass service limitations * No payment evasion or fraudulent billing practices Automated detection runs continuously; related accounts can be suspended without prior notice. ### Illegal content and serious harms * No child sexual abuse material — zero tolerance, reported to authorities * No content that incites violence, threatens safety, or constitutes illegal harassment * No coordinated inauthentic behavior, fake accounts, or manipulation campaigns * No **doxxing** — publishing private personal information without consent * No malicious AI-generated content (deep fakes for fraud, impersonation, or deception) ### Copyright and IP * No transmitting or hosting material that infringes copyright, trademark, trade secret, or other IP * DMCA-style takedown procedure: send a notice to [abuse@rafftechnologies.com](mailto:abuse@rafftechnologies.com) with the items required by the legal AUP * Repeat infringers will have their accounts terminated ### Financial crimes and regulatory * No money laundering, financial fraud, Ponzi or pyramid schemes * No activity violating US sanctions, export controls, or international trade restrictions ## Reporting abuse If you observe abuse — from a Raff customer or against your VM — email **[abuse@rafftechnologies.com](mailto:abuse@rafftechnologies.com)** with: * The IP address or VM identifier involved * Logs, headers, screenshots, or evidence * The date and time (with timezone) of the incident Raff investigates and acts when warranted. ## Enforcement Violations escalate through: 1. Warning notice and a request for corrective action 2. Temporary suspension of the affected service 3. Permanent termination and account closure 4. Legal action where appropriate Appeals go to [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with the relevant context. ## Related > [card] [SLA](/products/build/virtual-machines/details/sla) > > Uptime commitment and credits. > [card] [Features & limits](/products/build/virtual-machines/details/features-and-limits) > > What's included on every VM. # Virtual Machines features and limits Source: https://docs.rafftechnologies.com/products/build/virtual-machines/details/features-and-limits Full feature list for Virtual Machines on the Raff Platform, plus account, VM, and platform limits <sub>Updated November 8, 2026</sub> ## Features ### Compute * **Flexible sizing** — General Purpose, CPU-Optimized, Windows Server and Cost-Optimized plan families across CPU, RAM, and base disk * **Cost-Optimized plans**: Linux servers on a local NVMe disk, from \$4.99/mo, with no uptime commitment; resize stays within the tier. See [Plans and sizing](/products/build/virtual-machines/concepts/plans-and-sizing) * **On-demand resize** — change CPU and RAM by switching plans (VM must be stopped); the difference settles to your account balance * **Disk resize (one-way)** — grow the OS disk without rebuilding (VM must be stopped) * **Burstable CPU on Standard and Cost-Optimized plans**: use all vCPUs whenever you need them, with a sustained level of 40% of your vCPUs that is always available; heavy use above it is paced by CPU credit. See [CPU and bursting](/products/build/virtual-machines/concepts/cpu-and-bursting). Premium and Windows plans work differently, see [Plans and sizing](/products/build/virtual-machines/concepts/plans-and-sizing) * **Custom images** — save a VM's OS disk as a reusable image and create new VMs from it ### OS templates * **Linux** — Ubuntu, Debian, Fedora, CentOS, AlmaLinux, Rocky Linux, Alpine Linux, openSUSE * **BSD** — FreeBSD * **Windows** — Windows Server Standard (2019, 2022, 2025) and Datacenter (2022, 2025) * **Marketplace** — pre-built application images * **Custom** — any image you've saved from one of your VMs ### Networking * **Public IPv4** — every VM gets a public IPv4 address by default * **IPv6 support** — optional dual-stack networking * **Optional VPC membership** — opt in by picking a VPC at create time, or join one later. A VM doesn't need a VPC to be useful * **Shared VPCs** — multiple VMs in the same region can share one VPC for private peer-to-peer traffic * **Reserved Public IPs** — keep a stable public address across VM rebuilds (separate product) * **Unlimited bandwidth** — outbound traffic is unmetered and included on every plan; no per-GB egress charge ### Storage * **Base disk** — SSD, included with the plan (local NVMe on Cost-Optimized plans) * **Block storage volumes** — attach additional storage that can outlive the VM * **Snapshots** — point-in-time copies of an OS disk or volume; per-GB-hour pricing * **Backups** — automated Daily or Weekly schedules with configurable retention; storage draws from the shared free pool (see Pricing) * **Multiple backup schedules per VM** — run Daily and Weekly side by side ### Security and access * **SSH key authentication** — upload keys at creation, reuse on reinstall * **Password authentication** — alternative; emailed to the account address on reset * **Security groups** — stateful firewall rule sets attached to VM network interfaces * **Reset password** — generate a new password and have it emailed to your account * **Browser SSH terminal** — in-app SSH for Linux VMs without a local client * **VNC console fallback** — graphical console for Windows VMs and recovery scenarios * **Direct SSH and RDP** — connect from any client (`ssh`, PuTTY, Windows App, FreeRDP, Remmina, …) ### Lifecycle and recovery * **Reinstall (Change OS)** — switch to a new OS template; preserves IP and attached volumes, deletes snapshots and backups * **Factory reset** — fresh OS install on the same template; preserves snapshots, backups, and volumes * **Hard reboot** — force-restart for unresponsive VMs * **Bulk operations** — select multiple VMs in the list and stop or delete them in one action * **Custom images for backup-based recovery** — Raff support can build a new VM from any retained backup if the original is destroyed ### Organization * **Tags** — free-form labels with optional priority (1-9), account-wide * **Group by Tag** — list view grouped by tag, ordered by priority then name (up to 2 levels of sub-grouping) * **My Notes / Team Notes** — per-VM private and team-visible notes * **Hostnames** — per-VM display name editable any time ### Observability * **Performance graphs** — CPU, Memory (Used / Free), Network Traffic (RX / TX per interface), Disk Throughput, Total Outbound Data Transfer * **Time ranges** — 30m / 1h / 2h / 6h / 24h / 7d / 1m / All * **VM Information side panel** — live summary of pricing, status, credentials, resources, network, storage, and backup/snapshot counts ### Billing * **Subscription by default** — pay in advance from your account balance for the term (Monthly / Yearly / 2-Year) * **Term discounts** — Yearly and 2-Year save 17% vs Monthly * **Credit on delete or downsize** — unused days and hours go back to your account balance (not your card) * **Pay-as-you-go on request** — available for enterprise and SMB customers * **Stopped VMs are billed** — `passive` VMs retain reservations and continue under their subscription term * **14-day money-back guarantee** — on subscription purchases via the dashboard checkout * **Multiple payment methods** — Google Pay, Visa, Mastercard, American Express, Diners Club; cards are saved for future renewals * **Account balance applied first** — checkout deducts from your balance before charging the card ## Account limits | Limit | Default for new accounts | Notes | | - | - | - | | VMs per account | **30** (across `active` + `passive`) | Increases automatically with usage history; raised on request | | vCPU per account | Plan-driven | | | RAM per account | Plan-driven | | | VM creation in one batch | 20 VMs | Set in the create flow's Quantity field | See [Account limits](/products/build/virtual-machines/concepts/account-limits) for how limit increases work, including urgent requests via support. ## Per-VM limits | Resource | Limit | | - | - | | Max CPU | Determined by the plan picked (up to 16 vCPU on standard plans) | | Max RAM | Determined by the plan (up to 64 GB on standard plans) | | OS disk size | Determined by the plan; can grow via disk resize, cannot shrink | | Additional storage at creation | Up to 1000 GiB | | Snapshots per VM | No hard limit | | Backup schedules per VM | Multiple — run Daily and Weekly together | | Backup retention range | 1 - 365 days per schedule | | Free backup & snapshot storage | Shared account pool: 50 GB + 10-15% of each VM's disk (see Pricing) | | Hostname length | 3 - 63 characters (`A-Z`, `a-z`, `0-9`, `-`) | | VM display name | Up to 64 characters | | Tag priority | 1 - 9, or none | | Group by Tag depth | 2 levels | ## Connection details | Method | Where it runs | Auto / On demand | | - | - | - | | Browser SSH terminal | In-app | Auto-selected when public IPv4 + SSH enabled | | VNC console | In-app | Auto-selected when SSH unavailable; required for Windows in-app access | | Direct SSH | Your machine | On demand | | Direct RDP | Your machine | On demand | ## API endpoints | Operation | Method | Endpoint | | - | - | - | | [List VMs](/api-reference/endpoint/list-vms) | GET | `/api/v1/vms` | | [Create VM](/api-reference/endpoint/create-vm) | POST | `/api/v1/vms` | | [Get VM](/api-reference/endpoint/get-vm) | GET | `/api/v1/vms/{id}` | | [Delete VM](/api-reference/endpoint/delete-vm) | DELETE | `/api/v1/vms/{id}` | | [Bulk delete VMs](/api-reference/endpoint/bulk-delete-vms) | POST | `/api/v1/vms/bulk-delete` | | [Start VM](/api-reference/endpoint/start-vm) | POST | `/api/v1/vms/{id}/start` | | [Stop VM](/api-reference/endpoint/stop-vm) | POST | `/api/v1/vms/{id}/stop` | | [Reboot VM](/api-reference/endpoint/reboot-vm) | POST | `/api/v1/vms/{id}/reboot` | | [Hard reboot VM](/api-reference/endpoint/hard-reboot-vm) | POST | `/api/v1/vms/{id}/hard-reboot` | | [Resize VM](/api-reference/endpoint/resize-vm) | POST | `/api/v1/vms/{id}/resize` | | [Resize VM disk](/api-reference/endpoint/resize-vm-disk) | POST | `/api/v1/vms/{id}/resize-disk` | | [Reset VM password](/api-reference/endpoint/reset-vm-password) | POST | `/api/v1/vms/{id}/reset-password` | | [Reinstall VM](/api-reference/endpoint/reinstall-vm) | POST | `/api/v1/vms/{id}/reinstall` | | [Factory reset VM](/api-reference/endpoint/factory-reset-vm) | POST | `/api/v1/vms/{id}/factory-reset` | | [Rename VM](/api-reference/endpoint/rename-vm) | POST | `/api/v1/vms/{id}/rename` | | [Save VM disk as image](/api-reference/endpoint/save-vm-disk-as-image) | POST | `/api/v1/vms/{id}/save-as-image` | | [VM tags](/api-reference/endpoint/add-vm-tag) | POST / PATCH / DELETE | `/api/v1/vms/{id}/tags` | | [VM notes](/api-reference/endpoint/get-vm-notes) | GET / PATCH | `/api/v1/vms/{id}/notes` | ## See also > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Subscription terms, balance, and per-line item rates. > [card] [API Reference](/api-reference/endpoint/list-vms) > > Full VM API. # Pricing Source: https://docs.rafftechnologies.com/products/build/virtual-machines/details/pricing How Virtual Machines are billed on the Raff Platform: full per-plan rate tables for Standard, Premium, Windows Server and Cost-Optimized tiers, subscription vs PAYG, billing-date alignment, and what's billed alongside the plan <sub>Updated November 8, 2026</sub> Raff bills VMs against a prepaid **account balance**. The default model is subscription; pay-as-you-go is available on request. ## Plan tiers and rates (us-east) Four plan tiers, each with multiple sizes. Prices are USD, per VM, per region. | Tier | CPU model | Use case | | - | - | - | | **Standard — General Purpose** | **Shared** vCPU | Web servers, dev/staging, batch jobs, anything that doesn't need consistent CPU performance every millisecond. Best price/CPU | | **Premium — CPU Optimized** | **Guaranteed** vCPU | Databases, real-time services, latency-sensitive APIs, anything where noisy-neighbor variability would hurt. Higher per-vCPU price, predictable performance | | **Windows Server** | **Guaranteed** vCPU | Windows workloads over RDP — Active Directory, file shares, .NET and IIS apps, SQL Server, trading terminals. Licence billed separately from compute | | **Cost-Optimized** | **Shared** vCPU, local NVMe disk | The lowest price, for Linux servers that can be offline while their node is repaired. No uptime commitment | Pick **Standard** for cost-efficient general-purpose workloads where short performance dips don't matter. Pick **Premium** when consistent, guaranteed CPU is the goal — half a physical thread is reserved for every vCPU, with burst to the full thread. Pick **Windows Server** to run Windows — you select it by choosing a Windows template at create time. Pick **Cost-Optimized** for the lowest price when the server can be offline while its node is repaired. ### Standard — General Purpose plans (shared CPU) Standard is burstable: all vCPUs available on demand, on top of a sustained level. See [CPU and bursting](/products/build/virtual-machines/concepts/cpu-and-bursting). | vCPU | RAM | SSD | Monthly | Yearly | 24-month | | - | - | - | - | - | - | | 1 | 1 GiB | 25 GiB | \$4.99 | \$49.90 | \$89.82 | | 1 | 2 GiB | 50 GiB | \$8.99 | \$89.90 | \$161.82 | | 2 | 2 GiB | 40 GiB | \$12.99 | \$129.90 | \$233.82 | | 2 | 4 GiB | 80 GiB | \$17.99 | \$179.90 | \$323.82 | | 4 | 4 GiB | 80 GiB | \$24.99 | \$249.90 | \$449.82 | | 2 | 8 GiB | 160 GiB | \$27.99 | \$279.90 | \$503.82 | | 4 | 8 GiB | 160 GiB | \$33.99 | \$339.90 | \$611.82 | | 8 | 8 GiB | 160 GiB | \$48.99 | \$489.90 | \$881.82 | | 4 | 16 GiB | 240 GiB | \$55.99 | \$559.90 | \$1,007.82 | | 8 | 16 GiB | 240 GiB | \$71.99 | \$719.90 | \$1,295.82 | | 16 | 16 GiB | 240 GiB | \$103.99 | \$1,039.90 | \$1,871.82 | | 12 | 24 GiB | 320 GiB | \$109.99 | \$1,099.90 | \$1,979.82 | | 8 | 32 GiB | 320 GiB | \$119.99 | \$1,199.90 | \$2,159.82 | | 16 | 32 GiB | 320 GiB | \$139.99 | \$1,399.90 | \$2,519.82 | ### Premium — CPU Optimized plans (guaranteed CPU) | vCPU | RAM | SSD | Monthly | Yearly | 24-month | | - | - | - | - | - | - | | 1 | 1 GiB | 25 GiB | \$15.99 | \$159.90 | \$287.82 | | 1 | 2 GiB | 50 GiB | \$18.99 | \$189.90 | \$341.82 | | 2 | 2 GiB | 50 GiB | \$30.99 | \$309.90 | \$557.82 | | 2 | 4 GiB | 80 GiB | \$36.99 | \$369.90 | \$665.82 | | 4 | 4 GiB | 80 GiB | \$60.99 | \$609.90 | \$1,097.82 | | 4 | 8 GiB | 120 GiB | \$72.99 | \$729.90 | \$1,313.82 | | 8 | 8 GiB | 120 GiB | \$120.99 | \$1,209.90 | \$2,177.82 | | 8 | 16 GiB | 180 GiB | \$144.99 | \$1,449.90 | \$2,609.82 | | 16 | 16 GiB | 200 GiB | \$240.99 | \$2,409.90 | \$4,337.82 | | 8 | 32 GiB | 240 GiB | \$192.99 | \$1,929.90 | \$3,473.82 | | 16 | 32 GiB | 360 GiB | \$288.99 | \$2,889.90 | \$5,201.82 | ### Windows Server plans Windows Server plans run on guaranteed vCPU, the same allocation as Premium. You get one by picking a Windows template when you create the VM. Every plan includes RDP access from first boot. The rates below are for **compute only** — Windows licensing is billed separately: | Licence option | Price | | - | - | | 6-month evaluation | **Free** with every Windows VM — no licence fee to start | | Windows Server Standard | \$15.00/month per VM, licensed through Raff's Microsoft SPLA programme | | Remote Desktop user SAL | \$8.00/month per user, for multi-user RDP beyond the 2 admin sessions | | Your own licence (BYOL) | Bring a licence you already own — Raff charges no licence fee for it | | vCPU | RAM | SSD | Monthly | Yearly | 24-month | | - | - | - | - | - | - | | 1 | 2 GiB | 50 GiB | \$13.99 | \$139.90 | \$251.82 | | 2 | 2 GiB | 50 GiB | \$17.99 | \$179.90 | \$323.82 | | 2 | 4 GiB | 80 GiB | \$22.99 | \$229.90 | \$413.82 | | 4 | 4 GiB | 80 GiB | \$29.99 | \$299.90 | \$539.82 | | 4 | 8 GiB | 120 GiB | \$40.99 | \$409.90 | \$737.82 | | 8 | 8 GiB | 120 GiB | \$54.99 | \$549.90 | \$989.82 | | 8 | 16 GiB | 180 GiB | \$76.99 | \$769.90 | \$1,385.82 | | 8 | 32 GiB | 240 GiB | \$137.99 | \$1,379.90 | \$2,483.82 | | 16 | 16 GiB | 200 GiB | \$112.99 | \$1,129.90 | \$2,033.82 | | 16 | 32 GiB | 360 GiB | \$174.99 | \$1,749.90 | \$3,149.82 | ### Cost-Optimized plans (local NVMe) Cost-Optimized servers keep their disk on a local NVMe drive of the node they run on, with shared burstable CPU like Standard. Linux only, with no uptime commitment: see [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) for what else differs. | vCPU | RAM | SSD | Monthly | Yearly | 24-month | | - | - | - | - | - | - | | 1 | 2 GiB | 25 GiB | \$4.99 | \$49.90 | \$89.82 | | 2 | 2 GiB | 25 GiB | \$6.99 | \$69.90 | \$125.82 | | 2 | 4 GiB | 30 GiB | \$9.99 | \$99.90 | \$179.82 | | 4 | 4 GiB | 35 GiB | \$13.99 | \$139.90 | \$251.82 | | 2 | 8 GiB | 40 GiB | \$16.99 | \$169.90 | \$305.82 | | 4 | 8 GiB | 50 GiB | \$19.99 | \$199.90 | \$359.82 | | 8 | 8 GiB | 60 GiB | \$27.99 | \$279.90 | \$503.82 | | 4 | 16 GiB | 70 GiB | \$31.99 | \$319.90 | \$575.82 | | 8 | 16 GiB | 80 GiB | \$39.99 | \$399.90 | \$719.82 | | 12 | 24 GiB | 120 GiB | \$69.99 | \$699.90 | \$1,259.82 | | 8 | 32 GiB | 120 GiB | \$69.99 | \$699.90 | \$1,259.82 | | 16 | 32 GiB | 160 GiB | \$89.99 | \$899.90 | \$1,619.82 | ### Lock-in discount Yearly is equivalent to paying for 10 months instead of 12 (≈17% off the monthly rate); 24-month is equivalent to paying for 18 months instead of 24 (25% off). The trade-off is that you commit the term up front. | Term | Cost equivalent | Discount vs monthly | | - | - | - | | **Monthly** | full rate | — | | **Yearly** | 10 of 12 months | \~17% | | **24-month** | 18 of 24 months | 25% | Pick yearly or 24-month if you're confident about a workload's lifespan; pick monthly if you want maximum flexibility — delete prorates unused time back to your balance regardless of term. The data above reflects published rates. The same list is queryable at runtime via [List VM Pricing](/api-reference/catalog/list-vm-pricing) — use the plan `id` as `pricing_id` when creating a VM through the API. ## Subscription (default) You pay for the term you pick (e.g. monthly) up front from your account balance. The full subscription cost is reserved at creation, and the VM runs without any further charges until the term ends or you change something. When you delete a VM, downsize via [resize](/products/build/virtual-machines/quickstart-guides/resize), or otherwise reduce the subscription, the **unused days and hours are credited back to your account balance**. The credit is immediate and can be used to top up other resources or another VM. Stopping a VM (`passive` state) does **not** prorate or pause billing — the subscription continues for the term you paid for. ## Pay-as-you-go (enterprise / SMB on request) Pay-as-you-go (PAYG) bills usage by the hour from your balance, with no advance commitment. The hourly rate matches the per-hour cost of the equivalent subscription plan. PAYG is available for enterprise and SMB customers on request — contact [support](mailto:support@rafftechnologies.com) to enable it on your account. The default for new accounts is subscription. ## Subscription vs PAYG | | Subscription | Pay-as-you-go | | - | - | - | | **Default for new accounts** | Yes | No (enable on request) | | **When you pay** | Up front, full term | Hourly, after use | | **On delete** | Unused time credited to balance | Nothing to credit (no advance payment) | | **Best for** | Steady workloads | Bursty or short-lived VMs | The cost of a single full term is the same in both modes; the only real difference is **when** you pay. ## Billing-date alignment to the 1st of the month Raff automatically normalizes every account's billing to the **1st of the month**, so that no matter when you create VMs, you eventually receive **one consolidated invoice on the 1st** instead of a separate invoice for every create date. This happens by default — no setting to toggle. ### How it works | Cycle | What happens | | - | - | | **Month 1 — create** | You pay the full subscription term from your create date forward (e.g. create on the 14th → pay for one month, ending on the 14th of the next month). | | **Month 2 — normalization** | At the next renewal, Raff issues a **prorated charge** that covers the gap between your renewal date and the upcoming 1st. From there, your billing date is locked to the 1st. | | **Month 3 onward — aligned** | Every renewal lands on the **1st of the month**. Every VM, volume, snapshot, backup, and Public IP on the same account renews together. | The prorated charge in month 2 is always **smaller** than a full month — it covers only the leftover days between the old renewal date and the 1st. After that single correction, your invoices are 1-to-1 with calendar months. ### Worked example You create three VMs on different dates in May: | VM | Created | Plan | | - | - | - | | `web-01` | May 5 | \$17.99/mo | | `db-01` | May 14 | \$36.99/mo | | `worker-01` | May 22 | \$4.99/mo | What you pay: | Date | Charge | What it covers | | - | - | - | | May 5 | \$17.99 | `web-01` for May 5 → June 5 | | May 14 | \$36.99 | `db-01` for May 14 → June 14 | | May 22 | \$4.99 | `worker-01` for May 22 → June 22 | | Jun 5 | \~\$15.59 | `web-01` prorated from Jun 5 → Jul 1 (\~26 days) | | Jun 14 | \~\$20.96 | `db-01` prorated from Jun 14 → Jul 1 (\~17 days) | | Jun 22 | \~\$1.50 | `worker-01` prorated from Jun 22 → Jul 1 (\~9 days) | | **Jul 1** | **\$59.97** | **All three VMs renew together for the full month — one invoice** | From July 1 forward, every VM on this account renews on the 1st. Every invoice has clear per-resource line items — VMs are billed together but never merged into a lump sum. ### Why this matters * **One invoice per month** — easier reconciliation, easier expense reports, easier monthly budgeting. * **Predictable cash flow** — you know exactly when the next bill lands. * **Clean separation** — every resource is its own line item with its own price and term, so you can still see what each VM costs. * **Smaller mid-flight charges** — the only "extra" event is one prorated charge per resource, always less than a full month. PAYG accounts (enterprise / SMB on request) follow a different cycle — usage accrues hourly and is settled at month-end on the 1st without the prorated normalization step. ## What's billed separately | Item | Billing | | - | - | | **Plan** (CPU, RAM, base disk) | Subscription term or hourly | | **Outbound bandwidth** | **Unlimited — included on every plan, no per-GB charge** | | **Block storage volumes** | Subscription term or hourly | | **Snapshots** | Per GB stored, against the shared free pool | | **Backups** | Per GB stored, against the shared free pool | | **Object Storage** | Per GB stored | | **Public IPs** | Per IP, separately billed | | **Windows Server licence** | \$15.00/month per VM, on Windows plans only | | **Remote Desktop user SALs** | \$8.00/month per user, when RDS is enabled | ## Free backup & snapshot storage pool Backups and snapshots share **one free-storage pool per account**: * **50 GB free** to start. * Every VM you run grows the pool: **+10%** of its disk for Standard (general-purpose) and Cost-Optimized plans, **+15%** for Premium (CPU-optimized) and Windows Server plans. * Deleting a VM (or shrinking its disk) shrinks the pool by the same amount; it never drops below the 50 GB base. Your combined backup + snapshot storage is free up to the pool size. You're billed only for GB **above** the pool, at \$0.06/GB/month. A typical VM's 7-day daily + weekly backup cycle fits comfortably inside the free pool. ## Live rates The current plan list with regional pricing is available at: * **API** — [List VM Pricing](/api-reference/catalog/list-vm-pricing) * **Dashboard** — Plan picker on the VM creation page ## See also > [card] [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) > > What's bundled in a plan. > [card] [Features & limits](/products/build/virtual-machines/details/features-and-limits) > > Full feature list. # SLA Source: https://docs.rafftechnologies.com/products/build/virtual-machines/details/sla Uptime commitment, service credit schedule, and how to claim for services on the Raff Platform <sub>Updated October 27, 2026</sub> This page summarizes the Raff Service Level Agreement across platform services. The full, legally binding SLA is published at: > [card] [Service Level Agreement (legal)](https://rafftechnologies.com/legal/service-level-agreement) > > rafftechnologies.com/legal/service-level-agreement Live availability for every covered service is recorded automatically at: > [card] [Status page](https://rafftechnologies.com/status) > > rafftechnologies.com/status ## Uptime commitment Raff Technologies guarantees **99.90% monthly uptime** for every Raff product, except Cost-Optimized virtual machines. | Service | Monthly uptime | What is measured | | - | - | - | | Virtual Machines (General Purpose, CPU-Optimized, Windows) | 99.90% | The VM is running and reachable | | Volumes | 99.90% | The volume is attached and readable | | Snapshots and Backups | 99.90% | Taking and restoring them | | Object Storage | 99.90% | S3 API availability | | VPC, Public IPs and Firewalls | 99.90% | Private and public networking | | Kubernetes | 99.90% | Worker nodes, the cluster endpoint and the ingress path, on every cluster | | Managed Databases | 99.90% | The database endpoint, for every engine and plan | | Raff Apps | 99.90% | Your running app at its address | | Functions | 99.90% | Invocations are accepted and run | Uptime is calculated as `(total minutes in the month - unavailable minutes) / total minutes × 100%`. Cost-Optimized virtual machines have no uptime commitment: each runs on one node's local disk, so a node repair takes it offline until the node is back. Their backups are kept off the node. High availability (Kubernetes HA, database HA) does not change the commitment; it keeps your service running through a node failure, so it is the right choice for production. Free plans, such as the free database, are covered, but have no monthly charge to credit. Workloads, Ingress resources, database queries and schema, and your app's own code are yours and outside the SLA. **Unavailability** means the service is completely inaccessible — returns errors or doesn't respond to API or console requests — for **more than 5 consecutive minutes**. The status page is the authoritative source for measurement. ## Service credit schedule If monthly uptime falls below 99.90%, you become eligible for a service credit on the affected service: | Monthly uptime | Service credit | | - | - | | 99.90% — 99.0% | **10%** of that service's monthly charges | | 99.0% — 95.0% | **25%** of that service's monthly charges | | Below 95.0% | **100%** of that service's monthly charges | Notes on credits: * Capped at 100% of the affected service's monthly charges for the billing cycle. * **Not refundable to your card** — credits apply against future charges only. * **Expire after 12 months** from issuance, or on account termination, whichever comes first. * Service credits are the **sole and exclusive remedy** for any failure to meet the uptime commitment. ## What's excluded The 99.90% commitment does not apply when unavailability is caused by: * **Scheduled maintenance** announced at least **24 hours** in advance by email or platform notification * **Emergency security patches or critical maintenance** requiring less than 10 minutes of downtime * Customer error or misuse of the service * Failures in customer-installed software, OS, or configuration * **Customer-managed workloads and configuration** inside Managed Kubernetes clusters or Managed Databases (applications, Ingress resources, database queries and schema) * Third-party certificate authorities (e.g. Let's Encrypt issuance delays) * **DDoS attacks** against your resources or the platform * Force majeure (natural disasters, war, terrorism) * Internet outages or third-party service failures beyond Raff's reasonable control * Accounts with overdue payments, suspended accounts, or accounts in violation of the Terms of Service ## How to claim a credit 1. **Within 30 days** of the incident, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). 2. Include: * Date, time, and duration of the unavailability * The specific service(s) affected (e.g. Virtual Machines, Managed Kubernetes) * Your account ID 3. After validation, the service credit appears on your account in the next billing cycle. The status page at [rafftechnologies.com/status](https://rafftechnologies.com/status) records every incident automatically — referencing the relevant entry in your request speeds up validation. ## Related > [card] [Features & limits](/products/build/virtual-machines/details/features-and-limits) > > What's included on every VM. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Monthly charges that drive the credit calculation. # Support Source: https://docs.rafftechnologies.com/products/build/virtual-machines/details/support How to reach Raff support, response times, working hours, languages, and what we help with <sub>Updated May 8, 2026</sub> ## How we approach support Raff has **no support tiers**. Every customer — a single \$4.99/mo VM or hundreds of VMs in production — gets the same channels, the same engineers, and the same response targets. Our goal is to give you the best support you've had from any cloud, and the way we do that is by not gating it. ## Channels Two technical support channels — both reach the same queue, route to the same engineers, and have the same response targets. Use whichever you prefer. | Channel | Where | Best for | | - | - | - | | **Email** | [support@rafftechnologies.com](mailto:support@rafftechnologies.com) | Anything with logs, attachments, or long context | | **Live chat widget** | The envelope icon at the bottom-right of the dashboard | Quick questions, real-time troubleshooting | Phone is **sales support only** — for technical support, use email or chat. ## Availability and response targets Support is staffed **24/7**, every day of the year. Live chat and email reach the same engineers and the same queue — there is no separate out-of-hours rota and no bot triaging you first. | Channel | Typical first response | | - | - | | Live chat | **Under 10 minutes** | | Email | **Under 10 minutes** | These are targets, not contractual commitments. The **99.9% uptime SLA** is the contractual one, and it carries service credits — see the [service level agreement](/legal/service-level-agreement). If your issue is **urgent** — a production outage, a billing block on launch day, a quota you need lifted before a load test — say so in the subject line. Mark requests like this `URGENT — <one-line summary>` and include your account ID in the body. ## Languages | Language | Email | Chat | Phone | | - | - | - | - | | **English** | ✅ | ✅ | ✅ (sales only) | | **Spanish** | — | ✅ | — | Spanish-language support is currently chat-only. Voice and email default to English. ## What we help with The core: anything that gets in the way of running your workload on Raff. | Topic | Coverage | | - | - | | Account, login, billing, balance, invoices | Yes | | Quota and limit increases | Yes — see [Account limits](/products/build/virtual-machines/concepts/account-limits#request-a-limit-increase) | | VM creation / configuration / networking issues | Yes | | Backup-based VM recovery (rebuild a VM from a retained backup) | Yes | | Image and snapshot questions | Yes | | API and CLI integration questions | Yes | | SLA credit claims | Yes — within 30 days of the incident | | Abuse and security reports | Use [abuse@rafftechnologies.com](mailto:abuse@rafftechnologies.com) | ### Migration assistance If you're moving to Raff from another provider (DigitalOcean, Vultr, Hetzner, AWS, etc.) and want help, we'll do as much of the work as you want us to do — up to and including running the full migration on our side and handing you a working VM on Raff with your data and config in place. To start a migration: 1. Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with subject line `Migration request — <source provider>`. 2. Include the source platform, the size and shape of what you're moving (VMs, volumes, databases), and any constraints on cutover timing. 3. We'll respond with a plan and the questions we need answered to do the work. There's no charge for migration help. ## What to include in a support request For the fastest response, send these in your first message: * **Account ID** — find it in the dashboard URL or **Settings** * **Resource ID** — the VM, volume, snapshot, or backup ID, if the issue is resource-specific * **Region** (e.g. `us-east`) * **What you tried and what happened** — the exact error message, timestamp, and any logs * **What you expect to happen** — so we don't have to guess * **Urgency** — flag in the subject if production is affected Screenshots help; raw log output helps more. ## All email channels Different mailboxes for different topics. They route to specialized teams; using the right one speeds up your reply. | Address | For | | - | - | | [support@rafftechnologies.com](mailto:support@rafftechnologies.com) | All technical support — same queue as the chat widget | | [abuse@rafftechnologies.com](mailto:abuse@rafftechnologies.com) | Abuse reports, DMCA-style takedowns, security incident reports about Raff customers | | [privacy@rafftechnologies.com](mailto:privacy@rafftechnologies.com) | GDPR, DPA, data subject requests, legal/privacy questions | | [info@rafftechnologies.com](mailto:info@rafftechnologies.com) | General inquiries, partnerships, press | Reach the team on the web at [rafftechnologies.com](https://rafftechnologies.com); platform status is at [status.rafftechnologies.com](https://status.rafftechnologies.com). ## Self-serve resources first Many issues resolve faster from the docs than from a ticket. Check these first: | Symptom | Doc | | - | - | | Can't connect (SSH refused, RDP timeout, locked out) | [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) and [Troubleshooting](/products/build/virtual-machines/troubleshooting) | | Need to grow a disk, resize, or fix mount issues | [Resize a VM](/products/build/virtual-machines/quickstart-guides/resize), [Volumes → Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) | | Lost a password | [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) | | Need to recover deleted data | [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) — and contact support to restore from a retained backup | | Question about charges or credits | [Billing model](/products/build/virtual-machines/concepts/billing-model) and [Pricing](/products/build/virtual-machines/details/pricing) | If those don't fit, we're a message away. ## Related > [card] [SLA](/products/build/virtual-machines/details/sla) > > Uptime commitment and service credits. > [card] [Acceptable use](/products/build/virtual-machines/details/acceptable-use) > > What can suspend an account. > [card] [Status](https://rafftechnologies.com/status) > > Live platform availability. > [card] [Account limits](/products/build/virtual-machines/concepts/account-limits) > > How to request a limit increase, including urgent. # Virtual Machines Source: https://docs.rafftechnologies.com/products/build/virtual-machines/index On-demand Linux and Windows server instances on the Raff Platform <sub>Updated May 8, 2026</sub> Virtual Machines are isolated Linux and Windows server instances you fully control. Pick CPU, RAM, and base disk from a plan; deploy in under a minute; connect over SSH or RDP with root or Administrator access. Resize, restart, reinstall, or destroy any time — the VM is yours. Every VM gets a public IPv4 address by default so it can serve internet traffic out of the box. Optionally, join a [VPC](/products/network/vpc) for private VM-to-VM communication, add an IPv6, or [reserve a static public IP](/products/network/public-ips/quickstart-guides/reserve-ip) for an address that survives rebuilds. Attach block volumes for extra storage, capture point-in-time snapshots before risky changes, and turn on scheduled backups for routine protection. Billing is **subscription-based** — paid in advance from your account balance, with unused days and hours credited back to your balance when you delete or downsize. Pay-as-you-go is available for enterprise and SMB customers on request. ![Virtual Machines list in the Raff Platform dashboard](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/raff_compute_dashboard.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=7d3eaf6c35e3f3f2fa6cc8124726fc49) *** ## Most viewed > [card] [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Launch your first VM from the dashboard. > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Open an SSH session to a Linux VM. > [card] [Resize a VM](/products/build/virtual-machines/quickstart-guides/resize) > > Change CPU and RAM without rebuilding. > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Recover access to a locked-out VM. *** ## Browse > [card] [Quickstart & guides](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Step-by-step dashboard tasks for VMs. > [card] [Concepts](/products/build/virtual-machines/concepts/plans-and-sizing) > > Plans, regions, OS templates, lifecycle states. > [card] [Details](/products/build/virtual-machines/details/features-and-limits) > > Features, limits, pricing, SLA. > [card] [Troubleshooting](/products/build/virtual-machines/troubleshooting) > > Common VM issues and recovery. > [card] [API Reference](/api-reference/endpoint/list-vms) > > All VM endpoints — create, list, power, resize, tags, notes, networking. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Connect via RDP Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/connect-via-rdp Open a session to a Windows VM — in-browser VNC console or direct RDP from a desktop client <sub>Updated May 8, 2026</sub> Once a Windows VM is `active`, you have two ways to connect: | Method | Where it runs | Best for | | - | - | - | | **In-app console (VNC)** | In the dashboard | Quick checks, recovery, no client install | | **Direct RDP** | A desktop RDP client | Daily use, file/clipboard sharing, multiple monitors, full performance | The dashboard's **Console** button always opens **VNC** for Windows VMs (in-browser RDP is not offered). For real RDP, use a desktop client against the VM's public IPv4. ## Before you start * The VM is `active` and has a public IPv4 (visible on the detail page) * The Administrator password — find it in the **Credentials** card on the detail page (use **Send to Email** if it isn't visible) * The attached security group allows inbound TCP/3389 from your IP (default Windows templates allow it; tighten to your office IP for production) ## 1. In-app console (VNC) Open it the same way as for Linux VMs — **Console** button on the detail page, or the row's 3-dot menu → **Open Terminal**. The in-app console for Windows uses VNC and gives you the full graphical desktop in the browser. ![In-browser VNC console connected to a Windows Server VM at the lock screen](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-rdp-01-vnc-console.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=9e35749e88988d20e482e4eabc8569ad) **Toolbar (top of the console):** | Control | Use | | - | - | | **CONNECTED** | Live session indicator | | **Hostname** | The VM's hostname (e.g. `windows-server-2cpu-4gb-01`) | | **Expires** | Countdown until the VNC session is forced-disconnected — open a fresh session to extend | | **Ctrl+Alt+Del** | Sends the Secure Attention Sequence to Windows (browsers swallow the real chord) | | **Keys** | Send other special keys (Win, Esc, F-keys) | | **Fullscreen** | Hide browser chrome | | **Disconnect** | End the session | **Use VNC when:** * The VM has no public IPv4 * TCP/3389 is blocked by the security group * RDP isn't running yet (e.g. first boot, recovery) * You misconfigured the network or got locked out For everyday work, switch to direct RDP — it's faster, supports clipboard and file transfer, and doesn't have a session timer. ## 2. Direct RDP (desktop client) Connect from any RDP client. The connection details are the same everywhere: | Field | Value | | - | - | | **Host** | VM's public IPv4 | | **Port** | `3389` | | **Username** | `Administrator` | | **Password** | The one set during creation | ### Windows Pick any of: * **Remote Desktop Connection** (`mstsc`) — built into every Windows install. Press `Win + R`, type `mstsc`, paste the public IPv4, click **Connect**. * **Windows App** — Microsoft's modern client (replaces "Microsoft Remote Desktop" on the Microsoft Store). Adds saved-PC management and gateway support. * **Royal TS** — paid, optional. Good if you manage many servers; supports tabbed sessions, credential vaults, multi-protocol (RDP/SSH/VNC). ### macOS Pick any of: * **Windows App** — Microsoft's official RDP client on the [Mac App Store](https://apps.apple.com/app/windows-app/id1295203466) (replaces the older "Microsoft Remote Desktop"). Free, recommended. * **Royal TSX** — paid, multi-protocol with tabs and credential vault. Good for managing many servers. * **Jump Desktop** — paid, App Store. Polished UX, supports Fluid Remote Desktop in addition to RDP. ### Linux Pick any of: * **Remmina** — most common GTK client. `sudo apt install remmina remmina-plugin-rdp` on Debian/Ubuntu. Run `remmina`, click **+**, set protocol to **RDP**, fill in host and credentials. * **FreeRDP** — command line, robust. Most distros ship FreeRDP 2.x; some recent ones ship 3.x with new flag syntax. Pick the matching example below. **FreeRDP 2.x** (older syntax — `/key:value`): ```bash theme={null} xfreerdp /v:<public-ipv4> /u:Administrator /p:'<password>' \ /size:1920x1080 /cert:ignore +clipboard ``` **FreeRDP 3.x** (newer syntax — same idea, slightly different flags): ```bash theme={null} xfreerdp3 /v:<public-ipv4> /u:Administrator /p:'<password>' \ /size:1920x1080 /cert:ignore +clipboard ``` Useful flags either way: * `/size:1920x1080` — set initial resolution. Use `/f` for fullscreen instead * `+clipboard` — enable clipboard sync between Linux host and Windows VM * `/drive:home,$HOME` — share your local home directory as a drive in the VM (`\\tsclient\home`) * `/sound:sys:pulse` — forward Windows audio to local PulseAudio * `/cert:ignore` — accept the VM's self-signed RDP certificate (always needed unless you've installed your own cert in Windows) * `/network:auto` — let FreeRDP pick the best network profile (modem / broadband / LAN) based on round-trip time * **KRDC** — KDE's bundled client; same workflow as Remmina. ## Troubleshooting * **Connection refused / timeout** — the security group must allow inbound TCP/3389 from your IP. Use the [VNC console](#1-in-app-console-vnc) to verify Windows itself is up. * **Authentication failed** — confirm the password from the **Credentials** card on the VM detail page; reset it via the **Password** action if needed. * **Black screen after login** — usually a stuck session. Send **Ctrl+Alt+Del** from the VNC console and choose **Sign out**, then reconnect. * **No public IP** — use the VNC console; direct RDP needs a public IPv4 (or a [Public IP](/products/network/public-ips)). * **Certificate warning** — expected; the VM uses a self-signed RDP cert. Click **Connect anyway** in your client. See [Troubleshooting](/products/build/virtual-machines/troubleshooting) for more. ## Next steps > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Recover access if the Administrator password is lost. > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Start, stop, reboot. # Connect via SSH Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/connect-via-ssh Open a session to a Linux VM — in-browser terminal, direct SSH, or VNC console fallback <sub>Updated October 20, 2026</sub> Once a Linux VM is `active`, you have three ways to connect: | Method | Where it runs | Best for | | - | - | - | | **Browser terminal** | In the dashboard | One-off checks; no client install | | **Direct SSH** | Your machine (terminal or PuTTY) | Daily use, scripts, file transfer | | **VNC console** | In the dashboard | Fallback when networking is broken or the VM has no public IP | The dashboard's **Console** button picks the right in-app option automatically: * **Public IPv4 exists and SSH not disabled** → SSH browser terminal opens. * **No public IPv4, or SSH disabled** → VNC console opens instead. ## 1. Browser terminal (in-app SSH) You can open it from three places. ### a. VM detail page → Console The big orange **Console** button at the top of any VM's detail page. ![VM detail page with the Console action button at the top](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-02-vm-detail-console.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=9f86fad76212bcb8890521a474cea5be) ### b. Instances list → row's 3-dot menu → Open Terminal Click the **⋮** at the right end of any VM row, then **Open Terminal**. ![Instance list with the row Actions menu open showing Open Terminal](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) ### c. VM detail page → Actions tab The same Console action also appears under the **Actions** tab on the detail page — useful when you've scrolled past the top action bar. ### What you see The terminal opens in a new tab, authenticates as `root` automatically using the VM's stored credentials, and drops you at a shell. **Fullscreen** and **Disconnect** are top-right. ![Browser-based SSH terminal connected to a VM with a root shell](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-03-browser-terminal.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=0b67cad1be99e621eb9f2d4d9d8e5238) ## 2. Direct SSH (your terminal or PuTTY) For daily work, scripts, file transfer (`scp`/`rsync`), port forwarding, etc. ### Generate an SSH key (if you don't have one) If you don't already have an SSH key pair on your local machine, generate one before creating the VM. Pick the matching command for your OS — the resulting public key is what you upload to Raff at VM creation, and the private key stays on your machine. **macOS / Linux / Windows OpenSSH (PowerShell):** ```bash theme={null} # Recommended — Ed25519, modern, fast, short ssh-keygen -t ed25519 -C "you@example.com" -f ~/.ssh/raff_key # Acceptable fallback if a tool requires RSA ssh-keygen -t rsa -b 4096 -C "you@example.com" -f ~/.ssh/raff_key ``` When prompted: * **Passphrase** — set one. It encrypts the private key on disk so a stolen laptop can't be used to log in. Use `ssh-agent` (`ssh-add ~/.ssh/raff_key`) so you only type it once per session * Two files are written: * `~/.ssh/raff_key` — **private** key. Never share, never paste into a web form, never commit to git * `~/.ssh/raff_key.pub` — **public** key. This is what you paste into Raff's **SSH Keys** dialog when creating a VM Print the public key to copy it: ```bash theme={null} cat ~/.ssh/raff_key.pub ``` Output looks like `ssh-ed25519 AAAAC3Nza... you@example.com` — copy the entire line into Raff's SSH Keys field. Raff accepts Ed25519, ECDSA and RSA keys (1024 bits or more) and hardware security keys (`sk-` types), one key per entry. DSA keys are not accepted. The SSH Keys page shows each key's fingerprint; to check it is the key on your computer, compare it with `ssh-keygen -lf ~/.ssh/raff_key.pub`. ### macOS / Linux — terminal ```bash theme={null} ssh root@<public-ipv4> ``` If you set up the VM with **SSH Key** auth, your matching private key authenticates automatically (e.g. `~/.ssh/id_ed25519`). If you used **Password** auth, you'll be prompted. To use a specific key file: ```bash theme={null} ssh -i ~/.ssh/raff_key root@<public-ipv4> ``` If you get **Permission denied (publickey)**, fix key permissions: `chmod 600 ~/.ssh/raff_key`. ### Windows — PuTTY 1. Download PuTTY from [putty.org](https://www.putty.org). 2. In **Host Name (or IP address)**, paste the VM's public IPv4. Port `22`, connection type **SSH**. 3. For SSH-key auth: open **Connection → SSH → Auth → Credentials** and browse to your `.ppk` private key. If you only have an OpenSSH-format key, convert it first using **PuTTYgen** (Load → Save private key as `.ppk`). 4. Click **Open**. Username `root`. PuTTY uses the key, or prompts for the password. ### Windows — built-in OpenSSH (Windows 10+ / 11) PowerShell or Command Prompt — same as macOS/Linux: ```powershell theme={null} ssh root@<public-ipv4> ``` Works if your private key is at `%USERPROFILE%\.ssh\id_ed25519` (or similar). ### Avoiding the "host authenticity" prompt with `ssh-keyscan` The first time you SSH to a new VM, OpenSSH prints something like: ``` The authenticity of host '203.0.113.10' can't be established. ED25519 key fingerprint is SHA256:abc...xyz Are you sure you want to continue connecting (yes/no)? ``` Typing `yes` is fine for interactive use, but for **automation, CI/CD, or scripted provisioning** that prompt blocks the script. Pre-populate `~/.ssh/known_hosts` with the VM's host key before connecting: ```bash theme={null} # Fetch the VM's public host keys and append to known_hosts ssh-keyscan -H <public-ipv4> >> ~/.ssh/known_hosts ``` `-H` hashes the entry so the IP isn't visible in plaintext if the file is leaked. Run once per VM after creation; subsequent SSH calls will not prompt. For Ansible / Terraform `remote-exec` provisioners, run `ssh-keyscan` as part of your bootstrap step right after the VM becomes `active`. ## 3. VNC console (graphical fallback) The VNC console connects through the hypervisor instead of the network. Use it when: * The VM has **no public IPv4** (private-only VPC) * You misconfigured the firewall or security group and locked yourself out over SSH * The SSH daemon isn't running or you've disabled it * You need single-user mode or to recover from a broken boot Open it the same way as the browser terminal — **Console** button on the detail page, or **Open Terminal** on the row Actions menu. When SSH isn't reachable, the dashboard automatically opens VNC instead and shows the OS login prompt. Close the browser tab to disconnect. ## Troubleshooting * **Connection refused** — the attached security group must allow inbound TCP/22 from your IP. * **Permission denied (publickey)** — verify your private key matches the public key uploaded at VM creation; on macOS/Linux make sure the key permissions are `600`. * **Connection timed out** — check the VM is `active`, not `passive` or `provisioning`. Confirm the public IPv4 in the dashboard hasn't changed. * **No public IP** — use the VNC console, or reach the VM through another VM in the same VPC. * **`REMOTE HOST IDENTIFICATION HAS CHANGED!`** — the VM's host key changed (typically after a Reinstall, factory reset, or new VM at the same IP). Remove the stale line: `ssh-keygen -R <public-ipv4>`, then reconnect (or re-run `ssh-keyscan` for automation). See [Troubleshooting](/products/build/virtual-machines/troubleshooting) for more. ## Next steps > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Start, stop, reboot. > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Recover access if you're locked out. # Create a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/create-a-vm Launch a new virtual machine from the Raff Platform dashboard <sub>Updated May 8, 2026</sub> Create a new VM by picking a region, an OS template, a plan, and authentication. Optional steps add storage, backups, tags, and let you launch up to 20 VMs at once. ## Before you start * A Raff Platform account * A project to deploy into (the dashboard's project picker is at the top-left, next to the **Raff Technologies** badge) * A payment method — Google Pay or a credit card (Visa, Mastercard, Amex, Diners). Applied at checkout; you don't need to pre-fund a balance. * An SSH public key on your machine, **or** a password you'll set during creation ## 1. Open the create flow From any page, click the orange **+ Create** button at the top right and choose **Instance**. The new-VM page opens with sensible defaults pre-selected. ## 2. Pick a region Pick the location closest to your users. The footer summary updates with the selected region. ![Region picker on the new-VM page](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-01-region-and-os.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=fd270d9909a5c9b29267e7be45e7bab8) A VM cannot move regions after creation; pick carefully if latency matters. See [Regions](/products/build/virtual-machines/concepts/regions) for the full availability list and how region choice affects pricing and VPCs. ## 3. Pick an OS template Pick the operating system, then the version. ![OS Template grid with the Version picker showing 3 versions available](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-02-os-template.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=71d7553d0eff75bd5413e6b664c2d4b9) **Two source tabs:** * **OS** — vanilla operating systems (no preinstalled apps) * **Marketplace** — pre-built application images (databases, web stacks, dev tools) **OS lineup:** | Linux | BSD | Windows | | - | - | - | | Ubuntu | FreeBSD | Windows Server | | Debian | | | | Fedora | | | | CentOS | | | | AlmaLinux | | | | Rocky Linux | | | | Alpine Linux | | | | openSUSE | | | **Version picker** — once you select an OS, the **Version** dropdown shows every supported version. Pick the version your application targets; defaults to the newest stable release. For Linux, multiple LTS releases per distribution are available (e.g. Ubuntu 22.04 / 24.04). For **Windows Server**, the available SKUs are: | Edition | Versions | | - | - | | **Standard** | 2019, 2022, 2025 | | **Datacenter** | 2022, 2025 | The footer summary shows the final selection (e.g. `Ubuntu 24.04×64`). ## 4. Choose size Pick the billing term, plan family, and plan. ![Choose Size: Monthly/Yearly/2-Year tabs, General Purpose vs CPU-Optimized, plan grid](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-03-choose-size.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=e8022b42f5951d2ad7178470755121d9) **Billing term** (top tabs): | Term | Discount | | - | - | | **Monthly** | — | | **Yearly** | -17% | | **2 Years** | -17% | **Plan family**: * **General Purpose** — flexible compute for websites, dev environments, and everyday workloads. * **CPU-Optimized** — guaranteed vCPU resources for production apps, databases, and consistent performance. **Plan card** — each card shows vCPU, RAM, and base NVMe SSD. Bandwidth is **unlimited** on every plan and is not part of the choice. Pick the smallest plan that fits the workload; you can [resize](/products/build/virtual-machines/quickstart-guides/resize) up later. See [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) for what each plan family includes and how to choose. The footer summary updates immediately with the picked plan and price. ## 5. Networking The defaults work for most VMs. ![Networking section: private network, public IPv4, IPv6 — and Authentication block below](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-04-networking-and-auth.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=b1a4fd0d8fec81ebb6e4bf82f16a855c) | Field | Default | When to change | | - | - | - | | **Private Network** | None | Optional. Pick an existing VPC if you want this VM to share a private network with other VMs in the same region. Skipping this leaves the VM reachable only via its public IP — fine for single-server workloads | | **Public IPv4** | Auto — Random IPv4 | Switch to a [reserved Public IP](/products/network/public-ips) for a stable address across rebuilds | | **IPv6 Address** | Off | Toggle on for dual-stack networking | ## 6. Authentication (required) Pick how you'll log in to the VM. The form blocks checkout until this is set. * **SSH Key** — recommended. Pick an existing key from your account or paste a new public key. * **Password** — username and password. Easier for one-off VMs, but less secure for production. You can change auth later, but the initial choice determines how you connect for the first time. ## 7. Additional storage (optional) Add a block volume that attaches at boot, beyond the plan's base disk. ![Additional Storage section: 50/100/150 GiB presets and custom slider, Backup section preview](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-05-storage-and-backup.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=b3b8f2de15bc07000d94525c2602a7b8) * **Presets** — None, 50, 100, 150 GiB * **Custom** — type a value or drag the slider, up to 1000 GiB * The total storage line shows base + additional and the per-month cost Skip this step if you only need the plan's base NVMe SSD. You can [attach a volume later](/products/store/volumes/quickstart-guides/attach-to-vm) without recreating the VM. ## 8. Backup (optional) Enable a recurring backup schedule. ![Backup plan: Daily or Weekly, with billing rules and free tier](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-06-backup-plan.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=dc540c5c3d87677cad7731b9ef2403e3) * **Shared free-storage pool.** Backups and snapshots share one account pool — 50 GB free plus 10% (Standard) or 15% (Premium) of each VM's disk. Same for Daily and Weekly schedules. * **\$0.06/GB/mo** for combined backup + snapshot storage above the pool. * **Daily and Weekly cost the same per GB** — pricing is by storage, not by frequency. Pick by your RPO: Daily = up to 24h of data loss in a worst case, Weekly = up to 7 days. ## 9. Quantity, tags, hostnames Launch up to 20 VMs at once and label them for filtering. ![VM Quantity, Tags, and Hostnames section](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-07-quantity-and-tags.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f11d16f0d17a49724a939519935277d6) * **VM Quantity** — 1 to 20 VMs from this configuration. Each becomes its own VM with its own IP. * **Tags** — free-form labels for filtering in the VM list (`prod`, `web`, `customer-acme`). Press Enter, Space, or Comma to add. * **Hostnames** — auto-generated as `<os>-<cpu>-<ram>-NN`; edit per-VM if you want specific names. Allowed: `A-Z`, `a-z`, `0-9`, hyphen. 3-63 characters. ## 10. Proceed to checkout and pay Click **Proceed to Checkout** in the footer summary bar. The checkout page opens with the order summary on the right and the payment form on the left. ![Checkout page: payment method on left, order summary on right](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/create/create-a-vm-08-checkout.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f72588ff0e90c23ffa32e88dd714c883) **Order Summary** (right side) shows what you're buying and how it's paid: | Line | What it means | | - | - | | **Plan + OS** | The plan, region, and OS you picked | | **Monthly / Yearly / 2 Years** | The billing term | | **Subtotal** | Full price for the term | | **Account Balance** | How much of your existing balance is applied — `\$0.00` if none | | **Card Charge** | The remainder charged to the card on this checkout | **Payment Method** (left side) — pick one: * **Subscribe with G Pay** — one-click Google Pay * **Use saved cards** — any card you've used before; auto-charges with the saved CVC * **Add new** — enter card number, expiry, CVC, and name. The card is saved to your account for future payments; remove it any time from **Settings → Payment Methods**. Click **Proceed** to confirm. By confirming, you authorise Raff Technologies LLC to charge the card for this and future renewals. The VM starts provisioning immediately. Returns are covered by the **14-day money-back guarantee** shown on the checkout page. ## After launch The VM transitions through these states before it's reachable: | Status | Description | | - | - | | `provisioning` | Resources being allocated | | `booting` | VM is booting up | | `initiating` | Initial setup running | | `active` | Ready to use | Provisioning typically takes 30-90 seconds depending on template and region. Once `active`, the VM detail page shows the public IPv4 you'll use to connect. ## Next steps > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Open a shell on a Linux VM. > [card] [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) > > Open a Remote Desktop session to a Windows VM. > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Start, stop, reboot. > [card] [Enable backups later](/products/build/virtual-machines/quickstart-guides/enable-backups) > > Skip backups now? Turn them on after the fact. # Create a snapshot Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/create-snapshot Capture a point-in-time copy of a VM's OS disk or a volume's contents <sub>Updated October 20, 2026</sub> A snapshot is a point-in-time copy of a VM's OS disk or a volume's contents. Use snapshots as restore points before risky changes — kernel upgrades, OS package changes, schema migrations — or as the starting point for a clone. For automated, scheduled protection use [backups](/products/build/virtual-machines/quickstart-guides/enable-backups). See [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) for when to pick which. ## Before you start > [!NOTE] > > **A snapshot can be taken while the VM is `active` (running) or `passive` (stopped).** For a volume snapshot, the VM the volume is attached to must be running or stopped. A snapshot of a stopped VM is the most consistent: nothing writes to the disk while it is taken. Snapshots taken while the VM is running are **crash-consistent**, not application-consistent — quiesce databases or freeze writes first if you need a clean capture (e.g. `mysql FLUSH TABLES WITH READ LOCK`, `pg_start_backup()`). ## Three ways to start ### a. Top-level Snapshots tab — pick any resource From the **Compute Resources** page, switch to the **Snapshots** tab and click **+ Create Snapshot**. ![Compute Resources Snapshots tab showing the empty state and Create Snapshot button](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/create-snapshot-01-snapshots-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=54f5d3505bdf96d00272a07d2e087bfa) The dialog asks you to pick what kind and which resource: ![General Create Snapshot dialog with Type, Resource, and Name fields](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/create-snapshot-02-dialog-general.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=c6b476c7f8e462727fa1a8bd78697c5d) | Field | What to set | | - | - | | **Type** | Virtual Machine or Volume | | **Resource** | The specific VM or volume (only `active` VMs are listed) | | **Name** | Optional — a default is generated from the resource if you leave it blank | ### b. VM detail page → Snapshot quick button The top action bar of every VM detail page has a **Snapshot** button — the fastest path when you're already on the VM. ### c. VM detail page → Snapshots tab Same VM detail page, the **Snapshots** tab lists every snapshot of this VM and has its own **+ Create Snapshot** button. ![VM detail page Snapshots tab with the Create Snapshot button on the right](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/create-snapshot-03-vm-detail-snapshots-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=5955e8aaabaa63c1d420efbb8437c2c5) Paths **b.** and **c.** open a **VM-scoped** dialog that's already pre-filled with the current VM and a generated name like `vm-<name>-MM-DD-YY`: ![VM-scoped Create Snapshot dialog pre-filled with the current VM and auto-generated name](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/create-snapshot-04-dialog-vm-scoped.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f2aa32387e1cab07943b4b8661653026) Tweak the name if you want, then click **Create Snapshot**. ## What happens after you confirm | Status | Meaning | | - | - | | `creating` | Capture in progress — typically 1–2 minutes, scales with the size of the disk being captured (backups, by comparison, average \~3 minutes) | | `ready` | Stored and restorable | | `failed` | Capture didn't complete; safe to delete | From the Snapshots list (top-level tab) or the VM's Snapshots tab, each snapshot row has actions for **Restore**, **Save as Image**, and **Delete**. ## Pricing Snapshots are billed by **GB-hour** — the size of the snapshot in GB times the hours it's stored. * The meter starts the moment a snapshot reaches `ready` and runs continuously until you delete it. * The billing cycle closes at the **end of each calendar month**. * The previous month's snapshot bill is settled on the **1st of the next month**: it's deducted from your account balance, and any remainder is charged to your saved card. * A 50 GB snapshot kept all month costs the same as a 100 GB snapshot kept for half a month — same total GB-hours. Idle snapshots are the most common source of surprise charges. Delete the ones you no longer need, or **Save as Image** if you want a permanent template (images are billed differently). ## Naming convention The auto-generated name pattern is `vm-<vm-name>-MM-DD-YY` (e.g. `vm-finance-05-03-26`). Replace it when you want context — e.g. `finance-pre-kernel-upgrade` or `finance-prod-2026-q2`. Names don't need to be unique across your account. ## Next steps > [card] [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > When to use which. > [card] [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) > > Schedule recurring captures instead. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > How snapshots fit into the wider storage stack. # Delete a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/delete-vm Permanently destroy a virtual machine, decide what to do with its volumes and VPCs, and credit unused subscription time back to your balance <sub>Updated May 8, 2026</sub> Deleting a VM removes it from your account and stops billing. The dashboard walks you through a **two-step confirmation** that lets you decide what to do with the VM's attached volumes and VPCs at the same time. On a subscription, the unused days and hours of the current term are credited back to your account balance. ## Before you delete — keep a recovery option > [!WARNING] > > Deletion is permanent. The VM's OS disk **and all of its snapshots** are destroyed. Plan recovery before you click destroy, not after. Two ways to keep a path back: | Option | What survives | How to recover later | | - | - | - | | **Take a backup first** | A retained backup of the VM's disk | Contact [support](mailto:support@rafftechnologies.com) — Raff support can use the backup to create a new VM with all your data and installation intact | | **Save a snapshot as an image** (do this *before* deleting) | A reusable custom image | Create a new VM from the image any time — see [Save VM disk as image](/api-reference/endpoint/save-vm-disk-as-image) | If you only care about specific files (not the whole VM), back them up to [Object Storage](/products/store/object-storage) or off-platform before deleting. ## Three ways to start ### a. VM detail page → Destroy tab Open the VM detail page, click the **Destroy** tab (last tab in the secondary nav). ![VM detail page Destroy tab with the permanent-action warning and the red Destroy VM button](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/delete/delete-vm-01-destroy-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=154e0582dcada6e9f5284aad17c5bc7c) Click the red **Destroy VM** button to start the two-step confirmation. ### b. Instance list → row Actions menu → Destroy Open the row's **⋮** menu and pick **Destroy** (in red, at the bottom). ![Instance list row Actions menu showing Destroy in red at the bottom](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) This redirects you to the **Destroy** tab on the VM detail page — same confirmation flow as path **a**. ### c. Bulk — multiple VMs at once In the Instances list, tick the checkbox on multiple VM rows. The bulk toolbar at the top shows **Delete Selected**. ![Instance list with two VMs checked and the bulk toolbar showing Stop 2 and Delete Selected](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/manage-power-02-bulk-select.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f7069b968d86e926512c31171d36635e) Bulk delete uses the **same two-step confirmation** described below — the volume / VPC handling choices you make apply to **every** VM in the selection. ## Step 1 — Type the VM name to confirm A "Destroy VM" dialog opens. Type the VM's exact name to enable the **Confirm** button. ![Destroy VM dialog with the VM name field, a confirmation text input, and a Subscription Billing notice that remaining days return to your account balance](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/delete/delete-vm-02-confirm-name.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=5c39114138dda14cd31f70b8938e046e) Two things on this screen: * **Type the VM name to confirm** — copy or type the name exactly. Prevents accidental deletes. * **Subscription Billing** notice — reminder that your current subscription will be cancelled and the remaining days will return to your account balance (not your card). Click **Confirm** to advance to step 2. ## Step 2 — Final Confirmation: volumes and VPCs The "Final Confirmation" dialog asks you to decide what happens to **attached volumes** and **attached VPCs** *along with* the VM. This is the part most users miss the first time — the choices you make here are made together with the VM destroy, in one operation. ![Final Confirmation dialog showing what will be deleted, attached volumes block, attached VPCs block with Keep VPCs and Delete VPCs (recommended) options, and a red Destroy VM button](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/delete/delete-vm-03-final-confirmation.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=057166a9194f8e5c92df65537dfa67f6) ### Attached volumes If the VM has attached volumes, you choose what happens to each one: | Option | Effect | Use when | | - | - | - | | **Detach (keep volume)** | Volume detaches from the VM and stays in your account, ready to attach to another VM in the same region | The data on the volume should outlive this VM | | **Delete volume** | Volume is permanently destroyed along with the VM — every byte gone | The volume is throwaway / scratch storage / specific to this VM only | A volume can only be attached to one VM at a time, so detaching here makes it available to attach to a different VM later (data preserved). Deleting is the equivalent of running [Delete a volume](/products/store/volumes/quickstart-guides/delete-volume) immediately after the VM destroy — same one-way destruction. If the VM has **no attached volumes**, this section shows "No attached volumes" and there's nothing to choose. ### Attached VPCs The dialog lists every VPC the VM is currently in. You choose: | Option | Effect | | - | - | | **Keep VPCs** | VPCs remain in your account, available for other VMs | | **Delete VPCs (recommended)** | VPCs are permanently deleted with the VM | **Critical safety rule** — even if you select **Delete VPCs**, the platform **preserves any VPC that still has another VM attached**. Only VPCs with no remaining VMs are actually deleted. This protects shared VPCs from accidental deletion when you're tearing down one of several VMs that share the same network. The "recommended" label assumes the VPC was created for this single VM. If you have a multi-VM stack on the same VPC, leaving **Keep VPCs** selected is the safer choice — though as noted, the platform also won't let you accidentally delete a still-in-use VPC. ### Confirm Click the red **Destroy VM** button. The VM and the elements you selected are removed; the VPC safety rule applies as described. ## What happens on delete | Resource | Result | | - | - | | **VM and OS disk** | Destroyed | | **VM snapshots** | Deleted with the VM | | **Attached volumes** | **Per your choice in step 2** — detach (kept) or delete (destroyed) | | **Attached VPCs** | **Per your choice in step 2**, *and* preserved automatically if any other VM still uses them | | **Public IPv4 / IPv6** | Released back to the regional pool — cannot be reclaimed | | **Subscription** | Closed; unused days and hours credited back to your account balance | | **PAYG billing** (if applicable) | Stops immediately | | **Backups** | Retained according to their backup retention policy | | **Public IPs** | Detached but **not** released — you keep paying for the reservation until you release them separately | ## Bulk delete — same two-step flow When you select multiple VMs and click **Delete Selected**, the same two-step dialog runs once. The choices you make (keep/delete volumes, keep/delete VPCs) **apply to every selected VM**: * "Delete VPCs" → applies to every selected VM's VPCs, with the same per-VPC safety rule (preserved if a non-selected VM still uses it). * "Detach volumes" → every attached volume across the selection is detached (kept). * "Delete volumes" → every attached volume across the selection is destroyed. If your selection mixes VMs that should be torn down completely with VMs that share a VPC with others *outside* the selection, the safety rule still protects the still-in-use VPCs even with **Delete VPCs** selected — but for clarity, do the destructive batch first and the surgical ones separately. ## Cleanup after delete If you opted to keep volumes, VPCs, or Public IPs, those keep billing until you remove them: * **Volumes** — see [Delete a volume](/products/store/volumes/quickstart-guides/delete-volume). * **Public IPs** — [release](/products/network/public-ips/quickstart-guides/release-ip) them if not reused on another VM. * **Backups** — survive per their retention. Keep one if you might want support to restore the VM later; otherwise delete from the [Backups tab](/products/build/virtual-machines/quickstart-guides/enable-backups) to stop the storage meter. * **Backup schedules** — orphaned schedules pointing at the destroyed VM should be removed from **Compute Resources → Backups → Scheduled Backups**. ## Subscription credit on delete When the VM is on a subscription term (Monthly, Yearly, 2-Year), deleting in the middle of the term credits the unused days and hours back to your **account balance**. The credit is immediate and can fund another VM, top up a different subscription, or sit until the next renewal cycle. It is not refunded to your card. If the VM was running on PAYG, billing simply stops at the minute of deletion. ## Restore a deleted VM You can't undelete from the dashboard. To get back to a working VM: 1. **From a backup** — contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with the backup name or ID. Support can spin up a new VM from the backup with the same disk contents and installed software. 2. **From an image** — if you saved the VM's disk as an image before deleting, create a new VM and pick the image under [OS template → Marketplace / Custom images](/products/build/virtual-machines/quickstart-guides/create-a-vm#3-pick-an-os-template). 3. **From scratch** — if you have neither, start over with [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm). ## Next steps > [card] [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) > > Plan recovery before you need it. > [card] [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Spin up a replacement. # Enable backups Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/enable-backups Run an instant backup, schedule recurring daily or weekly backups, and manage retention <sub>Updated May 8, 2026</sub> Backups are managed copies of a VM's OS disk. Two flavours: | Type | When it runs | Use for | | - | - | - | | **Instant Backup** | On demand, one-off | Pre-change capture, ad-hoc protection | | **Scheduled Backup** | Recurring (Daily / Weekly) at a time you pick | Routine protection without remembering to run them | Each VM can have **multiple schedules** running side by side (for example a Daily schedule for short-cycle protection plus a Weekly schedule for long-cycle retention). For one-off lower-overhead captures with no schedule and no retention policy, see [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot). For when to use which, see [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups). ## Two places to manage backups ### a. VM detail page → Backups tab — single VM Open the VM detail page and switch to the **Backups** tab. Two action buttons sit at the top right: ![VM detail page Backups tab with Instant Backup and Schedule Backup buttons](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/enable-backups-01-vm-detail-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=96042ab08191133a1bfb5af32b3f17a9) * **+ Instant Backup** — capture now, one-off * **Schedule Backup** — recurring schedule Below, every backup of this VM is listed with creation date, size, expiry, and a per-row actions menu. ### b. Compute Resources → Backups — account-wide The top-level **Backups** tab in **Compute Resources** is the central hub for every VM's backups across the account. ![Compute Resources Backups tab with VM Backups sub-tab showing the Finance VM and 1 free backup](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/enable-backups-04-account-vm-backups.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=5d7542f2968d8041ed4c46e4d5ef16a9) Two sub-tabs: * **VM Backups** — every individual backup grouped by VM, with size totals and estimated monthly cost. * **Scheduled Backups** — every active schedule across the account. ![Scheduled Backups sub-tab with the row Actions menu showing Update Schedule, Update Retention, and Delete](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/enable-backups-05-account-schedules.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=22a534cd9d32fb258e9193f9bd66f2b3) The same **+ Instant Backup** and **Schedule Backup** buttons live here too. From the global view they prompt you to pick which VM to back up. ## Run an instant backup Click **+ Instant Backup** from either entry point. ![Create Instant Backup dialog with Virtual Machine and Backup Name fields and an About panel](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/enable-backups-03-instant-dialog.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=fd0a64b3ba7a8eab0ddc15978127e687) | Field | Value | | - | - | | **Virtual Machine** | The target VM (pre-filled when launched from a VM detail page) | | **Backup Name** | Default `manual-backup-(YYYY-MM-DD)`; rename for context (e.g. `pre-kernel-upgrade`) | Click **Create Backup**. Capture takes several minutes; the new backup appears in the list with `creating` status, then `ready`. Instant backups are retained according to your VM's retention policy — the same policy that scheduled backups use. ## Schedule recurring backups Click **Schedule Backup**. ![Schedule Backup dialog with Virtual Machine, Backup Name, Frequency (Daily), Time Window, and Retention (Days) fields](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/snapshots-backups/enable-backups-02-schedule-dialog.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=c51a5b1438abe63328a61207fefbdf62) | Field | Options | | - | - | | **Virtual Machine** | The VM to back up (pre-filled from the detail page) | | **Backup Name** | Default `<frequency>-backup-YYYY-MM-DD` (e.g. `daily-backup-2026-05-03`) | | **Frequency** | `Daily` or `Weekly` | | **Time Window** | The hour the backup runs (e.g. 12:00 AM) | | **Retention (Days)** | 1 - 365 | Older backups beyond the retention window are auto-deleted on a rolling basis. Click **Schedule Backup** to activate. ### Multiple schedules per VM Add as many schedules as you need on the same VM — they run independently. A common pattern: | Schedule | Frequency | Retention | Why | | - | - | - | - | | Short-cycle | Daily | 7 days | Recover from yesterday's bad deploy | | Long-cycle | Weekly | 90 days | Quarterly compliance, deep recovery | Both run; their storage counts together against your shared free pool, with the per-GB rate applied only above it. ## Manage existing schedules On **Compute Resources → Backups → Scheduled Backups**, each schedule's row has a 3-dot Actions menu: | Action | Effect | | - | - | | **Update Schedule** | Change frequency (Daily ↔ Weekly) and time window | | **Update Retention** | Change the number of days backups are kept (1 - 365) | | **Delete** | Stop the schedule. Backups already taken stay until they age out per the original retention. | Frequency, time, and retention can be edited any time — no need to delete and recreate. ## Pricing * **Shared free-storage pool.** Backups and snapshots draw from one account pool: 50 GB free, plus 10% (Standard) or 15% (Premium) of each VM's disk. The pool shrinks when a VM is deleted but never below 50 GB. * **\$0.06/GB/month** for combined backup + snapshot storage **above** the pool — you're billed only for the excess. * **Daily and Weekly cost the same per GB** — pricing is by storage, not by frequency. Pick by your recovery point objective: Daily = up to 24 hours of data loss in a worst case, Weekly = up to 7 days. * The **Estimated Monthly Cost** column on the VM Backups view projects what a full month at the current storage would cost. Charges accrue continuously and settle at the **end of each calendar month**, with the previous month billed on the **1st** — applied against your account balance first, with any remainder charged to your saved card. ## Backup vs Snapshot | | Backup | Snapshot | | - | - | - | | Trigger | Manual *or* scheduled | Manual only | | Schedule | Yes (Daily / Weekly) | None | | Retention policy | Configurable (1 - 365 days) | Until you delete it | | Free tier | Shared account pool (backups + snapshots) | Shared account pool (backups + snapshots) | | Pricing | \$0.06/GB/month above the pool | \$0.06/GB/month above the pool | | Best for | Routine protection | Restore points before risky changes | ## Next steps > [card] [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > Decision framework. > [card] [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) > > One-off, on-demand capture. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > Backups are the only thing that survives delete-VM. # Factory reset Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/factory-reset Reinstall the same OS on a VM with a clean disk while keeping volumes, snapshots, and backups <sub>Updated May 8, 2026</sub> Factory Reset wipes the VM's OS disk and reinstalls **the same** OS template fresh. Everything outside the OS disk — attached volumes, backups, volume snapshots, and IP addresses — is preserved. Use it when you want a clean OS state without changing OS templates or losing your protective copies. ## Factory Reset vs Reinstall | | Factory Reset | Reinstall (Change OS) | | - | - | - | | OS template | Same as before | Pick a new one (or same) | | OS disk | Wiped | Wiped | | Attached volumes | Preserved | Preserved | | Backups | **Preserved** | **Deleted** | | Volume snapshots | **Preserved** | **Deleted** | | VM (OS-disk) snapshots | Deleted | Deleted | | Network and IPs | Preserved | Preserved | | VM specs (CPU/RAM/disk) | Preserved | Preserved | | Steps in dialog | 1 (single confirm) | 3 (OS → auth → confirm) | | Downtime | 15 seconds — 3 minutes | 1 — 5 minutes | If you want to keep your backups and volume snapshots, **use Factory Reset** instead of Reinstall. ### "Same OS template" means the *original* one Factory Reset always reinstalls the **template the VM was originally created with** — not the most recent template. This matters when a VM has been reinstalled to a different template at some point in its life: * Created with **Ubuntu 24.04** → reinstalled to **Debian 12** → factory-reset * Result: **back to Ubuntu 24.04**, not Debian 12 Verified in `services/vm-service/internal/services/vm_service.go` (`FactoryResetVM` reads `OriginalTemplateID`). If you want to keep the most recent OS template, use [Reinstall](/products/build/virtual-machines/quickstart-guides/reinstall) and pick the template you currently have. If you want to wipe back to the original, use Factory Reset. ## Where to find it Factory Reset lives only on the VM detail page (it's not in the row's 3-dot menu — Reinstall OS is the only OS action there). Open the VM detail page → **Actions** tab → scroll to **System Operations** → on the **Factory Reset** card, click **Factory Reset**. ## The dialog A single confirmation dialog opens. There's no OS picker and no auth step — it reuses what's already on the VM. ![Factory Reset dialog showing what's preserved and reset, the unavailability warning, and the acknowledgement checkbox](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/factory-reset-01-dialog.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=1bc11be3255227cd1531d100faf96a19) **What's preserved:** * All attached volumes and data * Backups and volume snapshots * Network configuration and IPs **What's reset:** * Operating system disk * VM snapshots (OS-disk snapshots only) * Installed software and configurations Tick the acknowledgement and click **Factory Reset**. Expect 15 seconds to 3 minutes of downtime. See [Storage model](/products/build/virtual-machines/concepts/storage-model) for the full picture of what survives this and other lifecycle events. ## What about VM snapshots? Factory Reset deletes **VM snapshots** (point-in-time copies of the OS disk) because they reference the disk being wiped. **Volume snapshots** and **backups** survive — they live independently. If you have a VM-level snapshot you want to keep, restore from it before factory-resetting, or save it as an image first via [Save VM disk as image](/api-reference/endpoint/save-vm-disk-as-image). ## After * The VM transitions `provisioning` → `booting` → `active`, typically under 3 minutes. * Public IPv4 unchanged — DNS records still point to the right place. * Login is back to the regenerated root / Administrator password (emailed) or your existing SSH key, depending on what was set on the VM before the reset. * Attached volumes are still attached but may need re-mounting in the new OS — `/etc/fstab` is gone. ## Next steps > [card] [Reinstall a VM](/products/build/virtual-machines/quickstart-guides/reinstall) > > Switch OS templates instead. > [card] [Snapshots vs Backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > What's protected by which. # Initial server setup (Linux) Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/initial-server-setup Harden a fresh Linux VM in 10 minutes — non-root user, key-only SSH, firewall, automatic security updates <sub>Updated May 8, 2026</sub> A fresh Raff Linux VM ships ready-to-run, but you should harden it before exposing services. This guide takes a brand-new VM from create to a state safe for production, in about 10 minutes. Steps are written for Ubuntu / Debian; equivalents for RHEL family (CentOS / AlmaLinux / Rocky) are noted inline. For Windows VMs, the equivalent hardening is built into Windows Server defaults; the work is in the dashboard side ([Reset password](/products/build/virtual-machines/quickstart-guides/reset-password), Firewall). ## Before you start * VM is `active` — see [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) * You can SSH in as `root` (or you've added an SSH key in the create flow) * An SSH public key on your local machine for the new user ## 1. Connect as root ```bash theme={null} ssh root@<public-ipv4> ``` If this is your first time on the VM, accept the host key fingerprint. ## 2. Update the system Get the latest security patches before doing anything else. **Ubuntu / Debian:** ```bash theme={null} apt update && apt upgrade -y ``` **RHEL family:** ```bash theme={null} dnf upgrade -y ``` If the kernel updated, plan a reboot at the end of the steps. ## 3. Create a non-root user with sudo Running as `root` over SSH is a known-bad practice. Create a real user and give it `sudo`. **Ubuntu / Debian:** ```bash theme={null} adduser raff # prompts for password usermod -aG sudo raff ``` **RHEL family:** ```bash theme={null} adduser raff passwd raff usermod -aG wheel raff ``` ## 4. Copy your SSH public key to the new user From your **local** machine (not the VM): ```bash theme={null} ssh-copy-id raff@<public-ipv4> ``` If `ssh-copy-id` isn't available, do it manually on the VM: ```bash theme={null} mkdir -p /home/raff/.ssh cat >> /home/raff/.ssh/authorized_keys <<EOF ssh-ed25519 AAAA...your_public_key... user@local EOF chown -R raff:raff /home/raff/.ssh chmod 700 /home/raff/.ssh chmod 600 /home/raff/.ssh/authorized_keys ``` Test the key login from a **new terminal**: ```bash theme={null} ssh raff@<public-ipv4> sudo -i # confirm sudo works ``` Don't close the original root session until the test succeeds. ## 5. Lock down SSH Edit `/etc/ssh/sshd_config`: ```bash theme={null} sudo vi /etc/ssh/sshd_config ``` Set or change: ``` PermitRootLogin no PasswordAuthentication no PubkeyAuthentication yes ``` Reload SSH (use `systemctl restart` if `reload` doesn't pick up changes): ```bash theme={null} sudo systemctl reload ssh # Ubuntu / Debian sudo systemctl reload sshd # RHEL family ``` > [!WARNING] > > Confirm the new user can still log in *before* closing your existing session. If you mis-edit `sshd_config` and lock yourself out, recover with the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback) — you can log in there as `root` with the password from the [Credentials panel](/products/build/virtual-machines/quickstart-guides/reset-password). ## 6. Set up a firewall Define a default-deny inbound policy and explicitly allow what you need. **Ubuntu / Debian — UFW:** ```bash theme={null} sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow OpenSSH # opens 22/tcp # Add per-app rules: # sudo ufw allow http # sudo ufw allow https sudo ufw enable sudo ufw status ``` **RHEL family — firewalld:** ```bash theme={null} sudo firewall-cmd --permanent --add-service=ssh # sudo firewall-cmd --permanent --add-service=http # sudo firewall-cmd --permanent --add-service=https sudo firewall-cmd --reload sudo firewall-cmd --list-all ``` The Raff [Firewall Group](/products/network/firewall) on the network interface and the inside-the-VM firewall stack independently — you need both to allow a port for traffic to reach the service. Most users keep the SG broad and use the OS firewall for fine-grained control, or the reverse. Don't open ports in both layers without thinking through what's exposed. ## 7. Confirm automatic security updates Raff Ubuntu and Debian images ship with `unattended-upgrades` enabled for the security pocket. Confirm it is on: ```bash theme={null} systemctl is-enabled unattended-upgrades cat /etc/apt/apt.conf.d/20auto-upgrades ``` On the RHEL family, enable `dnf-automatic`: ```bash theme={null} sudo dnf install -y dnf-automatic sudo systemctl enable --now dnf-automatic.timer ``` ## 8. Confirm fail2ban Raff Ubuntu and Debian images ship with `fail2ban` and the `sshd` jail active (5 failures in 10 minutes → 10 minute ban). Check it and see who has been knocking: ```bash theme={null} sudo fail2ban-client status sshd ``` Tune `/etc/fail2ban/jail.local` if you want longer ban times. On the RHEL family install it yourself: ```bash theme={null} sudo dnf install -y fail2ban fail2ban-firewalld sudo systemctl enable --now fail2ban ``` ## 9. Set the timezone (optional) ```bash theme={null} sudo timedatectl set-timezone Europe/Istanbul # or UTC, America/New_York, etc. timedatectl ``` UTC is the safe default for servers. Pick a local zone only if you really need it for cron schedules or log readability. ## 10. Reboot If the kernel updated in step 2 (or if you're paranoid about pending changes): ```bash theme={null} sudo reboot ``` After reboot, reconnect as `raff` and confirm everything's still working. ## You're done — checklist * [x] System fully patched * [x] Non-root user with sudo and SSH key login * [x] Root SSH login disabled * [x] Password SSH login disabled * [x] Firewall enabled with default-deny inbound * [x] Automatic security updates running * [x] fail2ban running (preinstalled on Raff Ubuntu/Debian images) * [x] (Optional) sensible timezone Your VM is now in roughly the same shape as a freshly-provisioned production host at any cloud you'd come from. ## Next steps > [card] [Firewall](/products/network/firewall) > > Tighten the platform-level firewall to match your OS firewall. > [card] [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) > > Schedule daily or weekly backups before going live. > [card] [Monitoring & metrics](/products/build/virtual-machines/concepts/monitoring-and-metrics) > > Read your VM's CPU/RAM/network from the dashboard. > [card] [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) > > What to do if the firewall or SSH config locks you out. # Manage power Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/manage-power Stop, start, and reboot virtual machines from the dashboard <sub>Updated May 8, 2026</sub> You can change a VM's power state from three places: 1. **VM detail page** — the top-right **Running** toggle, or the **Power** tab 2. **Instance list row** — the 3-dot Actions menu 3. **Bulk selection** — tick checkboxes and use the toolbar to act on many VMs at once ## 1. From the VM detail page The detail page has two power controls: * **Running toggle** (top right) — flip it off to power down, on to power up. Quickest path. * **Power** tab — full panel with the explanatory copy and a single big **Turn Off VM** / **Turn On VM** button. ![VM detail page on the Power tab, with the Running toggle top right and the Turn Off VM button](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/manage-power-01-power-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=34b4b0453a731c232112b130dbdd642a) The top action bar also has a **Restart** button — a soft reboot (graceful when possible). ## 2. From the row Actions menu In the **Instances** list, click the **⋮** at the right end of any VM row. The menu includes **Stop**, **Restart**, and the other per-VM actions. ![Instance list with the row Actions menu open showing Stop and Restart options](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) This is the fastest path to stop or restart a single VM without leaving the list. ## 3. Bulk — multiple VMs at once Tick the checkbox on several rows. A toolbar appears at the top of the list with bulk options: * **Stop N** — stop every selected VM * **Delete Selected** — destroy every selected VM (irreversible) * **Clear** — deselect all ![Instance list with two VMs checked and the bulk toolbar showing Stop 2 and Delete Selected](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/manage-power-02-bulk-select.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f7069b968d86e926512c31171d36635e) Use this for batch maintenance — e.g. stopping a whole stack of VMs at the start of a maintenance window. ## How shutdown actually works Stopping from the control panel triggers a **graceful shutdown first**. If the OS doesn't acknowledge in time, the platform falls back to a **forced shutdown** — which can corrupt open files or in-flight database writes. For production VMs, prefer issuing the shutdown from inside the VM: * **Linux:** `sudo poweroff` (or `sudo shutdown -h now`) * **Windows:** `Shutdown /s /t 0` from PowerShell, or **Start → Power → Shut down** Once the OS finishes its clean shutdown, the platform marks the VM `passive`. ## What's preserved while stopped | Resource | State while `passive` | | - | - | | Disk contents | Retained | | Public IPv4 | Held, not released | | CPU, RAM, disk slot | Reserved on the hypervisor | | Bandwidth | Unlimited outbound on every plan, regardless of state | ## Billing while stopped Stopped VMs (`passive`) are **still billed** under their subscription — stopping does not prorate or pause charges. To stop charges, [delete the VM](/products/build/virtual-machines/quickstart-guides/delete-vm); unused subscription days and hours are credited back to your account balance. ## Status reference | Status | Description | Billable | | - | - | - | | `active` | Running and accessible | Yes | | `passive` | Stopped, resources reserved | Yes | | `provisioning` | Being created | Yes | | `booting` | Starting up | Yes | | `initiating` | Initial setup | Yes | | `finalizing` | Shutting down | Yes | | `failure` | Failed operation | No | | `unknown` | Unhandled state | No | See [Lifecycle states](/products/build/virtual-machines/concepts/lifecycle-states) for the full transition diagram. ## Next steps > [card] [Resize a VM](/products/build/virtual-machines/quickstart-guides/resize) > > Change CPU and RAM (requires stop). > [card] [Delete a VM](/products/build/virtual-machines/quickstart-guides/delete-vm) > > Permanently remove a VM. # Add or remove SSH keys on a server Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/manage-ssh-keys See, add and remove the SSH keys that can sign in to a running Linux server as root, without a restart <sub>Updated October 21, 2026</sub> Give a colleague access to a server, take a departed contractor's key off every server, or check which keys can sign in as root. Raff changes the keys in the running server at once, without a restart and without signing in to it. ## Where to find it Open the server, then **Security → SSH keys · root**. The list is read from the server itself, so a key someone added on the server by hand shows too, as **Added on the server**. Keys you saved in your account show by their name. From **SSH Keys** in the left menu you can put one saved key on several servers at once, or take it off them. ## Add a key to a server 1. On the server's **Security** tab, click **Add key**. 2. Pick a **Saved key**, or paste a **New key** (the whole line of your `.pub` file). For a new key, tick **Also save it to my SSH keys** to use it on other servers later. 3. Click **Add key**, check the key and the server, and **Confirm and add**. The key works at once: `ssh root@<server-ip>` with its private key signs in. The key also goes into the server's settings, so a factory reset keeps it. ## Remove a key from a server 1. On the server's **Security** tab, click **Remove** next to the key. 2. Confirm. root can no longer sign in with that key. It stays in your saved keys, and other servers keep it. Raff also takes the key out of the server's settings, so it does not come back when the server restarts. > [!WARNING] > > Removing the last key needs an extra tick. A server created with only an SSH key has password sign-in turned off, so nobody could sign in over SSH afterwards. The [browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console) still works once you [reset the password](/products/build/virtual-machines/quickstart-guides/reset-password). ## A key on many servers On the **SSH Keys** page, each saved key shows the servers where Raff last saw it. Raff does not scan your servers in the background: it records a server's keys when you create or reinstall it, when you change them through Raff, and whenever it reads them. **Check now** reads every running Linux server in the project. From a key's menu: * **Put on servers...** reads your Linux servers, then adds the key to the ones you pick. * **Remove from servers...** shows the servers that have the key and removes it from the ones you pick. A server where it is the only key is left out: remove it there from the server's Security tab. * **Delete** takes the key out of your saved keys. Servers that have it keep accepting it, so the dialog offers to remove it from them first. **Add SSH Key** still only saves the key unless you choose **Save it and put it on servers now**. ## Who can do it, and how you know * **Seeing** a server's keys needs permission to view the server. **Adding and removing** keys needs the **Manage SSH keys on servers** permission (`vm.ssh_keys`), which the Project Admin and Operator roles have. Add it to a custom role in **Team & Access → Roles**. * Each add and remove in the dashboard asks for your **two-factor code**. One code counts for 10 minutes, so putting a key on several servers asks once. Without two-factor authentication on your account, the dashboard asks you to set it up first. * Every change emails the account owner (which key, which server, who changed it) and is written to your account's audit log. ## Requirements * **A running Linux server.** SSH keys are not managed on Windows servers. A stopped server shows its keys again once it runs. * **The QEMU guest agent running in the server.** Raff's images run it. If you removed it, the Security tab shows the command to turn it on again: ```bash theme={null} sudo apt update && sudo apt install -y qemu-guest-agent && sudo systemctl enable --now qemu-guest-agent ``` On AlmaLinux and Rocky Linux use `sudo dnf install -y qemu-guest-agent` instead. * **On AlmaLinux, Rocky Linux and Fedora, SELinux must let the guest agent manage SSH keys.** Servers created from October 21, 2026 have it. On an older one, the Security tab shows this command; run it once: ```bash theme={null} sudo setsebool -P virt_qemu_ga_manage_ssh on ``` ## From the API, CLI and Terraform ```bash API theme={null} # List the keys on a server curl https://api.rafftechnologies.com/api/v1/vms/<vm-id>/ssh-keys \ -H "X-API-Key: $RAFF_API_KEY" # Add a saved key (its ID) or a public key; save_as also saves a new key to your account curl -X POST https://api.rafftechnologies.com/api/v1/vms/<vm-id>/ssh-keys \ -H "X-API-Key: $RAFF_API_KEY" -H "Content-Type: application/json" \ -d '{"ssh_key": "ssh-ed25519 AAAA... you@laptop", "save_as": "laptop"}' # Remove a key by its fingerprint, slashes included curl -X DELETE "https://api.rafftechnologies.com/api/v1/vms/<vm-id>/ssh-keys/SHA256:KH7zm92O0/dbuPCSkvuS9zdDvBneuFaHt+qwZbp8OYU" \ -H "X-API-Key: $RAFF_API_KEY" ``` ```bash CLI theme={null} raff vm ssh-keys list <vm-id> raff vm ssh-keys add <vm-id> --key-file ~/.ssh/id_ed25519.pub --save-as laptop raff vm ssh-keys remove <vm-id> --fingerprint SHA256:KH7zm92O0/dbuPCSkvuS9zdDvBneuFaHt+qwZbp8OYU ``` In Terraform, change `ssh_keys` on a [`raff_vm`](/reference/terraform/raff_vm): the keys are added and removed on the running server without recreating it. API keys do not need a two-factor code; creating an API key does. ## Troubleshooting | What you see | What to do | | - | - | | The guest agent is not running | Run the command above in the server (through SSH or the [browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console)), then click **Check again** | | The guest agent does not allow it | The server's QEMU guest agent is too old (before version 5.2) or blocks its SSH commands. Update `qemu-guest-agent` | | SELinux keeps the guest agent away from root's keys | Run `sudo setsebool -P virt_qemu_ga_manage_ssh on` in the server (AlmaLinux, Rocky Linux, Fedora), then click **Check again** | | The server did not answer in time | Try again. After an add or remove, read the keys again to see whether the change was made | | The server refused the change | The server's own reason is shown, for example a read-only file system. Nothing was changed | | A removed key still signs in | Check that the key is not also in another user's `authorized_keys`: Raff manages root's keys only | ## Next steps > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Create a key and sign in with it. > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Sign in without a key. # Open the browser console Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/open-browser-console The "Console" button on every VM is a single entry point that picks the right in-browser session for the situation — an SSH-backed terminal for Linux, or a VNC graphical console for Windows and recovery scenarios. This page explains what each mode is, how the dashboard decides between them, and when to deliberately reach for VNC. <sub>Updated May 8, 2026</sub> The dashboard's **Console** button is one button with **two underlying technologies** behind it. The dashboard picks the right one for the OS and current state — you don't pick. Knowing which mode you're in matters because they have different capabilities (file transfer, copy/paste, keyboard chords, session lifetime), so this page is the dedicated explainer. For the OS-specific access flows themselves — including the local-terminal SSH and RDP options — see [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) (Linux) and [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) (Windows). This page is just about the **in-browser** option. ## Two technologies, one button | Mode | What's happening under the hood | When the dashboard picks it | | - | - | - | | **SSH terminal** (in-browser) | A PTY session is opened via `raff-agent` running inside the VM, proxied to your browser as a WebSocket. You're getting a real shell, end-to-end | **Linux VM** with a public IP and a healthy `raff-agent`. This is the default Linux Console experience | | **VNC console** | A NoVNC client in your browser connects through the hypervisor to the VM's framebuffer. No network needed inside the guest, no agent needed | **Windows VM** (always — there's no SSH-terminal option for Windows). **Linux VM** when no public IP, agent down, SSH disabled. **Anytime you need to recover from a broken OS** regardless of OS | The mode swap is automatic. The button label is the same — **Console** on the detail page, **Open Terminal** on the row Actions menu — but you can see which mode opened by what's on screen: a text shell with your prompt = SSH terminal; a graphical desktop / login screen = VNC console. ## The decision the dashboard makes ```mermaid theme={null} flowchart TB Click["Click **Console**"] OS{"OS?"} PubIP{"Public IP<br/>+ agent up<br/>+ SSH enabled?"} SSH(["**SSH terminal**<br/>browser-PTY via raff-agent"]) VNC(["**VNC console**<br/>NoVNC via hypervisor"]) Click --> OS OS -->|Linux| PubIP OS -->|Windows| VNC PubIP -->|Yes| SSH PubIP -->|No| VNC ``` For Linux, the SSH terminal is preferred because it's lighter, supports clipboard, and behaves like every other terminal you're used to. VNC is the fallback for the cases where SSH-via-agent can't work. For Windows, there's no SSH-terminal option, so VNC is always what you get. ## SSH terminal — Linux primary (default) When you click **Console** on a healthy Linux VM, the browser opens a fresh terminal tab pre-authenticated against the VM as `root` (or your sudo user). It looks like this: ![Browser terminal showing a logged-in Linux shell with the VM's hostname prompt](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-03-browser-terminal.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=0b67cad1be99e621eb9f2d4d9d8e5238) What it is and isn't: | Capability | Status | | - | - | | **Real shell** (bash / zsh / fish — whatever the VM has) | ✅ | | **Full keyboard input**, including pipes / redirects / shell-quoting | ✅ | | **Copy / paste** between host and VM via the browser's clipboard | ✅ | | **Survives navigation** within the same session (until the tab closes) | ✅ | | **File transfer** — `scp` / `sftp` / `rsync` directly from this terminal | ❌ Use [Transfer files](/products/build/virtual-machines/quickstart-guides/transfer-files) from your local terminal — the in-browser terminal can't reach your local filesystem | | **Long-running attached sessions** — process keeps running if the tab closes | ❌ Wrap with `tmux` / `screen` / `nohup` if you need it | | **Graphical apps** | ❌ Use VNC mode for X11 / GUI | For local-terminal SSH (your own iTerm, Terminal, PuTTY, Windows OpenSSH), see [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) — that's a separate option with its own advantages (local file access, persistent sessions, multiplexing). ## VNC console — Windows always, Linux fallback, universal recovery When the dashboard opens VNC mode, you see the VM's actual screen — login prompt, desktop, BIOS, GRUB menu, BSOD, anything the framebuffer is rendering. ![Windows VNC console session in the browser showing the Windows login screen](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-rdp-01-vnc-console.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=9e35749e88988d20e482e4eabc8569ad) | Capability | Status | | - | - | | **Linux text mode** (getty / tty1 login) | ✅ — the default if you haven't installed a desktop environment | | **Linux graphical** (X11 / Wayland) | ✅ — if you've installed GNOME / KDE / Xfce | | **Windows graphical** | ✅ — login screen, desktop, everything | | **Pre-OS access** (BIOS, GRUB, Windows boot menu) | ✅ — VNC attaches before the OS starts | | **Survives broken networking inside the guest** | ✅ — connects through the hypervisor | | **Survives `raff-agent` being down** | ✅ — VNC doesn't use the agent | | **Special keys** (Ctrl-Alt-Del, Alt-Tab, F-keys, Sysrq) | Via the toolbar's special-keys menu — see below | | **Clipboard** | Limited — paste-into-VM works in most browsers; copy-from-VM is browser-dependent | | **File transfer** | ❌ Use [Transfer files](/products/build/virtual-machines/quickstart-guides/transfer-files) for SCP / SFTP / rsync once SSH is restored | ### Special keys VNC sends keystrokes byte-for-byte, but the **browser intercepts** several useful chords for its own use (Ctrl-T opens a tab, F11 fullscreen, Alt-Tab switches host apps). Use the toolbar's **special-keys menu** to send those into the VM: | Combo you need | Where to find it | | - | - | | **Ctrl-Alt-Del** (Windows lock screen, login, task manager) | Special-keys menu → **Ctrl-Alt-Delete** | | **Alt-Tab** (Windows app switcher) | Special-keys menu | | **F1–F12** (boot menus, Safe Mode trigger) | Direct works for most; if browser intercepts, use the menu | | **Win key / Meta** | Special-keys menu | | **Print Screen / Pause** | Special-keys menu | | **Sysrq + key** (Linux magic SysRq) | Special-keys menu | ### Session lifetime — 1 hour Each VNC session has a **fixed 1-hour TTL** from the moment you click Console. There's no idle-disconnect inside the hour and no auto-extend. When the session expires, the canvas freezes / disconnects. The VM keeps running normally — only your viewer disconnected. **Close the tab and reopen Console** from the VM detail page to mint a fresh 1-hour session and reconnect to the same VM with no state loss. For long debugging or recovery sessions, plan to reconnect every hour. The SSH terminal mode doesn't have this limit — if you're working on Linux and don't specifically need VNC, prefer the SSH terminal for marathon sessions. ## Open the Console The same Console action opens in three places — they're equivalent: ![Compute → row Actions menu open with View Details, Copy IP, Open Terminal, Rename, Stop, Restart, Reinstall OS, Destroy](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) ![VM detail page with the orange Console action button at the top of the action bar](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-02-vm-detail-console.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=9f86fad76212bcb8890521a474cea5be) | Path | Where | | - | - | | **VM detail page → Console button** | Top action bar, orange | | **Compute (Instances list) → row's `⋮` → Open Terminal** | Per-VM Actions menu | | **VM detail → Actions tab** | Same Console action, just on a tab if you've scrolled past the top | The dashboard generates a one-time session token, opens a new browser tab pointed at the right protocol (SSH WebSocket or NoVNC), and authenticates you transparently. You don't enter the VM password manually — the session is already authorized. ## When to deliberately reach for VNC over SSH Even for a healthy Linux VM where the dashboard would pick SSH terminal by default, there are situations where you specifically want VNC: | Situation | Why VNC, not SSH terminal | | - | - | | You're about to **change the firewall, sshd config, or networking** | If the change locks you out, VNC is unaffected. SSH terminal would die mid-edit | | You're rebooting the VM and want to **watch it boot** | VNC sees the BIOS / GRUB / login. SSH terminal disconnects on reboot | | You're **booting into single-user mode / GRUB recovery** | The boot menu only shows in VNC; SSH terminal connects post-login | | You need **graphical Linux apps** (`xterm`, browser, IDE) | SSH terminal is text-only | | You're recovering from a **broken `raff-agent`** | SSH terminal needs the agent; VNC bypasses it | To force VNC mode on a Linux VM where SSH would otherwise work, the simplest path is to temporarily stop the agent inside the VM (`systemctl stop raff-agent`) — the next Console click will fall back to VNC. Re-enable when you're done. ## Recovery path — the universal fallback VNC is the **always-works** connection method for any locked-out scenario: * **Linux** — SSH config broken, firewall locked you out, disk full, single-user mode → see [Recover a locked-out VM § Linux](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) * **Windows** — Safe Mode, WinRE, password recovery → see [Recover a locked-out VM § Windows](/products/build/virtual-machines/quickstart-guides/recover-locked-vm#4-windows-recovery--safe-mode-winre-and-ctrl-alt-del) When the in-browser SSH terminal fails to open (agent down, network broken, OS panicked), the dashboard automatically falls back to VNC. You don't have to do anything different — click Console and you'll get the right viewer. ## Common questions > [accordion] How do I tell which mode opened? > > Look at the screen. **Text shell with a prompt** = SSH terminal. **Graphical login or desktop, or text-mode getty (with `login:` prompt)** = VNC console. The two also have different toolbars: SSH terminal has clipboard / paste controls; VNC has the special-keys menu and disconnect button. > [accordion] Can I copy / paste between my laptop and the VM? > > **SSH terminal** — copy and paste work normally via your browser's clipboard. **VNC console** — paste-into-VM works via the toolbar's clipboard tool (most browsers prompt for permission once); copy-out is browser-dependent and limited. For real data transfer either way, use [Transfer files](/products/build/virtual-machines/quickstart-guides/transfer-files). > [accordion] Can two people open the console on the same VM at the same time? > > For VNC, no — the underlying VNC session is single-attach; the second connection bumps the first. For SSH terminal, multiple parallel sessions are fine. Coordinate via chat before two of you click Console. > [accordion] Why does my Windows VM only show VNC? > > Windows doesn't ship with a native SSH server (and Raff doesn't run an SSH-terminal-compatible agent on Windows VMs by default). For Windows graphical access, VNC and RDP are the two options — see [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) for the local-client RDP path. > [accordion] The VNC session expired mid-recovery. Did I lose my work? > > No — the **VM kept running** uninterrupted. Only your VNC viewer disconnected. Close the tab and click Console again from the VM detail page to get a fresh 1-hour session and reconnect to wherever the VM is now. If you were editing a file, it's still in whatever editor you had open inside the VM. > [accordion] Why is the VNC console laggy? > > Latency is bounded by your network round-trip to the hypervisor + the VM's framebuffer-update rate. Tips: > > * Use **SSH terminal** for everyday Linux work — VNC is for graphical / recovery cases > * Stay in **text mode** for Linux work in VNC — graphical desktops repaint a lot > * Close other tabs talking to Raff — they share rate limits and bandwidth > * For Windows, pure RDP from a local client outperforms VNC for sustained graphical work — VNC is best for getting in when RDP is broken ## Related > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Linux access — including the in-browser terminal and your own local SSH client. > [card] [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) > > Windows graphical desktop via RDP from a local client. > [card] [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) > > Use the VNC console as the universal recovery path — Linux GRUB / Windows Safe Mode. # Recover a locked-out VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/recover-locked-vm Get back into a VM when SSH, RDP, or the OS itself has stopped letting you in <sub>Updated May 8, 2026</sub> You'll lock yourself out eventually — a misedited `sshd_config`, a too-aggressive UFW rule, a broken `/etc/fstab`, a forgotten password. Raff gives you five recovery paths, ordered from least to most destructive. **Try them in order.** ## 1. Power off, then power on — try this first Before doing anything else, fully power-cycle the VM. This is the cheapest, fastest fix and clears every kind of *transient* in-memory state: * Hung processes holding ports the SSH daemon needs * A `iptables` / `nftables` ruleset loaded into memory that wasn't persisted to disk (and won't come back after boot) * An OOM event that left the system in a degraded state * Stuck routing or DNS state * A frozen kernel or hypervisor-side stall A full power cycle is more thorough than a reboot — the VM truly stops between, so any volatile state in the running OS is gone. **How to do it:** 1. Open the VM detail page. 2. Use the **Running** toggle (top right) — flip it off, wait until status is `passive`, flip it back on. Or use the **Power** tab → **Turn Off VM**, then **Turn On VM**. 3. Wait for `active`. Try SSH or RDP again. > [!NOTE] > > Power cycling fixes problems that **didn't survive a reboot in the first place** — transient runtime state. It does **not** fix on-disk misconfigurations like a broken `sshd_config`, a persisted firewall rule, or a bad `/etc/fstab`. If those are the cause, the VM will return to the same locked-out state after boot — move on to the next step. If the VM was previously responsive and is now flaky for no obvious reason, this step has the highest hit rate and lowest cost. Always try it first. ## 2. VNC console — the universal recovery path The in-app **VNC console** connects through the hypervisor instead of the network. Open it from the VM detail page → **Console** button (or row Actions menu → **Open Terminal**). When SSH isn't reachable, the dashboard automatically opens VNC instead. This is your way in for *any* in-OS misconfiguration that didn't break the boot itself. ### Common scenarios fixed via VNC > [accordion] SSH config locked you out (`PermitRootLogin no` with no other user, broken sshd, etc.) > > 1. Open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback). Log in as `root` (use the password from the **Credentials** card → **Send to Email**, or [reset](/products/build/virtual-machines/quickstart-guides/reset-password) it). > 2. Edit `/etc/ssh/sshd_config` — fix the offending line. > 3. Validate the syntax: `sshd -t` (silence = OK). > 4. Restart SSH: `systemctl restart ssh` (Ubuntu / Debian) or `systemctl restart sshd` (RHEL family). > 5. Test from your local terminal. > [accordion] Firewall locked you out (UFW / iptables / firewalld blocking 22) > > 1. VNC in, log in. > 2. **Ubuntu / Debian:** `ufw status`, then `ufw allow OpenSSH` or `ufw disable` while you fix it. > 3. **RHEL family:** `firewall-cmd --add-service=ssh --permanent && firewall-cmd --reload`, or `systemctl stop firewalld` while debugging. > 4. Test SSH from outside. > [accordion] Disk full — can't run any command after login > > 1. VNC in. > 2. Free space: `du -h --max-depth=1 / 2>/dev/null | sort -rh | head -20` to find big paths. > 3. Quick wins: `apt clean`, `journalctl --vacuum-size=200M`, `rm /tmp/*`, `docker system prune -a`. > 4. If you still can't free enough, [resize the disk](/products/build/virtual-machines/quickstart-guides/resize) up (one-way grow), then expand the filesystem inside the VM. > [accordion] Forgot or lost the OS password > > Use [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) from the dashboard. The new password is emailed to your account address; use the VNC console to log in once it arrives. ## 3. Single-user mode via GRUB — when the VM won't even boot to login If the boot fails before you can log in (broken `/etc/fstab`, missing kernel module, runaway init), boot into single-user mode by editing the GRUB cmdline. ### Steps (Linux) 1. Open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback). [Hard reboot](/products/build/virtual-machines/quickstart-guides/manage-power) the VM if it's hung. 2. The GRUB menu appears for \~3 seconds. Hit any key to pause it. 3. Highlight the default kernel entry and press `e` to edit. 4. Find the line beginning `linux …` (it's long). Move to the end with `End` or `Ctrl-E`. 5. Append one of: * **Ubuntu / Debian:** ` single` — boots normally up to single-user mode; networking and most services off, root shell after entering the password * **Most distros — emergency root shell with init:** ` init=/bin/bash` — skips most of init; minimal environment but works when systemd itself is broken * **Hard fallback when even init=/bin/bash fails:** ` init=/bin/sh` — the most minimal recovery shell; useful when `/bin/bash` is missing or symlinked to a broken binary, or when libc itself is in a bad state. Works on virtually any broken system as long as the kernel can find `/bin/sh` 6. Press `Ctrl-X` (or `F10`) to boot. You land at a root shell with the root filesystem mounted **read-only**. To make changes: ```bash theme={null} mount -o remount,rw / ``` Now fix the underlying problem: | Problem | Fix | | - | - | | Bad `/etc/fstab` line | `vi /etc/fstab` — fix or comment out the bad line | | Missing kernel module on boot | Reinstall the module package, or pin the previous kernel via GRUB | | Bad systemd unit | `systemctl mask <unit>` or remove the unit file | | Forgotten root password | `passwd root`, then reboot (works only on distros that allow this — modern systemd may require additional steps) | When done: ```bash theme={null} sync reboot -f ``` The VM should boot normally. ## 4. Windows recovery — Safe Mode, WinRE, and Ctrl-Alt-Del The Linux paths above use GRUB's interactive menu — Windows has its own equivalents. **All of them go through the [browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console)** because the VM's network is the thing you're trying to recover from. Open the console (VM detail page → **Console** button) and reboot the VM with one of: * **Power tab** → **Restart** in the dashboard * Inside the console: **Special-keys menu → Ctrl-Alt-Delete** (sends the chord through NoVNC since your browser intercepts the literal combo) Then you have three Windows-specific recovery paths: ### Safe Mode Boot the VM into Windows with only essential drivers and services — the standard repair environment for "Windows boots but is unstable" (recent driver, recent update, login loop). 1. **Reboot the VM** from the dashboard or via Ctrl-Alt-Del in the console 2. Watch the console — as soon as the BIOS POST clears and you see the Windows logo, **immediately tap F8** repeatedly via the console keyboard. Some Windows versions need **Shift+F8** or **F11**; if F8 doesn't bring up the boot menu after a couple of tries, reboot and try Shift+F8 next time 3. The **Advanced Boot Options** menu appears — pick **Safe Mode** (network-disabled) or **Safe Mode with Networking** (if you want SSH/agent access from inside Safe Mode for tooling) 4. Sign in with the local Administrator account From Safe Mode you can uninstall a problem driver, roll back a Windows Update, disable a service that's preventing login, or run `sfc /scannow` to repair system files. Reboot normally when done. ### WinRE — Windows Recovery Environment WinRE is the more powerful recovery layer — Startup Repair, System Restore, Command Prompt, Reset This PC. Three ways to reach it: | Path | When to use | | - | - | | **Three-failed-boot trigger** | Force-power-cycle the VM 3 times in a row (interrupt the boot before Windows finishes loading). On the 4th boot, Windows enters WinRE automatically. From the console: hold the dashboard's **Restart** action through 3 partial boots, then let it boot — WinRE shows up | | **F11 at boot** | On most Windows Server versions, **tap F11** during the Windows logo screen via the console keyboard. The Advanced Startup options appear | | **From inside Windows** | Settings → System → Recovery → **Advanced startup → Restart now**. Useful when Windows still boots but is misbehaving | WinRE's **Command Prompt** is where most repair work happens — `bootrec /fixmbr`, `bootrec /rebuildbcd`, `chkdsk /f`, `dism` to repair Windows components. **Startup Repair** does these automatically for the common cases. ### Reset password For "I can sign in but I forgot the Administrator password" or "RDP works but auth keeps failing": The dashboard's **[Reset password](/products/build/virtual-machines/quickstart-guides/reset-password)** action handles this without any console / WinRE work — it sets a new Administrator password through the hypervisor's CONTEXT mechanism on the next reboot. Far simpler than booting into WinRE to manually edit the SAM hive. ### Console session limit during recovery The browser console has a **1-hour session timeout**. Long Windows recoveries (DISM repair, full chkdsk, restoring from a system image) can run past that. If your session expires mid-recovery: * The recovery operation **continues running** inside the VM — your VNC viewer disconnected, but the OS isn't affected * **Close the console tab and re-open from the VM detail page** to get a fresh 1-hour session * Reconnect picks up wherever Windows is — same screen, same keyboard Plan for this: trigger the recovery operation, note the time, and reconnect every \~50 minutes to monitor progress. ## 5. Factory reset — when you can't fix the OS in place [Factory reset](/products/build/virtual-machines/quickstart-guides/factory-reset) wipes the OS disk and reinstalls the **same** OS template fresh. Crucially, **factory reset preserves**: * Attached volumes and their data * Backups and volume snapshots * Network configuration and IP addresses * VM specs (CPU/RAM/disk) If your important data lives on attached volumes — not the OS disk — factory reset is fast and clean. If your data is on the OS disk, **don't** factory reset until you've tried path 4. ## 6. Restore from backup via support If the OS disk is unrecoverable and your data was on it: 1. Check whether you have a [backup](/products/build/virtual-machines/quickstart-guides/enable-backups) of the VM. **Compute Resources → Backups** lists them. 2. If yes — email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with the VM ID and the backup name. Support can spin up a new VM from the backup with the disk contents and installed software intact. 3. If no — your only options are factory reset (loses OS disk) or destroy and recreate. The OS-disk contents are gone. This is why production VMs should always run a backup schedule. See [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups). ## What Raff doesn't have * **No bootable rescue ISO** — recovery happens through GRUB single-user mode or factory reset, not by booting a separate rescue environment. * **No standalone "rescue mode" toggle** in the dashboard — the VNC console is the rescue path; combined with GRUB editing, it covers the same cases. ## Prevention checklist To make recovery rare in the first place: * [Initial server setup](/products/build/virtual-machines/quickstart-guides/initial-server-setup) — non-root user with sudo, key-only SSH, but always **keep a working password as fallback** * Test SSH config changes with `sshd -t` before restarting the daemon * Don't enable a firewall without first allowing 22 (or your SSH port) * Run an [enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) schedule on any VM with data you can't lose * Take a [snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) before risky changes; convert to image if you'd want to keep it across a delete ## Next steps > [card] [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) > > Get a fresh password emailed. > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > SSH terminal, direct SSH, and VNC console — all the access methods. > [card] [Factory reset](/products/build/virtual-machines/quickstart-guides/factory-reset) > > Clean OS reinstall while keeping volumes and backups. > [card] [Enable backups](/products/build/virtual-machines/quickstart-guides/enable-backups) > > The single best protection against unrecoverable VMs. # Reinstall a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/reinstall Re-image a VM with a fresh OS template while keeping the IP, attached volumes, and specs <sub>Updated May 8, 2026</sub> Reinstall replaces the VM's OS disk with a fresh OS template. The VM keeps its ID, public IPv4, attached volumes, and CPU/RAM/disk specs — everything else on the OS disk is destroyed. ## Before you start > [!WARNING] > > Reinstall is destructive. The OS disk is wiped and **all snapshots and backups of this VM are deleted**. If you want to keep anything, take a snapshot to attached volumes or push to Object Storage first. ## What's preserved vs reset | Preserved | Reset | | - | - | | Attached volumes and their data | OS disk (everything on it) | | Network configuration and IP addresses | Installed software and configurations | | VM specifications (CPU, RAM, base disk size) | Root / Administrator password (regenerated) | | | Existing snapshots and backups of this VM | The VM is unavailable during the rebuild. **Typical duration is a few minutes**; the actual time depends on: * **Template size** — bigger images (Windows Server, Marketplace apps with bundled software) take longer to copy than minimal Linux base images * **Hypervisor I/O** — busier hosts copy slower; quieter ones copy faster * **Disk size** — base disk being wiped and reprovisioned scales with size (a 25 GiB disk is faster than a 480 GiB one) * **First boot work** — cloud-init / sysprep / OS first-boot configuration runs after the disk lands; some templates do more work on first boot than others There's no published SLA for reinstall duration. For reference: a fresh **Ubuntu 24.04 on a 25 GiB disk** typically completes in 1–3 minutes; a **Windows Server 2022 on a 50 GiB disk** typically takes longer due to sysprep. Plan for **up to 10 minutes** in worst-case scenarios so you don't get nervous mid-rebuild. See [Storage model](/products/build/virtual-machines/concepts/storage-model) for the survival matrix across reinstall, factory reset, and delete. ## Two ways to start ### a. VM detail page → Actions tab → Change OS Open the **Actions** tab on the VM detail page. Under **System Operations** find the **OS Reinstallation** card and click **Change OS**. ![Actions tab on VM detail page with the OS Reinstallation card and Change OS button](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/reinstall-01-actions-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=b2592295794744057e5fd01635d33739) ### b. Instance list row → Actions menu → Reinstall OS In the **Instances** list, open the row's **⋮** menu and pick **Reinstall OS**. Both paths open the same 3-step dialog. ![Row Actions menu showing Reinstall OS option](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) ## Step 1 — Select OS Pick the new OS template (or stay on the same one for a clean reinstall) and the version. ![Reinstall Step 1: OS grid with Ubuntu, Fedora, Debian, CentOS, AlmaLinux, Rocky Linux, FreeBSD, Alpine Linux, openSUSE, and a Version dropdown](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/reinstall-02-select-os.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=43927a05872fb5ff53a296ef904dfa13) Same OS lineup as VM creation. Switch between Linux distros, jump from Linux to Windows, or stay put for a clean reinstall. The **Marketplace** tab is also available for pre-built application images. ## Step 2 — Authentication Pick how you'll log in to the rebuilt VM. ![Reinstall Step 2: three authentication options — SSH Key, Set Password, Email Me Password](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/reinstall-03-authentication.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=4b8b4341ec67e5acc512b4fc4251f291) | Option | What it does | | - | - | | **SSH Key** | Pick an existing key from your saved list (same keys used at VM creation) | | **Set Password** | Type your own root / Administrator password | | **Email Me Password** | Platform generates a secure password and emails it to your account address | ## Step 3 — Confirm Review what's preserved and reset, tick the acknowledgement box, and click **Reinstall OS**. ![Reinstall Step 3: confirmation listing preserved/reset items and the 1-5 minute unavailability warning](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/reinstall-04-confirm.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=2519e67c6957b8fb47fe56279c60095a) ## After reinstall * The VM transitions `provisioning` → `booting` → `active` — typically a few minutes; up to \~10 for larger templates / Windows / large disks. * Public IPv4 is unchanged — DNS records still point at the right place. * Connect with the new credentials (your SSH key, the password you set, or the emailed password). * Attached volumes are still attached but may need re-mounting; the new OS won't have your old `/etc/fstab`. ## Reinstall vs other options | Goal | Use | | - | - | | Clean OS reset, keep IP and specs | **Reinstall** | | Same OS, just a clean state | **Reinstall** with the same template | | Switch between Linux and Windows | **Reinstall** with the new family | | Recover from misconfiguration without wiping the OS | [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) + [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback) | | Fully start over with a new VM | [Delete](/products/build/virtual-machines/quickstart-guides/delete-vm) and [Create](/products/build/virtual-machines/quickstart-guides/create-a-vm) | ## Next steps > [card] [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) > > Capture state before reinstalling. > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Reconnect after the rebuild. # Rename a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/rename Change a virtual machine's display name <sub>Updated May 8, 2026</sub> Rename a VM to update its label in the dashboard, API responses, and billing usage logs. The VM's ID, public IPv4, and disk contents are all unchanged — it's a display-name change only. ## Two ways to open the rename dialog ### a. Detail page — pencil icon On the VM detail page, click the **pencil icon** next to the name. ![VM detail page with the pencil edit icon next to the VM name](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/rename-01-pencil-icon.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=759d3a46bc65d4c508829337800df6ba) ### b. Instance list — row Actions menu In the **Instances** list, open the row's **⋮** menu and choose **Rename**. ![Instance list row Actions menu showing the Rename option](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/connect/connect-via-ssh-01-actions-menu.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=6600c2a45a6265bd7347f28266327f53) ## Rename dialog Both paths open the same dialog. Type the new name and click **Rename**. ![Rename VM dialog with the Name field and a 64-character counter](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/rename-02-dialog.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=822a4e114e258181a25241edf585185b) **Rules:** | Rule | Value | | - | - | | Maximum length | 64 characters | | Uniqueness | Must be unique within your account | | Restart required | No — change is immediate | ## What changes vs what stays | Changes | Stays the same | | - | - | | Display name in the dashboard | VM ID (UUID) | | `name` field in API responses | Public IPv4 / IPv6 | | Label on the billing usage log | Private IP / VPC | | Hostname *inside* the OS — set it manually with `hostnamectl set-hostname <new>` (Linux) or via System Properties (Windows) | Disk contents, snapshots, backups, attached volumes, security groups, tags | ## Next steps > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Start, stop, reboot. > [card] [API Reference](/api-reference/endpoint/rename-vm) > > Rename a VM via API. # Reset password Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/reset-password Reset or recover the root or Administrator password on a virtual machine <sub>Updated October 20, 2026</sub> The dashboard never shows the VM's root or Administrator password directly — it always emails it to your account address. You have two operations and three places to trigger them. ## Two operations | Operation | What it does | When to use | | - | - | - | | **Send to Email** | Sends the **current** password to your account email | You forgot the password but it hasn't been changed | | **Reset Password** | Generates a **new** password, replaces the old, and emails the new one | The password is leaked, lost, or you want to rotate | Both deliver to the email on your Raff account; the password is never displayed inline. ## Three places to find them All three live on the VM detail page. ### a. Credentials panel (side) — Send to Email The **VM Information → Credentials** card on the left has a **Send to Email** button next to **Password**. Sends the current password — quickest path if you just need the existing password. ### b. Top action bar — Password The **Password** quick button at the top of the detail page opens the reset flow directly. ### c. Actions tab — Access & Security → Reset Password The **Actions** tab has an **Access & Security** section with a **Reset Password** card. ![VM detail page on the Actions tab showing Access & Security with Open Terminal and Reset Password cards](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/reset-password-01-actions-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=fbc0d63ebfb9400188ce4335c9c0b9fc) ## What happens during a reset 1. You confirm the reset. 2. Raff generates a new password and sets it in your running server through its guest agent. The server confirms it, and it works at once: no restart, nothing interrupted. 3. If Raff cannot set it that way (a stopped server, or one whose guest agent is not running), it writes the password to the server's settings instead: * A running Linux server restarts to apply it. Expect 30-60 seconds of downtime; in-flight writes can be lost. * A running Windows server takes it within about a minute, without a restart. * A stopped server gets it when you start it. 4. The new password is emailed to your account address. The confirmation message tells you which of the above happened. If your server refuses the new password (for example a stricter Windows password policy), nothing changes: the old password keeps working, and the message shows the server's reason. A password you later change on the server yourself stays after a restart (servers created from October 19, 2026). ## Linux and Windows * **Linux** — resets the `root` password. SSH-key auth is unaffected; if you authenticate by key, you can keep using the key. * **Linux server created with only an SSH key**: SSH accepts keys only, so the new password works on the VNC console, not over SSH. To use it over SSH as well, delete `/etc/ssh/sshd_config.d/00-raff-keys-only.conf` (on servers without that folder, the lines marked "Raff" at the top of `/etc/ssh/sshd_config`) and reload SSH. * **Windows** — resets the `Administrator` password. RDP sessions disconnect and reconnect with the new one. ## Troubleshooting * **Email not received** — check spam, then confirm the account email under **Settings → Profile**. Click **Send to Email** again to resend. * **VM stuck after reset** — the reset includes a reboot; if status doesn't return to `active` within a few minutes, check the [Power tab](/products/build/virtual-machines/quickstart-guides/manage-power) and see [Troubleshooting](/products/build/virtual-machines/troubleshooting). * **Lost both password and SSH key** — only Reset Password gets you back in. Use the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback) once the new password lands. ## Next steps > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > Reconnect with the new password. > [card] [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp) > > Reconnect to a Windows VM. # Resize a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/resize Change CPU, RAM, or disk size on a virtual machine <sub>Updated May 8, 2026</sub> Resize lets you change a VM's plan (CPU + RAM) or grow its disk. Both run from the **Resize** tab on the VM detail page; both require the VM to be **powered off** first. ## Open the Resize tab On the VM detail page, click **Resize** — top action bar, or the **Resize** tab in the secondary nav. You'll see the **Current Configuration** at the top and two sub-tabs: **Compute Resources** (CPU & RAM) and **Storage** (Disk Size). ![Resize tab showing current configuration and the Compute Resources / Storage sub-tabs, plus the Stop VM warning](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/resize-01-resize-tab.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=49010c4d695d14a7c542b44297c1269c) ## 1. Power off the VM Both compute and storage resize require the VM in `passive` state. Click **Stop VM** in the warning banner, or use the [Power tab](/products/build/virtual-machines/quickstart-guides/manage-power) on the detail page. Wait for status to flip to `passive` before continuing. > [!WARNING] > > Storage resize is **one-way** — disks can grow but cannot shrink. Decide carefully before increasing. ## 2a. Compute Resources — change CPU and RAM Not sure whether to resize? Check the [Monitoring & metrics](/products/build/virtual-machines/concepts/monitoring-and-metrics) graphs first — sustained 80%+ CPU or memory pressure is the signal that a resize will actually help. In the **Compute Resources** sub-tab: 1. Pick a **VM TIER** — General Purpose or CPU-Optimized. You can switch tiers as part of the resize. 2. Pick a new plan from the **SELECT NEW PLAN** grid. Your current plan is marked **Current** (green); your selection is highlighted **Selected** (orange). The footer summary updates with the price change and the prorated **Charge** for the upgrade — or balance credit if you downsize. ![Compute Resources plan grid with a new plan selected and the footer showing Current \$4.99/mo → New \$6.51/mo and Charge \$1.12](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/resize-02-compute-plan-and-charge.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=f670b645a0afc779699e5aa2f7583afd) ## 2b. Storage — grow the disk In the **Storage** sub-tab: 1. Drag the slider, or type a new size in the GB field — must be **larger** than the current size. 2. The right side shows **New Size** in red until you pick a value above the current. ![Storage disk size with the one-way warning, slider, and validation message New size must be larger than current size](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/resize-03-storage-disk-size.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=321a854f55c4d617a7a13fa3407c67cf) You can mix changes: pick a new compute plan **and** grow the disk, then check out once. ## 3. Proceed to checkout Click **Proceed to Checkout**. The order summary shows the prorated charge. * **Account balance covers it** — click **Activate Subscription**. No card charge; balance is debited and the resize starts. * **Balance doesn't cover it** — the standard payment form appears (Google Pay, saved card, or new card), same as VM creation. ![Resize checkout: No Payment Needed when account balance covers the prorated charge of \$1.12](https://mintcdn.com/rafftechnologiesllc/KFKEsJgQ3IuaIJdK/images/products/compute/vm/manage/resize-04-checkout.png?fit=max\&auto=format\&n=KFKEsJgQ3IuaIJdK\&q=85\&s=91b60349bf3a4107aed1b22a83d0395d) After confirmation: * **Compute resize** — the platform applies the new plan, then boots the VM. It returns to `active` on the same IP, with the new CPU/RAM. * **Storage resize** — the disk grows immediately. You may need to extend the partition and filesystem inside the OS — see the per-OS steps below. ## Extending the filesystem after a disk resize Storage resize grows the underlying disk, but the **partition table** and **filesystem** inside the guest don't auto-extend. You'll see the new GBs at the disk level (`lsblk`, `Get-Disk`) but only the original size at the filesystem level (`df`, `Disk Management → free space`) until you extend. ### Linux — `growpart` + filesystem resize After the VM reboots into the resized disk, SSH in and run: ```bash theme={null} # Find the device — usually /dev/vda1 (the OS disk's first partition) lsblk # Install cloud-utils if not present # Ubuntu / Debian sudo apt-get update && sudo apt-get install -y cloud-guest-utils # RHEL family sudo dnf install -y cloud-utils-growpart # Grow the partition (note the SPACE between device and partition number) sudo growpart /dev/vda 1 # Resize the filesystem in place # ext4 (Ubuntu, Debian, RHEL default) sudo resize2fs /dev/vda1 # xfs (some RHEL setups) sudo xfs_growfs / # Verify df -h / ``` Expected output (going from 50 GB → 120 GB): ``` $ growpart /dev/vda 1 CHANGED: partition=1 start=2048 old: size=104855552 end=104857599 new: size=251656192 end=251658239 $ resize2fs /dev/vda1 resize2fs 1.47.0 (5-Feb-2023) Filesystem at /dev/vda1 is mounted on /; on-line resizing required old_desc_blocks = 7, new_desc_blocks = 15 The filesystem on /dev/vda1 is now 31457024 (4k) blocks long. $ df -h / Filesystem Size Used Avail Use% Mounted on /dev/vda1 118G 3.2G 115G 3% / ``` If `growpart` reports `NOCHANGE: partition is already the size of the device`, you're done — sometimes the resize ran on first boot via cloud-init. ### Windows — Disk Management After the VM reboots, sign in and: 1. **Open Disk Management** — Right-click **Start** → **Disk Management** (or `diskmgmt.msc`) 2. **Refresh** — Action menu → Refresh. The disk now shows the new size; the existing volume (typically `C:`) is followed by **Unallocated** space 3. **Right-click the existing volume** (e.g., `C:`) → **Extend Volume...** 4. The Extend Volume Wizard opens — click **Next**, accept the default to use all available unallocated space, click **Next**, then **Finish** 5. The volume now spans the full disk; `C:` shows the new size in **This PC** If **Extend Volume** is greyed out: * The unallocated space isn't immediately to the right of the volume you're trying to extend (Windows can only extend into adjacent unallocated space). Move data off, delete the intermediate volume, then extend. * **MBR-partitioned disks have a 2 TiB limit** — if you're trying to grow past that, the disk needs to be GPT. Convert via `mbr2gpt.exe` from an elevated prompt (`mbr2gpt /convert /allowFullOS`) before extending. PowerShell equivalent if you prefer scripting: ```powershell theme={null} # Verify the disk grew Get-Disk # Find the C: partition's max supported size $size = Get-PartitionSupportedSize -DriveLetter C Resize-Partition -DriveLetter C -Size $size.SizeMax ``` Verify with `Get-Volume` or by opening **This PC** in Explorer. ## Billing Resize is settled against your subscription term: * **Upsize** — the prorated difference between the old and new plan is charged (or applied from your balance) for the remainder of the term. * **Downsize** — the prorated difference is **credited back to your account balance**. The new rate then applies for the rest of the current term and renewals. ## What's preserved * **IP addresses** — public and private IPs unchanged * **Disk contents** — all data retained * **Attached resources** — volumes, security groups, tags, snapshots, backups untouched * **Subscription term** — same renewal date ## Next steps > [card] [Plans & sizing](/products/build/virtual-machines/concepts/plans-and-sizing) > > What's bundled in each plan. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Subscription billing and balance credits. # Transfer files to and from a VM Source: https://docs.rafftechnologies.com/products/build/virtual-machines/quickstart-guides/transfer-files Move files to and from your Raff VM with SCP for one-shot copies, SFTP for interactive sessions, rsync for big trees, or a GUI client like FileZilla / WinSCP. Same SSH credentials you already use for shell access. <sub>Updated May 8, 2026</sub> There's nothing Raff-specific about file transfer — every method below uses your existing **SSH credentials and VM IP**. If you can [SSH into the VM](/products/build/virtual-machines/quickstart-guides/connect-via-ssh), you can transfer files to it. Pick the tool that fits the job: | Job | Tool | | - | - | | Copy one file or a small directory, one-shot | **`scp`** | | Browse files interactively, mix uploads/downloads in one session | **`sftp`** or a GUI client | | Sync a large directory, resume after interruption, copy only changed files | **`rsync`** | | Drag-and-drop GUI on macOS / Linux / Windows | **FileZilla** | | Drag-and-drop GUI on Windows specifically | **WinSCP** | All five use the standard SSH/SFTP protocol on **TCP port 22** of the VM's public IPv4. If your VM is in a VPC without a public IP, transfer through the [Platform Router's port forwarding](/products/network/vpc/quickstart-guides/manage-vpc#port-fwd-tab--public-port-forwarding) or a bastion VM. ## Before you start * A VM with a [public IPv4](/products/network/public-ips) (or a port-forwarded VPC route) * An SSH key on your local machine, or the password you set with [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) * The VM's **public IP** — copy it from the VM detail page Throughout this page, examples use: * `1.2.3.4` — placeholder for your VM's public IPv4 * `root` — the default Linux user; substitute your sudo user if you've changed it * `~/.ssh/id_ed25519` — your SSH private key path on your local machine ## SCP — one-shot file copy `scp` (secure copy) is the simplest tool — one command, copies one file or one directory, then exits. ### Upload — local → VM ```bash theme={null} # Single file scp -i ~/.ssh/id_ed25519 ./local-file.tar.gz root@1.2.3.4:/root/ # Directory (recursive) scp -i ~/.ssh/id_ed25519 -r ./local-dir root@1.2.3.4:/var/www/ # Rename on the way scp -i ~/.ssh/id_ed25519 ./config.yml root@1.2.3.4:/etc/myapp/config.yml ``` ### Download — VM → local ```bash theme={null} # Single file scp -i ~/.ssh/id_ed25519 root@1.2.3.4:/var/log/app.log ./ # Directory scp -i ~/.ssh/id_ed25519 -r root@1.2.3.4:/var/backups ./ ``` ### Common flags | Flag | What it does | | - | - | | `-i <path>` | Use this SSH private key | | `-r` | Recursive (required for directories) | | `-P <port>` | Use a non-default SSH port — typical when you're going through a Platform Router port-forward (`-P 2222`) | | `-p` | Preserve modification times, access times, and modes | | `-C` | Compression — useful on slow links, marginal on fast ones | | `-q` | Quiet — suppress progress meter | | `-v` | Verbose — useful when debugging "permission denied" or "no route to host" | ### When to skip SCP * **Big directory trees** — `scp -r` doesn't resume on interruption. Use `rsync` instead. * **Many small files** — `scp` opens a separate transfer per file. `rsync` or a tar-pipe is much faster. * **Files larger than a few GB** — `scp` works but has no progress / resume. Use `rsync --progress` instead. ## SFTP — interactive session `sftp` opens a long-lived FTP-like session over SSH. Useful for browsing and ad-hoc up/downloads in one connection. ```bash theme={null} sftp -i ~/.ssh/id_ed25519 root@1.2.3.4 ``` Inside the session, common commands: | Command | What it does | | - | - | | `ls` / `ls -la` | List files on the **remote** VM | | `lls` | List files **locally** (note the leading `l`) | | `cd /var/www` | Change directory on the remote | | `lcd ./local-dir` | Change directory locally | | `pwd` / `lpwd` | Show current remote / local directory | | `get file.tar.gz` | Download to the current local directory | | `put file.tar.gz` | Upload to the current remote directory | | `mget *.log` | Download all files matching a glob | | `mput *.png` | Upload all matching local files | | `rm`, `mkdir`, `rename` | Standard remote file ops | | `bye` or `exit` | End the session | A typical workflow: `cd` into the right remote dir, `lcd` to the local source, then `put` / `get` until you're done — far faster than re-running `scp` for each file. ## rsync — sync directories, resume on failure `rsync` is the right tool for **anything bigger than "a couple of files"**. It only transfers changed bytes, resumes interrupted runs, optionally compresses on the wire, and handles permissions correctly. ### Basic syntax ```bash theme={null} # Upload — local dir → VM (sync, don't delete remote) rsync -avz -e "ssh -i ~/.ssh/id_ed25519" ./local-dir/ root@1.2.3.4:/var/www/ # Download — VM dir → local rsync -avz -e "ssh -i ~/.ssh/id_ed25519" root@1.2.3.4:/var/log/ ./logs/ ``` The trailing `/` on `local-dir/` matters: with the slash, it copies the **contents** into `/var/www/`; without it, it copies the **directory itself** as `/var/www/local-dir/`. Same convention applies to remote paths. ### Useful flags | Flag | What it does | | - | - | | `-a` | Archive mode — recursive + preserves permissions, times, symlinks, ownership | | `-v` | Verbose — show what's being transferred | | `-z` | Compress in flight — helpful on slow / high-latency links | | `-P` | Show progress + enable resume of partially-transferred files | | `--dry-run` / `-n` | Show what would change without actually doing it | | `--delete` | Delete remote files that no longer exist locally — make remote a mirror | | `--exclude=<pattern>` | Skip files matching the pattern (e.g. `--exclude='node_modules'`) | | `--bwlimit=<KB/s>` | Cap bandwidth — useful when transferring during business hours | ### Resume-after-failure pattern If a long `rsync` dies mid-transfer (network blip, laptop closed, SSH timeout), just run **the same command again** — `rsync` figures out what's already there and only transfers the rest. With `-P` it picks up partial files at the byte level. ```bash theme={null} rsync -avzP -e "ssh -i ~/.ssh/id_ed25519" ./big-tree/ root@1.2.3.4:/data/ ``` ### When you'd use a tar-pipe instead For one-shot transfer of a huge tree of small files, a tar-pipe can outperform rsync because it avoids the per-file roundtrips: ```bash theme={null} tar -czf - ./local-dir | ssh -i ~/.ssh/id_ed25519 root@1.2.3.4 "tar -xzf - -C /target" ``` Use this when you're copying once (initial seed), and use rsync when you'll re-sync. ## FileZilla — cross-platform GUI [FileZilla](https://filezilla-project.org/) runs on macOS, Windows, and Linux. Drag-and-drop with the same SSH credentials. ### Add a connection profile 1. **File → Site Manager → New Site** 2. Fill in: * **Protocol**: `SFTP – SSH File Transfer Protocol` * **Host**: `1.2.3.4` (your VM's public IP) * **Port**: `22` (or your port-forward, e.g. `2222`) * **Logon Type**: `Key file` * **User**: `root` (or your sudo user) * **Key file**: browse to `~/.ssh/id_ed25519` (the **private** key) 3. **Connect** The first connection prompts to trust the VM's host fingerprint — accept it; it's recorded for future sessions. ### Day-to-day use The split-pane shows your local files on the left, the VM's files on the right. Drag-and-drop in either direction starts a transfer; the queue at the bottom shows progress. **Tools → Speed limits** lets you cap bandwidth. ## WinSCP — Windows-only GUI [WinSCP](https://winscp.net/) is the established Windows file-transfer client — same idea as FileZilla but with a more Explorer-like UI. ### Add a session 1. **Session → New Session** 2. **File protocol**: `SFTP` 3. **Host name**: your VM's public IP 4. **Port number**: `22` 5. **User name**: `root` 6. **Advanced → SSH → Authentication → Private key file**: select your `.ppk` file (WinSCP needs a PuTTY-format key) * If you have an OpenSSH-format key, WinSCP prompts to convert it on first use, or use `puttygen` to convert manually 7. **Login** The first connection prompts to trust the host key — accept it. ### Day-to-day use Same Explorer-style interface as FileZilla. Drag-and-drop, browse remote / local in parallel, queue multiple transfers. WinSCP also has a built-in text editor for editing remote config files in place. ## Quick reference — which tool when | Goal | Best tool | | - | - | | Push a single config file | `scp` | | Pull a single log | `scp` | | Browse the VM's filesystem and grab a few things | `sftp` or FileZilla / WinSCP | | Copy a big directory the first time | `rsync -avzP` (or `tar` pipe for many small files) | | Keep two directories synced | `rsync -avz --delete` on a cron / before each deploy | | Edit a remote config file in place | WinSCP's built-in editor, or `nano` / `vim` over SSH | | Move a database dump | `rsync` for resume capability + `--bwlimit` to avoid saturating the link | ## Common issues > [accordion] Permission denied (publickey) > > SSH refused your key. Causes: > > * Wrong key path (`-i ~/.ssh/id_ed25519` vs the one you actually authorized on the VM) > * Wrong username (`root` vs your sudo user) > * Key permissions too open — `chmod 600 ~/.ssh/id_ed25519` on macOS/Linux > * The public key isn't in `~/.ssh/authorized_keys` on the VM — see [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > [accordion] Connection refused / timeout > > The VM isn't reachable on port 22: > > * Confirm the VM is **active** (not paused or stopped) on the dashboard > * Confirm the IP is correct — VMs that lose their auto-assigned public IP get a different one when re-attached > * Check the [Firewall](/products/network/firewall) — if you've attached a custom group, verify TCP 22 is allowed inbound from your IP > * Test with `ssh -v root@1.2.3.4` first; if SSH times out too, the issue is networking, not file transfer > [accordion] Transfer is slow even on a fast connection > > Several knobs to try: > > * Add `-z` (rsync) or `-C` (scp) for compression on text-heavy files; for already-compressed binaries (`.gz`, `.zip`, `.mp4`), compression slows things down > * Use `rsync -avP` instead of `scp -r` — rsync's per-file overhead is much lower > * Check if the bottleneck is your local upload, not the VM (`speedtest-cli`) > * For huge files, split-and-parallel: `split -b 1G big.tar.gz part-` then `rsync` the parts > [accordion] Files appear with wrong permissions / ownership on the VM > > `scp` and `sftp` reset to default umask permissions; `rsync -a` preserves them. Use rsync with `-a` if perms matter (executable scripts, key files, etc.). After upload, you can fix in the guest with `chmod` / `chown`. > [accordion] `scp -r` warning: 'is not a regular file' > > Likely a broken symlink in the source tree. Either fix the source (delete the dangling symlink) or switch to `rsync` — `rsync -a` follows symlinks correctly with `-L`, or copies them as symlinks with `-l`. > [accordion] Big file transfers fill up the disk on the VM > > Use `df -h` over SSH first to confirm there's enough free space. For VMs running tight on disk, attach a [Volume](/products/store/volumes) and transfer to the volume mount point instead. ## Related > [card] [Connect via SSH](/products/build/virtual-machines/quickstart-guides/connect-via-ssh) > > The same credentials and IP that file transfer uses. > [card] [Authentication](/products/build/virtual-machines/concepts/authentication) > > SSH keys vs passwords, generating and adding keys. > [card] [Volumes](/products/store/volumes) > > Attach extra disk capacity for big file transfers. # Virtual Machines troubleshooting Source: https://docs.rafftechnologies.com/products/build/virtual-machines/troubleshooting Common Virtual Machine issues and how to fix them <sub>Updated October 21, 2026</sub> The most-seen failures with Raff VMs and the fix that works in each case. If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). ## Connection problems > [accordion] SSH: connection refused > > **What's happening:** `ssh: connect to host x.x.x.x port 22: Connection refused`. > > **Likely causes & fixes:** > > 1. **Security group blocks port 22** — open the VM's [Firewall](/products/network/firewall) and confirm an inbound TCP/22 rule exists for your IP. > 2. **SSH daemon isn't running** — open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback), log in, run `systemctl status ssh` (Ubuntu/Debian) or `systemctl status sshd` (RHEL family). Start it with `systemctl start ssh` and persist with `systemctl enable ssh`. > 3. **`sshd` is listening on a different port** — `cat /etc/ssh/sshd_config | grep -i ^Port`. Connect with `ssh -p <port> root@…` or change the rule. > [accordion] SSH: connection timed out > > **What's happening:** `ssh: connect to host x.x.x.x port 22: Operation timed out`. > > **Likely causes & fixes:** > > 1. **VM not `active`** — check the dashboard. If it's `passive`, [start it](/products/build/virtual-machines/quickstart-guides/manage-power). If `provisioning` while a snapshot/backup runs, wait for it to finish (see [Lifecycle states](/products/build/virtual-machines/concepts/lifecycle-states#provisioning-during-snapshots-and-backups)). > 2. **Public IP changed** — confirm the IP shown in the dashboard matches what you're connecting to. > 3. **Inside-the-VM firewall** — `ufw`/`iptables`/`firewalld` may be blocking 22. Use the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback) and disable or fix the rule (`ufw allow 22`, `firewall-cmd --add-service=ssh --permanent`). > 4. **Network outage** — check [status.rafftechnologies.com](https://status.rafftechnologies.com). > [accordion] SSH: Permission denied (publickey) > > **What's happening:** SSH reaches the daemon but rejects the key. > > **Fixes:** > > 1. **Wrong key** — `ssh -i ~/.ssh/specific_key root@…` to point at the right private key. > 2. **Key permissions too open** — `chmod 600 ~/.ssh/<key>` on macOS/Linux. > 3. **Key not in `authorized_keys` on the VM**: on a Linux server, check the server's **Security → SSH keys** and [add the key](/products/build/virtual-machines/quickstart-guides/manage-ssh-keys) there. For another user than root, open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback), log in, and append your public key to that user's `~/.ssh/authorized_keys` (`chmod 600` and `chown user:user`). > 4. **Password auth disabled, no key set** — [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) and connect over the VNC console once first to add a key. > [accordion] RDP: black screen after login (Windows) > > **What's happening:** RDP authenticates but the desktop never appears. > > **Fix:** Open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-rdp#1-in-app-console-vnc), send **Ctrl+Alt+Del**, choose **Sign out**, then reconnect over RDP. > [accordion] RDP: certificate warning > > **What's happening:** Your client warns about a self-signed certificate. > > **Fix:** Expected. Accept and continue, or install a public CA cert inside the VM and restart the RDP service. ## Disk and filesystem > [accordion] Disk full — can't even log in > > **What's happening:** SSH session ends immediately, or commands return `No space left on device`. > > **Fix via VNC:** > > 1. Open the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback). > 2. Log in. Identify the largest paths: `du -h --max-depth=1 / 2>/dev/null | sort -rh | head -20`. > 3. Common culprits: `/var/log` (rotate or truncate logs), `/var/cache/apt` (`apt clean`), `/tmp` (`rm -rf /tmp/*` if safe), Docker layers (`docker system prune -a`). > 4. If still tight, [resize the disk](/products/build/virtual-machines/quickstart-guides/resize) (one-way grow), then expand the filesystem inside the VM. > [accordion] VM won't boot — broken `/etc/fstab` > > **What's happening:** Boot drops to emergency shell or hangs after `Welcome to GRUB`. > > **Fix via VNC + single-user mode:** > > 1. Open the VNC console and reboot the VM ([hard reboot](/products/build/virtual-machines/quickstart-guides/manage-power) if needed). > 2. At the GRUB menu, press `e` on the highlighted entry. > 3. Find the line beginning `linux …`. Append ` single` (or `init=/bin/bash`) at the end. > 4. Press `Ctrl-X` to boot. > 5. Remount root read-write: `mount -o remount,rw /`. > 6. Edit `/etc/fstab` with `vi` and either fix or comment out the bad line. > 7. Reboot normally. > [accordion] Volume attached but not visible inside the VM > > **What's happening:** You attached a volume in the dashboard, but `lsblk` doesn't show it. > > **Fix:** > > 1. **Re-scan SCSI** — `echo "- - -" > /sys/class/scsi_host/host0/scan` (Linux). > 2. **Check it's the right VM** — volumes attach to a single VM at a time; make sure the dashboard shows the attachment to *this* VM. > 3. **Expected device** — virtio devices appear as `/dev/vdX` on Linux. See [Volumes → Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) for the full mount flow. ## Lifecycle and state > [accordion] VM stuck in `provisioning` after creation > > **What's happening:** Status hasn't moved to `active` after several minutes. > > **Fix:** > > 1. Wait 5-10 minutes — large templates and busy regions take longer. > 2. If stuck > 10 minutes, contact [support](mailto:support@rafftechnologies.com) with the VM ID. > 3. If status moves to `failure`, the VM is non-billable — delete and recreate. If it persists, support can investigate the underlying node. > [accordion] VM stuck in `provisioning` while running fine > > **What's happening:** A previously `active` VM shows `provisioning` but SSH/RDP still works. > > **Cause:** A snapshot or backup is running. The dashboard reuses the `provisioning` label while the hypervisor captures state. The VM continues serving traffic the whole time. > > **Fix:** Wait for the capture to finish — snapshots are typically 1–2 minutes, backups around 3 minutes on average; both scale with the size of the disk being captured. See [Lifecycle states](/products/build/virtual-machines/concepts/lifecycle-states#provisioning-during-snapshots-and-backups). > [accordion] Can't resize — `VM must be stopped` > > **What's happening:** Compute resize rejects the request. > > **Fix:** Resize requires `passive` state. [Stop the VM](/products/build/virtual-machines/quickstart-guides/manage-power), wait for `passive`, resize, then start. > [accordion] Resize completed but VM doesn't see new RAM/CPU > > **What's happening:** Dashboard shows the new plan; OS still reports the old. > > **Fix:** Reboot the VM. RAM/CPU changes need a fresh boot to be picked up. > [accordion] Disk grew in dashboard but `df -h` shows old size > > **What's happening:** The block device is bigger but the filesystem hasn't been told. > > **Fix:** Inside the VM: > > ```bash theme={null} > growpart /dev/vda 1 # if partitioned (replace with your disk) > resize2fs /dev/vda1 # ext4 > # or > xfs_growfs / # xfs > ``` > > See [Volumes → Resize a volume](/products/store/volumes/quickstart-guides/resize-volume) for the volume case. ## Networking > [accordion] No outbound internet from the VM > > **What's happening:** `curl https://example.com` hangs or returns network unreachable. > > **Fix:** > > 1. Confirm the VM has a public IPv4 in the dashboard. > 2. Check inside-the-VM routing: `ip route` should show a default route through the gateway. > 3. Restart networking: `systemctl restart systemd-networkd` (or `NetworkManager`). > 4. Check inside-the-VM firewall (`ufw status`, `iptables -L`). > [accordion] Public IP changed unexpectedly > > **What's happening:** Your VM's public IPv4 differs from the one you remembered. > > **Cause:** Factory reset, reinstall (rarely), or the IP was a regular ephemeral one and the VM was deleted-and-recreated. > > **Fix:** For a stable address across rebuilds, reserve a [Public IP](/products/network/public-ips) and assign it. > [accordion] Can't reach another VM in the same VPC > > **What's happening:** Private-IP traffic between two of your VMs doesn't work. > > **Fix:** > > 1. Confirm both VMs share the same VPC (VM detail page → Network section). > 2. Check security groups on both VMs allow the protocol/port between private IPs. > 3. Check inside-the-VM firewalls. > 4. Use private IPs, not public, for VPC-internal traffic. ## Backups and snapshots > [accordion] Scheduled backups not running > > **What's happening:** Schedule exists but no new backups appear. > > **Fix:** > > 1. Confirm the schedule is enabled on the VM detail page → Backups tab. > 2. Time window — note the platform's timezone vs yours. > 3. The VM must be `active` for backups to run; a stopped VM is skipped. > [accordion] Snapshot creation fails > > **What's happening:** Snapshot returns an error or stays in `failed`. > > **Fix:** > > 1. VM must be `active` — snapshots of `passive` VMs are not supported. > 2. Delete the failed entry and retry. > 3. If it keeps failing on the same VM, contact [support](mailto:support@rafftechnologies.com) with the VM ID. ## Authentication and access > [accordion] Forgot the root / Administrator password > > **What's happening:** Lost the password from the original create flow. > > **Fix:** Open the VM detail page → **Credentials** card → **Send to Email** (sends the existing password). If that still doesn't work, [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) — generates a new one and emails it. > [accordion] Locked out completely — no SSH, no password > > **What's happening:** SSH key lost, password unknown, can't log in via VNC. > > **Fix:** > > 1. [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) — the new password lands by email; use the [VNC console](/products/build/virtual-machines/quickstart-guides/connect-via-ssh#3-vnc-console-graphical-fallback) once it arrives. > 2. If reset doesn't work, [Factory reset](/products/build/virtual-machines/quickstart-guides/factory-reset) the VM (preserves attached volumes, snapshots, backups; wipes the OS disk). > 3. If you need the OS disk's contents preserved, contact [support](mailto:support@rafftechnologies.com) with the VM ID — recovery from a [backup](/products/build/virtual-machines/quickstart-guides/enable-backups) may be possible if you have one. This is why production VMs should always run a backup schedule. ## Billing > [accordion] VM still being billed after I stopped it > > **Cause:** Stopped VMs (`passive`) keep their CPU, RAM, disk, and IP reservations and continue to be billed under their subscription term. To stop charges, [delete the VM](/products/build/virtual-machines/quickstart-guides/delete-vm) — unused subscription days are credited back to your account balance. > [accordion] Resize charged me but I downsized > > **Cause:** Downsize resizes credit the prorated difference back to your **account balance**, not to the original card. Check [Billing → Account Balance](https://app.rafftechnologies.com). ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The VM ID (from the dashboard URL or `Get VM` response) * The exact error message and timestamp * Steps already tried * Relevant logs from inside the VM (`journalctl -xe`, `/var/log/syslog`) # Products Source: https://docs.rafftechnologies.com/products/index Every product on the Raff Platform — Virtual Machines, Volumes, Object Storage, VPC, Public IPs, Firewall, Team & Projects — plus what's coming next. One platform, one bill, one API. <sub>Updated May 8, 2026</sub> # One platform for digital teams Build, store, network, and manage — under one account, one bill, and one API. Every product below uses the same authentication, the same regional infrastructure, and the same prorate-on-delete billing model. **Start with one product, add more whenever you need them.** > [!NOTE] > > **New here?** Read [Why Raff](/products/why-raff) for the founding story, mission, and the full ecosystem vision — or jump straight into [creating your first VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) and have a server running in five minutes. *** ## Build — compute and orchestration Run code on dedicated infrastructure you control. Pick the abstraction that fits the workload. > [card] [Virtual Machines](/products/build/virtual-machines) > > **Ready** · Linux & Windows VMs, NVMe SSD, snapshots, backups, SSH/RDP. Plans from \$4.99/mo. > [card] [Kubernetes](/products/build/kubernetes) > > **Ready** · Managed K8s clusters — free control plane, autoscaling node pools, one-click apps. Nodes from \$9.99/mo. > [card] Apps (PaaS) > > **Coming soon** · Push-to-deploy app hosting with managed builds, domains, and TLS. *** ## Store — block, object, and data Persistent storage for everything from boot disks to media archives. NVMe SSD across every tier today; HDD class for cold data on the way. > [card] [Volumes](/products/store/volumes) > > **Ready** · NVMe SSD block storage, 10 GiB–1 TiB, attach/detach to any VM. \$0.05/GiB/mo. > [card] [Object Storage](/products/store/object-storage) > > **Ready** · S3-compatible buckets, AWS-SDK works as-is. \$7/mo first 100 GB, then \$0.07/GB. > [card] [Managed Databases](/products/store/databases) > > **Ready** · PostgreSQL, MySQL, Valkey, ClickHouse and Kafka. Nightly backups, high availability, point-in-time restore. Free plan, paid from \$7.99/mo. > [card] Vector Storage > > **Coming soon** · Built-in vector search and similarity, integrated with the AI Gateway. *** ## Network — connect and secure The cross-cutting layer every product runs on. Private networking, public addressing, and the firewall in front of it all. > [card] [VPC](/products/network/vpc) > > **Ready** · VXLAN-isolated private networks, custom CIDRs, optional Internet Gateway with port forwarding. Free. > [card] [Public IPs](/products/network/public-ips) > > **Ready** · Auto-assigned IPv4 free with VMs; reserved IPv4 \$3/mo, IPv6 \$1/mo. > [card] [Firewall](/products/network/firewall) > > **Ready** · Stateful inbound/outbound rules with 5 prebuilt templates. Free. *** ## Manage — access, billing, and ops Everything you need to run the account itself: members, projects, roles, API keys. > [card] [Team & Projects](/products/manage/team-projects) > > **Ready** · Members, projects, role-based permissions, API keys with scoped roles, audit log. > [card] Communicate > > **Coming soon** · Email hosting, transactional email, and campaign sends from one provider. > [card] Automate > > **Coming soon** · Workflows, cron jobs, and webhooks — triggers and actions across every product. *** ## AI — the next pillar The platform's fifth pillar, focused on bringing AI features into your product without stitching together five third-party APIs. > [card] AI Gateway > > **Coming soon** · Unified API across LLM providers with usage tracking, rate limits, and prompt caching. > [card] [MCP server](/products/ai/mcp) > > **Ready** · Manage Raff from Claude, ChatGPT, Cursor and other AI assistants. Sign in with Raff; paid changes need your confirmation. > [card] AI Agents > > **Coming soon** · Build agents that execute multi-step workflows against the rest of the Raff platform. > [card] Vector Search > > **Coming soon** · Semantic search and RAG over your own data, integrated with Object Storage. *** ## Common to every product These apply to **every product on the platform**, current or coming: > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Subscription is the default; pay-as-you-go available on request. Unused time credits back to your account balance on delete. > [card] [SLA](/products/build/virtual-machines/details/sla) > > The 99.90% uptime commitment and credit terms for every Raff product. > [card] [Support](/products/build/virtual-machines/details/support) > > Email support, response targets, and how to reach the on-call team. > [card] [API Reference](/api-reference/endpoints) > > Full HTTP API with OpenAPI spec, key-based auth, project scoping. *** ## Each product page has the same shape Every product in this docs site is organized identically so you can navigate by muscle memory: | Section | What you'll find | | - | - | | **Overview** | Hero screenshot, what the product does, key specs, fastest-task cards | | **Quickstart & guides** | Dashboard task walkthroughs — create, configure, attach, delete, etc. | | **Concepts** | The model behind the product — how it works, what trade-offs exist | | **Details** | Features, limits, pricing, regional availability, SLA | | **Troubleshooting** | Common issues with the fix for each | Pick a product above and the sidebar drops you into all five sections. # Raff Guardian activity Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/activity What Raff Guardian records about a server in Activity, how threads and levels work, and who can read and export it. <sub>Updated October 15, 2026</sub> Activity is one record per server of what Raff Guardian saw, decided and did. Every change it makes is there, with who asked for it, why, and what it was before and after. Raff Guardian writes the sentences itself, so the record reads the same in the dashboard and in an export. ## How it works ### What is recorded * **Findings**: when each opened and when it closed, and why. * **Changes**: every action, from the proposal or your press to the result, with the facts before and after. For example "Installed 4 Windows updates. Held back KB5122871 until its fix is installed." * **Decisions**: who approved or declined a proposal, and who stopped something. * **Blocks**: each address blocked on the server, with the failed sign-ins behind it, and each block lifted. * **Power**: restarts and shut downs, who asked for them, and how long the server took to come back. A restart nobody asked for reads "Your server restarted, not by Raff Guardian." * **Settings**: every change to the mode, a single action, the update window or the watched services, with who made it. * **Raff Guardian itself**: install, reinstall, uninstall, updates of itself, and contact lost and back, for example "Raff Guardian could not reach your server from 12:01 to 12:14. Your server kept running." * **Questions** you asked, with a short summary of the answer. ### Threads Related entries form one thread. A Windows update install is one thread: the snapshot, the download, the install, the restart and the check. The list shows each thread's headline; **Show details** opens every step, oldest first. An orange dot marks a thread with a warning, a red dot one with something critical. A finding thread whose finding has closed has no dot. ### Levels * The default list shows what matters to you. * **Show all activity** adds detail entries, such as each Remote Desktop attack Raff Guardian saw and each install command made. ### Categories **Updates**, **Security**, **Licences**, **Power**, **Apps**, **Health**, **Settings**, **Install**, **Raff Guardian** and **Connection**. Combine them with a search. ### Who can read it Members who can view the server can read its activity. Members who can manage it can also export it, as CSV or JSON lines, up to 13 months and 100,000 entries per file. After you uninstall Raff Guardian, its activity stays readable on the Guardian tab under **See what Raff Guardian did before it was removed**. When you delete the server, its activity is hidden from the dashboard at once. ## When to use it * To answer "what changed on this server last night?". * To prove when updates were installed, for an audit. * To see why the server restarted. ## Trade-offs / limits * The Overview shows the newest 3 threads; the **Activity** section has all of them, 20 a page. * Activity is a record of Raff Guardian's work, not of everything that happens on Windows. For the raw reports, use **Open full log** in the Raff Guardian card's **⋯** menu. ## Related > [card] [See what it did (activity log)](/products/manage/raff-guardian/quickstart-guides/see-the-activity-log) > > Search, filter and export. > [card] [Privacy and data](/products/manage/raff-guardian/concepts/privacy-and-data) > > What Raff Guardian reads and sends. # Raff Guardian automatic blocking and account lockout Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/automatic-blocking How Raff Guardian blocks addresses that guess passwords within seconds, and why it takes over Windows' account lockout so bots never lock you out. <sub>Updated October 15, 2026</sub> Every Windows server on the internet gets password guesses on Remote Desktop all day. Raff Guardian watches the failed sign-ins on the server and blocks an address at the Windows Firewall as soon as it crosses your limit. While it does, it switches off Windows' own account lockout, so bots guessing passwords can no longer lock your real users out. ## How it works ### Counting failed sign-ins The agent watches Windows' sign-in events on the server itself. It counts, per address: * failed Remote Desktop sign-ins, and * failed SSH password sign-ins, when OpenSSH Server is installed. When one address reaches the limit within 15 minutes, the agent blocks it at once, on the server, within seconds. It does not wait for Raff: blocking works even while the server cannot reach Raff. The limit is **Block an attacker after** in **Settings**: 8 failed sign-ins by default, from 5 to 200. ### Attacks on one account from many addresses Some bots spread their guesses over many addresses. When one account gets 6 or more failed sign-ins from 3 or more addresses within 15 minutes, every address that fails on that account again is blocked at its next failure. Activity names the account: "...it guessed passwords for an account several addresses were attacking." ### What is never blocked * Addresses you allowed to reach Remote Desktop. See [Block or unblock an IP address](/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address). * The addresses of Raff's browser console, so the console always reaches your server. * Private and reserved ranges: `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, `100.64.0.0/10` and the ranges Windows reserves for itself. ### How long blocks last * **Automatic blocks** end after 7 days. If the address attacks again, Raff Guardian blocks it again at once. A block is not lifted while the address is still attacking. * **Blocks you add** with **Block now** stay until you unblock them. * An address you later allow to reach Remote Desktop is unblocked automatically (except on **Watch only**). Each block is a Windows Firewall rule named "Raff Guardian: block" followed by the address. ### Auto, Ask me and Off Blocking follows the **Block attacking addresses** action: | Setting | What happens | | - | - | | **Auto** (default in **Raff manages everything** and **Ask me before changes**) | Blocks on the server within seconds, and takes over the account lockout. | | **Ask me** | Asks you after the limit is reached; the address keeps trying until you approve. | | **Off** | Reports failed sign-ins, blocks nothing. | On **Watch only**, Raff Guardian blocks nothing and lifts no block on its own. You can still unblock an address. ### The account lockout handover Windows can lock an account after a number of wrong passwords. On a server reachable from the internet, that protects nobody: bots guess the **Administrator** password all day, and the lockout locks out you instead of them. So while blocking is on **Auto** and Raff Guardian may change the server, it hands the lockout over: 1. Raff Guardian keeps Windows' lockout setting, then sets Windows to stop locking accounts after wrong passwords. Activity: "Windows no longer locks accounts after wrong passwords: Raff Guardian blocks the attackers instead." 2. Attackers are blocked by address instead, so your accounts stay usable. 3. Windows gets its own lockout back when you choose **Watch only**, set blocking to **Ask me** or **Off**, or uninstall Raff Guardian. It gets the setting it had before, or 10 wrong passwords within 15 minutes locking for 15 minutes when there was none. Activity: "Windows' own account lockout is back". In **Windows protection** on the **Security** section, **Wrong passwords** then reads **Raff Guardian blocks**. ## When to use it * Keep it on **Auto** on any server with Remote Desktop open to the internet. * Add the addresses you work from to the Remote Desktop allow list, so a typo on your side never blocks you. * Use **Ask me** or **Off** only if another tool already blocks attackers on the server. ## Trade-offs / limits * IPv4 only. Raff Guardian keeps at most 500 automatic blocks on a server. * If you mistype your own password enough times from an address that is not on the allow list, that address is blocked too. Unblock it from the dashboard, or use the browser console. * With the lockout handed over, a person who knows a valid account name can keep guessing from new addresses. Each address is blocked after your limit, and accounts attacked from many addresses are guarded. ## Related > [card] [Block or unblock an IP address](/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address) > > Unblock, change the limit, set the allow list. > [card] [Reset passwords and manage users](/products/manage/raff-guardian/quickstart-guides/reset-passwords-and-manage-windows-users) > > Unlock an account Windows locked. # Raff Guardian findings Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/findings What each Raff Guardian finding means, its severity, what Raff Guardian does about it and how it closes. <sub>Updated October 16, 2026</sub> A finding is a problem Raff Guardian sees on the server, such as low disk space, a stopped service or Windows Firewall turned off. Open findings are listed in **Needs attention** on the Guardian tab's **Overview**. Each closes by itself once the problem is gone. ## How it works ### Severity | Badge | Meaning | | - | - | | **Critical** | Fix now: the server is exposed or not working as it should. | | **Needs attention** | Worth fixing soon. | | **Info** | Good to know. | Each finding shows when it started ("since"). Windows protection findings have **Show details** with "How to fix". ### What Raff Guardian does about a finding * Some findings have a button that fixes them, such as **Install now**, **Restart now**, **Free space**, **Restart service**, **Update now**, **Scan now** or **Block now**. On **Auto**, Raff Guardian presses it for you; on **Ask me**, it proposes it in the **Queue**. See [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions). * Some findings can be marked as known. **This is expected** on a new administrator or an open port, and **This is mine** on a remote access app, close the finding and stop the warning for that item. * The rest tell you what to fix yourself. ### Updates | Finding | Severity | Opens when | Button | | - | - | - | - | | Security updates waiting | Needs attention | Windows Update reports at least one security update waiting | **Install now** | | Restart needed to finish updates | Needs attention | Windows needs a restart to finish installing | **Restart now** | | Server not healthy after updates | Critical | The server did not come back healthy within 25 minutes of an update install or restart | Restore offer in the Queue | ### Health | Finding | Severity | Opens when | Button | | - | - | - | - | | Low disk space on (drive) | Needs attention | A drive has less than 15% free | **Free space** | | Very low disk space on (drive) | Critical | A drive has less than 5% free | **Free space** | | (service) service not running | Needs attention | A watched service that starts automatically is not running | **Restart service** | | Windows not activated | Needs attention | Windows is not activated | | | Windows evaluation edition | Needs attention | Windows runs an evaluation edition | | | Contact with your server | Needs attention | Raff has not heard from Raff Guardian for 5 minutes | | ### Security | Finding | Severity | Opens when | Button | | - | - | - | - | | No antivirus protecting Windows | Critical | Microsoft Defender is not the active antivirus and no other known antivirus runs | | | Threat Microsoft Defender has not removed | Critical | Microsoft Defender detected a threat it has not removed | | | Windows Firewall off | Critical | Windows Firewall is off, or lets every inbound connection in, for the network the server uses | | | Microsoft Defender definitions out of date | Needs attention | Definitions are more than 3 days old | **Update now** | | No recent Microsoft Defender scan | Needs attention | No finished scan in 7 days | **Scan now** | | Remote Desktop without Network Level Authentication | Needs attention | Remote Desktop is on without Network Level Authentication | | | SMB version 1 on | Needs attention | The SMB version 1 server or client is on | | | Guest account on | Needs attention | The built-in Guest account is turned on | | | No account lockout | Needs attention | Windows never locks accounts, on a server not in a domain, and Raff Guardian has not taken the lockout over | | | New administrator account | Needs attention | An account joined Administrators that was not there in Raff Guardian's first 6 hours on the server | **This is expected** | | Port (port) open to every address | Needs attention | A risky port is open to any address: FTP, SSH, Telnet, Windows RPC, file sharing, SQL Server, MySQL, PostgreSQL, VNC, Windows Remote Management, Redis, Elasticsearch or MongoDB. Remote Desktop is never one | **This is expected** | | Remote access app (name) | Needs attention (Info if it was there when Raff Guardian first listed the apps) | A remote access app is installed or running that you have not confirmed | **This is mine** | | Certificate expiring | Needs attention | A machine certificate expires within 30 days | | | Remote Desktop attack from (address) | Critical | Many failed Remote Desktop sign-ins from one address in 15 minutes | **Block now** | | SSH password guesses | Needs attention | 10 or more SSH password guesses in 15 minutes | | ### Apps | Finding | Severity | Opens when | | - | - | - | | (app) past its end of support | Needs attention | An installed version passed its end of support date and gets no more security updates | | (app) support ending | Info | An installed version reaches its end of support within 180 days | ### Raff Guardian | Finding | Severity | Opens when | | - | - | - | | Raff Guardian update rolled back | Needs attention | A Raff Guardian update did not take and the agent went back to the version it had | ### Emails Raff emails the server's project members, and shows it in the bell, when: * **A Critical finding opens.** **Remote Desktop attack from (address)** is the exception: Raff Guardian blocks the address by itself. The same problem on the same server emails at most once a day. * **Raff Guardian has not reported for 15 minutes** while the server is on. The email says when it last reported. A short silence, such as a restart, sends nothing. * **Raff Guardian reports again** after such an email. The email says how long it was silent. These emails always go out, whatever your notification settings. The button opens the server's Guardian tab, or its Raff Keep page on a server Kept by Raff. Nothing is emailed while Raff Keep is still installing the server. ### How findings close A finding closes when Raff Guardian sees the problem is gone, for example after a restart or once disk space is freed. Uninstalling Raff Guardian closes every open finding. Each finding, its opening and closing, is in **Activity**. ## When to use it * Check **Needs attention** after installing Raff Guardian: the first checks often find settings worth fixing. * Use **This is expected** only for items you know about, such as a port your app needs open to everyone. ## Trade-offs / limits * Windows protection is checked every hour, so a change you make can take up to an hour to show. **Check now** on **Windows protection** checks at once. * Administrators already in the group during Raff Guardian's first 6 hours on the server count as known and raise no finding. ## Related > [card] [Activity](/products/manage/raff-guardian/concepts/activity) > > Every finding, action and result in one record. > [card] [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change) > > Answer the fixes Raff Guardian proposes. # How Raff Guardian works Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/how-it-works What runs on your Windows server, how Raff Guardian reports to Raff, how changes reach it, and how signed releases keep it safe. <sub>Updated October 16, 2026</sub> Raff Guardian has two parts: a small agent that runs as a Windows service on your server, and Raff's side, which reads its reports, decides what needs doing and shows everything in the dashboard. The agent only connects out to Raff. It never opens a port on your server. ## How it works ### The agent on your server The installer puts the agent in `C:\Program Files\Raff\Guardian` and its data in `C:\ProgramData\Raff\Guardian`, and runs it as the **RaffGuardian** Windows service. The service starts with Windows, and Windows restarts it if it fails. The **Server** card on the Overview shows how much processor and memory Raff Guardian itself uses. ### Its own key At install, the agent makes its own key pair on the server. The private key stays in the data folder, which only Administrators and the system account can read; Raff only ever receives the public half. A reinstall makes a new key. ### Reports every minute Every minute the agent checks the server and sends a signed report to Raff over HTTPS: processor and memory, disk space, pending Windows updates, services, failed sign-ins, firewall and Microsoft Defender state, and more. It sends the full state every 15 minutes and otherwise only what changed. Raff accepts a report only when its signature matches the key made at install. If Raff cannot be reached, the agent keeps its reports and sends them when the connection is back. Blocking attackers does not wait for Raff: the agent does that on the server itself. See [Privacy and data](/products/manage/raff-guardian/concepts/privacy-and-data). ### Changes are signed by Raff Raff Guardian makes a change only through a plan that Raff signs, for example "install Windows updates" or "block this address". Plans travel back in the answer to the agent's own report, so nothing ever connects in to your server. Before it runs a plan, the agent checks that: * Raff's signature is valid, * the plan is for this server and has not expired (a plan not run within 30 minutes expires), * it is an action built into the agent. The agent has no way to run any other command. Which plans Raff makes depends on the mode you choose and on each action's setting. See [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions). ### Signed releases and self-update Raff signs every release of Raff Guardian, and the agent checks the signature before it installs anything: * **At install**, the command checks the installer against the fingerprint Raff published for it, and the installer checks the agent the same way before it changes anything on the server. If either does not match, it stops: "Nothing was installed." * **On every update**, the agent checks Raff's signature on the release with a key built into the agent itself, then downloads the new version only from Raff's release location, with the exact size and fingerprint the signed release names. A release that fails any check is refused. Raff Guardian always keeps itself up to date, in every mode, **Watch only** included. There is no update button. New versions reach servers gradually, and Raff can pause a version when updates to it fail; the dashboard then says "Raff Guardian updates are paused while Raff checks a problem with the new version." If an update does not take, the agent goes back to the version it had and you see the finding **Raff Guardian update rolled back**. ### When the agent goes quiet If Raff hears nothing for 5 minutes, the Guardian tab shows "Raff Guardian is not reporting." above its sections and the finding **Contact with your server** opens. After 15 minutes without a report, Raff emails the server's project members, and again when reports come back. When reports come back, the finding closes and Activity says how long contact was lost. A server that was turned off shows that instead, for example "Server has been off since 14:02. You shut it down from the dashboard." ## When to use it * You run Windows servers and want attackers blocked, updates installed and services kept running without logging in every day. * You want a record of every change made to the server, with what it was before and after. * You want to see problems (low disk, a stopped service, Windows not activated) before your users do. ## Trade-offs / limits * Windows Server only. Raff Guardian does not run on Linux yet. * The agent needs outbound HTTPS to Raff. With no connection it keeps watching and blocking, but Raff cannot act on its reports until they arrive. * Raff Guardian runs only the actions built into it. It does not run your own scripts or commands. ## Related > [card] [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions) > > What Raff Guardian may change on its own. > [card] [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server) > > Run the install command. # Raff Guardian modes and permissions Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/modes-and-permissions What Raff manages everything, Ask me before changes and Watch only do, and the Auto, Ask me and Off setting of every Raff Guardian action. <sub>Updated October 15, 2026</sub> Every server with Raff Guardian has one mode, and every action Raff Guardian can take has its own setting: **Auto**, **Ask me** or **Off**. The mode sets the defaults for all actions at once; you change single actions only when you want to. ## How it works ### The three modes | Mode | In short | | - | - | | **Raff manages everything** | Raff Guardian fixes problems, installs updates in your update window and blocks attacks on its own. Every change is recorded in Activity. | | **Ask me before changes** | Raff Guardian asks before it changes anything. It still blocks attacks at once, answers your questions about the server and keeps itself up to date. | | **Watch only** | Raff Guardian reports what it sees and changes nothing. It still keeps itself up to date, and you can still remove its blocks and sign out, unlock or set new passwords for Windows users. | A server you install Raff Guardian on from its Guardian tab starts on **Watch only**. A server where you added Raff Guardian on the create page starts in the mode you picked there. A reinstall keeps the mode the server had. ### Auto, Ask me and Off * **Auto**: Raff Guardian does it on its own and records it in Activity. * **Ask me**: Raff Guardian prepares the change and waits in the **Queue** for **Approve** or **Decline**. See [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change). * **Off**: never, not even when you press its button. When you start an action yourself, for example **Install now** or **Unblock**, that counts as your yes. Only **Off** stops it. ### Every action and its default | Group | Action | Raff manages everything | Ask me before changes | Choices | | - | - | - | - | - | | Updates | Install Windows updates on your schedule | Auto | Ask me | Auto, Ask me, Off | | Updates | Restore the pre-update snapshot | Always asks | Always asks | Fixed | | Security | Block attacking addresses | Auto | Auto | Auto, Ask me, Off | | Security | Change who can reach Remote Desktop | Ask me | Ask me | Auto, Ask me, Off | | Security | Update Microsoft Defender's definitions | Ask me | Ask me | Ask me, Off | | Security | Start Microsoft Defender quick scans | Ask me | Ask me | Ask me, Off | | Users | Sign out Windows users | Ask me | Ask me | Ask me, Off | | Users | Unlock Windows users | Ask me | Ask me | Ask me, Off | | Users | New passwords for Windows users | Ask me | Ask me | Ask me, Off | | Licences | Activate Windows with Raff's licence | Ask me | Ask me | Ask me, Off | | Power | Restart the server | Auto | Ask me | Auto, Ask me, Off | | Power | Force off when Windows does not shut down | Ask me | Ask me | Ask me, Off | | Power | Hard restart when Windows does not restart | Ask me | Ask me | Ask me, Off | | Maintenance | Restart a stopped service | Auto | Ask me | Auto, Ask me, Off | | Maintenance | Free disk space | Auto | Ask me | Auto, Ask me, Off | | Commands | Answer questions about this server | Auto | Auto | Auto, Off | | Raff Guardian | Keep Raff Guardian up to date | Always on | Always on | Fixed | The actions with **Ask me** and **Off** only are ones Raff Guardian never takes on its own: signing users out, unlocking them, new passwords and Windows activation run only when you press the button, and the Microsoft Defender and force actions only ever ask. ### What each action does on Auto * **Install Windows updates**: in your update window, with a snapshot first and a check after the restart. See [Windows updates](/products/manage/raff-guardian/concepts/windows-updates). * **Restart the server**: restarts Windows when it asks for a restart outside an update install, during your update window, at most once a day. At other times it asks. Your own **Restart** always works. * **Restart a stopped service**: starts a watched service again when it stops, up to 3 times a day per service, then asks you. Services Windows needs are reported but never restarted. * **Free disk space**: when a drive runs low, removes Windows temp files, the recycle bin and the Delivery Optimization cache, at most once a day per drive. It never touches files Windows Update still needs. * **Block attacking addresses**: see [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking). ### What Watch only still does On **Watch only**, Raff Guardian changes nothing on its own and refuses changes, with a few exceptions: * It keeps itself up to date. * You can still unblock an address, sign out, unlock or set a new password for a Windows user, and press the Windows licence buttons. * It answers your questions about the server. Choosing **Watch only** cancels everything queued and stops what is running as soon as it safely can. It also gives Windows its own account lockout back. Your per-action choices are kept for when you leave Watch only. On **Watch only**, **Restart** and **Shut down** in the server's power menu use the standard way instead of Raff Guardian. See [Restart or shut down the server](/products/manage/raff-guardian/quickstart-guides/restart-or-shut-down-the-server). ## When to use it * **Raff manages everything**: servers you want looked after without daily attention. * **Ask me before changes**: production servers where every change needs a person's OK, while attacks are still blocked at once. * **Watch only**: to see what Raff Guardian would find before you let it change anything. * **Per action**: to keep one action as you want it, for example **Free disk space** on **Off** for a server with a strict disk layout. ## Trade-offs / limits * On **Ask me**, a proposal waits until you answer it or for 7 days, then expires. Raff Guardian closes it earlier when the problem goes away. * On **Watch only**, Raff Guardian does not block attackers, so Windows' own account lockout applies again. * An action an older Raff Guardian cannot do yet shows a line saying so. Raff Guardian updates itself, so this clears on its own. ## Related > [card] [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions) > > Change the mode or a single action. > [card] [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change) > > Answer proposals in the Queue. # What Raff Guardian reads and sends Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/privacy-and-data The data Raff Guardian reads on a Windows server, what it sends to Raff, what it never reads, and who at Raff can see it. <sub>Updated October 15, 2026</sub> Raff Guardian reads the state of Windows, not your data. It sends Raff what it needs to look after the server: health, updates, security settings, sign-ins and the apps installed. This page lists what that is, what it never reads, and who can see it. ## How it works ### What it sends, and how often Every minute the agent sends a signed report over HTTPS to `api.rafftechnologies.com`. Only what changed goes each minute; everything is sent again every 15 minutes. Some checks run less often, noted below. | Report | What it holds | | - | - | | Heartbeat | Computer name, Windows version and build, uptime, processor and memory use, whether a restart is pending, Raff Guardian's own processor and memory use | | Disks | Size, free space and health of each drive | | Windows updates | Counts of waiting, security and driver updates, up to 25 update titles, the last update installed | | Services | Name, state and start type of the services Raff Guardian watches: Remote Desktop and its licensing, Windows Update, Microsoft Defender, IIS, SQL Server, OpenSSH Server, the guest agent, and the ones you add | | Remote Desktop sign-ins | Failed sign-ins and sessions of the last 15 minutes, counted by IP address | | SSH sign-ins | Counts of failed SSH sign-ins only, no addresses | | Blocks | The addresses Raff Guardian blocked, the failed sign-ins behind each, and the account name when bots were guessing one account's password | | Certificates | Subject and expiry date of the server's machine certificates | | Windows Server Backup | Whether it is installed and when it last ran | | Activation | Licence status and edition, and only the last 5 characters of the product key | | Windows protection (hourly) | Microsoft Defender state and detected threat names, Windows Firewall, Remote Desktop and sign-in settings, the members of the Administrators group, listening ports and the program behind each | | Apps (daily or when they change) | Installed programs with publisher, version and install folder, Windows features, runtimes, services installed outside Windows, remote access tools that are running | | Windows users (when they change, and every 15 minutes) | Local account names, whether each is an administrator, turned on or locked, when its password was set, last sign-in, sessions with the client IP address, and how many services or tasks run as it | | Remote Desktop licensing (hourly) | Licensing mode, licence servers and grace days | The agent also reports the start and result of every action, with what it was before and after. ### What it never reads or sends * **Your files.** The **Disk space by folder** question adds up folder sizes from directory listings and never opens a file. Inside user profiles it names only standard folders such as Desktop, Documents and Downloads. * **Passwords.** No account password, and not the auto sign-in password: Raff Guardian only checks whether one is set. A new password you ask for is sealed to your browser, and Raff cannot open its copy. * **Account details** beyond those listed above: never an account's comment, full name or bad-password count. * **Your product key**, beyond its last 5 characters. * **Microsoft Defender exclusions.** It counts them and never lists them. * **Per-user programs.** The app list covers programs installed for the whole server. Paths inside user profiles are masked, for example `C:\Users\*\...`. * **The Security event log**, through a question. The **Recent errors** question reads only the System and Application logs. ### Questions you ask The **Check your server now** card on the Overview asks Raff Guardian a read-only question, such as **What uses the CPU** or **Ports and connections**. A question only reads; nothing changes. Answers leave out command lines, program paths and account names, mask secrets they recognise in event messages and task names, and are deleted after 7 days. Only members who can manage the server can ask and read them. You can switch questions off with **Answer questions about this server** in the **Commands** group of the per-action settings. ### What stays on the server The agent keeps a copy of its own reports for 7 days in `C:\ProgramData\Raff\Guardian`, which only Administrators and the system account can read, and writes its log to the Windows Application event log. ### Who can see it * Members of the project with permission to view the server see Raff Guardian's reports, findings and activity. Answers to questions, exports and new passwords need permission to manage the server. * Raff support sees your server's Raff Guardian only while you allow it, for 1, 7 or 30 days, and every visit is listed for you. In an emergency a senior Raff engineer can open emergency access, which can only stop or fix what Raff Guardian did and is listed the same way. See [Let Raff support help](/products/manage/raff-guardian/quickstart-guides/let-raff-support-help). * When you delete a server, its Raff Guardian activity is hidden from the dashboard at once. ## When to use it * Before installing Raff Guardian on a server that holds sensitive data, to know what leaves the server. * When your security team asks what the agent collects. ## Trade-offs / limits * Raff Guardian sends account names, administrator names and the IP addresses of sign-ins and sessions. It needs them to block attackers, show who is signed in and warn about new administrators. * Secret masking in question answers recognises common patterns (passwords in connection strings, tokens, email addresses). It is not a guarantee that no secret ever appears in an answer. * When a check fails, its error report can include part of Windows' own error message. ## Related > [card] [How it works](/products/manage/raff-guardian/concepts/how-it-works) > > The agent, its key and signed releases. > [card] [Activity](/products/manage/raff-guardian/concepts/activity) > > What Raff Guardian records about its own work. # Windows updates with Raff Guardian Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/concepts/windows-updates How Raff Guardian installs Windows updates in your update window, with a snapshot before, a check after the restart and a restore offer if the server does not come back healthy. <sub>Updated October 15, 2026</sub> Raff Guardian installs the Windows updates that are waiting, in the window you choose. Every install follows the same steps: protect the server, install, restart if needed, then check the server came back. If it did not, Raff Guardian tells you and offers to put the snapshot back. ## How it works ### The update window You choose the days, a start time on the hour or half hour, and a time zone. The default is every day at 03:00 UTC. On those days, Raff Guardian starts installing within an hour of the start time when: * Windows Update reports updates waiting, from a check in the last 48 hours, * no update install is already open, and * no install was started in the last 20 hours. What happens then follows **Install Windows updates on your schedule**: | Setting | In the window | | - | - | | **Auto** (default in **Raff manages everything**) | Raff Guardian installs the updates. | | **Ask me** (default in **Ask me before changes**) | Raff Guardian proposes the install in the **Queue**, once per scheduled day. | | **Off**, or **Watch only** | Raff Guardian only reports the waiting updates. | **Install now** on the **Updates** section starts the same steps at any time. ### 1. Protect the server Before it installs anything, Raff Guardian takes a snapshot of the server's disk, named `guardian-pre-update-` followed by the date. On a server that uses Raff Backups, disk snapshots are not possible, so the backups protect the server instead. If the snapshot cannot be taken, nothing is installed. Raff Guardian tries again during the window, and Activity says so, for example "Not installed today: Raff Guardian could not take a snapshot first (3 tries)." ### 2. Install Raff Guardian installs the waiting updates through Windows Update and shows each step in the **Queue**, for example "Downloading 5 updates · step 3 of 7". * **Driver updates** are left to you. * **Updates with a known issue** that Microsoft lists are held back until the fix they need is on the server. They show under **Held back**. ### 3. Restart If the updates need a restart, Raff Guardian restarts the server, whatever the **Restart the server** setting says. Remote Desktop sessions end during the restart. ### 4. Check After the restart, Raff Guardian checks that the server reports again from the new boot and that Remote Desktop is running. Activity: "Raff Guardian checked your server afterwards: it came back healthy." The snapshot is then deleted. If the check does not pass within 25 minutes, Raff Guardian opens the finding **Server not healthy after updates** and proposes **Restore the pre-update snapshot** in the **Queue**. A restore stops the server, puts its disk back to the snapshot and starts it again: anything written to the disk since then is lost, so this always asks, in every mode. ### Restarts outside an update install Windows can need a restart outside an install Raff Guardian made. That shows as **Restart needed to finish updates** and follows **Restart the server**: on **Auto**, Raff Guardian restarts during your update window, at most once a day; outside the window, or on **Ask me**, it asks you. ## When to use it * Put the window in the hours your server is least used: the restart ends Remote Desktop sessions. * Use **Ask me** on servers where someone must be ready when the server restarts. * Use **Install now** when a security update is urgent. ## Trade-offs / limits * The pre-update snapshot is an ordinary snapshot in the server's **Snapshots** tab while it exists, and is billed like one. See [Pricing](/products/manage/raff-guardian/details/pricing). * Raff Guardian does not install driver updates. * An install and a restart never start while the other is still open. ## Related > [card] [Schedule Windows updates](/products/manage/raff-guardian/quickstart-guides/schedule-windows-updates) > > Days, time, time zone and Install now. > [card] [Snapshots vs backups](/products/build/virtual-machines/concepts/snapshots-vs-backups) > > How snapshots and Raff Backups differ. # Raff Guardian features and limits Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/details/features-and-limits Supported systems, network needs, timings and every limit of Raff Guardian in one place. <sub>Updated October 16, 2026</sub> The facts about Raff Guardian in one place. ## Supported servers | Item | Value | Notes | | - | - | - | | Operating system | Windows Server | Offered on every Windows server on Raff. Raff tests each release on Windows Server 2025 | | Linux | Not supported yet | The Guardian tab of a Linux server says so and offers no install | | Install | From the server's Guardian tab, or on the Windows create page | | | Runs as | The **RaffGuardian** Windows service | `C:\Program Files\Raff\Guardian`, data in `C:\ProgramData\Raff\Guardian` | ## Network | Item | Value | | - | - | | Inbound ports | None. Raff Guardian never opens a port | | Outbound | HTTPS to `api.rafftechnologies.com` (reports) and `raff-releases.s3.raffusercloud.com` (install and updates) | | Windows updates and Defender definitions | From Microsoft, as Windows normally gets them | ## Install | Item | Value | | - | - | | Install command | Single use, expires after 15 minutes | | Where to run it | Windows PowerShell, as administrator | | First-boot install (create page) | Keeps trying for up to 10 minutes while the network comes up | | Mode after a first install | **Watch only** from the Guardian tab; the chosen mode from the create page | | Reinstall | New key; keeps the server's mode and settings | ## Reports and timings | Item | Value | | - | - | | Report | Every minute; full state every 15 minutes | | Windows protection check | Every hour, or at once with **Check now** | | Windows users | Checked every minute, sent when they change and every 15 minutes | | Apps | Listed daily and when they change | | Not reporting | After 5 minutes without a report | | Not reporting email | After 15 minutes without a report, and again when it reports | | Critical finding email | When it opens; the same problem on the same server at most once a day | | Change not run | Expires after 30 minutes | | Proposal not answered | Expires after 7 days | | Copy of reports kept on the server | 7 days | ## Updates | Item | Value | Notes | | - | - | - | | Update window | Chosen days, start on the hour or half hour, your time zone | Default every day at 03:00 UTC | | Start | Within an hour of the start time | | | Before the install | Disk snapshot, or Raff Backups on servers that use them | | | Check after the restart | Up to 25 minutes | Then the restore offer | | Driver updates | Not installed | Left to you | ## Security | Item | Value | Notes | | - | - | - | | Block after | 5 to 200 failed sign-ins from one address in 15 minutes | Default 8 | | Counts | Remote Desktop, and SSH when OpenSSH Server is installed | | | Automatic blocks | Lifted after 7 days | Blocked again at once on a new attack | | Blocks you add | Stay until you unblock them | | | Automatic blocks on a server | Up to 500 | IPv4 only | | Remote Desktop allow list | Up to 500 IPv4 addresses or ranges | The browser console always works | | Never blocked | Allowed addresses, Raff's browser console, private and reserved ranges | | ## Maintenance and power | Item | Value | | - | - | | Watched services | Built in: Remote Desktop, Windows Update, Microsoft Defender, IIS, SQL Server, the guest agent; plus up to 40 you add | | Service names you add | Letters, digits and `. _ $ -`, up to 80 characters | | Automatic service restarts | Up to 3 a day per service, then Raff Guardian asks | | Free disk space | When a drive has less than 15% free, at most once a day per drive | | Restart or shut down countdown | 1, 5 or 10 minutes | | Restart or shut down reason | Optional, up to 120 characters | | Force off offer | Windows still running 10 minutes after a shut down (45 while updates may be installing) | | Hard restart offer | Windows not back 15 minutes after a restart (45 while updates may be installing) | ## Windows users | Item | Value | | - | - | | Accounts listed | Up to 200 | | Sessions listed | Up to 50 | | New password | At least 20 characters | | Show a new password again | For 10 minutes after you first see it | | New password nobody opened | Deleted after 24 hours | ## Questions and Activity | Item | Value | | - | - | | Questions | Up to 10 a minute per server | | Answers | Deleted after 7 days | | Activity list | 20 threads a page; search up to 100 characters | | Activity export | CSV or JSON lines, up to 13 months and 100,000 entries per file | ## What needs a mode other than Watch only On **Watch only**, Raff Guardian changes nothing. These need **Raff manages everything** or **Ask me before changes**: * Installing Windows updates, also with **Install now**. * Blocking addresses, and **Block now**. * Changing who can reach Remote Desktop. * Restarting a service, freeing disk space, updating Microsoft Defender's definitions, quick scans. * **Restart** and **Shut down** through Raff Guardian (on Watch only they use the standard way). These work in every mode: unblocking an address, signing out, unlocking or setting a new password for a Windows user, questions about the server, and Raff Guardian's own updates. ## Who can do what | Task | Permission | | - | - | | See Raff Guardian, findings and activity | `vm.view` | | Install, uninstall, change settings, approve or decline, block and unblock, ask questions, export activity | `vm.manage` | | Restart or shut down through Raff Guardian | `vm.power` | | Set a new Windows password | `vm.manage` and `vm.console`, signed in to the dashboard | See [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) for the roles that hold each permission. ## See also > [card] [Pricing](/products/manage/raff-guardian/details/pricing) > > What Raff Guardian costs. > [card] [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions) > > Every action and its default. # Raff Guardian pricing Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/details/pricing What Raff Guardian costs on a Windows server, and the snapshot storage its update protection uses. <sub>Updated October 15, 2026</sub> Raff Guardian is priced per server, as the dashboard shows it on the Windows create page and on each server's Guardian tab. ## Price | Item | Price | | - | - | | Raff Guardian on a Windows server | Free for 6 months, then \$10/mo | | Uninstall | Any time, from the server's Guardian tab | ## Related costs | Item | Billing | Notes | | - | - | - | | Snapshot before Windows updates | Like any snapshot: from your account's free backup and snapshot storage pool, then per GB above it | Raff Guardian deletes it once the server came back healthy. See [Virtual Machines pricing](/products/build/virtual-machines/details/pricing) | | Your server while Raff Guardian shuts it down | The server is still billed while it is off | As with any shut down | ## See also > [card] [Features & limits](/products/manage/raff-guardian/details/features-and-limits) > > What Raff Guardian does, and its limits. > [card] [Windows updates](/products/manage/raff-guardian/concepts/windows-updates) > > When the pre-update snapshot is taken and deleted. # Raff Guardian Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/index Raff Guardian looks after your servers from the inside. It blocks attackers, installs updates in your window, keeps services and apps running, manages users and records everything it does. <sub>Updated October 15, 2026</sub> Raff Guardian is a small program Raff installs on your server to look after it. It watches the server every minute and does the work a server needs every day: it blocks attackers, installs updates, restarts what stops and frees disk space. You decide how much it may do on its own, and every change it makes is recorded in **Activity** with what it was before and after. Raff Guardian is the engine behind [Raff Keep](/products/build/raff-keep/index): a stack **Kept by Raff** is a server Raff Guardian looks after. You can also add it to any server you create on Raff. It runs on Windows Server today. ![TODO: Guardian tab of a Windows server with Needs attention, Queue and the Raff Guardian card](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/hero.png) ## Why it is called Guardian A server on the internet needs care every day. Bots start guessing its passwords within minutes of it going online, updates arrive every month, services stop and disks fill up. Most people do not log in every day to check. Raff Guardian is named for that job. It stays on the server, watches over it day and night, steps in when something goes wrong and tells you what it did. ## How it works 1. **Install it.** Run one command from the server's **Guardian** tab, or choose it when you create the server. A stack Kept by Raff gets it during the install. 2. **It reports every minute.** Security, updates, services, apps, users and disk. It only connects out to Raff over HTTPS and never opens a port on the server. 3. **Raff finds what needs attention.** Each problem becomes a finding on the Guardian tab, with what it means and what to do. 4. **It acts as you allow.** In **Raff manages everything** it fixes problems on its own. In **Ask me before changes** it waits for your OK. In **Watch only** it only reports. 5. **Only what Raff signed runs.** Every action is signed by Raff, and Raff Guardian checks the signature before it runs it. Its own updates are signed and checked the same way. 6. **Everything is recorded.** Each finding, change, approval and question is in **Activity**, and you can export it. ## What it does ### Security * **Blocks attackers in seconds.** An address that fails to sign in 8 times in 15 minutes is blocked at the server's own firewall. You choose the number, from 5 to 200. It counts Remote Desktop, and SSH when OpenSSH Server is installed. * **Keeps you from being locked out.** Raff Guardian takes over Windows' account lockout, so bots guessing passwords block their own address instead of locking your accounts. * **Limits who can reach Remote Desktop**, if you ask, to the addresses you list. The browser console always works. * **Warns about what you did not add**: a new administrator, or a remote access app you did not install. * **Checks Windows' defences** every hour: the firewall, Microsoft Defender and Remote Desktop settings. It keeps Defender's definitions current and runs quick scans. ### Updates * **Installs Windows updates in your window.** Raff Guardian takes a snapshot first (or uses Raff Backups if the server has them), installs, restarts if needed and checks that the server came back. If it did not, it offers to put the snapshot back. Driver updates are left to you. ### Keeping things running * **Restarts services that stop**: Remote Desktop, Windows Update, Microsoft Defender, IIS, SQL Server and up to 40 services you add. Up to 3 restarts a day each, then it asks you. * **Frees disk space** when a drive has less than 15% free. * **Restarts and shuts down safely**, with a countdown you choose, and offers to force it when Windows hangs. * **Watches a Keep stack's application** on a server Kept by Raff. When a MetaTrader terminal or an IIS site stops, it tells you why and how to start it again. ### Knowing your server * **Lists the apps installed** and warns before one reaches its end of support. * **Answers questions** from the dashboard: what uses the CPU, which services run, which ports are open, which folders fill the disk. * **Shows Windows users** and who is signed in. You can set a new password, unlock an account or sign a user out from the dashboard. These run only when you press the button. * **Activates Windows with Raff's licence** on servers that have one. ## What it does not do * Run on Linux servers yet. Raff Guardian supports Windows Server today. * Run your own scripts or commands. It runs only the actions built into it, signed by Raff. * Open a port on your server. It only connects out to Raff. * Sign anyone out, unlock an account or change a password on its own. These run only when you press the button. * Replace backups. The snapshot it takes before updates is deleted once the server is healthy. * Install driver updates. ## Three modes | Mode | What Raff Guardian does | | - | - | | **Raff manages everything** | Fixes problems, installs updates in your update window and blocks attacks on its own. Every change is recorded in Activity. | | **Ask me before changes** | Asks you before it changes anything on the server. It still blocks attacks at once, answers your questions about the server and keeps itself up to date. | | **Watch only** | Reports what it sees and changes nothing. It still keeps itself up to date. | See [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions). ## Price Free for 6 months, then \$10/mo. Uninstall any time. See [Pricing](/products/manage/raff-guardian/details/pricing). *** ## Most viewed > [card] [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server) > > One PowerShell command from the server's Guardian tab. > [card] [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions) > > Raff manages everything, Ask me before changes or Watch only. > [card] [Schedule Windows updates](/products/manage/raff-guardian/quickstart-guides/schedule-windows-updates) > > When Windows updates may install. > [card] [Block or unblock an IP address](/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address) > > Unblock an address, limit who can reach Remote Desktop. *** ## Browse > [card] [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server) > > Step-by-step dashboard tasks. > [card] [How it works](/products/manage/raff-guardian/concepts/how-it-works) > > How Raff Guardian works, modes, blocking, updates and findings. > [card] [Features & limits](/products/manage/raff-guardian/details/features-and-limits) > > Features, limits and pricing. > [card] [Troubleshooting](/products/manage/raff-guardian/troubleshooting) > > Common issues and recovery. > [card] [Privacy and data](/products/manage/raff-guardian/concepts/privacy-and-data) > > What Raff Guardian reads and sends. > [card] [Activity](/products/manage/raff-guardian/concepts/activity) > > The record of everything it did. # Add Raff Guardian while creating a server Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/add-while-creating-a-server Choose Raff Guardian and its mode on the Windows create page, so the new server installs it by itself at first boot. <sub>Updated October 15, 2026</sub> Add Raff Guardian while you create a Windows server and you never run an install command. The server installs Raff Guardian by itself the first time it starts, in the mode you pick on the create page. ## Before you start * Permission to create servers in the project (`vm.create`). * Raff Guardian is offered on the Windows create page only. It does not run on Linux yet. ## Steps **1. Open the Windows create page** Click **+ Create** at the top right and choose **Windows**. **2. Choose Add Raff Guardian** Fill in **Region**, **Windows Edition** and **Windows License** as usual. In step 4, **Raff Guardian**, click **Add Raff Guardian** ("Free for 6 months, then \$10/mo"). **Not now** is selected by default. Click **See what Raff Guardian does** for the full list of what it does. ![TODO: Raff Guardian step on the Windows create page with Add Raff Guardian selected](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/create-01-add.png) **3. Pick how Raff Guardian looks after the server** Under **How Raff Guardian looks after the server**, pick one: | Choice | What it does | | - | - | | **Raff manages everything** (default) | Updates in your maintenance window, stopped services restarted, the application watched, attacks blocked, disk kept clean. | | **Ask me before changes** | Raff Guardian prepares each change and waits for your OK. Attacks are still blocked at once. | | **Watch only** | Raff Guardian checks the server and tells you about problems. It changes nothing. | You can change this any time on the server's Guardian tab. See [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions). **4. Finish and create the server** Complete the remaining steps and create the server. The step's summary reads, for example, "Raff manages everything · 6 months free". ## Verify A few minutes after the server first starts, open it under **Virtual Machines** and click the **Guardian** tab. The tab shows the **Overview**, **Security**, **Users**, **Apps**, **Updates**, **Activity** and **Settings** sections, and the **Raff Guardian** card names the mode you picked. The first-boot install keeps trying for up to 10 minutes while the network comes up. If the tab still offers **Install Raff Guardian** after that, install it by hand: see [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server). It still starts in the mode you picked on the create page. ## Next steps > [card] [Schedule Windows updates](/products/manage/raff-guardian/quickstart-guides/schedule-windows-updates) > > Choose the days and time Windows updates may install. > [card] [See what it did (activity log)](/products/manage/raff-guardian/quickstart-guides/see-the-activity-log) > > Every check, change and result in Activity. # Approve or decline a change Raff Guardian proposes Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change Answer the changes Raff Guardian asks about in the Queue, stop what it is doing, or stop everything at once. <sub>Updated October 15, 2026</sub> When an action is set to **Ask me**, Raff Guardian prepares the change and waits for your answer in the **Queue**. The Queue also lists what is waiting to run or running now, and every item in it can be stopped. ## Before you start * Raff Guardian on the server, in **Ask me before changes**, or with some actions set to **Ask me**. See [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions). * Permission to manage the server (`vm.manage`). Other members see the Queue without buttons. ## Approve or decline **1. Open the Queue** Open the server under **Virtual Machines**, click **Guardian**. On the **Overview**, the **Queue** card shows how many items are open, for example "2 open". The card is hidden when nothing is open. **2. Read the proposal** Each proposal says what Raff Guardian wants to do, why (for example "Windows updates are waiting and your update schedule is due."), and "Waiting for your approval" with when it asked. Click **Show details** for more. ![TODO: Queue card with a proposal and the Approve and Decline buttons](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/queue-01-proposal.png) **3. Answer** * Click **Approve**: "Approved. Raff Guardian starts on it now." * Click **Decline**: "Raff Guardian will not do this one." A proposal you do not answer stays in the Queue for 7 days, then expires. Raff Guardian also closes a proposal itself when it is no longer needed, for example "No longer needed: Windows reports no pending updates." You can also approve from the place the problem shows: on Ask me, a finding's button such as **Install now** or **Restart now** approves the waiting proposal. ### Restoring the pre-update snapshot When a server does not come back healthy after Windows updates, Raff Guardian proposes to restore the snapshot it took before them. This proposal always asks, in every mode. **Approve** opens **Restore the snapshot?**: "Raff Guardian stops the server, puts its disk back to the snapshot taken before the updates and starts it again. Anything written to the disk since then is lost." Click **Restore** to go ahead. ## Stop something that is waiting or running Each item in the Queue has a stop button: | The item is | Button | What happens | | - | - | - | | Waiting to run | **Cancel** | "Cancelled. Raff Guardian will not do this." | | Running | **Stop** | "Raff Guardian stops this as soon as it safely can." The item shows **Stopping…** | | Counting down to a restart, update switch-over or shut down | **Cancel restart**, **Cancel update**, **Cancel shutdown** | The countdown stops and the server keeps running. | A few steps cannot be stopped once started, and say so: forcing the server off, a hard restart, setting a new password, and restoring a snapshot. ## Stop everything Click **Stop everything** on the Queue card. It shows while the Queue has items and Raff Guardian may change the server. The dialog explains: Raff Guardian cancels everything queued, stops what is running as soon as it safely can, and is set to **Watch only**, so it changes nothing until you choose another option in Settings. It still keeps itself up to date. Click **Stop everything** to confirm, or **Keep going**. ## Verify The item leaves the Queue. **Activity** shows the proposal, your answer and, once it ran, the result with what changed. ## Next steps > [card] [See what it did (activity log)](/products/manage/raff-guardian/quickstart-guides/see-the-activity-log) > > Follow the change through Activity. > [card] [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions) > > Which actions ask, and which run on their own. # Block or unblock an IP address Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address See which IP addresses Raff Guardian blocked, unblock one, block one yourself, and change how many wrong passwords trigger a block. <sub>Updated October 15, 2026</sub> Raff Guardian blocks addresses that keep guessing passwords, at the server's own Windows Firewall. The **Security** section of the Guardian tab shows what is blocked and lets you unblock an address or block one yourself. To let only your own addresses reach Remote Desktop, see [Limit who can reach Remote Desktop](/products/manage/raff-guardian/quickstart-guides/limit-remote-desktop-access). ## Before you start * Raff Guardian on the server. * Permission to manage the server (`vm.manage`). Other members see the lists without buttons. ## See what is blocked Open the server under **Virtual Machines**, click **Guardian**, then **Security**. * The band at the top says whether blocking works, for example **Protected: blocking is working**, with **Blocked now**, **Failed sign-ins, last 15 min** and **Last report**. * **Blocked addresses** lists each block and why, for example "Blocked on the server on 26 Sept, 14:43 after 8 failed sign-ins. Raff Guardian lifts it on 3 Oct." * **Wrong passwords, last 24 hours** charts the failed Remote Desktop sign-ins hour by hour, and names the busiest address. ![TODO: Security section with the status band, Who can reach Remote Desktop and Blocked addresses](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/security-01-overview.png) ## Unblock an address 1. In **Blocked addresses**, click **Unblock** on the address. 2. In **Unblock** followed by the address, click **Unblock**, or **Keep blocked**. Raff Guardian removes its firewall rule and the address can reach the server again. If it keeps failing to sign in, Raff Guardian blocks it again. Unblock works in every mode, **Watch only** included; on Watch only, Raff Guardian does not block the address again. To stop an address you use from being blocked at all, allow it to reach Remote Desktop (below). Addresses allowed to reach Remote Desktop are never blocked. ## Block an attacking address yourself When an address attacks Remote Desktop, the **Overview** can list a finding such as **Remote Desktop attack from 203.0.113.7** with **Block now**. Click it to block the address. A block you add stays until you unblock it. Raff Guardian blocks IPv4 addresses only for now. ## Change when it blocks 1. Click **Settings**. In the **Raff Guardian** group, the row **Block an attacker after** shows the number of wrong passwords, for example "8 tries". 2. Click **Change**, set a number from 5 to 200, and click **Save**. The count is per address within 15 minutes, and the block happens on the server within seconds. Whether Raff Guardian blocks on its own, asks you first or only reports is the **Block attacking addresses** action under **Each action on its own**: **Auto** (the default in both **Raff manages everything** and **Ask me before changes**), **Ask me** or **Off**. See [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking). ## Verify The address leaves **Blocked addresses** (or appears there) within a minute or two, and **Activity**, category **Security**, records the change. ## Next steps > [card] [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking) > > How blocking works and why Windows no longer locks you out. > [card] [Open the browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console) > > Reach the server when Remote Desktop is closed to you. # Install Raff Guardian on an existing server Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server Install Raff Guardian on a Windows server you already run on Raff, with a short PowerShell command from the server's Guardian tab. <sub>Updated October 15, 2026</sub> Install Raff Guardian on a Windows server that is already running. You copy a short command from the dashboard and run it once in PowerShell on the server. On a server that never had Raff Guardian, it starts on **Watch only**, so it changes nothing until you choose another mode. A reinstall keeps the mode and settings the server had before. To add it while you create a new Windows server instead, see [Add while creating a server](/products/manage/raff-guardian/quickstart-guides/add-while-creating-a-server). ## Before you start * A running Windows server on Raff. Raff Guardian does not run on Linux yet. * Permission to manage the server (`vm.manage`, part of the **Project Admin** and **Operator** roles). Members without it see "Only members who can manage this server can install it." * A Remote Desktop connection to the server as an administrator. See [Connect via RDP](/products/build/virtual-machines/quickstart-guides/connect-via-rdp). * Outbound HTTPS from the server to `api.rafftechnologies.com` and `raff-releases.s3.raffusercloud.com`. Raff Guardian never needs an inbound port. ## Steps **1. Open the Guardian tab** Go to **Virtual Machines**, open the server and click the **Guardian** tab. A server without Raff Guardian shows the **Raff Guardian** card with what it does and the price: "Free for 6 months, then \$10/mo. Uninstall any time." ![TODO: Guardian tab of a Windows server with the Install Raff Guardian button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/install-01-card.png) **2. Get the install command** Click **Install Raff Guardian**. The **Install Raff Guardian on this server** dialog shows a one-line command, for example: ```powershell theme={null} irm https://api.rafftechnologies.com/g/<your-code> | iex ``` The command works once and expires in 15 minutes; the dialog shows the exact time. Click the copy button next to it. > [!WARNING] > > Keep the dialog open until the install has finished. The code is shown only in this dialog: if you close it, click **Install Raff Guardian** again for a new command. **3. Open PowerShell as administrator on the server** Connect to the server with Remote Desktop as an administrator. Click **Start**, right-click **Windows PowerShell** and choose **Run as administrator**. **4. Run the command** Paste the command and press **Enter**. The installer downloads Raff Guardian, checks that the files are the ones Raff published, installs the **RaffGuardian** Windows service and connects it to your Raff account. If a check fails, it stops with a message that ends in "Nothing was installed." ## Verify You do not need to refresh: the Guardian tab updates on its own once Raff Guardian sends its first report, usually within a minute. The tab then shows the **Overview**, **Security**, **Users**, **Apps**, **Updates**, **Activity** and **Settings** sections, and the **Raff Guardian** card on the right names the mode: **Watch only** for a first install. If nothing changes after a few minutes, see [Troubleshooting](/products/manage/raff-guardian/troubleshooting). ## Next steps > [card] [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions) > > Leave Watch only to let it block attackers, install updates and restart services. > [card] [How it works](/products/manage/raff-guardian/concepts/how-it-works) > > What runs on your server and how it stays safe. # Let Raff support help with your server Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/let-raff-support-help Allow Raff support to look at your server and fix common problems through Raff Guardian, for 1, 7 or 30 days, and see every time they did. <sub>Updated October 16, 2026</sub> When you ask Raff support for help, they can work on your server through Raff Guardian, but only after you allow it. You choose for how long, you can turn it off at any time, and every visit is listed for you. ## Before you start * Raff Guardian on the server. * Permission to manage the server (`vm.manage`). ## Turn on Raff support access **1. Open the Raff support access card** Open the server under **Virtual Machines**, click **Guardian**, then **Security**. The **Raff support access** card shows whether it is on. **2. Choose for how long** Next to **Turn on for** (or **Change to**, when it is on), click **1 day**, **7 days** or **30 days**. The card then reads "On until ..." with the time it ends by itself. To end it early, click **Turn off** on the same card. Raff support's open visit ends at once. On a server **Kept by Raff**, access is on while Raff Keep manages the server: "On while Raff Keep manages this server." You can turn it off under **Settings**, **Help from Raff**, on the server's Raff Keep page. ## What Raff support can do Each visit is a session that lasts at most 60 minutes and needs a written reason, which you see in **Activity**. Inside it, Raff support can: * See what Raff Guardian sees: its findings, its recent changes and the activity of the server. * Ask Raff Guardian read-only questions: what uses the processor, which services run, which folders fill the disk, which ports are open, and on a MetaTrader server how the terminals are doing. * Run four actions: unblock an address, restart a service, free disk space and update Raff Guardian. * Stop a change that is waiting or running, and set the server to **Watch only** for the visit. Your own setting comes back when the visit ends. Raff support can never turn changes on, change these settings, remove Raff Guardian or restore a snapshot. ## See every visit * The **Raff support access** card lists **Recent access** from the last 90 days: when each visit opened and ended, and how many requests it made to Raff Guardian. * **Activity** records when each visit opened, its reason and everything done in it. * The project's members get a notice when a visit opens. The notice does not include the reason; Activity does. ## Emergency access In an emergency with Raff Guardian on your server, a senior Raff engineer can open **Raff emergency access** even while your switch is off. It needs a longer written reason, can only stop or fix what Raff Guardian did, and shows as **Raff emergency access** in **Recent access** and in Activity. You get the same notice. ## Verify The card reads "On until ..." (or "Off. Raff support cannot act on or ask about this server."). After a visit, it appears under **Recent access** and in **Activity**. ## Next steps > [card] [See what it did (activity log)](/products/manage/raff-guardian/quickstart-guides/see-the-activity-log) > > Read what was done during a visit. > [card] [Privacy and data](/products/manage/raff-guardian/concepts/privacy-and-data) > > What Raff Guardian reads and who can see it. # Limit who can reach Remote Desktop Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/limit-remote-desktop-access Let only your own IP addresses connect to the server with Remote Desktop, so bots cannot even try passwords. <sub>Updated October 15, 2026</sub> Raff Guardian can close Remote Desktop to everyone except the addresses you choose. It changes the Windows Firewall rules for Remote Desktop on the server, and the browser console in Raff always keeps working. ## Before you start * Raff Guardian on the server, in **Raff manages everything** or **Ask me before changes**. On **Watch only** the change is refused. * Permission to manage the server (`vm.manage`). * Your own public IPv4 address or range, if you want a list. ## Choose who may connect Bots try passwords on open Remote Desktop all day. Allowing only your addresses keeps them from reaching it at all. **1. Pick who may connect** In **Security**, on **Who can reach Remote Desktop**, choose: * **Any address**: Remote Desktop is open to every address. * **Only my address**: only the IPv4 address your browser uses now. * **A list of addresses**: IPv4 addresses or ranges, comma separated, for example `203.0.113.7, 198.51.100.0/24`. Up to 500 entries. **2. Apply** Confirm with **Apply**. Raff Guardian changes the Windows Firewall rules for Remote Desktop on the server. "Allowed now" shows the result. The browser console in Raff always works, whatever you choose. This change needs **Raff manages everything** or **Ask me before changes**; it is refused on **Watch only**. If your address changes, set it again here or use the browser console. ## Verify **Allowed now** on the **Who can reach Remote Desktop** card shows the new setting, and **Activity**, category **Security**, records the change. Try a Remote Desktop connection from an allowed address. ## Next steps > [card] [Block or unblock an IP address](/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address) > > See and change the addresses Raff Guardian blocked. > [card] [Open the browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console) > > Reach the server when Remote Desktop is closed to you. # Reset Windows passwords and manage users Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/reset-passwords-and-manage-windows-users See who is signed in to a Windows server, sign users out, unlock locked accounts and set new passwords from the Raff dashboard. <sub>Updated October 15, 2026</sub> The **Users** section of the Guardian tab lists the Windows accounts on the server, who is signed in and which accounts are locked out. From there you can sign a user out, unlock an account or set a new password, without connecting to the server. Raff Guardian never does these on its own: each one runs only when you press its button. They work in every mode, **Watch only** included. ## Before you start * Raff Guardian on the server. See [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server). * To see the list: `vm.view`. To sign out or unlock: `vm.manage`. To set a new password: `vm.manage` and permission to open the console (`vm.console`), signed in to the dashboard (not an API key). ## See who is on the server Open the server under **Virtual Machines**, click **Guardian**, then **Users**. The **How to connect** card shows the server's address and a **Download Remote Desktop file** button. The **Windows users** card lists the accounts that are turned on in Windows, locked accounts first, then signed-in ones. Each account shows: * Its tags: **Administrator**, **built-in**, **domain account**. * Its sessions, for example "Signed in over Remote Desktop since 09:15, idle for 20 minutes, from 203.0.113.7." A user counts as idle after 15 minutes without input. * When it is not signed in: its last desktop sign-in in the last 90 days. * "Locked out after too many wrong passwords" when Windows locked it. Click **Show details** for when each password was set, the last sign-in of any kind (also SSH and file shares), services or scheduled tasks that run as the account, accounts turned off in Windows, and the server's sign-in rules. Click **Check now** for a fresh list. ## Sign a user out 1. On the account, click **Sign out** (**End session** for a disconnected session; with two sessions, **Sign out of the console** or **Sign out of the Remote Desktop session**). 2. The dialog warns that programs the user has open close without saving. Click **Sign out**, or **Not now**. The result appears under the account, for example "Raff Guardian signed admin2 out of the Remote Desktop session." If auto sign-in is on for the account, Windows signs it in again at the next restart. ## Unlock an account 1. On a locked account, click **Unlock**. 2. The dialog says the account can sign in again at once, and after how many wrong passwords Windows locks it again. Click **Unlock**. With [automatic blocking](/products/manage/raff-guardian/concepts/automatic-blocking) on, bots guessing passwords are blocked by address instead of locking your accounts, so you should rarely need this. ## Set a new password **1. Press New password** On the account, click **New password**. Read the dialog: the old password stops working at once (for a domain account, once the domain controllers have the change), and anyone signed in stays signed in. > [!WARNING] > > For a local account, passwords the user saved in Windows (for example for Remote Desktop or in a browser) and files they encrypted with Windows cannot be opened any more. Services or scheduled tasks that run as the account fail at their next start until you give them the new password. **2. Confirm** Click **Set a new password**. If the server's console is protected with two-factor authentication, enter the 6-digit code from your authenticator app. One code is enough for the next hour. **3. Copy the password** Raff Guardian makes a password of at least 20 characters on the server. **New password for** the account opens in your browser with the password: click **Copy**, then **I saved it**. The password is shown only to you, in the browser you asked from. Raff keeps only a copy sealed to a key that never leaves your browser, and it cannot open that copy: * **I saved it** deletes the copy at once. * Otherwise you can show it again for 10 minutes after you first see it; then Raff deletes the copy. * A password nobody opened is deleted after 24 hours. Every new password sends a security email to the project's members: "A new Windows password was set". The email never contains the password. If Raff cannot send the email, nothing changes: "Raff Guardian cannot send the security email for a new password just now. Nothing changed. Try again in a minute." If auto sign-in uses the account, Raff Guardian gives it the new password too, so the account still signs in by itself after a restart. ## What you cannot change here | Account | Why | Do this instead | | - | - | - | | The built-in **Administrator** (new password) | Raff sets its password from the server's settings each time the server starts | **Reset password** on the server page. See [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password) | | A domain account on a server joined to a domain | Windows keeps it on the domain controller | Unlock it or set its password on a domain controller | | Guest, DefaultAccount, WDAGUtilityAccount | Windows' own accounts | Nothing to do | ## Turn these actions off Each action has its own setting under **Settings**, **Advanced: choose for each action**, in the **Users** group: **Sign out Windows users**, **Unlock Windows users** and **New passwords for Windows users**. Each takes **Ask me** (the default) or **Off**. With **Ask me**, your press is the approval; with **Off**, the button stays visible but disabled, for example "Signing users out is off in Raff Guardian's settings. Set it to Ask me first." ## Verify The account's line updates within a minute or two: the session is gone, the lock is gone, or "Password set on" shows today. Each action and its result is also in **Activity**. ## Next steps > [card] [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking) > > Why bots no longer lock your accounts out. > [card] [Privacy and data](/products/manage/raff-guardian/concepts/privacy-and-data) > > What Raff Guardian reads about users, and what it never reads. # Restart or shut down the server safely Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/restart-or-shut-down-the-server Restart or shut down a Windows server through Raff Guardian, with a countdown that warns signed-in users and can be cancelled. <sub>Updated October 15, 2026</sub> On a Windows server with Raff Guardian, **Restart** and **Shut down** in the server's power menu go through Raff Guardian. It warns the people signed in to Windows, counts down, and then restarts or shuts down Windows cleanly. You can cancel until the countdown ends. ## Before you start * Raff Guardian on the server, in **Raff manages everything** or **Ask me before changes**. On **Watch only** the server restarts the standard way. * Permission to power the server (`vm.power`). * The server is running. ## Steps **1. Open the power menu** Open the server under **Virtual Machines** and click the power state button at the top right (it shows **Running**). While Raff Guardian can act, **Restart** reads "Raff Guardian warns signed-in users, then restarts Windows" and **Shut down** reads "Raff Guardian shuts Windows down cleanly · still billed while off". **2. Choose Restart or Shut down** The dialog says what happens, for example: "Raff Guardian tells people signed in to Windows, then restarts the server in 1 minute. You can cancel until then." Click **Show details** to change: * **Restart in** or **Shut down in**: 1, 5 or 10 minutes. * **Reason** (optional): shown to people signed in to Windows and in Activity. Letters A to Z, digits and `. , : ; ( ) ' / -` only, up to 120 characters. ![TODO: Restart dialog with the countdown and reason details open](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/power-01-dialog.png) **3. Confirm** Click **Restart** or **Shut down**. The power state button shows the countdown, for example "Restarting in 0:42". ## Cancel during the countdown Open the power menu and click **Cancel restart** (or **Cancel shut down**). "Your server keeps running." While Raff Guardian stops it, the button shows **Stopping…**. ## When Windows does not respond Windows may hold a restart or shut down while it installs updates; Raff Guardian waits and says so in Activity. If Windows still does not respond, Raff Guardian offers a forced option instead of acting alone: | The button shows | Menu item | What it does | | - | - | - | | **Still running** | **Force off now** | Turns the server off at once, like holding the power button. Unsaved work is lost. | | **Not back yet** | **Hard restart now** | Restarts the server at once, like pressing the reset button. Unsaved work is lost. | | **Not started** | **Restart the standard way** / **Shut down the standard way** | Raff Guardian's restart or shut down did not start in 3 minutes. This sends Raff's standard signal instead. | A shut down that Windows has not carried out within 10 minutes leads to the force off offer. Whether Raff Guardian offers it at all follows the **Force off when Windows does not shut down** and **Hard restart when Windows does not restart** settings, which are **Ask me** or **Off** only. ## When the standard way is used The dialog says when Raff Guardian cannot take the press and the server restarts or shuts down the standard way, with the reason, for example: * Raff Guardian is set to Watch only. * Raff Guardian has not heard from your server in the last 2 minutes. * **Restart the server** is switched off in the server's Raff Guardian settings. * The server runs an older Raff Guardian that cannot do this yet. The standard way sends the signal to Windows from outside: if Windows ignores it, the server does not restart. ## Verify The power state button returns to **Running** (or shows the server off), and **Activity** has the restart or shut down with who asked for it and, for a restart, how long the server took to come back. ## Next steps > [card] [See what it did (activity log)](/products/manage/raff-guardian/quickstart-guides/see-the-activity-log) > > Find the restart in Activity. > [card] [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power) > > Power on, stop and hard restart any server. # Schedule Windows updates Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/schedule-windows-updates Choose the days, start time and time zone in which Raff Guardian installs Windows updates, or install the waiting updates now. <sub>Updated October 15, 2026</sub> Raff Guardian installs Windows updates in a window you choose: the days, the start time and your time zone. By default it is every day at 03:00 UTC. Each install takes a snapshot first, restarts the server if the updates need it, and checks that the server came back. ## Before you start * Raff Guardian on the server, in **Raff manages everything** or **Ask me before changes**. On **Watch only** it reports updates and installs nothing. * Permission to manage the server (`vm.manage`). Other members see "Only members who can manage this server can change these settings." ## Set the window **1. Open Updates** Open the server under **Virtual Machines**, click **Guardian**, then **Updates**. Scroll to **When Raff Guardian installs updates**. ![TODO: When Raff Guardian installs updates card with days, start time and time zone](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/updates-01-window.png) **2. Choose what Raff Guardian does in the window** Set the control at the top of the card: * **Auto**: "On these days Raff Guardian starts installing waiting updates within an hour of this time." * **Ask me**: "At these times Raff Guardian asks you instead of installing." The proposal waits in the **Queue**. * **Off**: Raff Guardian does not install updates on this server and only reports them. **3. Pick the days, time and time zone** * **Days**: **Every day**, **Weekdays**, or any of Mon to Sun. At least one day stays selected. * **Starts at**: any hour or half hour, 00:00 to 23:30. * **Time zone**: your zone. Until you save one, the times are UTC; click **Use** followed by your browser's zone to switch. Each change saves at once. The footer shows the next run, for example "Next: Monday 29 September, 06:00 Europe/Istanbul". **4. Choose how restarts are handled** The same card has **Restart the server**. It covers restarts Windows asks for outside an update install: on **Auto**, Raff Guardian restarts in your update window and asks you at other times. An update install restarts the server when its updates need it, whatever this setting says. ## Install the waiting updates now At the top of **Updates**, Raff Guardian says how many updates are waiting, for example "3 updates are waiting, 2 of them for security." Click **Install now**, then **Install now** in **Install Windows updates now?** Raff Guardian protects the server first (a snapshot, or your Raff Backups), installs the waiting updates and restarts the server if they need it. Remote Desktop sessions end during the restart. The progress shows step by step, for example "Checking the server came back · step 6 of 7". ## What the Updates section shows * **Found by Windows Update**: the updates Windows reports as waiting. Driver updates are left to you: "This includes 1 driver update, which Raff Guardian leaves to you." * **Held back**: updates with a known issue Microsoft lists. Raff Guardian installs one once its fix is on the server. * **Installed**: the updates Raff Guardian installed, newest first. * **Restart pending**: shown while Windows needs a restart to finish updates, with **Restart now**. ## Verify After the window, **Activity** (category **Updates**) shows the install, for example "Installed 4 Windows updates.", the restart, and "Raff Guardian checked your server afterwards: it came back healthy." The **Raff Guardian** card on the Overview shows the update policy under **Windows updates**. ## Next steps > [card] [Windows updates](/products/manage/raff-guardian/concepts/windows-updates) > > The snapshot, the check after the restart and the restore offer. > [card] [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change) > > Answer an update proposal on Ask me. # See what Raff Guardian did: the activity log Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/see-the-activity-log Read, search and filter a server's Raff Guardian activity, and export it as CSV or JSON lines. <sub>Updated October 15, 2026</sub> **Activity** is the server's record of what Raff Guardian saw, decided and did: every finding, proposal, answer, change and result, with who asked for it. Each story, for example one Windows update install from the snapshot to the check after the restart, is one thread. ## Before you start * Raff Guardian on the server, now or before. After an uninstall, the activity stays readable. * To read: `vm.view`. To export: `vm.manage`. ## Read the activity **1. Open Activity** Open the server under **Virtual Machines**, click **Guardian**, then **Activity**. The Overview's **Recent activity** shows the newest 3 threads; **All activity** opens the full list. ![TODO: Activity list with category chips, search and threads](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/activity-01-list.png) **2. Read a thread** Each thread shows its headline, who asked (**You**, or nothing when Raff Guardian acted on its own) and when. An orange dot marks a warning, a red dot something critical. Click **Show details** to see every step oldest first, with its time, the reason and facts such as what it was before and after. **3. Narrow it down** * **Categories**: **All**, **Updates**, **Security**, **Licences**, **Power**, **Apps**, **Health**, **Settings**, **Install**, **Raff Guardian**, **Connection**. Combine as many as you like. * **Search activity**: words from the sentences, an address, a service name or a KB number, up to 100 characters. * **Show all activity**: adds the detail entries, for example each Remote Desktop attack Raff Guardian saw and each install command made. The list shows 20 threads a page. ## Export the activity 1. In **Activity**, click **Export**. 2. Pick the period: **Last 30 days** (default), **Last 3 months**, **Last 12 months**, or **Custom dates** (at most 13 months). 3. Pick the format: **CSV** ("Opens in a spreadsheet.") or **JSON lines** ("One entry per line, with its facts and details."). 4. Tick **Include all activity** to add the detail entries. 5. Click **Download**. The file lists entries oldest first, up to 100,000 entries, with times in your browser's time zone. It is named `raff-guardian-activity-<server id>-<from>-<to>.csv` (or `.jsonl`). ## See the raw reports For the reports themselves, open the **⋯** menu on the **Raff Guardian** card and click **Open full log**. **Guardian log** lists every report from the server, newest first, with filters by kind and severity and a search. ## After an uninstall On the Guardian tab, click **See what Raff Guardian did before it was removed** to open **Past activity**. ## Verify A search or a category shows only matching threads, with the count at the bottom, for example "Showing 21 to 40 of 312". An export downloads a file and shows "Raff Guardian activity downloaded". ## Next steps > [card] [Activity](/products/manage/raff-guardian/concepts/activity) > > What is recorded and for how long. > [card] [Findings](/products/manage/raff-guardian/concepts/findings) > > What each finding means. # Set permissions: what Raff Guardian may do Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/set-permissions Switch a server between Raff manages everything, Ask me before changes and Watch only, and set Auto, Ask me or Off for each action. <sub>Updated October 15, 2026</sub> Pick one of three modes for each server, and change single actions only when you want to. Every choice saves the moment you make it and is recorded in Activity. | Mode | What Raff Guardian does | | - | - | | **Raff manages everything** | Fixes problems, installs updates in your update window and blocks attacks on its own. Every change is recorded in Activity. | | **Ask me before changes** | Asks you before it changes anything on the server. It still blocks attacks at once, answers your questions about the server and keeps itself up to date. | | **Watch only** | Reports what it sees and changes nothing. It still keeps itself up to date, and you can still remove its blocks and sign out, unlock or set new passwords for Windows users. | See [Modes and permissions](/products/manage/raff-guardian/concepts/modes-and-permissions) for what each mode does with every action. ## Before you start * Raff Guardian on the server. * Permission to manage the server (`vm.manage`). Other members see the settings read only. ## Choose how much it may do on its own **1. Open Settings** Open the server under **Virtual Machines**, click **Guardian**, then **Settings**. The **Raff Guardian** group's first row, **How Raff looks after it**, shows the current mode. **2. Pick a mode** Click **Change** and pick **Raff manages everything**, **Ask me before changes** or **Watch only**. It saves at once. ![TODO: Settings with the How Raff looks after it row open on the three modes](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/raff-guardian/mode-01-choices.png) **3. Keep or replace your own choices** If you set some actions yourself and the new mode would change them, Raff Guardian names them, for example "You set Free disk space to Off. With Ask me before changes it becomes Ask me." Click: * **Use** followed by the mode name, to set every action to the mode's default. * **Keep my choices**, to keep the actions you set yourself as they are. * **Cancel**, to change nothing. Choosing **Watch only** cancels everything queued and stops what is running as soon as it safely can: "Raff Guardian is set to Watch only." It keeps your per-action choices for when you leave Watch only. ## Set permissions for each action 1. In the **Raff Guardian** group, on **Each action on its own**, click **Open**. The **Raff Guardian settings** panel opens. 2. Click **Advanced: choose for each action**. Actions are grouped as **Updates**, **Security**, **Users**, **Licences**, **Power**, **Maintenance**, **Commands** and **Raff Guardian**. 3. Set each action: * **Auto**: Raff Guardian does it on its own and records it. * **Ask me**: it asks you first. See [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change). * **Off**: never. Some actions offer fewer choices: **Always asks** (restoring the pre-update snapshot), **Always on** (Raff Guardian keeping itself up to date), or **Ask me** and **Off** only (actions Raff Guardian never takes on its own, such as signing users out or forcing the server off). An action you set yourself shows **Your choice**. Under the mode, Raff Guardian shows how many actions you set differently and a link, **Use** followed by the mode name **for every action**, to clear them. When you start an action yourself, for example **Install now** or **Block now**, that counts as your yes. Only **Off** stops it. ## Verify The **Raff Guardian** card on the **Overview** names the mode under its title. **Activity**, in the **Settings** category, has a line such as "You chose Ask me before changes. 4 actions changed." ## Next steps > [card] [Schedule Windows updates](/products/manage/raff-guardian/quickstart-guides/schedule-windows-updates) > > When updates may install, and whether to ask first. > [card] [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change) > > Answer what Raff Guardian asks on Ask me. # Uninstall Raff Guardian from a server Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/quickstart-guides/uninstall Remove Raff Guardian from a Windows server from the dashboard, and what stays on the server afterwards. <sub>Updated October 15, 2026</sub> Uninstall Raff Guardian from the server's Guardian tab. Raff Guardian removes its service and files itself, within about a minute. This is the only supported way to remove it. ## Before you start * Permission to manage the server (`vm.manage`). * The server is running, so Raff Guardian can receive the request on its next report. * Decide what to do with its Windows Firewall changes. Addresses it blocked and the Remote Desktop allow list stay in Windows Firewall after the uninstall. To undo them, unblock the addresses and open Remote Desktop to every address first: see [Block or unblock an IP address](/products/manage/raff-guardian/quickstart-guides/block-or-unblock-an-ip-address). ## Steps **1. Open the Raff Guardian menu** Open the server under **Virtual Machines**, click the **Guardian** tab and, on the **Raff Guardian** card on the right, click the **⋯** menu. Click **Uninstall Raff Guardian**. You can also use **Uninstall Raff Guardian** at the end of the **Settings** section. **2. Confirm** The dialog reads "Findings close now. Raff Guardian removes its service and files on its next report, within about a minute. You can install it again at any time." Click **Uninstall**, or **Keep Raff Guardian** to cancel. ## What happens 1. Open findings close at once, and the card says "Uninstall requested. Raff Guardian removes itself on its next report." 2. On its next report, Raff Guardian puts Windows' own account lockout policy back, if it had taken it over (see [Automatic blocking and lockout](/products/manage/raff-guardian/concepts/automatic-blocking)). 3. It deletes the **RaffGuardian** Windows service, and 30 seconds later a one-time task removes `C:\Program Files\Raff\Guardian` and `C:\ProgramData\Raff\Guardian`. ## What stays * **Windows Firewall rules**: addresses Raff Guardian blocked (rules named "Raff Guardian: block" followed by the address) and the Remote Desktop allow list. * **Snapshots** taken before Windows updates that Raff Guardian had not deleted yet. They are ordinary snapshots in the server's **Snapshots** tab. * **Activity**: what Raff Guardian did stays readable. On the Guardian tab, click **See what Raff Guardian did before it was removed**. ## Verify The Guardian tab shows the **Install Raff Guardian** card again. On the server, the **RaffGuardian** service is gone from **Services**. If the service is still there after a few minutes, see [Troubleshooting](/products/manage/raff-guardian/troubleshooting). ## Next steps > [card] [Install on an existing server](/products/manage/raff-guardian/quickstart-guides/install-on-an-existing-server) > > A reinstall gets a new key and comes back with the mode and settings the server had. > [card] [Activity](/products/manage/raff-guardian/concepts/activity) > > What Raff Guardian recorded while it was on the server. # Raff Guardian troubleshooting Source: https://docs.rafftechnologies.com/products/manage/raff-guardian/troubleshooting Common Raff Guardian issues, from the install command to blocked addresses, and how to fix them. <sub>Updated October 16, 2026</sub> Issues you may run into with Raff Guardian, and how to resolve them. If your problem is not listed, contact [support](mailto:support@rafftechnologies.com). ## Common issues > [accordion] "This Raff Guardian install command was already used or has expired" > > **What's happening:** each install command works once, for 15 minutes. > > **Fix:** on the server's **Guardian** tab, click **Install Raff Guardian** again and run the new command within 15 minutes. Keep the dialog open until the install has finished. > [accordion] The install command stops with an error > > **What's happening:** the installer stops before it changes anything when a step fails. The message says which: > > | Message | Fix | > | - | - | > | "Could not download the Raff Guardian installer." or "Could not download Raff Guardian from ... Nothing was installed." | Allow outbound HTTPS from the server to `api.rafftechnologies.com` and `raff-releases.s3.raffusercloud.com`, then get a new command. | > | "The Raff Guardian installer did not match. Nothing was installed." or "The Raff Guardian agent did not match. Nothing was installed." | The download was changed on the way, often by a proxy that rewrites files. Run the command again from a network without one. | > | "Could not lock Raff's data folder; the install stopped." or "Could not lock Raff Guardian's key file; the install stopped." | Open PowerShell with **Run as administrator** and get a new command. | > | "enrolment failed" | The code was used or expired while the install ran. Get a new command. | > | "Raff Guardian cannot be installed right now. Try again in a few minutes." (in the dashboard) | Wait a few minutes and click **Install Raff Guardian** again. | > [accordion] I ran the command, but the Guardian tab still offers Install > > **What's happening:** Raff has not received the first report yet. > > **Fix:** > > 1. Check the end of the PowerShell output: it lists the **RaffGuardian** service and its status. **Running** means the install worked; the tab updates within a minute or two. > 2. If PowerShell showed an error, see the issue above. > 3. Check that the server can reach `api.rafftechnologies.com` over HTTPS. > [accordion] Raff Guardian shows Not reporting > > **What's happening:** Raff has not had a report for over 5 minutes. The notice reads "Raff Guardian is not reporting." After 15 minutes the project's members get the email "Raff Guardian stopped reporting from your server ...". Until it reports, it cannot block attackers or act on findings. **Server is off** is different: the server was turned off. > > **Why:** the server is busy, restarting or offline, outbound HTTPS is blocked, or the **RaffGuardian** service was stopped. > > **Fix:** > > 1. Check the server is running and you can connect to it. > 2. On the server, run `Get-Service RaffGuardian` in PowerShell. If it is not **Running**, run `Start-Service RaffGuardian` as administrator. > 3. Check outbound HTTPS to `api.rafftechnologies.com`. > 4. If it still does not report, open the **⋯** menu on the **Raff Guardian** card and click **Reinstall Raff Guardian**, then run the new command. A reinstall keeps the server's mode and settings. > [accordion] Raff Guardian did not make a change, or its button is disabled > > **What's happening:** something stops the change. The disabled button or the Queue says what. The common reasons: > > * **Watch only**: "Raff Guardian is set to Watch only on this server, so it changes nothing." Choose another mode. See [Set permissions: what it may do](/products/manage/raff-guardian/quickstart-guides/set-permissions). > * **The action is Off**: for example "Installing Windows updates is off in Raff Guardian's settings. Set it to Auto or Ask me first." > * **The action is Ask me**: the change waits in the **Queue** for **Approve**. See [Approve or decline a change](/products/manage/raff-guardian/quickstart-guides/approve-or-decline-a-change). > * **A daily limit**: a service is restarted automatically up to 3 times a day, then Raff Guardian asks; disk space is freed at most once a day per drive. > * **A core Windows service**: "Windows needs this service, so Raff Guardian does not restart it." > * **An older Raff Guardian**: "This server runs an older Raff Guardian that cannot do this yet." Raff Guardian updates itself; to get it at once, reinstall it. > * **Not reporting**: see the issue above. > [accordion] Windows updates did not install > > **Fix:** check, in this order: > > 1. **Mode and setting**: on **Watch only**, or with **Install Windows updates on your schedule** on **Off**, Raff Guardian only reports updates. On **Ask me**, the install waits in the **Queue**. > 2. **The window**: on **Updates**, **When Raff Guardian installs updates** shows the days, time zone and the next run. Raff Guardian starts within an hour of the start time, and not within 20 hours of the last install. > 3. **The snapshot**: Activity may say "Not installed today: Raff Guardian could not take a snapshot first." Nothing installs without protection. Check the server's **Snapshots** tab and storage, then use **Install now**. > 4. **Held back**: updates with a known issue wait under **Held back** until their fix is installed. Driver updates are left to you. > 5. **Nothing waiting**: "Nothing to install: Windows reports no pending updates." > > If the server did not come back healthy after an install, see the next issue. > [accordion] "Server not healthy after updates" > > **What's happening:** after an update install or restart, the server did not report again with Remote Desktop running within 25 minutes. > > **Fix:** > > 1. Open the server's console and check whether Windows is still installing updates or stuck at start-up. > 2. If the server is broken, approve **Restore the pre-update snapshot** in the **Queue**. The server goes back to its disk from just before the updates; anything written since is lost. > 3. If the server is fine, click **Decline** on the restore. The finding closes. > [accordion] Raff Guardian blocked an address I use > > **What's happening:** too many failed sign-ins came from your address within 15 minutes, for example from a saved password that changed. > > **Fix:** > > 1. Connect through the browser console if Remote Desktop is blocked for you. See [Open the browser console](/products/build/virtual-machines/quickstart-guides/open-browser-console). > 2. On **Security**, **Blocked addresses**, click **Unblock** on your address. > 3. To stop it happening again, add your address in **Who can reach Remote Desktop** with **A list of addresses**. Allowed addresses are never blocked. > 4. Update the saved password that keeps failing, or raise **Block an attacker after** in **Settings**. > [accordion] I cannot reach Remote Desktop after changing who can reach it > > **What's happening:** your current address is not on the allow list, for example because it changed. > > **Fix:** on **Security**, **Who can reach Remote Desktop**, choose **Only my address** or add your address to the list. The browser console always works, whatever you choose. > [accordion] "Raff Guardian cannot block attackers on the server" > > **What's happening:** blocking is on, but the agent cannot watch the failed sign-ins on the server. The notice shows Windows' reason when there is one. > > **Fix:** check that the **RaffGuardian** service is running (`Get-Service RaffGuardian`) and wait for the next report. If the notice stays, contact support with its text. > [accordion] Uninstall left something on the server > > **What's happening:** Raff Guardian removes its service and its two folders, and gives back Windows' account lockout. It leaves your Windows Firewall rules and snapshots as they are. > > **Fix:** > > * **Blocked addresses**: in **Windows Defender Firewall with Advanced Security**, **Inbound Rules**, delete the rules named "Raff Guardian: block" followed by an address. Or run, as administrator: `Get-NetFirewallRule -Name 'RaffGuardian-Block-*' | Remove-NetFirewallRule` > * **Remote Desktop allow list**: in the same window, open each **Remote Desktop** inbound rule, **Scope**, and set **Remote IP address** to **Any IP address**. > * **Snapshots**: delete leftover `guardian-pre-update-` snapshots from the server's **Snapshots** tab if you no longer need them. > * **The service is still there**: the server was off or not reporting when you uninstalled. Raff Guardian removes itself at its next report. If the server can no longer reach Raff, remove it by hand as administrator: `Stop-Service RaffGuardian`, then `sc.exe delete RaffGuardian`, then delete `C:\Program Files\Raff\Guardian` and `C:\ProgramData\Raff\Guardian`. Removing it by hand does not give Windows its account lockout back: set it again under **Local Security Policy**, **Account Lockout Policy**. > [accordion] "Raff Guardian cannot send the security email for a new password just now" > > **What's happening:** every new Windows password sends a security email to the project's members. When Raff cannot send it, nothing changes. > > **Fix:** try again in a minute. > [accordion] A question does not answer > > **What's happening:** "Your server did not answer within 2 minutes. It may be busy or restarting." Or the card says questions are off, or that Raff Guardian has not heard from the server. > > **Fix:** try again once the server is reporting. If the card says "Questions are off for this server.", click **Turn on in Settings**. Each server takes up to 10 questions a minute. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The server's ID (in the dashboard URL) * The exact message and the time it happened * What you have already tried # API keys Source: https://docs.rafftechnologies.com/products/manage/team-projects/concepts/api-keys How Raff API keys work — the role-based permission model, the raff_ token format, the create-once / show-once secret lifecycle, expiration, rotation, and the security practices that make leaked keys non-events <sub>Updated May 8, 2026</sub> This is the model page for **API keys** — what they are, how they get their permissions, what their lifecycle looks like, and the security practices that follow from the design. The Roles model itself is on [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys); this page focuses on the key-specific parts. ## What an API key is An API key is a **long random secret token** that authenticates a non-interactive client (a script, a CI pipeline, Terraform, a backend service) against the Raff API. Format: ``` raff_17d70fcf7e7510968a4c19279b25707f088f1cc5ad8b74210341d8e470b5bb7a ``` * **`raff_`** prefix — distinctive, easy to grep for in code reviews and to detect via tools like GitGuardian or `truffleHog` * A long opaque suffix — the secret part. Treat it like a password * Sent in every authenticated request as the **`X-API-Key`** header Keys are tied to your **account** (not to a specific user) and carry a **frozen role assignment** — see below. ## How a key gets its permissions Every key carries an Account Role + (optionally) a Project Role applied to one or more projects: ```mermaid theme={null} flowchart LR K["**API Key**<br/>name + `raff_<suffix>`<br/>+ expiration"] AR["Account Role"] PR["Projects + Project Role"] AP["**Account permissions**<br/>(`account.*`)"] RP["**Project permissions**<br/>on the selected projects only<br/>(`project.*` / `vm.*` / `vpc.*` / ...)"] K --> AR K --> PR AR --> AP PR --> RP ``` In plain words: | The key carries | Which determines | | - | - | | **Account Role** (one — required) | The key's `account.*` permissions (members, billing, audit, project list, role catalog) | | **Projects + Project Role** (zero or more projects, one role applied to all of them — optional, hidden when Account Role is Owner) | The key's `project.*` / `vm.*` / `vpc.*` / etc. permissions on **those projects only** | | **Expiration** | When the key auto-revokes | Three points worth highlighting: 1. **Same role catalog as members.** The Account Role / Project Role dropdowns in Create API Key list the exact same System and Custom roles you assign to members. There's no "key-only" permission set. 2. **Owner = full access, no project selection needed.** When the Account Role is Owner, the key has Owner-level access to every project, current and future. The Project Role / projects fields are hidden in the create dialog. 3. **One Project Role applied uniformly.** When the Account Role is anything other than Owner, you pick one or more projects and a single Project Role; that role applies the same way on all selected projects. To give a key different roles on different projects, create one key per role. ## Frozen role, mutable role definition A key carries a **reference to a role** (e.g. `Operator` for project access on `customer1`) — not a snapshot of permissions. This has an important consequence: * **Editing the role definition** affects every key (and member) using that role. Add `vm.console` to your Custom `CI Operator` role, and every key with that role gains `vm.console` access on next request. * **Editing the key directly** is **not supported** — there's no "change role on this key" action. The fix is to **rotate the key (Regenerate)** if you want a fresh key value, or **delete and recreate** if you want a different role assignment. This is the centralized role system in action. Roles are the single source of truth; keys and members reference them. Change one role, every grant using it changes. ## The create-once / show-once secret lifecycle The full key value is **shown exactly once** — in the **API Key Created** dialog right after you click Create. After that, only the prefix (`raff_17d70fcf…`) is visible on the dashboard's API Keys list. ```mermaid theme={null} flowchart TB A["**Create API Key dialog**<br/>fill name, role, expiration<br/>→ click Create Key"] B["**API Key Created dialog**<br/>full key value shown once<br/>→ copy to your secret store<br/>→ click Done"] C["**API Keys list**<br/>only the prefix visible<br/>full value cannot be retrieved"] A --> B --> C ``` This is intentional: Raff stores only a hash of the key value, not the value itself, so even Raff staff can't show it back to you. If you lose the key value, the only path forward is to **rotate** (Regenerate) — that issues a new value and invalidates the old. ## Expiration Every key has an expiration — either **Never** or one of the bounded presets (30 / 60 / 90 / 120 / 180 days, 1 year). The expiration is set at create time and is **immutable**: * An expired key authenticates with `401 Unauthorized` and is unusable until rotated. * Rotation issues a fresh key value with the **same** expiration setting calculated from the rotation timestamp (a key originally set to "1 year" gets another full year on rotation; a key set to "Never expires" keeps that property). * To change a key's expiration model (e.g. from "1 year" to "Never" or vice versa), **delete and recreate** with the new setting. The default is **Never expires**, but bounded expirations are strongly recommended for production keys. A key that auto-expires after 90 days forces you to rotate; a "Never expires" key tends to outlive the integration that uses it and end up forgotten in some forgotten secret store. ## Lifecycle states A key passes through a small set of states: | State | Reached by | Effect | | - | - | - | | **Active** | Successful Create | Authenticates requests; permissions taken from current role definitions | | **Expired** | Reaching its expiration timestamp | Returns `401`; key remains in the list with `Expires: Expired` until you delete or rotate | | **Rotated** | Clicking Regenerate | Old value invalid immediately; new value issued. Same `Active` state, just a different secret | | **Deleted** | Clicking the red trash icon, or via API | Authentication fails immediately; key disappears from list. Audit-log entries referencing the key remain | There's no "disabled but not deleted" state today — to stop a key from authenticating without losing its audit trail, deletion is the only path; the audit-log entries are preserved separately. ## Authentication, briefly Every authenticated API request includes: ``` X-API-Key: raff_<your-key-suffix> ``` Project-scoped requests (anything that lists or creates a resource in a project) **also** include: ``` X-Project-ID: <project-uuid-the-key-has-access-to> ``` The combination determines which permission set applies to the request — Account permissions for account-only endpoints, Project permissions for resource endpoints. See [Authentication](/authentication) for the full request reference, sample SDK setup, and 401/403 troubleshooting. ## One key per integration The right granularity for keys: **one key per integration, named for what it does**. Examples: * `Production CI` — the key your CI pipeline uses to deploy * `Backups Lambda` — the key your scheduled backup script uses * `Terraform — staging` — the key your IaC uses against the staging project * `Datadog Sync` — the key your observability vendor uses to read VM metadata This pattern makes: * **Rotation cheap** — when one integration is compromised or being decommissioned, you rotate / delete just its key * **Audit logs readable** — `apikey.id = abc123 (Backups Lambda)` is more useful than `apikey.id = abc123` and grepping * **Scope tight** — each key gets exactly the permissions its integration needs, nothing more The opposite anti-pattern — one shared "master key" used by every integration — turns a compromise of any single system into a full account compromise, makes rotation a multi-deploy headache, and makes the audit log nearly useless. ## Security practices A short list of practices that make API-key security boring (which is the goal): | Practice | Why | | - | - | | **Use bounded expirations** (30 / 90 / 180 days) for production keys | Forces rotation; auto-revokes forgotten keys | | **Use System or Custom roles narrower than Owner** for any key that doesn't need full access | Limits the blast radius of a leak | | **Never commit a key value** to source control. Use environment variables and a secret manager (1Password, AWS Secrets Manager, GitHub Actions secrets, Vault) | Prevents the most common leak path | | **One key per integration**, named for the integration | Cheap rotation, useful audit logs | | **Rotate on suspicion**, not just on policy | When a key may be compromised, rotate first and investigate after | | **Watch `Last Used` for keys you don't recognize** | A key that's never been used or hasn't been used in months may be a forgotten attack surface — delete it | | **Use the audit log** to track who created which key, who rotated, who deleted | `account.audit.view` permission required | Raff's `raff_` prefix is also designed to make accidental commits **detectable**: GitGuardian, `truffleHog`, and similar secret-scanners pick it up out of the box. If you push a key by mistake, the scanner will flag it within minutes — rotate immediately and review the commit. ## What you cannot do today * **Edit a key's permissions after create** — change the underlying role, or rotate to a different key * **Assign different Project Roles to different projects in one key** — create separate keys * **Recover the full key after the create dialog closes** — only the prefix is preserved * **Extend a key's life past its current expiration** — rotate to refresh, or delete and recreate * **Disable a key without deleting it** — deletion is the only "stop" mechanism ## Related > [card] [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) > > Walk the create flow. > [card] [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) > > Replace a leaked or aging key. > [card] [Authentication](/authentication) > > How keys authenticate against the API. # Resource scoping Source: https://docs.rafftechnologies.com/products/manage/team-projects/concepts/projects-and-scoping How projects scope resources, IDs, and API calls <sub>Updated May 8, 2026</sub> A **project** is a scope boundary for resources. Every resource (VM, volume, snapshot, backup, backup schedule) belongs to exactly one project. The project doesn't change what a resource is or what it costs — it just determines how it's grouped, listed, and accessed. ## The model at a glance ```mermaid theme={null} flowchart TB Account["Account<br/>(billing, members, API keys)"] Account --> ProjA["Project: production"] Account --> ProjB["Project: staging"] Account --> ProjC["Project: dev"] ProjA --> ResA1["VMs · Volumes · VPCs"] ProjA --> ResA2["Snapshots · Backups · Schedules"] ProjA --> ResA3["Public IPs · Firewall Groups"] ProjB --> ResB1["VMs · Volumes · VPCs"] ProjC --> ResC1["VMs · Volumes · VPCs"] classDef account fill:#1e293b,color:#fff,stroke:#0f172a classDef project fill:#3b82f6,color:#fff,stroke:#1e40af classDef resource fill:#f1f5f9,color:#0f172a,stroke:#cbd5e1 class Account account class ProjA,ProjB,ProjC project class ResA1,ResA2,ResA3,ResB1,ResC1 resource ``` The account is the **billing and identity boundary** — members, API keys, payment method, and balance all live there. Projects are **resource buckets inside the account** — pick one for every list/create call to scope what you see and what you touch. ## How scoping works * **List endpoints** — `X-Project-ID` is **optional**. Set it to scope the list to one project. Omit it to list across **every project the API key has access to**. * **Mutating endpoints** (create, delete, power actions, resize, attach/detach) — `X-Project-ID` is **required**. The header tells the platform which project the new or modified resource belongs to. * **Get-by-ID endpoints** — `X-Project-ID` is **not taken**. The resource is found by its UUID alone, regardless of which project it lives in. ## What lives inside a project | Resource | In a project? | | - | - | | Virtual Machines | Yes | | Volumes | Yes | | Snapshots | Yes | | Backups | Yes | | Backup schedules | Yes | | VPCs, Public IPs, Firewall | Yes | | API keys, members, billing | No — account level | ## API example — `X-Project-ID` in practice Every list and create call against project-scoped resources takes the project as a header. The API key goes in `X-API-Key`; the project context goes in `X-Project-ID`. **1. Get your project IDs:** ```bash theme={null} curl -X GET https://api.rafftechnologies.com/api/v1/projects \ -H "X-API-Key: $RAFF_API_KEY" ``` Response (truncated): ```json theme={null} { "data": [ { "id": "prj_01HXK5Q2J3P4N5R6T7V8W9Y0Z1", "name": "production", "description": "Production workloads" }, { "id": "prj_01HXK5Q2J3P4N5R6T7V8W9Y0Z2", "name": "staging", "description": "Pre-prod environment" } ] } ``` **2. List VMs in the `production` project:** ```bash theme={null} curl -X GET https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: prj_01HXK5Q2J3P4N5R6T7V8W9Y0Z1" ``` Only VMs that belong to `production` come back. Run the same call against the `staging` project ID and you get a completely different list — same account, different scope. **3. Create a VM in the `staging` project:** ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: prj_01HXK5Q2J3P4N5R6T7V8W9Y0Z2" \ -H "Content-Type: application/json" \ -d '{ "name": "api-staging-01", "template_id": "tmpl_01HXJ...", "pricing_plan_id": "plan_01HXJ..." }' ``` The new VM is created **inside `staging`**. It will show up in `GET /api/v1/vms` only when that same `X-Project-ID` is set. **Common mistakes:** * **Forgetting the header on a create/delete call** — mutating endpoints reject the request with a 400 if `X-Project-ID` is missing. Always include it on POST/DELETE/PATCH. * **Assuming a list call needs the header** — it doesn't. Omitting `X-Project-ID` on `GET /api/v1/vms` returns every VM across every project the API key has access to; useful for fleet-wide audits, surprising if you expected an empty list. * **Cross-project create with the wrong header** — if your API key only has access to `production` but you set `X-Project-ID: <staging-id>`, the create is rejected with a 403. The header's project must be one the API key can actually reach. ## Patterns * **One project per environment** — `production`, `staging`, `dev`. Standard pattern. * **One project per team** — when teams own non-overlapping infra. Combines well with role-based access. * **One project per customer** — for accounts that resell or operate multi-tenant infra. ## Related > [card] [Create a project](/products/manage/team-projects/quickstart-guides/create-a-project) > > Set one up. > [card] [Authentication](/authentication) > > How `X-Project-ID` works in the API. # Roles, scopes, and the Owner Source: https://docs.rafftechnologies.com/products/manage/team-projects/concepts/roles-and-api-keys How Raff splits access into Account-level and Project-level roles, why account-level grants don't include project-level visibility, what the seven prebuilt System roles do, and how to build Custom roles <sub>Updated October 21, 2026</sub> This is the model page for permissions on Raff. Read it once and the Roles tab on the Team & Projects page makes sense. The two big ideas: 1. **Account and Project are separate authorization domains.** Granting account-level permissions does **not** grant access to projects' resources. Project access is granted explicitly, per project, on top. 2. **The first user (the Owner) has everything.** Every other member you invite gets a deliberately narrower scope. ## Two domains: Account vs Project Every permission in Raff is prefixed with one of two domains: | Permission prefix | Domain | What it controls | | - | - | - | | `account.*` | **Account-level** | Things that affect the whole account — who's invited, billing, account settings, audit log, account-wide API keys, the list of projects | | `project.*` and resource-level (`vm.*`, `vpc.*`, ...) | **Project-level** | Things that exist inside a project — VMs, VPCs, public IPs, members of *this* project, project settings | A member can hold roles in **both domains independently**. They can have the `Admin` account role *and* a `Viewer` project role on `customer1` — those are two separate grants, evaluated separately. Crucially: **an account-level role doesn't grant project-level access automatically.** If a member has `Admin` (account) but no project role on `customer1`, they cannot list, view, or touch any VM in `customer1`. They can manage account settings, invite members, generate API keys — but they have **zero visibility** into the actual workloads running inside projects unless explicitly granted a project role. This is the safety property the model is designed around. Compliance, ops, and billing folks can hold powerful account-level roles without seeing customer data. ## The Owner — special, automatic, and unique The user who **signs up the account** is the **Owner**. This is automatic; you don't pick it. | Property | Value | | - | - | | **Granted automatically** | At signup, to whoever creates the account | | **Permissions** | Full access — every account permission *and* every project permission, on every project, current and future | | **Number of Owners** | Exactly **one** per account today | | **Transferable?** | Via support — the Owner badge can be moved to another account-level member, but you can't have two Owners simultaneously | | **Removable?** | No — the Owner is the account's last-resort administrator; removing them would orphan the account | The Owner badge is the orange tag you see on the first row of the Members list. Every other member shows either `Account` (the role you assigned at the account level) or `Project-only` (no account role; project roles only). ## The Roles tab The **Roles** tab on the Team & Projects page is where you see and manage all the role definitions in your account. ![Roles tab showing the Scope filter (All / Account / Project), an Account Roles section with 3 system roles (Admin, Billing, Member), and a Project Roles section with 4 system roles (Operator, Project Admin, Project Member, Viewer). Each row shows the role name, description, a few sample permissions with a "+N more" badge, a System type tag, and view/⋮ actions. + Create Role button in the top right.](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/roles-tab.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=0ca24205accfe459dd70058a452ddaca) The tab is split by domain: * **ACCOUNT ROLES** — applied to a member at the account level. The screenshot shows 3 system-provided ones * **PROJECT ROLES** — applied to a member on a specific project. The screenshot shows 4 system-provided ones The **Scope** filter at the top (All / Account / Project) lets you focus on one domain at a time. The **+ Create Role** button creates a Custom role — see the dedicated section below. Every row's **eye icon** opens the role's permission view. The `+N more` badge tells you how many additional permissions the row hides — click the eye icon to see them all. The **`⋮` menu** offers different actions depending on the role's type: ![Row context menu on a System role showing a single Duplicate action with a copy icon. The Admin and Billing rows are visible behind it.](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/system-role-duplicate-menu.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=6dc19d1c9a6d95394576e7037373c95a) | Role type | Available actions | | - | - | | **System** | **Duplicate** only — creates a Custom role pre-filled with this System role's permissions. Edit / Delete are not offered because System roles can't be modified | | **Custom** | **Edit** (change permissions, name, description), **Duplicate** (clone into another Custom role), **Delete** (when no member holds it) | ## System roles vs Custom roles Roles come in two **types**, shown by the `Type` column: | Type | What it means | | - | - | | **System** | Built-in by Raff. Predefined permission sets for the most common patterns. **Cannot be edited or deleted** — but you can copy a System role into a Custom one and tweak from there | | **Custom** | Roles you create with **+ Create Role**. You pick the domain (Account or Project), name it, and toggle every permission on or off. Edit and delete any time | **The 7 System roles** ship with every account. Most teams never need to create Custom roles — pick from the predefined ones until you genuinely need something the System set doesn't cover. For the full list of System roles and what each one's permissions add up to, see [Permissions matrix](/products/manage/team-projects/details/permissions-matrix). ## What a role's permissions look like — Account example Click the eye icon on the **Admin** account role to see what it actually grants. ![Admin role detail dialog (top half): Account Role / System Role tags, info banner "This is a system role and cannot be modified. System roles provide predefined permission sets for common use cases.", "15 permissions" badge, then permissions grouped by category — PROJECTS (3/4 enabled: account.projects.view, .create, .manage on; .delete off), MEMBERS (3/4 enabled: .view, .invite, .manage on; .remove off), ROLES (3/4 enabled: .view, .create, .manage on; .delete off)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/role-detail-account-admin-top.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=fefdff1cfc6d5062abf72bd3782e90bd) ![Admin role detail (bottom half): API KEYS (3/4 enabled: .view, .create, .manage on; .revoke off), BILLING (0/2 — both off — "Account admin without billing"), ACCOUNT SETTINGS (2/2 enabled), AUDIT LOG (1/1 enabled: account.audit.view)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/role-detail-account-admin-bottom.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=0fc451785f7e6efa9418f1a3df1a6ab8) A few takeaways from this view: * **Permissions are grouped by category** — Projects, Members, Roles, API Keys, Billing, Account Settings, Audit Log. Each category shows `(enabled / total)` so you can see the role's coverage at a glance. * **The Admin role intentionally excludes destructive and billing permissions** — `account.projects.delete`, `account.members.remove`, `account.roles.delete`, `account.apikeys.revoke`, and the entire Billing category are all OFF. The role description (`Account admin without billing`) reflects this. * **System roles can't be modified** — the toggles render but submission is blocked. To change behavior, copy into a Custom role. * **Permission names are dot-separated** in `<domain>.<resource>.<action>` form. Predictable and greppable. ## What a role's permissions look like — Project example Click the eye icon on the **Project Admin** role to see the project-domain permission catalog. ![Project Admin role detail: Project Role / System Role tags, "40 permissions" badge, sections for PROJECT MEMBERS (4/4 — .view, .invite, .manage, .remove all on), VIRTUAL MACHINES (6/6 — vm.view, .create, .delete, .power, .manage, .console all on), NETWORKING (4/4 — vpc.view, .create, .delete, .manage all on)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/role-detail-project-admin.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=297aa15dec22476b5571585227e492cf) The project-domain catalog has a different shape from the account one: * **Categories are resources** — Project Members, Virtual Machines, Networking, etc. — not account-level concepts like Billing * **Resource permissions** like `vm.view`, `vm.create`, `vm.delete`, `vm.power`, `vm.manage`, `vm.console`, `vm.ssh_keys` (add and remove SSH keys on servers; Project Admin and Operator have it) are individually toggleable * **Project Admin has 40 permissions** — the full project-domain set. Compare with Project Member (\~11) and Viewer (\~9) to see what each level peels back The same "system roles can't be edited" rule applies on the project side. ## How a member's effective access is computed When a member tries to do anything in the dashboard or via the API, Raff checks the action against their grants: ``` Is the action an account.* permission? └─ YES → Check the member's Account-level role. ALLOW if the role has the permission, DENY otherwise. Is the action a project.* / vm.* / vpc.* permission on project X? └─ YES → Check the member's Project-level role on project X. (NOT their account role — these are separate domains.) ALLOW if the role has the permission, DENY otherwise. DENY if the member has no role on project X at all. ``` A member with **only an account-level role** can navigate the Team & Projects page, see the account settings, work with billing if their role allows, and so on — but they get an empty list under Compute, Networking, and every other resource page until you grant them a project role somewhere. ## Custom roles — when to build one > [!WARNING] > > **Pick the Scope carefully — it's locked after create.** When you create a Custom role, the **Scope** dropdown (`Account` or `Project`) cannot be changed later. The two domains use different permission catalogs (21 account permissions vs 40 project permissions), so there's no migration path. If you pick the wrong one, you have to delete the role and rebuild it from scratch — which means re-assigning every member or API key currently using it. Decide before you click Save: is this a role for **account-wide responsibilities** (members, billing, audit, projects list) or for **resources inside one or more projects** (VMs, VPCs, IPs, snapshots)? Reach for a Custom role when: * You need a permission combination none of the System roles offers (e.g. *"can manage VMs but cannot delete them and cannot manage VPCs"*) * You want to remove a single permission from a System role for a specific subset of members * You're building a least-privilege role for a script / API key (give exactly the permissions the automation needs, nothing more) There are **two ways to create a Custom role**, and which you pick matters: ### Option 1 — Duplicate a System role (recommended starting point) The fastest way: pick the System role closest to what you want, click `⋮` → **Duplicate**. A new Custom role is created with the System role's exact permission set, and you tweak from there. Most teams need a small variation on a System role — duplicate, rename, toggle one or two permissions, save. The duplicate inherits the **scope** (account vs project) of the source — duplicating `Project Admin` produces a Project-scoped Custom role; duplicating `Admin` produces an Account-scoped one. ### Option 2 — Create from scratch via "+ Create Role" The right path when no System role is close to what you want, or when you're building a tightly-scoped role for automation. Click **+ Create Role** in the top right of the Roles tab. ![Create New Role dialog with fields: Role Name (placeholder "e.g., Developer"), Description (Optional) textarea, Scope dropdown set to "Account - For account-wide access" with helper text "Account roles apply to the entire account. Project roles apply only within specific projects.", Permissions section with Select All / Clear All buttons and a "0 / 21 selected" counter, and category groups PROJECTS (0/4) and MEMBERS (0/4) with None checkboxes on the right and individual permission toggles below each category](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/create-role-dialog.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=8926be338dab1942b25c1a66001967a0) The dialog has four blocks: | Field | What goes here | | - | - | | **Role Name** | A short label — `Developer`, `Read-only auditor`, `CI deployer`. Must be unique across all roles in the account | | **Description** *(optional)* | Free-form. Useful for telling teammates what this role is for | | **Scope** | Dropdown — **`Account - For account-wide access`** *or* **`Project - For project-specific access`**. Pick one; you cannot change it after creation. The helper text spells it out: *"Account roles apply to the entire account. Project roles apply only within specific projects."* | | **Permissions** | The full toggleable catalog for the chosen scope, grouped by category | A few things about the Permissions area worth knowing: * **The total count depends on the scope.** Account scope shows **21 permissions**; Project scope shows **40 permissions**. The live counter (`0 / 21 selected`) updates as you toggle. * **Bulk actions:** **Select All** / **Clear All** at the top apply to the whole catalog. * **Per-category None:** the **None** checkbox on the right of each category header turns off every permission in that category in one click — useful when you want everything except a specific category (e.g. "every Account permission except Billing"). * **Categories show their coverage:** `(N/M)` next to each category name — `(0/4)`, `(2/4)`, `(4/4)` — so you can see a role's shape at a glance without expanding it. ### Choosing scope at create time The Scope dropdown is the most consequential choice in this dialog because it's locked after creation: * Pick **Account** for roles that mix account-wide responsibilities — think "billing + audit", "members admin without project access", "support engineer with audit-only access" * Pick **Project** for roles that touch project resources — anything involving VMs, VPCs, IPs, project members, project settings If you find you picked the wrong scope, the workaround is to delete the role and re-create it with the right scope. You can't migrate permissions across scopes; the catalogs are different sets. ### After save The new role appears in the Roles tab with Type `Custom`. From the row's `⋮` menu, you can **Edit**, **Duplicate**, and **Delete**. To assign the role to members: * For a fresh invite: pick this role in the [Invite Member](/products/manage/team-projects/quickstart-guides/invite-member) dialog * For an existing member: open the Members tab, click the row's `⋮` → **Change Role**, pick this role Custom roles can be deleted only when **no member holds them**. Re-assign affected members to a different role first. ## API keys use the same role model API keys are created with the **same Account / Project role pair** members get — the key's permissions come from a role you pick at create time, not from the creator's identity. The Create API Key flow asks for: 1. **Account Role** — the key's `account.*` permission set (Owner / Admin / Billing / Member, or a Custom Account role) 2. **Project Role + projects** — the key's `project.*` permission set, applied to one or more selected projects (skipped when Step 1 is **Owner**, since Owner covers everything) 3. **Expiration** — auto-revoke after a fixed time 4. **Permissions Preview** — the live preview of the resulting permission set The combination is **frozen onto the key at create time**. Editing a member's role later doesn't change any keys; the key carries its own role assignment. To change what a key can do, you either rotate the key with a different role, or edit the **role definition itself** — which then changes the key's access (and every other grant using that role). This is the centralized role system in action: roles are the single source of truth, and members and keys both reference them. See [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) for the dashboard walkthrough. ## Related > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > The full list of system roles with every permission they grant. > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > Account vs project scope at invite time. > [card] [Change a role](/products/manage/team-projects/quickstart-guides/change-role) > > Re-scope an existing member. # Permissions matrix Source: https://docs.rafftechnologies.com/products/manage/team-projects/details/permissions-matrix The full list of System roles on Raff — three account-level (Admin, Billing, Member) and four project-level (Project Admin, Operator, Project Member, Viewer) — with every permission each one grants <sub>Updated May 8, 2026</sub> This page is the spec sheet for the **7 System roles** that ship with every Raff account. The model itself is on [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys); read it first if you haven't. ## Account roles (3) These apply to a member at the **account level**. Account roles control account-wide concerns: who's invited, billing, audit log, account-wide API keys, the list of projects. **They do not grant access to project resources.** A member with only an account role cannot see VMs, VPCs, IPs, or any other project resource until they're explicitly given a project role on that project. | Role | Description | Total permissions | | - | - | - | | **Admin** | Account admin without billing | 15 | | **Billing** | Billing access only | 2 | | **Member** | Basic account member | 3 | ### Admin (15 permissions) The "do almost anything at the account level except destroy things or touch billing" role. | Category | Permission | Granted? | | - | - | - | | **Projects** | `account.projects.view` — View projects in the account | ✅ | | | `account.projects.create` — Create new projects | ✅ | | | `account.projects.manage` — Full project management access | ✅ | | | `account.projects.delete` — Delete projects | ❌ | | **Members** | `account.members.view` | ✅ | | | `account.members.invite` — Invite new members | ✅ | | | `account.members.manage` — Manage member roles | ✅ | | | `account.members.remove` — Remove members from account | ❌ | | **Roles** | `account.roles.view` | ✅ | | | `account.roles.create` — Create new roles | ✅ | | | `account.roles.manage` — Modify role permissions | ✅ | | | `account.roles.delete` — Delete roles | ❌ | | **API Keys** | `account.apikeys.view` | ✅ | | | `account.apikeys.create` — Create API keys | ✅ | | | `account.apikeys.manage` — Manage API key settings | ✅ | | | `account.apikeys.revoke` — Revoke API keys | ❌ | | **Billing** | `account.billing.view` — View billing information | ❌ | | | `account.billing.manage` — Manage billing and payments | ❌ | | **Account Settings** | `account.settings.view` | ✅ | | | `account.settings.manage` | ✅ | | **Audit Log** | `account.audit.view` — View audit logs and security events | ✅ | Use this role for ops people you want to run the account day-to-day but not pay invoices or remove the founders. ### Billing (2 permissions) A purpose-built role for finance / accounting people who only need to see and pay invoices. | Category | Permission | Granted? | | - | - | - | | **Billing** | `account.billing.view` — View billing information | ✅ | | | `account.billing.manage` — Manage billing and payments | ✅ | Everything else is denied. The Billing role explicitly cannot see members, projects, audit logs, or any account settings — keeps the finance person scoped exactly to invoices and payment methods. ### Member (3 permissions) The lightest account role. Read-only at the account level, useful as a base for someone who'll mostly work inside specific projects. | Category | Permission | Granted? | | - | - | - | | **Account Settings** | `account.settings.view` | ✅ | | **Members** | `account.members.view` | ✅ | | **Projects** | `account.projects.view` | ✅ | A typical pattern: invite a developer with `Member` at the account level (so they see who else is on the team and what projects exist), then grant them `Project Member` or `Project Admin` on the projects they actually work in. ## Project roles (4) These apply to a member on a **specific project**. Each grant pairs a member, a project, and one role — the same member can hold different roles on different projects. | Role | Description | Total permissions | | - | - | - | | **Project Admin** | Full project access | 40 | | **Operator** | Manage resources without delete | \~29 | | **Project Member** | Basic project access | \~11 | | **Viewer** | Read-only project access | \~9 | The exact counts shift slightly as new resources land (Object Storage, Kubernetes, etc.); the dashboard's role-detail view is always authoritative. The categories below show the structure. ### Project Admin (40 permissions) Everything inside the project. The project-domain equivalent of "Owner without account access." | Category | Permissions | Granted | | - | - | - | | **Project Members** | view / invite / manage / remove | 4 / 4 | | **Virtual Machines** | view / create / delete / power / manage / console | 6 / 6 | | **Networking (VPC)** | view / create / delete / manage | 4 / 4 | | **(Other resource categories)** | View / create / manage / delete on every project resource | All | Use Project Admin when you want a member to fully run a project — VMs, networking, members, settings — without giving them anything at the account level. ### Operator (\~29 permissions — manage without delete) Identical to Project Admin **except destructive operations** are removed: no `vm.delete`, no `vpc.delete`, no `project.members.remove`, etc. Operators can power, manage, and create — but not destroy. Useful for on-call rotations, deploy automation, and contractors who shouldn't be able to wipe things out by accident. ### Project Member (\~11 permissions — basic access) A normal "use the project" role: * `project.settings.view`, `project.members.view` * `vm.view`, `vm.power` (start/stop/reboot a VM) * A handful of read permissions on other resource types The default level for most engineers — they can see everything in the project and do day-to-day operational tasks (reboot a VM, view logs/metrics) but they can't create, delete, or modify configurations. ### Viewer (\~9 permissions — read-only) Pure read access. View VMs, view VPCs, view IPs, view members, view project settings — no power actions, no creates, no deletes, no console access. The right role for compliance / audit team members and read-only dashboards. ## Cross-domain mix examples A few common patterns built from the table above: | Real-world role | Account role | Project role(s) | | - | - | - | | **Co-founder** | (Owner — automatic) | (full, on every project) | | **Operations engineer** | Admin | Project Admin on every project | | **DevOps contractor** | Member | Operator on the projects they work on | | **Backend developer** | Member | Project Member on `prod`, Project Admin on `staging` | | **Finance / bookkeeper** | Billing | (none — never sees workloads) | | **Auditor** | Member | Viewer on every project | | **External customer** | (none) | Project Admin on their own project, nothing else | The "External customer" pattern uses the **Project-only** scope you see on the Members list — no account role, project roles only. Useful for white-labeled hosting, multi-tenant isolation, or any case where the member shouldn't see anything outside their project. ## What you can't change about System roles System roles are **read-only**. The role-detail dialog shows the toggles but doesn't accept changes. Specifically: * You can't add or remove a permission to/from a System role * You can't rename a System role * You can't delete a System role * You **can** copy a System role's permissions into a fresh **Custom role** and edit from there ## Limits | Item | Limit | | - | - | | **System roles** | 7 (3 account + 4 project), fixed | | **Custom roles per account** | No hard cap published; subject to overall account capacity | | **Roles per member** | Exactly 1 account role + 1 role per project the member is on | | **Members per account** | No hard cap published | | **Permissions** | \~17 account + \~40 project = \~57 total today, growing as new resource types land | ## See also > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The model behind these roles. > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > How to assign roles at invite time. > [card] [Change a role](/products/manage/team-projects/quickstart-guides/change-role) > > Re-scope an existing member. # Team & Projects Source: https://docs.rafftechnologies.com/products/manage/team-projects/index Team & Projects on Raff — invite members, organize resources into projects, scope access at the account or per-project level, and assign roles <sub>Updated May 8, 2026</sub> **Team & Projects** is where you decide who has access to what on your Raff account. It has three pieces, each on its own tab: | Tab | What it controls | | - | - | | **Members** | The people who can sign in to your account — invite, set their access scope, remove | | **Projects** | Groupings of resources (VMs, volumes, IPs, VPCs, etc.) used for access control and organization. Every account has a `Default` project you can never delete | | **Roles** | The named permission sets you can assign to members at the account or project level | ![Team & Projects page Members tab showing two members — serdar@... with Owner badge and "All projects", batuhan@... with Project-only badge and "1 project" — and an Invite Member button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/team-projects/team-projects-members.png) ## Two separate permission systems — Account and Project Raff splits permissions into **two independent systems**. They look similar in the UI but they cover **completely different things**, and granting one does **not** grant the other. | System | Controls | Example permissions | | - | - | - | | **Account permissions** | Account-wide features — invite members, manage billing, view audit logs, manage account settings, manage account-wide API keys, list of projects, the role catalog itself | `account.members.invite`, `account.billing.manage`, `account.audit.view`, `account.apikeys.create` | | **Project permissions** | Resources that live inside a project — VMs, VPCs, public IPs, snapshots, the project's members, the project's settings | `vm.create`, `vm.power`, `vpc.manage`, `project.members.invite` | A member's grants are tracked separately in each system: * **Account roles** are assigned once per member at the account level — they apply across the whole account * **Project roles** are assigned per project — the same member can have `Project Admin` on `customer1` and `Viewer` on `staging`, or no project role at all **An account role does not grant access to any project's resources.** A member with the `Admin` account role and no project roles can invite members, manage billing, see the list of projects' names — but they cannot list VMs, see VPCs, or open any project's resources. Project access has to be granted explicitly, per project. The **Owner** is the only exception: granted automatically at signup with full access in both systems on every project, current and future. Every other member you invite is scoped narrower than that. The Members list shows where each member sits with badges: | Badge | Meaning | | - | - | | **Owner** | Full account permissions + full project permissions on every project. Granted automatically at signup. One per account | | **Account** | Has an account role (Admin / Billing / Member). May or may not also have project roles — those are added separately | | **Project-only** | No account role at all — only has project roles on specific projects. Useful for customers, contractors, anyone who shouldn't see account-wide info | ## Projects — the unit of access control Every resource on Raff lives in a **project**. VMs, volumes, public IPs, VPCs, Object Storage buckets — all of them are scoped to one project at creation time. Projects are how access control gets fine-grained. ![Team & Projects Projects tab showing two projects — Default (with Default badge, 0 members, created 1/22/2026) and customer1 (1 member, created 3/23/2026) — and a + Create Project button](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/team-projects/team-projects-projects.png) A few things every account should know: * **Every new account starts with a `Default` project.** It's pre-created at signup and used for any resource you create without picking a project explicitly. The Default project cannot be deleted — it's the always-available fallback. * **You can create more projects.** `+ Create Project` from the Projects tab. Use them to isolate customers, environments (`prod` / `staging`), teams, billing entities, anything where access should be partitioned. * **Single project is fine.** If you don't need access partitioning, leave the Default project as your only project and forget about it. The account works the same way. * **Resources never leave their project.** A VM created in `customer1` stays in `customer1`. Today there's no "move to another project" action — recreate elsewhere if you need to relocate. ## How users switch projects The top bar of the dashboard has a **project picker** next to the account name. Members with access to multiple projects use this to scope the dashboard to one project at a time. ![Project switcher dropdown opened from the top bar showing Raff Technologies header with Default (checked) and customer1 listed below](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/project-switcher.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=e7a2c840d0cac8cd845af223f124c536) Whatever project is selected here, **every list page in the dashboard filters to that project's resources** — Compute, Networking, Object Storage, all of it. Switch projects and the dashboard re-scopes immediately. The dropdown only lists projects the member actually has a project role on (the Owner sees all of them). The selected project also determines where new resources land — clicking **+ Create** at the top right while `customer1` is selected creates the new VM / volume / IP inside `customer1`. ## What you can do | Task | Where | | - | - | | Invite a new member | **Members** tab → **Invite Member** | | Change a member's scope or projects | **Members** tab → row's `⋮` | | Remove a member | **Members** tab → row's `⋮` → Remove | | Create a new project | **Projects** tab → **+ Create Project** | | Rename or delete a project | **Projects** tab → row's `⋮` | | Switch the dashboard's view to another project | Top bar → project picker | | Generate an API key | **API Keys** in the left sidebar | API keys are managed in a separate left-sidebar item, **API Keys**, not on the Team & Projects page. They're tied to your account and inherit the scope you give them at creation. *** ## Most viewed > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > Add a teammate at account or project scope. > [card] [Create a project](/products/manage/team-projects/quickstart-guides/create-a-project) > > Group resources into a new project. > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The Account vs Project permission model. > [card] [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) > > Create a key for programmatic access. *** ## Browse > [card] [Quickstart & guides](/products/manage/team-projects/quickstart-guides/invite-member) > > Members, roles, API keys. > [card] [Concepts](/products/manage/team-projects/concepts/roles-and-api-keys) > > Account vs project scope, roles, API key scope. > [card] [Details](/products/manage/team-projects/details/permissions-matrix) > > Permission matrix and limits. > [card] [Troubleshooting](/products/manage/team-projects/troubleshooting) > > Common access issues. > [card] [Authentication](/authentication) > > API key authentication reference. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Change or remove a member's role Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/change-role Re-scope an existing member by changing their account role or any of their per-project roles, or remove a single grant entirely without removing the member from the account <sub>Updated May 8, 2026</sub> A member's access on Raff is built from up to two kinds of grants — one **account role** (optional) and one **project role per project** they're added to. This page walks the dashboard flow for changing or removing any of those grants without re-inviting the member. If you want to remove the member from the account entirely (instead of just adjusting one of their grants), see [Remove a member](/products/manage/team-projects/quickstart-guides/remove-member). The actions on this page are the granular per-grant ones. ## Open the member's row In **Team & Projects → Members**, find the member and click the chevron on the left of their row to expand. The expanded row shows two sections — **Account Access** and **Project Access** — each independently manageable. The Account Access section shows the member's account role (if any). The Project Access section lists every project they have a role on. Each grant has its own `⋮` menu. ## Change or remove a project role On the **Project Access** section, click the `⋮` next to any project row. ![Expanded member row for batuhan with Project-only badge. Account Access section shows "No account-level access. This user can only access specific projects below." with Add to Account button. Project Access section shows one row — customer1 with Project-operator role badge — and the ⋮ menu opened revealing two actions: Change Role (people-cog icon) and Remove (red, trash icon)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/project-row-change-remove-menu.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=bdbdf6fc9b1ba796f955c1bbf9f0a205) The menu has two actions: | Action | What happens | | - | - | | **Change Role** | Opens a role picker prefilled with the current role. Pick any **Project role** — System (`Project Admin`, `Operator`, `Project Member`, `Viewer`) or any Project-scoped Custom role you've created. Save. The new role applies immediately on the member's next page load | | **Remove** | Removes the member's grant on **this project only**. They keep all their other grants. If this was their only project grant *and* they have no account role, removing it leaves them as a member with no access — they'll see an empty dashboard until you grant them something else. The member is **not deleted** — to remove them entirely, see [Remove a member](/products/manage/team-projects/quickstart-guides/remove-member) | Both actions affect **only the project on this row**. To change a member's role on a different project, open that project's row in the same Project Access section. ## Change or remove an account role The Account Access section works the same way for the member's account role. If they have one, the section shows the role with a `⋮` menu offering: | Action | What happens | | - | - | | **Change Role** | Pick a different account role — `Admin`, `Billing`, `Member`, or any Account-scoped Custom role | | **Remove** | Removes their account role. The member keeps all their project roles; their badge on the Members list flips to **Project-only** | If the member has no account role, the section shows the **Add to Account** button instead. Clicking it grants an account role with no email — same flow as the post-invite expansion in [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member#after-they-accept--adding-more-access). ## Adding a project after invite The **+ Add to Project** button in the Project Access header isn't a "change role" action — it's the equivalent of granting access to an additional project after the member has already accepted an invite. Pick a project and a project role; the member gains that grant immediately, no email step. This is how a member who started with one project ends up on three — invite once, add to more projects as their responsibilities grow. ## Effects of a change | Change | When it takes effect | | - | - | | **Promote** (more permissions) | The member sees the new permissions on next page load — open dashboards refresh, new resources become visible | | **Demote** (fewer permissions) | The member loses access immediately; if they had a page open that they no longer have access to, the next API call fails with `403` and the page redirects | | **Remove a project grant** | The project disappears from their project picker, all of its resources become invisible to them on next load | | **Remove an account role** | They lose account-wide visibility (members list, billing if they had it, etc.) but keep all their project access | API keys created by the member **inherit their current access** — so changing the member's roles also changes what their existing keys can do. Rotate keys after a demotion if you want to make sure no key has more access than the member currently does. ## Restrictions A few rules the dashboard enforces: * **You can't change your own roles** — a member with permission to manage members can change other members' roles, but not their own. Ask another account-role holder (or the Owner) for self-promotions. * **You can't change the Owner's roles** — the Owner has full access by definition; the role picker isn't shown for the Owner row. * **You can't remove the only `account.members.manage` holder** — the dashboard prevents you from removing or demoting the last member who could manage other members. There has to be at least one path back to inviting/managing. ## Related > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > Add a teammate at account or project scope. > [card] [Remove a member](/products/manage/team-projects/quickstart-guides/remove-member) > > Remove the member from the account entirely. > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The Account vs Project model. # Create a project Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/create-a-project Open the Projects tab, click + Create Project, name it, optionally describe it, and save — projects organize resources for access control and let you scope members to specific subsets of your fleet <sub>Updated May 8, 2026</sub> A **project** is a container for resources — VMs, VPCs, public IPs, Object Storage buckets, snapshots, backups. Resources never live "in the account" directly; they always belong to one project. Projects are also the unit of access control — a member with a `Project Member` role on `customer1` only sees `customer1`'s resources. Every account starts with a `Default` project, pre-created at signup, and you can never delete it. Most accounts that don't need access partitioning leave it as their only project. Create more projects when you want to **isolate customers**, **separate environments** (`prod` / `staging`), give **per-team scoping**, or break out **billing entities**. ## Open the Projects tab In **Team & Projects**, switch to the **Projects** tab. ![Team & Projects Projects tab showing the heading "Organize resources with projects for better access control", a + Create Project button on the right, and two project rows: Default (Default badge, 0 members, created 1/22/2026) and customer1 (1 member, created 3/23/2026)](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/manage/team-projects/team-projects-projects.png) The list shows every project in your account with three columns: | Column | What it shows | | - | - | | **Project** | The display name and a stable identifier underneath. The pre-created project shows the orange `Default` badge | | **Members** | The number of team members with a project role on this project. `0` is normal for projects you've just created | | **Created** | The date the project was created | Click the orange **+ Create Project** button on the right. ## The Create New Project dialog ![Create New Project dialog with subtitle "Create a project to organize your resources and manage access.", a Name field with placeholder "e.g., Production", a Description (Optional) textarea with placeholder "What is this project for?", and Cancel / Create Project buttons](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/create-project-dialog.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=463cdc462a6f36c7f6ab40fed272082c) The dialog is intentionally short — two fields and a save button. ## 1. Name Pick a label that's easy to recognize when assigning resources or members later. Common patterns: | Pattern | Examples | | - | - | | **Per environment** | `Production`, `Staging`, `Dev` | | **Per customer** | `customer1`, `acme-corp`, `globex` | | **Per team** | `platform-team`, `data-team`, `mobile-team` | | **Per cost center** | `R&D`, `Customer Ops`, `Internal Tools` | Names must be unique inside your account. Names **can be renamed later** via the row's `⋮` → **Edit Project** — see [Edit or delete a project](/products/manage/team-projects/quickstart-guides/delete-a-project) for the rename flow. ## 2. Description (optional) Free-form. Useful for telling teammates what this project is for — *"Production workloads for ACME Corp's whitelabel deployment"*, *"Internal staging — destroy and rebuild freely"*. Shows up in the project's row when expanded. Skip if you don't need it. The field has no length cap; use as much detail as helps the team. ## 3. Click Create Project The project is created in seconds and appears in the Projects list. The new row shows: * The display name with no `Default` badge * `0` under Members (no one assigned yet) * Today's date under Created The new project is **empty and immediately usable**. From this point on: * The new project appears in the **top-bar project picker** for anyone with access to it * You can **add members** to it from `Team & Projects → Members → row's expansion → + Add to Project`, or by inviting a new member with the **Project** access level scoped to this project * Anyone working in the project switches to it via the top-bar project picker, then creates VMs / VPCs / IPs / buckets the normal way — they all land in this project automatically ## What you cannot do | Action | Status | | - | - | | **Move existing resources from one project to another** | Not supported today — resources are scoped to their project at creation. To "move" a VM, recreate it in the target project (snapshot the source, restore in the target, or just provision fresh) | | **Share a single resource across two projects** | Not supported — every resource lives in exactly one project | | **Delete the `Default` project** | Permanent restriction — Default is the always-available fallback project and can't be deleted from the dashboard or the API | | **Reassign Default's resources** | Same as the move limitation — there's no "move out of Default" action | ## Who can create projects A member needs the **`account.projects.create`** permission to use the **+ Create Project** button. The Owner has it; the **Admin** account role has it; **Billing** and **Member** account roles do not. Project-only members never see the Projects tab at all. If the button is greyed out or missing, you don't have the permission — ask the Owner or an Admin to either create the project or grant you the permission via a Custom role. ## Related > [card] [Edit or delete a project](/products/manage/team-projects/quickstart-guides/delete-a-project) > > Rename, change description, or delete a project. > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > Add a member scoped to a specific project. > [card] [Projects and scoping](/products/manage/team-projects/concepts/projects-and-scoping) > > How project scope affects every resource and API call. # Edit or delete a project Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/delete-a-project Open the project's row menu to rename it, change its description (Edit Project), or delete it — with the hard rule that the Default project can never be deleted <sub>Updated May 8, 2026</sub> The Projects tab gives every project the same `⋮` row menu with two actions — **Edit Project** and **Delete**. This page covers both. ## Open the row menu In **Team & Projects → Projects**, find the project and click the `⋮` on the right of its row. ![Projects tab with the row context menu opened on the customer1 project, showing Edit Project (pencil icon) and Delete (red, trash icon)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/project-row-menu.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=8cfc37271f77c12e5ee57f7e4eeb6c14) | Action | What it does | | - | - | | **Edit Project** | Opens a dialog to rename the project and/or change its description | | **Delete** | Permanently deletes the project. Disabled / blocked for the `Default` project (see below) and any project with attached resources | ## Edit a project — rename and description Click **Edit Project**. The dialog is the same shape as Create New Project, prefilled with the current values: | Field | Editable? | | - | - | | **Name** | Yes — type a new name and save. The change applies immediately; the project picker, the Members list, and every API response that returns the project name update on next page load | | **Description** | Yes — free-form, no length cap | The project's **identifier** (the lowercase label shown under the display name on the row) **does not change** when you rename. Resources keep their stable identifier; only the display name changes. This means automation that references a project by its UUID is unaffected by renames. You can rename the **Default** project too — the orange `Default` badge stays attached even after a rename, because Default is determined by the project's role in the account (the always-available fallback), not by its name. ## Delete a project Click **Delete** from the row's `⋮` menu. A confirmation dialog asks you to type the project name to proceed. ### Two hard rules > [!WARNING] > > **The `Default` project cannot be deleted, ever.** It's the always-available fallback project for resources created without an explicit project, and the platform never lets you remove it. The Delete option is hidden / disabled on the Default row. > [!WARNING] > > **A project must be empty before deletion.** If any VM, VPC, public IP, Object Storage bucket, snapshot, or other resource still belongs to the project, the Delete action is blocked. The dashboard shows the blocking resources; clear them before retrying. ### Clearing a project before delete To delete a non-Default project that still has resources, you need to remove the resources first. Two paths: | Path | When to use | | - | - | | **Delete each resource from its own product** | Simplest if the resources are no longer needed. Open Compute → delete each VM, then Networking → delete each VPC, etc. | | **Migrate to another project** | Today there's no "move resource to another project" action. To migrate, recreate in the target — for VMs, snapshot the source then restore the snapshot in the target project. For Object Storage, copy buckets via the S3 API | Once the project is empty, retry the Delete action. ### What gets cleaned up When a project is successfully deleted: * **Member project-role grants** on this project are removed. Members who had only this project as their Project Access end up as account-only members (or with no access at all if they had no other grants). * **Audit-log entries** referencing the project are kept for compliance — the entries continue to exist, just refer to a project ID that no longer resolves to a current project. * **The project's name** is freed for reuse — you can immediately create another project with the same name. The deletion is final. There's no soft-delete or recovery window today. ## Who can edit / delete projects A member needs the right account permission to use these actions: | Action | Required permission | Holders | | - | - | - | | **Edit Project** | `account.projects.manage` | Owner, Admin, plus any Custom account role that includes it | | **Delete Project** | `account.projects.delete` | Owner only by default — `Admin` does not include `account.projects.delete` (look at the Admin role's permission list and you'll see this one is OFF). To delegate, create a Custom account role with `account.projects.delete` enabled | If the actions are missing or greyed out for you, your account role doesn't include the permission — ask the Owner or someone with the right permission, or have them grant you a Custom role. ## Related > [card] [Create a project](/products/manage/team-projects/quickstart-guides/create-a-project) > > Walk the Create New Project dialog. > [card] [Projects and scoping](/products/manage/team-projects/concepts/projects-and-scoping) > > How project scope affects resources and API calls. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > Which roles include `account.projects.manage` and `account.projects.delete`. # Generate an API key Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/generate-api-key Create an API key with the same Account / Project role model used for members — pick an Account Role, pick projects and a Project Role (skipped when Owner is chosen), set expiration, and copy the key once <sub>Updated October 21, 2026</sub> API keys are how scripts, CI pipelines, Terraform, and any non-interactive automation authenticates against Raff. They use the **same role-based permission model as members** — you give a key an Account Role and (unless you picked Owner) a Project Role applied to one or more projects. The same `account.*` and `project.*` permission catalog applies; the key carries a frozen snapshot of that role's permissions when it's used. This page walks the dashboard create flow. ## Open the API Keys page API keys live under their own sidebar item, **API Keys** (not on the Team & Projects page). Open it from the left navigation, then click **+ Create API Key**. Creating a key asks for your **two-factor code** (one code counts for 10 minutes). An API key can add SSH keys to your servers without a code, so making one needs it. Without two-factor authentication on your account, set it up first in **Settings**. ## The Create API Key dialog ![Create API Key dialog with subtitle "Create a new API key with specific permissions for programmatic access.", a Name field with placeholder "e.g., Production API Key", a Step 1 - Account Access section with the Account Role dropdown set to Owner (21 permissions), a Manage Roles link, an info banner "Full access — this key will have owner-level permissions across all projects. No project selection needed.", an Expiration dropdown set to "Never expires", and a Permissions Preview section showing "Account Permissions (Owner) - 21 permissions". Cancel and Create Key buttons at the bottom.](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-key-create-owner.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=07ccecc359c32a295c40b0b037e8b797) The dialog is shaped to match the Account/Project permission model: | Block | Purpose | | - | - | | **Name** | A label to recognize the key by — `Production CI`, `Backups Lambda`, `Terraform — staging` | | **Step 1 — Account Access** | Pick the **Account Role** the key uses for `account.*` permissions | | **Step 2 — Resource Access** *(conditional)* | Pick **projects** + a **Project Role** applied to them. Hidden when Step 1 is set to **Owner** | | **Expiration** | When the key auto-expires | | **Permissions Preview** | Live readout of what the key will be able to do, based on Steps 1+2 | ## 1. Name Type a descriptive label. The name shows up in the API Keys list, in audit-log entries when the key is used, and in invoice line items if the key creates billable resources. Pick a name that tells you immediately *what owns this key* — `Backups Lambda`, `Terraform Prod`, `On-call dashboard`. Avoid vague names like `key1`. ## 2. Step 1 — Account Role This determines the key's `account.*` permissions. The dropdown lists every account-scope role in your account (System + Custom). ![Account Role dropdown opened, showing four options with permission counts: Admin (15 permissions), Billing (2 permissions), Member (3 permissions), and Owner (21 permissions) with a checkmark indicating it's the current selection](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-key-account-role-dropdown.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=26cc52302a97a088ee272699447bb29e) The four System options at a glance (see [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) for full detail): | Option | When to pick | | - | - | | **Owner** *(21 permissions — full access)* | The key needs to do everything the Owner can — including managing members, billing, audit, every project. **Step 2 is skipped** because Owner already covers all projects | | **Admin** *(15)* | Account management except destructive actions and billing — useful for an ops-automation key that creates projects, invites members, generates other keys | | **Billing** *(2)* | A key for an accounting integration that pulls invoices and updates payment methods — nothing else | | **Member** *(3)* | The narrowest account role — view projects, members, settings. Useful as a base for a key that lives mostly in projects | The **Manage Roles** link in the top-right of this section opens the Roles tab in a new context so you can review or create Custom roles before finalizing the key. ### When you pick Owner — Step 2 disappears The screenshot above (Owner selected) shows what's special about Owner: **the dialog hides Step 2 entirely** because Owner means "everything in every project, current and future." A blue banner makes this explicit: > **Full access** — this key will have owner-level permissions across all projects. No project selection needed. This is the right choice for a small team's single power key, or a setup-time bootstrap key. It's also the riskiest — if leaked, it can do anything. Prefer narrower roles for keys that only need a slice. ## 3. Step 2 — Resource Access (when not Owner) Pick anything other than Owner in Step 1 and a new section appears: **Step 2 - Resource Access**. ![Create API Key dialog with Account Role set to Admin and Step 2 - Resource Access visible. Projects section shows "Select which projects this API key can access" with two unchecked checkboxes — Default (Default badge) and customer1. Below, Project Role dropdown labeled "Select a project role" with helper text "Determines what resources this key can manage in the selected projects. The same role is applied to all selected projects."](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-key-step2-empty.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=b60b9b4e8d864e3fc0d0cba32db4fab8) Step 2 has two fields: | Field | What goes here | | - | - | | **Projects** | Tick every project the key should be able to reach. Tick zero, and the key has only its account-level permissions (no project-resource visibility). Tick one or many — the same Project Role applies to all of them | | **Project Role** | Pick a Project Role (System: `Project Admin`, `Operator`, `Project Member`, `Viewer`; or any Project-scoped Custom role). The dropdown shows the permission count next to each name | The helper text under Project Role spells out the constraint that's worth highlighting: *"Determines what resources this key can manage in the selected projects. The same role is applied to all selected projects."* You **cannot give the key different roles on different projects** in one create. If you need that, create one key per role — narrower scope is better security anyway. A typical filled-in Step 2: ![Create API Key dialog Step 2 with both Default and customer1 checked, showing "2 projects selected", Project Role set to Operator (29 permissions), Expiration "Never expires", and a Permissions Preview at the bottom showing two collapsed rows: Account Permissions (Admin) - 15 permissions, and Project Permissions (Operator) - 29 permissions](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-key-step2-filled.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=356ad59b754c7ed6588a958ff550f750) The example above creates a key with: * **Account access:** `Admin` (15 permissions — full account management except destructive operations and billing) * **Project access:** `Operator` on **both** the Default project and customer1 (29 permissions per project — manage VMs/VPCs/IPs/etc. but no delete) That's a typical "ops automation" scoping — broad enough to do real work, narrow enough that a leak isn't catastrophic. ## 4. Expiration Pick how long the key should live. Expired keys are rejected by the API and become unusable. | Option | When to pick | | - | - | | **Never expires** | Long-lived integrations where rotation is managed externally (your own runbook, a secret-rotation tool). **Default**, but consider a fixed expiry instead | | **30 days** | Short-lived contractor access, time-boxed integrations | | **60 / 90 days** | Common rotation cadences | | **120 / 180 days** | Quarterly / semi-annual rotation policies | | **1 year** | Annual rotation — the longest preset | Most production integrations should use **at least one of the bounded options** so the key actively expires if you forget about it. Set a calendar reminder a week before expiry to rotate (see [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key)). The Expiration field is configured at create time; it cannot be extended later. To extend a key's life, rotate to a new key with a fresh expiry. ## 5. Permissions Preview The bottom of the dialog has a **Permissions Preview** — a collapsed summary of what the key will be able to do based on Step 1 and Step 2: * `Account Permissions (<role>) — N permissions` * `Project Permissions (<role>) — N permissions` *(when Step 2 is filled)* Click the chevron next to each row to expand and see the exact permission list — the same view shown in the role-detail dialog, just inline. Use this to verify the key has what it needs *and nothing more* before you click Create. If you realize the preview is missing a permission — for example, the key needs `vm.console` and the Project Role you picked doesn't include it — **don't toggle the permission directly here.** That's not how the dialog works. The fix is to: 1. Cancel the create 2. Either pick a different Project Role that includes the missing permission, or 3. Open Roles → **+ Create Role** to build a Custom role with exactly the permissions you need 4. Come back to Create API Key and pick the Custom role This is the **centralized role system** working as designed: every grant — to a member or to a key — references a role definition. To change what a key can do, you change the role (and every key/member using it changes with it), or you create a new role and re-issue. ## 6. Click Create Key — and copy it immediately The key is generated and the dashboard shows it in a one-time **API Key Created** dialog. ![API Key Created dialog with subtitle "Copy your API key now. You won't be able to see it again." A warning banner reads "Make sure to copy your API key now. You won't be able to see it again!" The full key is displayed as raff_17d70fcf7e7510968a4c19279b25707f088f1cc5ad8b74210341d8e470b5bb7a with a copy-to-clipboard button next to it. A Done button at the bottom right.](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-key-created-copy.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=8f3e0de935373fe5ca9e2fb8d104a692) > [!WARNING] > > **This is the only time the full key will be shown.** Click the copy button and paste it into your secret store **before** clicking **Done**. Once the dialog closes, only the key's prefix (`raff_17d70fcf…`) remains visible — the rest can never be retrieved. If you lose it, the only fix is to rotate to a new key. Every Raff API key starts with the **`raff_`** prefix followed by a long random suffix — easy to grep for in code reviews and to detect accidental commits to source control. Pipe the key straight into your secret manager: * **1Password** / **Bitwarden** — paste into a secure note tagged for this integration * **AWS Secrets Manager** — `aws secretsmanager put-secret-value --secret-id raff/prod-ci --secret-string $KEY` * **GitHub Actions** — Repo Settings → Secrets → New secret * **Doppler** / **HashiCorp Vault** / **Kubernetes Secret** — same pattern, your tool's CLI Click **Done** when you've safely copied it. The new key now appears in the API Keys list. ## After creation — the API Keys list ![API Keys list page with breadcrumb Home > Api Keys, page title "API Keys", subtitle "Create and manage API keys for programmatic access", and a + Create API Key button on the right. The table has columns Name, Key Prefix, Account Role, Project Access, Expires, Last Used, Created. One row visible: Test / raff_17d70fcf... / Admin / customer1 (Project Admin) Default (Project Admin) / Never / Never / 5/5/2026 — with Regenerate (cycle icon) and Delete (red trash) actions on the right.](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/api-keys-list.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=4e5fa220093ca242623c34e3e8b59a00) The list is the at-a-glance summary of everything in your account. Each column: | Column | What it shows | | - | - | | **Name** | The label you typed at create time | | **Key Prefix** | The first \~12 characters of the key — enough to identify it in audit logs without exposing the secret. The full key is gone forever after the create dialog closes | | **Account Role** | The Account Role you picked in Step 1 (e.g. `Admin`, `Owner`, or your Custom role name) | | **Project Access** | A badge per project the key has access to, with the Project Role shown in parentheses — e.g. `customer1 (Project Admin)`, `Default (Project Admin)`. Owner-keys show `All projects` instead. Empty when the key has no project access | | **Expires** | The chosen expiration — `Never` for never-expires, or a date for any time-bounded option. Past-due keys show `Expired` | | **Last Used** | When the key last authenticated a request. `Never` for unused keys; otherwise a relative timestamp like `2 hours ago` | | **Created** | When the key was generated | Each row also has two actions on the right: | Action | Icon | What it does | | - | - | - | | **Regenerate** | 🔄 cycle | Rotates the key — issues a new key value (with the same name, scope, and expiration) and immediately invalidates the old key. Use when the key may be compromised, when you're rotating per policy, or when you want to extend a key's life past its current expiration. See [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) | | **Delete** | 🗑️ red trash | Permanently revokes the key. The key value is deleted; any in-flight requests using it fail with a `401`. Cannot be undone — recreate from scratch if you delete by mistake | The list refreshes when you create, regenerate, or delete a key. **Last Used** updates a few seconds after a successful API call from the key. ## How API keys authenticate Every authenticated request to the API includes the key in the **`X-API-Key`** header: ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms ``` For project-scoped requests (every endpoint that lists or creates a resource in a project), include the **`X-Project-ID`** header set to one of the projects the key has access to. The combination of `X-API-Key` + `X-Project-ID` lets the API resolve which permission set to apply. For account-only operations (members, billing, etc.), `X-Project-ID` is omitted — the key's Account Role permissions apply directly. > [!NOTE] > > **The full request reference is on [Authentication](/authentication).** It covers: the exact header set, language SDK setup (Python, Node, Go), example requests for the most common endpoints, and the `401` / `403` responses you'll see when the key is missing, invalid, expired, or scoped wrong. Bookmark that page when you're integrating Raff into a new application. ## What you cannot do today * **Edit a key's permissions after create** — to change a key's access, rotate it. The key's role at create-time is frozen on the key record * **Assign different Project Roles to different projects in the same key** — one Project Role applies to every selected project. Create separate keys when projects need different scopes * **Recover the full key after the create dialog closes** — only the prefix is preserved. If you lose the key, rotate to a new one * **Extend the expiration** — if a key is about to expire, rotate to a new key with a fresh expiry ## Related > [card] [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) > > Replace a leaked or aging key. > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The model behind the role dropdowns. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > What each role grants. # Invite a member Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/invite-member Send an email invitation to add a new member at the Account or Project access level — and grant additional access from the member's row after they accept, without sending another invite <sub>Updated May 8, 2026</sub> This page walks the **Invite Team Member** flow on the Team & Projects page, plus the **after-acceptance** flow for adding more access (more projects, or account-level access) to a member who's already on the team — without resending an invite. ## Who can invite Anyone with the **`account.members.invite`** permission can send invitations. The Owner has it automatically; the **Admin** account role has it; **Billing** and **Member** account roles do **not** have it. Project-only members cannot invite anyone. If you don't see the **+ Invite Member** button on the Members tab, your role doesn't include `account.members.invite` — ask the Owner or an Admin to either send the invite or grant you the permission via a Custom role. ## 1. Open the Members tab In **Team & Projects → Members**, click the orange **+ Invite Member** button in the top right. ![Team & Projects Members tab header with Members section title, "Manage who has access to your account and projects" subtitle, and an Invite Member button on the right](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/invite-member-button.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=663936f15889821c3daefa23e4a7d593) The Invite Team Member dialog opens. ## 2. Email Address Type the recipient's email. They'll receive an email with a link to accept; clicking it walks them through password setup (or login if they already have a Raff account on the same email) and lands them in your account scoped to whatever access you assigned. ## 3. Pick the Access Level — Account or Project This is the most important choice in the dialog. The two options are mutually exclusive at invite time, and they map to the same two-system permission model from [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys#two-domains-account-vs-project). ### Account access level ![Invite Team Member dialog with Access Level set to Account (orange border, building icon, "Billing, settings, all projects" subtitle), Project alternative shown next to it, and a Role dropdown ("Select a role") below](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/invite-dialog-account.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=17a9666b87a2f291d7fe2ed3e49263f4) Pick **Account** when the new member should have account-wide responsibilities — billing, settings, audit log, members management, the project list, account-wide API keys. The dialog labels this *"Billing, settings, all projects"* — that copy is a shorthand. Concretely, an Account-level invite grants the chosen Account role's permissions, which always sit in the **`account.*`** domain. **It does NOT automatically grant access to resources inside projects.** A member invited at Account level with the `Admin` role can manage account settings and the project list — but can't see VMs, VPCs, or any project-internal resources unless you also add project-level access (covered later on this page). After picking Account, the **Role** dropdown shows the **Account roles** available — the System ones (`Admin`, `Billing`, `Member`) plus any Account-scoped Custom roles you've created. Pick the role and click **Send Invitation**. ### Project access level ![Invite Team Member dialog with Access Level set to Project (orange border, folder icon, "VMs & resources only" subtitle). A new Project dropdown labeled "Select a project" is visible below, opened to show Default and customer1 options. Below that, a Role dropdown labeled "Select a role"](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/invite-dialog-project.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=259b20933194d54f5eed34e0a7976460) Pick **Project** when the new member should only access resources inside specific projects. The dialog labels this *"VMs & resources only"* — that's the accurate summary: project-level invites grant only resource access inside the chosen project. When you pick Project, two extra fields appear: | Field | What goes here | | - | - | | **Project** | Dropdown of every project in the account. Pick **one** — you grant access to one project at this stage. To add the member to more projects after they accept, use the row expansion flow further down on this page | | **Role** | The **Project roles** available — System ones (`Project Admin`, `Operator`, `Project Member`, `Viewer`) plus any Project-scoped Custom roles | Click **Send Invitation**. The invitee gets an email; once they accept, they show up on the Members list with the **Project-only** badge. ## 4. Send Invitation Either path ends with the orange **Send Invitation** button. The email goes out, and the invitee appears on your Members list immediately as `Pending` until they accept. They have a few days to act on the link; resend from the row's `⋮` menu if it expires. ## After they accept — adding more access Once a member has accepted **even one** invite (Account or Project), they're a member of your account. From that point on, **you don't need to send another email invite to expand their access.** The Members list lets you grant additional Account access or additional Project access directly from the row. Click the chevron on the left of any member's row to expand it. ![Expanded member row for batuhan with Project-only badge, showing two sections: Account Access (with "No account-level access. This user can only access specific projects below." message and an "Add to Account" button) and Project Access (with one project — customer1 — and a Project-operator role badge plus "+ Add to Project" button on the right of the section header)](https://mintcdn.com/rafftechnologiesllc/k7yBLxz0ZxxsZ5s9/images/products/manage/team-projects/member-expanded-access.png?fit=max\&auto=format\&n=k7yBLxz0ZxxsZ5s9\&q=85\&s=f3e498b2dbcb9c7fccec1b5d32617e2c) The expanded row has two sections, each independently manageable: ### Account Access The top section shows the member's **account role**. If they don't have one (the screenshot shows `No account-level access. This user can only access specific projects below.`), the section just lists an **Add to Account** button. * **Add to Account** — opens a dialog with the same Account role picker from the invite flow. Grants the member an account role on top of any project roles they already have. No email, no acceptance step — they have it immediately on next page load. * If they already have an account role, this section shows the role with a row menu to change it (`Change Role`) or remove it. ### Project Access The bottom section lists every project the member has a role on, with the role shown as a badge on each row (`Project-operator`, `Project Admin`, etc.). Each row has a `⋮` menu to change or remove the role. * **+ Add to Project** — adds the member to another project with a Project role you pick. The member gains access to that project's resources immediately. This is how you build the typical "started with one project, now needs another" growth pattern — invite once, add projects as the member's responsibilities grow. ## What "Project-only" really means The **Project-only** badge on the Members list is shorthand for *"this member has at least one project role, but no account role at all."* In access terms: * They can sign in and use the dashboard * They see only the projects they've been added to (the project picker in the top bar lists those projects only) * Inside each of their projects they can do whatever the project role allows * They cannot see members of other projects, account settings, billing, audit logs, or the role catalog * They cannot create or manage account-wide API keys This is the right scope for **external customers** (one project per customer), **contractors** (one project for the engagement), or **per-team isolation** (each team gets its own project). They have what they need for their workload, nothing else. To promote a Project-only member to also have account access, expand the row → **Add to Account** → pick an Account role. To demote, do the reverse: open Account Access → row menu → Remove. ## Email and acceptance The invitation email comes from a no-reply Raff address with the subject *"You've been invited to..."* — accepted invites land the member in your account on next sign-in. If the recipient already has a Raff login on the same email, they don't create a new password; they just see your account in their account switcher. If you typed the wrong email, cancel the invite from the pending row's `⋮` menu and send a new one. Pending invites do not consume a member slot. ## Related > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The model behind Account vs Project access. > [card] [Change a role](/products/manage/team-projects/quickstart-guides/change-role) > > Re-scope a member already on the team. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > What each Account and Project role grants. # Remove a member Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/remove-member Permanently revoke a team member's access to the account — removes their account role, every project role they hold, and ends their dashboard sessions. API keys they created keep working until rotated separately. <sub>Updated May 8, 2026</sub> Removing a member is the destructive counterpart to [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member). It revokes **every grant** the member has — their account role and every per-project role they hold — and ends their dashboard sessions on next request. Use this when someone leaves the team, loses authorization to access the account, or was invited by mistake. If you only want to remove **one specific role** (one project, or just the account role) without removing the member from the account, see [Change or remove a member's role](/products/manage/team-projects/quickstart-guides/change-role) instead — that's the granular path. This page is the full removal. ## Before you remove A few things to handle first; otherwise you'll have orphaned resources or surprised teammates: * **API keys created by this member keep working** after the member is removed. Each key carries its own role assignment that doesn't reference the member's identity. **Rotate or delete those keys** as part of the offboarding process — see [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) * **Resources the member created stay in the project**. Projects own resources; members don't. A VM created by Alice doesn't get deleted when Alice is removed — it stays in the project, billed to the account * **Audit-log entries reference the removed member by ID** for the historical record. The member's email and name persist in audit-log rows even after removal so the history is still readable ## 1. Open the Members tab In **Team & Projects → Members**, find the member by email. Click the chevron on the left to expand their row if you want to verify their grants before removal. ## 2. Open the row's `⋮` menu The Members list row has an `⋮` action menu on the right. Click it. | Action | When it shows | What it does | | - | - | - | | **Change Account Role** | When the member already has an account role (and you have `account.members.manage`) | Opens the role picker prefilled with their current account role. Same effect as expanding the row and using the Account Access section | | **Remove from Account** | When the member has an account role (and you have `account.members.remove`) | Removes the **account-role grant** only — does not remove project roles. Use this for "demote from Admin to Project-only" | | **Cancel Invitation** | `Pending` rows only | Cancels the invite — the link in their email stops working. To re-send, **invite them again** from the **+ Invite Member** button (the *reinvite* workflow) | | **Remove Member** | Existing members (any role) | Permanently removes the member from the account — this is the action covered on this page | The exact label may show as **Change Role** on mobile (it's the same action — narrow viewport, shorter label). What this page covers is the destructive **Remove Member** action, not the per-grant editing. Click **Remove Member** (red). ## 3. Confirm the removal A confirmation dialog asks you to confirm — typically by typing the member's email or clicking a red **Remove** button. Confirm to proceed. The dashboard immediately: * Revokes the member's account role (if they had one) * Removes every project role they held (across every project) * Invalidates their dashboard sessions on next request — they get a `403` and are redirected to the sign-in screen * Logs the removal in the account audit log (visible to anyone with `account.audit.view`) ## What you cannot remove | Member | Why removal is blocked | | - | - | | **The Owner** | Exactly one Owner per account, granted automatically at signup. The Owner can't be removed via the dashboard. To transfer Owner to another member, contact [support](mailto:support@rafftechnologies.com) — they'll move the badge after verification. The current Owner can then be removed if they're stepping away | | **Yourself** | The dashboard prevents self-removal. Ask another account-role holder to remove you | | **The last `account.members.manage` holder** | If you're the only person with permission to manage members, you can't be removed without leaving the account stranded. Either grant another member the role first, or coordinate with support | ## Cleaning up after removal Once the member is gone, the resources they created stay in the project. Walk through this checklist: | Cleanup step | Why | | - | - | | **Rotate / delete every API key the member created** | Keys carry their own role; member removal doesn't touch them. Open **API Keys** in the sidebar and rotate or delete any keys the member owned. Filter by Created By if you have many | | **Reassign or delete VMs they owned** | The VMs keep running and billing. Decide whether to keep them, transfer ownership informally (no tag changes needed — projects own VMs), or destroy unused ones | | **Review pending invitations they sent** | If the member invited others before they left, those invites are still valid for the recipients. Cancel any you don't want to honor — Members tab → row's `⋮` → Cancel Invitation (for `Pending` rows) | | **Audit recent actions** | If the removal is for a security reason, review the audit log for any actions taken by the member in the last 30/60/90 days. `account.audit.view` shows their full event history | ## Re-inviting a removed member A removed member is **fully gone** from the account. To bring them back, [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) again from scratch — the email gets a fresh invitation, they go through acceptance, and you assign new roles. Their previous role assignments are not restored automatically. The audit log keeps the member's old user record so historical entries still resolve to a recognizable identity, but the new grant is a fresh row. ## Common confusions > [accordion] The member's API key still authenticates after I removed them > > **Expected.** API keys carry their own role; removing the member who created the key does **not** invalidate the key. Open the **API Keys** page, find keys created by the removed member, and either rotate or delete them. The audit log records who originally created each key. > [accordion] The dashboard says `Cannot remove the last account.members.manage holder` > > The platform refuses to leave the account without anyone able to manage members. Grant `account.members.manage` to another member first (via Custom role or by giving them an account role like `Admin` that includes the permission), then retry the removal. > [accordion] The member's resources are gone > > Resources belong to **projects**, not members. If a project's resources are missing after a member removal, something else happened — most likely the member deleted them before being removed. Check the audit log for `vm.delete` / `vpc.delete` / `bucket.delete` events around the time of removal. > [accordion] I removed by mistake — can I undo? > > No undo. Re-invite the member from the Invite Member dialog with their email. They'll need to accept the new invitation, and you'll need to re-grant their account and project roles manually. Their audit history is preserved (linked to the same user-id). > [accordion] The member said they got `permission denied` before I removed them > > That's the dashboard working correctly — once you removed an account or project role from them, they immediately lost access to the relevant resources, even before full removal. The full removal just terminates their session and revokes everything else. ## Related > [card] [Change a role](/products/manage/team-projects/quickstart-guides/change-role) > > Remove one specific grant instead of the whole member. > [card] [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) > > Critical step in offboarding — rotate keys the departed member created. > [card] [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > > Re-invite if removal was a mistake. # Rotate an API key Source: https://docs.rafftechnologies.com/products/manage/team-projects/quickstart-guides/rotate-api-key Use the Regenerate action to issue a new key value with the same name, scope, and expiration — invalidating the old one — and roll your applications without downtime <sub>Updated October 21, 2026</sub> **Rotation** is replacing a key's secret value while keeping its identity (name, role assignments, projects, expiration) the same. The dashboard's **Regenerate** action does this in one click: a new key value is issued, the old value is immediately invalidated, and you copy the new value once. This page covers how to rotate, when to rotate, and the no-downtime pattern for switching applications over. ## When to rotate The most common reasons: | Reason | Urgency | | - | - | | **Suspected leak** — key showed up in a commit, a log, a screenshot, a paste | **Immediate** — rotate first, investigate after | | **Scheduled rotation** — your security policy requires every key to roll every 30 / 60 / 90 days | Planned | | **Key is about to expire** — and you want to extend its life past the original expiration | Before expiry | | **Departing team member** generated this key — even if it was scope-narrowed properly, prefer to start fresh | Same-day to following-week | | **Prefix changed** — the old prefix shows up in audit-log searches you don't want to see anymore (rare) | Whenever convenient | If a key is **definitely compromised** and you can't immediately deploy a replacement, **delete** it instead of rotating — see [Delete the key](#delete-the-key-revoke) below. Deletion stops authentication immediately at the cost of dropping every active request. ## 1. Open the API Keys list In the left sidebar, open **API Keys**. Find the key by name and look at its row's right-hand actions. The 🔄 **Regenerate** icon (cycle arrows) is the rotation action. Click it. A new key value is a new credential, so it asks for your two-factor code, as creating a key does. ## 2. Confirm regeneration A confirmation dialog asks you to type the key's name (or click confirm — depending on the dialog version). Once you proceed, the **API Key Created** dialog opens with the **new key value** — same shape as the post-create dialog. > [!WARNING] > > **The old key is invalidated immediately when you confirm regeneration.** Any in-flight or new requests using the old key value start failing with `401 Unauthorized` the moment you click confirm. There is no overlap window — see the [no-downtime pattern](#no-downtime-rotation-pattern) below to avoid an outage. Copy the new key now (it has the same `raff_` prefix as before but a different suffix) into your secret store. Click **Done** when you've safely copied it. ## 3. What rotation keeps and what it changes Same: * **Name** * **Account Role and Project Role assignments** — and the projects they apply to * **Expiration setting** — if the key was originally configured for "1 year", the rotated key gets a fresh 1-year window from the rotation timestamp; if it was "Never expires", the rotated key never expires either * **Audit-log identity** — the rotated key keeps the same internal ID, so old audit-log entries still resolve to "this key" (just with a different value) Changes: * **Key value** — `raff_<old-suffix>` → `raff_<new-suffix>` * **Key prefix shown in the list** — the new prefix replaces the old one * **Last Used** — resets to `Never` until the new key starts being used If you need to change the **role** or **project access**, regenerate doesn't help — that's frozen on the key. The fix is to **delete this key and create a new one** with the right scope. ## No-downtime rotation pattern Because regenerate has no overlap window, the simplest no-downtime rotation uses **two keys for a brief period**, not regeneration of one. The pattern: 1. **Create a new key** ([Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key)) with the same scope as the one you want to rotate. Give it a slightly different name (`Production CI v2`). 2. **Deploy the new key** to every system that uses the old one — secret store update, app redeploy, CI variable change. 3. **Wait** for the deploy to roll out everywhere — check **Last Used** on both keys; once the new key has a recent `Last Used` and the old key doesn't, the deploy is complete. 4. **Delete the old key** from its row's red trash icon. Any straggling traffic to the old key starts failing immediately, but at this point everything has switched over. This adds one step over Regenerate but eliminates the no-overlap-window risk. For production rotations, this pattern is worth the extra step. For low-stakes rotations (dev environments, single-process scripts), Regenerate in place is fine — the few seconds of `401` errors during the deploy don't matter. ## Delete the key (revoke) To **stop a key from authenticating immediately** without issuing a replacement, click the 🗑️ **Delete** icon on the row. A confirmation asks you to type the name; once confirmed, the key is gone and any request using it returns `401`. Use Delete when: * The key is definitely compromised and you can't roll out a replacement quickly enough * The integration that owned the key is decommissioned * You created a key by mistake (wrong scope, wrong name) and want to start over Deletion is final. There's no recovery — the key value cannot be retrieved, and the audit-log entries continue to reference the deleted key by ID. Recreate from scratch if you need an equivalent key. ## What about existing requests in flight? Both **Regenerate** and **Delete** invalidate the old key the moment they complete. Any HTTP request that's already established a TCP connection but hasn't yet sent its `X-API-Key` header will fail with `401`. Long-running connections (WebSockets, streaming responses) continue if the auth was already validated, but reconnecting will fail. In practice this means: rotation/deletion drops to the floor any traffic mid-flight at the moment you click confirm. Plan rotations during low-traffic windows, or use the no-downtime pattern above. ## Audit logging Every regeneration and deletion is recorded in the account audit log: | Event | What it captures | | - | - | | `apikey.update` (Regenerate) | Who clicked Regenerate, when, which key (by ID and name), the old prefix, the new prefix | | `apikey.delete` | Who clicked Delete, when, which key (by ID and name), the prefix at deletion time | If you ever need to prove "this key was rotated on date X by member Y", the audit log has it. Account members with `account.audit.view` (Owner and Admin by default) can read these entries. ## Related > [card] [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) > > Create the replacement key for a no-downtime rotation. > [card] [API keys](/products/manage/team-projects/concepts/api-keys) > > The key lifecycle and security model. > [card] [Authentication](/authentication) > > How keys authenticate against the API. # Team & Projects troubleshooting Source: https://docs.rafftechnologies.com/products/manage/team-projects/troubleshooting Common Team & Projects problems — invitation never arrived, role changes not taking effect, API keys still authenticating after a member leaves, the Owner question, lost-access recovery, and the rules behind permission denied errors <sub>Updated May 8, 2026</sub> The most-seen issues with Team & Projects on Raff and the fix for each. If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with the affected member's email or API key prefix, the exact error message, and what you've already tried. ## Invitations > [accordion] The invited member says they never received the email > > **First, check the dashboard:** > > * Members tab → look for the row with the invited email. Its status should be `Pending` (gray badge). If the row is missing, the invite wasn't actually sent — re-send via [Invite a member](/products/manage/team-projects/quickstart-guides/invite-member) > * If the row exists, the email left Raff's side. The likely problem is delivery > > **Common delivery issues:** > > * Spam / junk folder — search for `support@rafftechnologies.com` or `noreply@rafftechnologies.com` in the recipient's mailbox > * Corporate email filter blocking unknown senders — recipient's IT may need to allowlist `rafftechnologies.com` > * Typo in the email address — Members row shows what was actually sent. Cancel the invite and re-send with the correct email > * Disposable / role-based addresses (e.g. `info@`, `noreply@`) — some mail servers reject these silently > > **Reinvite the member:** there's no in-place "resend" action. The workflow is **cancel + re-invite**: > > 1. Members tab → `Pending` row's `⋮` → **Cancel Invitation** — the old email's link stops working > 2. Click **+ Invite Member**, enter the same email, send again — fresh token, fresh email > > This is the *reinvite* pattern. It's the same flow when fixing a typo'd email or changing the invite scope (Account vs Project). > [accordion] The invitation link says `Invitation expired` > > Pending invites have a fixed lifetime (typically a few days). If the recipient waited too long, the link is dead. > > **Fix — the reinvite workflow:** > > 1. Members tab → `Pending` row's `⋮` → **Cancel Invitation** (the old expired link is killed) > 2. Click **+ Invite Member** and send a fresh invite to the same email > > There's no in-place "resend" action — cancel + re-invite is the only path. > > To prevent expired-invitation friction at scale, send invites only when the recipient is ready to accept that day, or use API key flows (no expiry on the invitation step) for automated/programmatic access. > [accordion] The recipient already has a Raff account on this email > > No problem — accepting the invitation adds your account to their existing account list. They don't create a new account, don't pick a new password; they just see your account in the account-switcher dropdown after sign-in. > > They may need to **sign in first** (with their existing Raff credentials) and **then** click the invitation link, depending on the order of clicks. > [accordion] Can I cancel a pending invitation? > > Yes. Members tab → `Pending` row's `⋮` → **Cancel Invitation**. The link in the email stops working immediately. The row disappears from Members. > > Cancelling and re-inviting is the right pattern when you need to change the invite scope (Account vs Project) — the Invite dialog locks the scope choice once sent, so a fresh invite is the way to switch. ## Permission denied > [accordion] A member can sign in but sees an empty Compute / Networking / Object Storage page > > **Likely cause:** they have an **account role** (so they can sign in and see account-level settings) but **no project role** on any project — so resources are invisible to them. > > The Account vs Project domains are independent on Raff. An `Admin` account role doesn't grant access to project resources; only project roles do. See [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys#two-domains-account-vs-project) for the model. > > **Fix:** open the member's row, expand it, click **+ Add to Project**, pick the project they should access, pick the project role. They see resources on next page load. > [accordion] A member sees `403 — permission denied` on a specific action they expected to have > > The member has a role, but the role doesn't include the specific permission for that action. > > **Diagnose:** > > * Find the member on the Members tab → expand their row → see their account role and per-project roles > * Open the **Roles** tab → click the eye icon on whichever role is being checked → look for the missing permission in the role-detail view > * The permission name follows `<domain>.<resource>.<action>` (e.g. `vm.delete`, `account.billing.manage`) > > **Fix options:** > > * Promote them to a role that does include the permission (e.g. `Project Admin` for full project access) > * Build a [Custom role](/products/manage/team-projects/concepts/roles-and-api-keys#custom-roles--when-to-build-one) with the exact permission set you want and assign that > * For account-level permissions: change the account role; for project-level: change the role on that specific project > > Most "missing permission" issues are confusion between domains — see [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) for which role grants which permission. > [accordion] A member's permissions changed but the change isn't taking effect for them > > Role changes apply on the **next API request** the member makes. If they have a page open, they may continue to see stale state until they navigate or the page refreshes. > > **Fix:** ask the member to **refresh the dashboard** (Cmd-R / Ctrl-R) or sign out and back in. Their browser session state will reflect the new role. > > If a member is being **demoted**, they immediately lose access to anything the new role doesn't include — open requests fail with `403`. There's no grace period. > [accordion] API requests with a key fail with 403 even though the key was working yesterday > > Three common causes: > > 1. **The role assigned to the key was edited** — adding or removing a permission on the role propagates to every key using it > 2. **The role assigned to the key was deleted** — keys whose role was deleted fail closed > 3. **The key was rotated or deleted** — the old value stops authenticating immediately > > **Diagnose:** go to the **API Keys** page, find the key by its prefix (`raff_<first 8 chars>` is shown). Confirm: > > * Is the key still listed? If not, it was deleted > * Has its `Last Used` field updated recently? If not, it's not authenticating > * What's the role assignment? Is the role still valid? > > **Fix:** rotate the key (Regenerate) to mint a new value, or recreate with the right role. See [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key). ## Owner and last-admin scenarios > [accordion] The Owner has left the company / can't access the account anymore > > Only one Owner per account, and the Owner can't be removed via the dashboard. > > **Fix:** contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: > > * Proof of authorization to make this change (often the Owner's signed letter to the support team or board minutes for organizational accounts) > * The new Owner's email (already a member of the account, ideally with `Admin` account role) > > Support transfers the Owner badge after verification. The previous Owner can then be removed normally. > [accordion] `Cannot remove the last account.members.manage holder` > > The platform refuses to leave the account stranded with no one able to manage members. > > **Fix:** grant `account.members.manage` to at least one other member first: > > * Via a System role (`Admin` includes it) > * Or via a Custom account role with that permission enabled > > Then retry the original removal. The account always has at least one member-manager. > [accordion] I'm the only member-manager and I want to leave the team > > Same rule as above — grant the permission to someone else first, then they remove you. If there's no one else suitable, contact support to coordinate the handoff (e.g. transfer Owner to a new hire, or close the account if shutting down). > [accordion] Can I have two Owners? > > No — exactly one Owner per account. The closest equivalent is two members with the `Admin` account role (Admin has 15 permissions vs Owner's full 21, and excludes `account.projects.delete` and a few destructive ops). For most teams, two `Admin` members provide redundancy without an Owner conflict. ## API keys after a member leaves > [accordion] A removed member's API key is still authenticating > > **Expected behavior, not a bug.** API keys carry their own role assignment — removing the member who created the key does **not** invalidate the key. > > **Fix as part of offboarding:** > > * Open the **API Keys** page > * Filter / sort by Created By to find keys owned by the departed member > * **Rotate** keys you want to keep (mints a new value, invalidates the old) > * **Delete** keys that are no longer needed > > Build this into your offboarding runbook. See [Remove a member](/products/manage/team-projects/quickstart-guides/remove-member#cleaning-up-after-removal) for the full checklist. > [accordion] I rotated an API key but old systems are still trying the old value > > Rotation invalidates the old value the moment you confirm. If something is still trying it, the old value is hardcoded or cached somewhere. > > **Diagnose:** > > * Search code repositories for the old prefix (`raff_<first 8>`) — most leaks are committed values > * Check secret-manager entries — was the rotation propagated to every system that uses the key? > * Check logs for `401 Unauthorized` from the old key — those are the systems still using it > > **Fix:** update every system to use the new value. The audit log records who rotated when; you don't need to change the key again, just deploy the new secret. > [accordion] I lost the full key value after the create dialog closed > > Raff stores only a hash of the key — the full value is unrecoverable after you close the create dialog. > > **Fix:** rotate the key (Regenerate) — issues a new value with the same role/expiration. Copy this one immediately to your secret manager. The old (lost) value is invalidated by the rotation. ## Roles and Custom-role pitfalls > [accordion] I created a Custom role but I can't find it in the dropdown > > Two scopes for roles — Account and Project. Custom roles only appear in the dropdown that matches their scope: > > * Account-scoped Custom role → only in the Account Role dropdown > * Project-scoped Custom role → only in the Project Role dropdown > > **Fix:** confirm the scope you picked at create time matches where you're trying to use the role. If wrong, **delete the role and recreate** with the correct scope — scope is locked after creation. > [accordion] I edited a System role to add a permission and the change didn't save > > System roles **cannot be edited**. The toggles render in the role-detail view but submitting changes is blocked. > > **Fix:** click the row's `⋮` → **Duplicate** to clone the System role into a Custom role. Edit the Custom role freely. Reassign affected members from the System role to the Custom one. > [accordion] A role I deleted shows up in audit logs but says `unknown role` > > Roles can be deleted while audit-log entries reference them. Audit-log readability is degraded after the role is gone (the entry says the action was authorized by role-id `<UUID>` but can't resolve to a name). > > **Fix:** there's no recovery for deleted Custom roles. Recreate with the same name + same permissions if you need future audit-log entries to match. Old entries will continue showing the old role-id with no name. ## Projects > [accordion] I can't see a project I know exists > > Project visibility is governed by your project roles. The project picker in the top bar only shows projects you have a role on. > > **Fix:** > > * If you're the **Owner** or have an account role with `account.projects.view` — open Team & Projects → **Projects** tab to see every project regardless of project-role grants > * If you're a **Project-only** member — you only see projects on which you have a project role. Ask an account-role holder to add you to the project you need > [accordion] I can't delete the Default project > > The **Default project cannot be deleted, ever**. It's the always-available fallback project for any resource created without an explicit project. The Delete option is hidden / disabled on its row. > > See [Edit or delete a project](/products/manage/team-projects/quickstart-guides/delete-a-project#two-hard-rules) for the full rule and workarounds. > [accordion] I want to move a VM from one project to another > > **Not supported today.** Resources are scoped to their project at creation, and there's no "move resource" action. > > **Workarounds:** > > * Recreate the resource in the target project (snapshot + restore for VMs, copy-bucket for Object Storage) > * For VMs specifically: take a snapshot in the source project, restore the snapshot in the target project, then delete the source VM ## Still stuck? Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * **The affected member's email** or **the API key prefix** (`raff_<first 8 chars>` — never include the full key) * **The exact error message** and the time it occurred * **What you tried** from this page * **Whether this is a security incident** (a leaked key, an unrecognized member sign-in, etc.) — these get prioritized Same-day response in business hours; faster for production-impacting issues. ## Related > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > The model behind the permission errors above. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > Which role grants which permission. > [card] [Rotate an API key](/products/manage/team-projects/quickstart-guides/rotate-api-key) > > The most common offboarding action. # Inbound vs outbound, layers, and rule format Source: https://docs.rafftechnologies.com/products/network/firewall/concepts/inbound-vs-outbound How the Raff Firewall actually evaluates traffic — the two layers (system Default + your Groups), what a single rule looks like (protocol, direction, port, source IP), the formats Raff accepts, and the ports you cannot open <sub>Updated November 5, 2026</sub> This is the one page to read before you build a Firewall Group. It's the model — what the layers are, how a rule is shaped, what protocols and port formats the system accepts, and which ports are off-limits no matter what you write. ## Two layers, both always on Every packet that arrives at or leaves your VM's **public** interface goes through two filters: ```mermaid theme={null} flowchart TB Internet([Internet]) L1["**Layer 1 — Raff Default Firewall** (system)<br/>Blocks 7 known-dangerous ports.<br/>Always on. You can't disable it."] L2["**Layer 2 — Your Firewall Groups** (custom)<br/>Optional. 0 or more attached per IP.<br/>Each group has inbound + outbound rules."] VM([VM — public NIC]) Internet --> L1 --> L2 --> VM ``` **Both layers must allow the packet** — the Default doesn't override your group, and your group doesn't override the Default. If either one drops the packet, it's gone. This means even if you write a "Allow All TCP" rule in your group, **TCP 135 / 139 / 445 / 5985 / 5986 stay blocked** — the Default keeps blocking them and Raff actively *removes* those ports from any range you submit. That's the system protecting you from a class of well-known Windows-network exploits. **Traffic on a VM's VPC interface is not filtered by either layer.** Firewall Groups only apply to public network traffic. For VPC-to-VPC isolation, see [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation). ## What the Default Firewall blocks The system Default has these inbound denies (visible by clicking **View Rules** on the Default card): ![Raff Default Firewall expanded with Inbound Traffic table — 5 blocked port rows (TCP 135 MS-RPC, TCP 139 NetBIOS Session, TCP 445 SMB, TCP 5985–5986 WinRM, UDP 137–138 NetBIOS) and a note "All other inbound ports are open. ICMP (ping) is allowed." plus an Outbound Traffic line "All outbound traffic is unrestricted."](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/default-firewall-rules.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=2b909ba710ce9518e5e0cd26f00d1ebc) | Protocol | Port(s) | Service | Why it's blocked | | - | - | - | - | | TCP | 135 | MS-RPC | Remote code execution risk | | TCP | 139 | NetBIOS Session | Network file-sharing exploit vector | | TCP | 445 | SMB | Ransomware vector (WannaCry / EternalBlue) | | TCP | 5985–5986 | WinRM | Remote management exploit vector | | UDP | 137–138 | NetBIOS | Network discovery exploit | Everything else inbound is **allowed by default**, and **all outbound is unrestricted**. ICMP (ping) is also allowed inbound by default. If you want to lock the VM down further (e.g. only allow SSH inbound from your office IP, deny everything else), that's exactly what your own Firewall Groups are for. ## What a single rule looks like A rule has six fields. The dashboard's create-rule row shows three of them; the other three are populated automatically or are optional. | Field | Required | Values | What it means | | - | - | - | - | | **Protocol** | Yes | `TCP`, `UDP`, `ICMP`, `ALL` | The IP protocol the rule matches | | **Direction** | Yes | `INBOUND` or `OUTBOUND` | Set by which list you put the rule in (the create dialog has separate Inbound and Outbound sections) | | **Range** (port spec) | Required for TCP/UDP | `22`, `80,443`, `3000:4000`, or empty for `ALL` | The port(s) the rule matches. Format options below | | **IP / Size** (source/dest) | Optional | `0.0.0.0/0`, `192.168.1.100/32`, etc. | The remote address(es) the rule allows. Defaults to "any" | | **Network ID** (VPC scope) | Optional | A VPC ID | Limits the rule to traffic from a specific VPC. Rare; mostly used by the Database template | | **ICMP Type** | Optional, ICMP only | `8` for ping, etc. | Specific ICMP packet type | ## Port format — what Raff accepts in `Range` The **Ports** field on the create dialog accepts these forms: | Format | Means | Example | | - | - | - | | **Single port** | One port | `22` (just SSH) | | **Comma-separated list** | Several discrete ports | `80,443` (HTTP and HTTPS) — `22,80,443,3306` | | **Colon-separated range** | Inclusive range | `3000:4000` (every port from 3000 to 4000) | | **Empty** | All ports for the chosen protocol | Leave blank when Protocol is `ALL` or you want every port for TCP/UDP | Mixing list and range in one field — `80,443,3000:4000` — also works. A few rules: * Each "rule row" you add in the dialog is **one rule**. If you need both single ports and a range, add them as separate rows or combine them in one `Range` value with commas. * For `Protocol = ICMP`, the **Range** field is replaced by an optional **ICMP Type** (e.g. `8` for echo request / ping). Most people just leave Protocol on ICMP with no type for "all ICMP." * For `Protocol = ALL`, the **Range** is ignored — `ALL` matches every protocol and every port. ## Source / destination IP format The third box on each rule row (next to the port box) is the **source IP** for inbound rules or **destination IP** for outbound rules. | Format | Means | | - | - | | `0.0.0.0/0` *(default)* | Any IPv4 — labeled `Any` in the dialog | | `192.168.1.100/32` | A single IPv4 address | | `203.0.113.0/24` | A whole /24 subnet (256 addresses) | | `10.0.0.0/8` | A whole /8 (16 million addresses) | | `2001:db8::/32` | An IPv6 prefix | Internally Raff splits this into two fields — the bare IP and a SIZE (number of addresses), with `0.0.0.0` + `size 0` meaning "any". You don't see this split in the dashboard; you just type CIDR. The "Any" placeholder you see in the create dialog is `0.0.0.0/0`. Leave it as-is to allow from anywhere; replace it to lock down to specific source IPs (your office's public IP, a partner's egress range, an allowlist of known clients). ## Stateful — what that means Raff's firewall is **stateful**. That has one practical implication everyone needs to know: > When you allow an inbound connection to port 80, you do **not** also need an outbound rule to allow the response to leave on port 80. The firewall remembers the connection and lets the reply through automatically. The same applies in reverse — if your VM initiates an outbound connection to `1.1.1.1:53` (DNS), the response from `1.1.1.1:53` is allowed back even without an explicit inbound rule. This is why most workloads only need inbound rules — outbound is "all open" out of the box, and replies on existing connections are tracked automatically. ## How rules combine Within **one Firewall Group**, rules are **additive (OR-of-allows)**: * An inbound rule says *"allow this protocol+port+source"*. Multiple inbound rules combine — a packet matches if **any** rule allows it. * The same applies to outbound. * There are no explicit deny rules in user groups; **deny is the default**, and you write allow rules to open holes. Anything not matched by an allow rule is dropped. Each public IP takes **one Firewall Group**: attaching a group replaces the one the IP had. The Default Firewall's blocks **always win** — even if your group says "Allow TCP 135", the system Default still drops packets to TCP 135. Raff also pre-emptively rewrites your rule before saving to remove blocked ports from a range — a rule of `Range = 130:200` becomes `130:134,136:138,140:200` (135 and 139 carved out), so the saved rule is honest about what's actually allowed. ## The 5 templates The create dialog's **Start from template** dropdown pre-fills the Inbound and Outbound rules. You can pick one and tweak before saving, or start blank. | Template | Inbound | Outbound | Use when | | - | - | - | - | | **Web Server** | TCP 22 (SSH), TCP 80,443 (HTTP/HTTPS), ICMP | All | Public websites — needs SSH for admin and HTTP/HTTPS for traffic | | **Database Server** | TCP 22 (SSH), TCP 3306,5432 (MySQL/Postgres) — *VPC-scoped* | All | DB behind a private network; SSH from anywhere, DB only from VPC | | **SSH Only** | TCP 22 | All | Bastion hosts, locked-down workers | | **Allow All** | All inbound | All outbound | **Not recommended for production** — useful for development and debugging | | **Deny All** | (none) | (none) | Lockdown — VM is reachable only via direct console / VNC | The Database Server template is the only one that scopes its DB rules to a VPC by default — it sets `NetworkID` so the rule only matches traffic coming from VMs in the same VPC. The dashboard fills the right VPC ID at creation time. ## Layered with the public-IP firewall slot A **Firewall Group is attached to a public IP**, not to the VM directly. The flow is: 1. You create a Firewall Group with rules 2. On the VM's detail page → Network tab → public IP card → click **Attach** firewall, pick the group 3. The group now applies to that IP's public traffic If a VM has two public IPs (one IPv4 + one IPv6 for example), each IP gets its own firewall slot and you can attach a different group to each. If a VM has no public IP, there's nothing to attach to — VPC-only VMs aren't covered by Firewall Groups. ## What this means for VMs without a public IP A VM without a public IP only has VPC interfaces. Firewall Groups don't apply to VPC traffic — that's by design. To control private traffic between VMs, the levers are: * The **VPC itself** (VXLAN-isolated; nothing outside the VPC can reach in) * **Guest-OS firewalls** (`ufw`, `iptables`, Windows Firewall) on the destination VM * A **Firewall Appliance** (OPNsense) deployed as the VPC's gateway — see [Manage a VPC → Firewall Appliance](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) Raff Firewall Groups (this product) are specifically a **public-internet** filter, layered between the world and the VM's public IP. ## Related > [card] [Create a Firewall Group](/products/network/firewall/quickstart-guides/create-firewall-group) > > Walk the create dialog. > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and IP formats by example. > [card] [Features & limits](/products/network/firewall/details/features-and-limits) > > The full table — 40 inbound + 40 outbound, 5 templates, blocked ports. # Firewall features and limits Source: https://docs.rafftechnologies.com/products/network/firewall/details/features-and-limits Raff Firewall features, the system Default Firewall blocked-port list, custom Firewall Group rule formats, per-group limits, the 5 templates, and pricing <sub>Updated November 16, 2026</sub> ## Features ### Two layers, both always on * **Raff Default Firewall (system)** — applied automatically to every public network interface, blocks 7 dangerous ports, allows everything else. Cannot be disabled * **Your Firewall Groups (custom)** — optional rule sets you create and attach to specific VM public IPs. Both layers must allow a packet for it to pass See [Inbound vs outbound, layers, and rule format](/products/network/firewall/concepts/inbound-vs-outbound) for the model. ### Stateful filtering * Connection-tracking is built in — when an inbound rule allows a connection, replies on the same connection are auto-allowed without an explicit outbound rule * Same applies in reverse for outbound-initiated connections * Most workloads only need to define inbound rules ### Public-interface only * Firewall Groups apply **only** to public IP traffic — IPv4 and IPv6 * VPC traffic is **not** filtered by Firewall Groups; isolate at the VPC layer or with guest-OS firewalls instead * A VM with no public IP cannot have a Firewall Group attached (nothing to attach to) ### Rule format * Per rule: protocol (`TCP`/`UDP`/`ICMP`/`ALL`), direction (`INBOUND`/`OUTBOUND`), optional port spec, optional source/destination CIDR, optional VPC scope, optional ICMP type * Port format: single (`22`), comma list (`80,443`), colon range (`3000:4000`), or empty for "all ports" * IP format: CIDR (`0.0.0.0/0` for any, `192.168.1.100/32` for a single host, etc.) * Database template can scope DB-port rules to a specific VPC ID ### Templates Five pre-built rule sets in the create dialog's **Start from template** dropdown: | Template | Inbound | Outbound | Source-IP scope | | - | - | - | - | | **Web Server** | TCP 22, TCP 80,443, ICMP | ALL | Any | | **Database Server** | TCP 22 (any), TCP 3306,5432 | ALL | DB ports VPC-scoped | | **SSH Only** | TCP 22 | ALL | Any | | **Allow All** | ALL | ALL | Any *(not for production)* | | **Deny All** | (none) | (none) | n/a *(lockdown)* | Pick a template and tweak before saving, or start from **Custom Rules** for a blank slate. ### Apply, edit, attach, detach * Changes apply to running VMs with no restart: saved rules within a few seconds, an attach or detach in about 20 seconds * Connections already open stay open; every new connection follows the current rules * A group can be attached / detached at any time * One Firewall Group per public IP: attaching a group replaces the one the IP had * Default-block sanitization runs at save: any rule covering TCP 135 / 139 / 445 / 5985–5986 or UDP 137–138 has those ports stripped before save ## Limits | Item | Limit | | - | - | | **Inbound rules per group** | **40** | | **Outbound rules per group** | **40** | | **Firewall Groups per account** | No hard cap published; subject to overall account capacity | | **Firewall Groups per public IP** | **1**: attaching a group replaces the one the IP had | | **Source / destination per rule** | One CIDR. A comma list typed in the dashboard's Source field is saved as one rule per entry; the API takes one per rule | | **Comma-separated ports per rule** | No fixed limit; reasonable practice \~10 | | **Port range syntax** | Colon — `3000:4000` (not AWS-style hyphen) | | **Group name** | Free-form, must be unique per account, immutable after create | | **Description** | Optional, free-form | | **Group rename** | **Not supported today** — pick the name carefully | > [!NOTE] > > **Firewall changes apply without a restart.** Attaching a group, detaching a group, or editing rules in an attached group reaches every affected VM within seconds. Connections already open stay open; new connections follow the new rules. ## Default Firewall — always-blocked ports The system Default Firewall blocks **TCP 135 / 139 / 445 / 5985–5986 and UDP 137–138** on every public interface, and Raff strips those ports from any user-rule range that covers them. Everything else inbound is allowed by default; ICMP (ping) is allowed; all outbound is unrestricted. For the full port list with the rationale per port, the visible-in-dashboard rules screenshot, and the Default-vs-Group precedence model, see [Inbound vs outbound, layers, and rule format → What the Default Firewall blocks](/products/network/firewall/concepts/inbound-vs-outbound#what-the-default-firewall-blocks). If you genuinely need one of these ports, expose the service over a VPC instead and put a [Firewall Appliance](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) (OPNsense) in front. The public Default Firewall isn't bypassable by design. ## Pricing | Item | Cost | | - | - | | **Raff Default Firewall** | **Free** — applied automatically to every public interface | | **Your Firewall Groups** | **Free** — no per-group, per-rule, or per-VM fees | | **Group attached to a VM** | **Free** | There's no charge for using the firewall. The only related billable resources are the public IPs the group filters and any Firewall Appliance VM you deploy as a VPC gateway. ## What's not available today * **Group rename** — names are immutable; create a new group + re-attach to rename in practice * **Explicit deny rules** — only allow rules; deny is the default for anything not matched * **Rule comments / tags per rule** — group-level Description only * **Rule audit log per group** — system-wide audit log captures changes, but not surfaced per group in the dashboard ## See also > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model behind these limits. > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and IP formats with copy-pasteable examples. > [card] [Create a Firewall Group](/products/network/firewall/quickstart-guides/create-firewall-group) > > Walk the create dialog. # Firewall Source: https://docs.rafftechnologies.com/products/network/firewall/index Stateful network firewall on Raff — every public interface gets the system Default Firewall automatically, and you can add your own Firewall Groups with custom inbound and outbound rules <sub>Updated May 8, 2026</sub> Raff's **Firewall** is a stateful, port-based filter that applies to a VM's public network interface. It comes in two layers that always run together: 1. **Raff Default Firewall** — system-managed, attached to every public interface automatically. Blocks five known dangerous ports (Windows file-sharing, MS-RPC, WinRM) and otherwise lets everything else inbound, all outbound. You don't toggle it; it's always on. 2. **Your Firewall Groups** — custom rule sets you create and attach to specific VMs. Stack on top of the Default to allow or deny exactly the ports and source IPs you need. Both layers evaluate every packet on a public interface. **Traffic over a VPC's private network is not filtered** — a Firewall Group only affects packets entering or leaving via a public IP. > [!NOTE] > > **Stateful — what it means for you.** Because the firewall tracks connections, you only write rules for the **direction the connection is initiated**. Reply traffic on the same connection is automatically allowed. > > * Allow inbound TCP/443 to your web server → return packets back to the client are handled automatically. **You do not need an outbound rule for replies.** > * Allow outbound TCP/443 from your VM (e.g. to call an external API) → the response from that API is automatically allowed back in. **You do not need an inbound rule for replies.** > > This is the same model AWS Security Groups, Cloudflare Magic Firewall, and most modern cloud firewalls use. If you're coming from old-school static iptables or a stateless ACL, you can drop roughly half your rule count. ![Networking page on the Firewall tab showing the Raff Default Firewall card with a System badge applied to all public network interfaces, and Your Firewall Groups section with a Web Server custom group (2 in / 1 out, 14 days ago)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/firewall-tab.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=0beb17feeb6fd21565c6332a7851e168) The dashboard surfaces firewalls in the **Networking → Firewall** tab. Inside each VM's detail page, the **Network** tab shows which Firewall Group (if any) is attached to that VM's public IPs. ## What you can do | Task | Where | | - | - | | See which ports the Default blocks | Networking → Firewall → **View Rules** on the Default card | | Build a custom rule set | Networking → Firewall → **+ Create Firewall Group** | | Start from a known-good template | Create dialog → **Start from template** dropdown | | Attach a group to a VM | VM detail → Network tab → IP card → **Attach** *(or)* group row's `⋮` → **Assign to VM** | | Edit rules in a live group | Group row's `⋮` → **Edit Rules** (same dialog used for create — no separate view) | | Delete a group | Group row's `⋮` → **Delete** (must detach VMs first) | *** ## Most viewed > [card] [Create a Firewall Group](/products/network/firewall/quickstart-guides/create-firewall-group) > > Walk the create dialog with templates and rules. > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model — direction, protocols, port and IP formats. > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and source-IP formats explained. > [card] [Attach to a VM](/products/network/firewall/quickstart-guides/attach-to-vm) > > Apply a group to one VM's public IP. *** ## Browse > [card] [Quickstart & guides](/products/network/firewall/quickstart-guides/create-firewall-group) > > Create, add rules, attach, update, delete. > [card] [Concepts](/products/network/firewall/concepts/inbound-vs-outbound) > > Direction, stateful firewall, layers, templates. > [card] [Details](/products/network/firewall/details/features-and-limits) > > Limits, blocked ports, rule formats. > [card] [Troubleshooting](/products/network/firewall/troubleshooting) > > Common firewall issues. > [card] [API Reference](/api-reference/endpoint/list-firewall) > > Firewall endpoints. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Add rules — port and IP formats by example Source: https://docs.rafftechnologies.com/products/network/firewall/quickstart-guides/add-rules The exact formats Raff accepts for the Ports and Source IP fields, with copy-pasteable examples for the most common rules <sub>Updated November 16, 2026</sub> This page is the format reference for the **Ports** and **Source IP** fields you fill on every rule row. The model itself — what inbound vs outbound means, how rules combine, what the system Default blocks — is on [Inbound vs outbound, layers, and rule format](/products/network/firewall/concepts/inbound-vs-outbound). This page is the cheat sheet. ## Port format The Ports field accepts four shapes: | Format | Means | Examples | | - | - | - | | **Single port** | One TCP/UDP port | `22`, `443`, `3306` | | **Comma-separated list** | A list of discrete ports | `80,443`, `22,80,443`, `5060,5061,8080` | | **Colon-separated range** | An inclusive range | `3000:4000`, `8000:9000`, `1024:65535` | | **Empty** | All ports for the protocol | (leave blank when Protocol is `ALL`) | Mixing list and range is allowed: `80,443,3000:4000` is a valid single Ports value. A quick note on syntax: AWS Security Groups use a hyphen for ranges (`3000-4000`) — Raff uses a **colon** (`3000:4000`), matching OpenNebula's underlying format. If you copy a rule spec from AWS docs, swap the hyphen for a colon. ## Common port values | Service | Protocol / Port | | - | - | | SSH | TCP `22` | | HTTP | TCP `80` | | HTTPS | TCP `443` | | HTTP + HTTPS combined | TCP `80,443` | | RDP (Windows) | TCP `3389` | | WinRM over HTTPS | *(blocked by Default — see below)* | | MySQL | TCP `3306` | | PostgreSQL | TCP `5432` | | MySQL + Postgres combined | TCP `3306,5432` | | Redis | TCP `6379` | | MongoDB | TCP `27017` | | DNS | UDP `53` (and TCP `53` for zone transfer) | | NTP | UDP `123` | | WireGuard | UDP `51820` | | OpenVPN | UDP `1194` | | Game servers (Source) | UDP `27015` | | Minecraft | TCP `25565` | | Application port range | TCP `8000:9000` | | Ephemeral / dynamic | TCP `49152:65535` | ## Ports the Default Firewall blocks **TCP 135 / 139 / 445 / 5985–5986 and UDP 137–138** are always denied regardless of what you write — the system Default is layered on top of every public interface and Raff actively strips these ports out of any range you submit. Practical example: writing `Range = 130:200` for inbound TCP saves as `130:134,136:138,140:200` (135 and 139 carved out). For the canonical table with per-port rationale and the dashboard screenshot, see [Inbound vs outbound, layers, and rule format → What the Default Firewall blocks](/products/network/firewall/concepts/inbound-vs-outbound#what-the-default-firewall-blocks). If you genuinely need WinRM or SMB, run them inside a VPC and reach them via a [Firewall Appliance](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) (OPNsense) — not via a public-facing Firewall Group. ## Source / destination IP format The third box on each rule row is **CIDR**. For inbound it's "from where can traffic come"; for outbound it's "to where can traffic go". | Format | Allows | Use case | | - | - | - | | `0.0.0.0/0` *(default, labeled `Any`)* | Anywhere on the IPv4 internet | Public services | | `192.168.1.100/32` | One specific IPv4 address | Whitelist your office IP for SSH | | `203.0.113.0/24` | A whole /24 (256 addresses) | A partner's egress range | | `10.0.0.0/8` | A whole /8 (16M addresses) | RFC 1918 private space | | `2001:db8::/32` | An IPv6 prefix | IPv6 allowlists | | `::/0` | Any IPv6 address | IPv6 equivalent of `0.0.0.0/0` | The `/32` (single IPv4) and `/128` (single IPv6) are how you allowlist exactly one address. The dialog accepts CIDR with or without explicit prefix on `/32`, but type the `/32` for clarity. To allow several addresses on the same ports, list them in Source separated by commas, for example `203.0.113.7, 198.51.100.0/24`. Saving turns the list into one rule per address, with the same protocol and ports. The API takes one address per rule. ### IPv6 examples — same shape, different addresses If your VM has an IPv6 public IP attached (auto-assigned or reserved), the same rule rows apply — just use IPv6 CIDRs in the source field. **Add the IPv6 CIDR in its own row, or after a comma in the same Source field; each address is saved as its own rule.** | Goal | Source IP | | - | - | | Public service open to all of IPv6 | `::/0` | | One specific IPv6 host | `2001:db8::1/128` | | A /48 customer prefix (a typical ISP-allocated block) | `2001:db8:1234::/48` | | Documentation / example range | `2001:db8::/32` | | Local-link / RFC 4193 ULA range | `fd00::/8` | | IPv4-mapped (allows traffic from `::ffff:1.2.3.4`) | `::ffff:0:0/96` | A "fully open to v4 + v6" inbound on TCP/443 is **two** rule rows — one with `0.0.0.0/0` and one with `::/0`. Same for outbound. ## Common rule recipes Each row below is *one rule row* in the create dialog. Add multiple rows for combinations. **Public web server (IPv4 + IPv6):** | Direction | Protocol | Ports | Source IP | | - | - | - | - | | Inbound | TCP | `80,443` | `0.0.0.0/0` | | Inbound | TCP | `80,443` | `::/0` | | Inbound | TCP | `22` | *(your office IP)*`/32` | | Inbound | ICMP | *(blank)* | `0.0.0.0/0` | | Outbound | ALL | *(blank)* | `0.0.0.0/0` | | Outbound | ALL | *(blank)* | `::/0` | **Bastion host (SSH only, locked-down outbound):** | Direction | Protocol | Ports | Source IP | | - | - | - | - | | Inbound | TCP | `22` | *(allowed admin IPs)* | | Outbound | UDP | `53` | `0.0.0.0/0` | | Outbound | TCP | `22` | `10.0.0.0/8` (target VPC range) | | Outbound | UDP | `123` | `0.0.0.0/0` | **Database VM (only reachable from VPC):** | Direction | Protocol | Ports | Source IP | | - | - | - | - | | Inbound | TCP | `5432` | `10.7.0.0/24` (your VPC's CIDR) | | Inbound | TCP | `22` | *(your office IP)*`/32` | | Outbound | ALL | *(blank)* | `0.0.0.0/0` | **Game server (UDP-heavy):** | Direction | Protocol | Ports | Source IP | | - | - | - | - | | Inbound | UDP | `27015,27020:27050` | `0.0.0.0/0` | | Inbound | TCP | `22` | *(your office IP)*`/32` | | Outbound | ALL | *(blank)* | `0.0.0.0/0` | ## Limits per group | Item | Limit | | - | - | | **Inbound rules** | **40 per group** | | **Outbound rules** | **40 per group** | | **Source IPs per rule** | One CIDR — to allow multiple distinct IPs, use multiple rule rows | | **Comma-separated ports per rule** | No fixed limit; reasonable practice is \~10 | If 40 isn't enough, combine ports into comma lists and ranges: each public IP takes one Firewall Group. ## How saving / editing works * **Save creates the group as a unit** — all rule rows submit together. Validation runs on the whole set; if one row is invalid (bad port format, invalid CIDR), the dialog shows the error inline and nothing saves. * **Saved rules apply to every attached VM within a few seconds**, with no restart. Connections already open stay open; new connections follow the new rules. * **Default-block sanitization** runs at save time — if you write `135`, that exact rule is dropped from the saved set with no error. If you write `130:140`, the saved rule excludes 135 and 139. ## Related > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model these rules slot into. > [card] [Create a Firewall Group](/products/network/firewall/quickstart-guides/create-firewall-group) > > Walk the create dialog end-to-end. > [card] [Update rules](/products/network/firewall/quickstart-guides/update-rules) > > Edit a live group without detaching. # Attach a Firewall Group to a VM Source: https://docs.rafftechnologies.com/products/network/firewall/quickstart-guides/attach-to-vm Two ways to attach a Firewall Group to a VM's public IP, from the group's row menu or from the VM's Network tab. The rules apply in about 20 seconds, with no restart <sub>Updated November 10, 2026</sub> A Firewall Group only filters traffic once it's **attached to a VM's public IP**. The group itself sits idle on the Firewall tab until you wire it up. There are two equivalent entry points; both produce the same result. > [!NOTE] > > **The rules apply when the attach finishes, in about 20 seconds, with no restart.** Connections that are already open stay open; every new connection follows the group's rules. ## Path A — From the Firewall Groups list This is the right path when you have a group already and want to apply it to one or more VMs. In **Networking → Firewall**, find the group's row and click `⋮`. ![Firewall Groups list with a row context menu open showing Edit Rules (pencil), Assign to VM (link icon), and Delete (red)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/firewall-group-row-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=8c6487cb0e6a99f90c76ef0c4d631bca) The menu has three actions: | Action | What it does | | - | - | | **Edit Rules** | Opens the same dialog used to create the group, prefilled with the existing rules. There's no separate view-only screen — Edit Rules is how you both inspect and modify a group | | **Assign to VM** | Opens the attach dialog — pick a VM in the same region to apply this group to | | **Delete** | Removes the group. Disabled if any VM still has it attached (detach first) | Click **Assign to VM**. The Assign Firewall Group to VM dialog opens. ![Assign Firewall Group to VM dialog with subtitle "Attach 'Web Server' to a VM's public network interface", a read-only Firewall Group field showing "Web Server", a Select VM dropdown labeled "Choose a VM...", and Cancel / Attach buttons](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/assign-to-vm-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=a3452720cfd3fbe94154c5eee455c23f) The dialog has two fields: | Field | Notes | | - | - | | **Firewall Group** | Read-only — set to whichever group you opened the menu on (the screenshot shows `Web Server`). To attach a *different* group, cancel and reopen from that group's row | | **Select VM** | Dropdown of every VM in the dashboard's selected region. Pick one | Click **Attach**. The group is attached to that VM's **primary public IP** (typically the only one). The Firewall Groups row's **VMs** column now shows the count (e.g. `1 VM` instead of `None`), and the VM's Network tab shows the group name where `None` used to be. To attach the same group to multiple VMs, repeat: open the row's `⋮` → **Assign to VM** → pick the next VM. Each Assign action attaches to one VM at a time. ## Path B — From the VM's Network tab This is the right path when you're already on a VM's detail page and decide it needs a firewall. Open the VM in **Compute** → click the **Network** tab. The IPv4 card has a **Firewall** field that reads `None` and an **Attach** button next to it. ![VM detail page Network tab showing the IPv4 public IP card with eth0 - Public Network, Public + Primary tags, IP 23.26.4.27, MAC, Gateway 23.26.4.254, and a Firewall row showing "None" with an Attach button. A red Remove Public IP button sits below.](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/firewall/vm-network-firewall-attach.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=cbebfa7a7ef1bc2b63c562134df2ec03) Click **Attach**. A picker shows every Firewall Group in the account; pick one and confirm. The card refreshes — the **Firewall** field now shows the group's name (with a Detach action where Attach used to be), and the group's row in **Networking → Firewall** updates its VMs count. ## Path C: Attach by Tag This is the right path when a group of servers should share one firewall, now and when you add more. Link the Firewall Group to one or more [tags](/products/build/virtual-machines/concepts/tags-and-organization#tags-that-carry-a-firewall), and Raff puts it on the public IPs of every server in the group's project that has one of the tags. ```bash theme={null} raff tag create --name web --color blue raff security-group tags set <sg-id> --tag-ids <tag-id> raff vm tags add <vm-id> --name web ``` Linking runs in the background, about 20 seconds per server; `raff security-group tags get <sg-id>` shows the progress. A server tagged later gets the firewall the same way, and a server created with the tag starts with it. With the API, use [Set firewall tags](/api-reference/endpoint/set-firewall-tags); with Terraform, set `tag_ids` on [`raff_security_group`](/reference/terraform/raff_security_group). ## When it takes effect Either path applies the group when the attach finishes, in about 20 seconds. There is no restart. Connections that are already open stay open; every new connection follows the group's rules. A VM that is off gets the group when it starts. Test from outside the VM with a new connection: `nmap -p <port> <ip>` from your laptop, or `curl` against the new ports. If the dashboard says the server has not applied its rules yet, power the server off and on from its detail page. ## Detach later Two equivalent paths, mirroring the attach options: | From | How | | - | - | | **VM detail → Network tab** | Click **Detach** next to the Firewall field on the IP card | | **Firewall Groups list** | Group row's `⋮` → **Assign to VM** picker → uncheck the VM (when this is supported), or open the VM and detach there | Detaching takes effect in about 20 seconds, with no restart: the IP goes back to the Raff Default Firewall. To switch one group for another (`web-prod-v1` → `web-prod-v2`), attach the new group. It replaces the old one on that IP, and the new group goes on before the old one comes off, so the IP is never left without a firewall. ## One Firewall Group per IP Each public IP takes one Firewall Group. Attaching a group replaces the one the IP had. If 40 inbound and 40 outbound rules are not enough, combine ports into comma lists (`80,443`) and ranges (`3000:4000`). Common pattern: one group per role (`web-prod`, `api-prod`), each with the essentials it needs (SSH from your office, DNS, NTP) plus the service's own ports. Edit a group and every VM using it gets the change. ## IP-version mismatch — what if the group's rules are IPv4-only and the VM is IPv6-only (or vice versa)? A Firewall Group attaches to the VM's **public network interface**, not to a specific IP address. The same group covers both IPv4 and IPv6 traffic on that interface — but **only the rules whose source CIDR matches that traffic's family actually fire**: | Group rules | VM public IPs | What actually happens | | - | - | - | | IPv4 rules only (`0.0.0.0/0`, `1.2.3.0/24`) | Dual-stack (IPv4 + IPv6) | IPv4 traffic filtered by your rules. **IPv6 traffic falls through the group entirely** — only the system Default Firewall applies. Effectively, the VM is wide-open on IPv6 except for the 5 default-blocked Windows ports | | IPv4 rules only | IPv6-only VM | The group is **functionally a no-op**. None of your rules ever match IPv6 source addresses; only the Default Firewall is active. The dashboard lets you attach it but it does no work | | IPv6 rules only (`::/0`, `2001:db8::/32`) | IPv4-only VM | Same — group is a no-op, only the Default applies | | IPv6 rules only | Dual-stack | IPv6 filtered by your rules. **IPv4 wide-open** | | Mixed (both v4 and v6 source CIDRs) | Dual-stack | Both protocols filtered correctly | | Mixed | Single-stack VM | Only the rules matching the VM's actual IP family do anything | **The common mistake** is copying an IPv4-only template (`Web Server`, `Database`, `SSH from Office`) onto a dual-stack VM and assuming it locked the box down — IPv6 is still wide-open. Either: 1. **Add the matching IPv6 source rows** to every inbound rule (`0.0.0.0/0` → also add `::/0`, `1.2.3.0/24` → also add the partner's IPv6 prefix), or 2. **Don't attach an IPv6 to the VM at all** — auto-assign IPv4 only, or detach the existing IPv6 from the VM's Network tab. With no IPv6 on the interface there's nothing for unfiltered IPv6 rules to expose. For a real lockdown on a dual-stack VM, the safest pattern is: attach the group, then run `nmap -6 -Pn <ipv6-addr>` from outside to verify what's reachable on IPv6. ## What about VPC-only VMs? A VM with no public IP cannot have a Firewall Group attached — there's nothing to attach to. The Network tab shows the IPv4 / IPv6 sections only when public IPs exist; the Attach button doesn't appear for VPC-only VMs. To filter private VPC traffic, use guest-OS firewalls (`ufw`, `iptables`, Windows Firewall) on the destination VMs, or deploy a [Firewall Appliance](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) (OPNsense) as the VPC's gateway. ## Related > [card] [Create a Firewall Group](/products/network/firewall/quickstart-guides/create-firewall-group) > > Build the rule set you'll attach. > [card] [Update rules](/products/network/firewall/quickstart-guides/update-rules) > > Edit a live group's rules. > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model behind the rules. # Create a Firewall Group Source: https://docs.rafftechnologies.com/products/network/firewall/quickstart-guides/create-firewall-group Walk the Create Firewall Group dialog — name, description, optional template, then build the inbound and outbound rule lists, save, and attach to a VM <sub>Updated November 5, 2026</sub> A **Firewall Group** is a named bundle of inbound and outbound rules that you attach to a VM's public IP. This page walks the dashboard create flow. Read [Inbound vs outbound, layers, and rule format](/products/network/firewall/concepts/inbound-vs-outbound) first if you haven't — it explains protocol/port/IP formats, the system Default Firewall layer, and which ports you can never open. ## Open the Firewall tab In the left sidebar, click **Networking** → switch to the **Firewall** tab. The page shows the system **Raff Default Firewall** card at the top and **Your Firewall Groups** below. ![Firewall tab showing Raff Default Firewall (System) at the top with View Rules, and Your Firewall Groups section with a + Create Firewall Group button and one row "Web Server" 2 in / 1 out, 14 days ago](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/firewall-tab.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=0beb17feeb6fd21565c6332a7851e168) Click the orange **+ Create Firewall Group** button on the right. ## The Create dialog ![Create Firewall Group dialog with Name field, optional Description textarea, Start from template dropdown, an Inbound Rules section with one row (TCP / Ports e.g. 80,443 / Any 0.0.0.0/0) and + Add button, and an Outbound Rules section with one row (ALL / All ports / Any 0.0.0.0/0) and + Add button. Cancel and Create Firewall Group buttons at the bottom.](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/create-firewall-group-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=fa620106ee430bd624a8015b6b9abd22) Five sections, top to bottom: Name, Description, Template, Inbound Rules, Outbound Rules. ## 1. Name Pick a label that's easy to recognize when picking from a list — `prod-web`, `db-private`, `bastion-only`. The name must be unique inside your account. Names cannot be renamed today; pick deliberately. ## 2. Description (optional) Free-form. Useful for explaining "why this group exists" — *"Public web servers behind Cloudflare"*, *"Internal Postgres — never expose 5432 outside VPC"*. Shows up in the Edit Rules dialog and helps teammates avoid misuse. ## 3. Start from template (optional) A dropdown of five pre-built rule sets. Picking one fills both rule lists below; you can edit any row before saving. Leave on **Custom Rules** to start blank. ![Start from template dropdown opened, showing six options: Custom Rules, Web Server (SSH + HTTP/HTTPS from anywhere, all outbound), Database Server (SSH + MySQL/PostgreSQL from VPC only, all outbound), SSH Only (SSH access only, all outbound), Allow All (All traffic allowed — not recommended for production), Deny All (All traffic blocked — lockdown mode)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/firewall/template-dropdown.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=349aea1e3ec2e236d2d77feb46658eb0) | Template | Pre-fills | | - | - | | **Web Server** | Inbound: TCP 22 (SSH), TCP 80,443, ICMP. Outbound: ALL | | **Database Server** | Inbound: TCP 22 (SSH), TCP 3306,5432 *VPC-scoped*. Outbound: ALL | | **SSH Only** | Inbound: TCP 22. Outbound: ALL | | **Allow All** | Inbound: ALL. Outbound: ALL — **not recommended for production** | | **Deny All** | No inbound, no outbound — full lockdown | The Database Server template is unique in that its DB rules are scoped to a specific VPC at creation time — the dashboard prompts for which VPC, then writes the `network_id` field automatically. Other templates leave source IP at `0.0.0.0/0` (any) — tighten as needed. If you'd rather build from scratch, leave the dropdown at **Choose a template or start custom...** and use the empty rule rows below. ## 4. Inbound Rules — Allow incoming connections to your VM Inbound rules define what the public internet can send *to* this VM. Each row has three controls: | Control | Values | Notes | | - | - | - | | **Protocol dropdown** | `TCP` *(default)*, `UDP`, `ICMP`, `ALL` | Choose the protocol family | | **Ports field** | `22`, `80,443`, `3000:4000`, blank for `ALL` | Format options in [Add rules](/products/network/firewall/quickstart-guides/add-rules#port-format) | | **Source IP field** | `0.0.0.0/0` (`Any`) *(default)*, `192.168.1.100/32`, etc. | CIDR notation | The **+ Add** button on the right of the Inbound Rules header inserts another row. The trash icon on each row removes that row. Up to **40 inbound rules** per group. **A few realistic examples:** | Goal | Protocol | Ports | Source IP | | - | - | - | - | | Web traffic from anywhere | TCP | `80,443` | `0.0.0.0/0` | | SSH from your office only | TCP | `22` | *(your office's public IP)*`/32` | | Game server | UDP | `27015` | `0.0.0.0/0` | | Postgres from one app server | TCP | `5432` | *(app server's IP)*`/32` | | Ping from anywhere | ICMP | *(blank)* | `0.0.0.0/0` | Remember the [system Default still blocks TCP 135 / 139 / 445 / 5985–5986 and UDP 137–138](/products/network/firewall/concepts/inbound-vs-outbound#what-the-default-firewall-blocks) regardless of what you write here. ## 5. Outbound Rules — Allow connections from your VM to the internet Outbound rules define what the VM can connect *out to*. The default row in the dialog — `ALL / All ports / 0.0.0.0/0` — means "this VM can reach anything on any port" and matches the system Default's behavior. Most workloads keep this exact rule. You'd add **restrictive** outbound rules when: * You want to prevent a compromised VM from being used as an attack platform * You're running a VM that should only ever speak to specific destinations (a database that only talks to the application IP, a dev VM that should only reach package mirrors) * You're meeting a compliance requirement that mandates egress filtering If you remove the catch-all and add specific outbound rules, anything not matched by your allow list will be **dropped on the way out**. Keep DNS (`UDP 53` / `TCP 53` to `0.0.0.0/0`), NTP (`UDP 123` to `0.0.0.0/0`), and your package mirrors in the allowlist or the VM will become unmaintainable. Up to **40 outbound rules** per group. ## 6. Click Create Firewall Group The dialog closes, the group appears in **Your Firewall Groups** with `Rules: <inbound count> in / <outbound count> out`, **VMs: None** until you attach one, and **Created: just now**. ## 7. Attach to a VM The group does nothing on its own — you have to attach it to a VM's public IP for traffic to be filtered. Two paths: | From | How | | - | - | | **Firewall Groups list** | Group row's `⋮` → **Assign to VM** → pick a VM | | **VM detail → Network tab** | Click **Attach** next to `Firewall: None` on the IP card → pick this group | See [Attach a Firewall Group to a VM](/products/network/firewall/quickstart-guides/attach-to-vm) for both flows in detail. ## Editing rules later You can add, remove, or modify rules **without detaching the group from VMs**. Saved rules reach every attached VM within a few seconds, with no restart. See [Update rules](/products/network/firewall/quickstart-guides/update-rules) for the in-place edit flow. ## Related > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model behind the dialog. > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and IP formats by example. > [card] [Attach to a VM](/products/network/firewall/quickstart-guides/attach-to-vm) > > Apply the new group to a VM's public IP. # Delete a Firewall Group Source: https://docs.rafftechnologies.com/products/network/firewall/quickstart-guides/delete-firewall-group Permanently remove a custom Firewall Group from the row menu. The action is blocked while VMs are attached <sub>Updated November 5, 2026</sub> Deleting a Firewall Group permanently removes the rule set from your account. The action is in the row's `⋮` menu and asks for a one-click confirmation — there's no soft-delete or recovery window. Use this when a group's no longer needed (decommissioned service, retired environment, replaced by a different group). ## Before you delete | Rule | Why | | - | - | | **Detach the group from every VM first** | The Delete action is blocked while any VM has the group attached. The dashboard surfaces this as a disabled menu item or a blocked confirmation. Detach via the VM detail page → Network tab → IP card → **Detach** firewall, on every attached VM, before retrying the delete | | **The system Default Firewall cannot be deleted** | The `Raff Default Firewall` card has no `⋮` menu and no Delete option. It's immutable. This page only covers Custom Firewall Groups | ## 1. Open the row menu In **Networking → Firewall**, find the group's row in **Your Firewall Groups** and click the `⋮` on the right. The menu has three actions on a Custom group: **Edit Rules**, **Assign to VM**, and **Delete** (red). Click **Delete**. ## 2. Confirm the delete ![Delete Firewall Group confirmation dialog with a warning icon, title "Delete Firewall Group", body "Are you sure you want to delete Web Server? This action cannot be undone.", and Cancel / Delete (red) buttons](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/firewall/delete-firewall-group-dialog.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=61fab950c90b501ca9536a16fa7e9d55) The confirmation dialog spells out the cost: *"Are you sure you want to delete **`<group-name>`**? This action cannot be undone."* Click the red **Delete** to proceed, or **Cancel** to back out. ## What happens after delete | Effect | Notes | | - | - | | **The group disappears from the Firewall Groups list** | Immediate — no soft-delete, no recovery | | **Audit-log entry recorded** | `securitygroup.delete` — captures who deleted, when, the group ID and name. Visible to members with `account.audit.view` | ## When delete is blocked If the menu item shows the Delete action greyed or the confirmation refuses to proceed: | Blocker | Fix | | - | - | | **Group is attached to one or more VMs** | Open each VM's Network tab and Detach the firewall, then retry. The VMs column on the Firewall row tells you the count | | **Trying to delete the Default Firewall** | Not possible — the system Default is permanent. Use a Custom group with `Deny All` rules attached over it for lockdown patterns | | **Custom role missing the right permission** | Account permission `account.firewall.delete` (or whichever maps to it in your account's role catalog) is required. Owner and Admin have it; ask the Owner or grant via Custom role | ## Replacing a Firewall Group instead of deleting To replace one group with another (e.g. swap `web-prod-v1` for `web-prod-v2` on a fleet of VMs): 1. **Create the replacement group** with the new rule set 2. **Attach the replacement** to every VM that has the old group. It replaces the old group on that IP in about 20 seconds, with no restart. The new group goes on before the old one comes off, so no VM is left without a firewall 3. **Delete the old group** (now unattached, the Delete action is unblocked) ## What you cannot do today * **Recover a deleted Firewall Group** — once deleted, it's gone. Recreate from scratch * **Bulk-delete groups** — one at a time from the row menu (or via the API) * **Delete the Default Firewall** — system Default is immutable * **Schedule a delete for later** — delete is immediate ## Related > [card] [Update rules](/products/network/firewall/quickstart-guides/update-rules) > > Edit a group instead of deleting it. > [card] [Attach to a VM](/products/network/firewall/quickstart-guides/attach-to-vm) > > Detach a group as the prerequisite to deleting. > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model behind the rules you're deleting. # Update rules in a Firewall Group Source: https://docs.rafftechnologies.com/products/network/firewall/quickstart-guides/update-rules Open Edit Firewall Group from the row menu to change a group's name, description, inbound rules, or outbound rules — same dialog as Create, just prefilled with the existing rule set <sub>Updated November 5, 2026</sub> Edit Firewall Group is how you change anything about an existing custom Firewall Group — its name, description, inbound rules, or outbound rules. The dialog is the **same one used to create the group**, just prefilled with the current rule set; there's no separate read-only view. Use this page to modify a group that's already attached to one or more VMs without detaching it. > [!NOTE] > > **Saved rules apply to every server using the group within a few seconds, with no restart.** Connections that are already open stay open; every new connection follows the new rules. See [When the new rules apply](#when-the-new-rules-apply) below. ## Open the Edit dialog In **Networking → Firewall**, find the Firewall Group's row and click the `⋮` menu → **Edit Rules**. Edit Rules opens only from the **Firewall Groups list row**: not from the VM detail page (which only shows attach and detach), and not from the system Default Firewall (which is read-only and shows **View Rules** instead). ## The Edit Firewall Group dialog ![Edit Firewall Group dialog with title "Edit Firewall Group" and subtitle "Modify rules for "Web Server". Changes apply immediately to all attached VMs." Name field prefilled with "Web Server", an empty Description (Optional) field, two Inbound Rules rows (TCP 22 from Any, and TCP 80,443 from Any), one Outbound Rules row (ALL / All ports / Any), and Cancel / Save Changes buttons](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/firewall/edit-firewall-group-dialog.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=444b02e2630322da0364d4b4eb474af1) Edit dialog vs Create dialog — what's different: | | Create Firewall Group | Edit Firewall Group | | - | - | - | | Title | "Create Firewall Group" | "Edit Firewall Group" | | Subtitle | "Define rules to control inbound and outbound traffic on public interfaces" | *Modify rules for `<name>`. Changes apply immediately to all attached VMs.* | | **Name** | Empty placeholder | Prefilled with current name; editable | | **Description** | Empty placeholder | Prefilled with current description; editable | | **Start from template** | Visible — pre-fills rules | **Not shown** — would clobber existing rules | | **Inbound / Outbound rules** | Empty rows | All current rows visible; add, remove, or edit any | | Save button | **Create Firewall Group** | **Save Changes** | The rule-row controls are identical — Protocol dropdown (TCP/UDP/ICMP/ALL), Ports field (single, comma list, colon range, or empty), Source/Destination CIDR, the trash icon to remove a row, the **+ Add** button to insert a new row. The validation, the 40-rule cap per direction, and the system-default-port sanitization all behave the same way as on Create. See [Add rules](/products/network/firewall/quickstart-guides/add-rules) for the format reference. ## Common edits | Goal | What to change | | - | - | | **Lock SSH down to your office IP** | Find the inbound TCP 22 row, change the Source field from `0.0.0.0/0` to `<office-ip>/32` | | **Open a new port for a service** | **+ Add** an Inbound row with Protocol TCP, Port `<your-port>`, Source `0.0.0.0/0` (or tighter) | | **Stop allowing all outbound** | Remove the catch-all `ALL / All ports / 0.0.0.0/0` Outbound row, then add specific outbound rules (DNS UDP 53, NTP UDP 123, your package mirrors, etc.) | | **Change protocol on an existing rule** | Click the Protocol dropdown on the row and switch — the Ports field follows the protocol's format | | **Tighten a CIDR** | Edit the Source field on the row (e.g. `0.0.0.0/0` → `203.0.113.0/24`) | | **Rename the group** | Edit the Name field; the change applies to the row label, the audit log, and anywhere the group is referenced | ## Click Save Changes Save persists the new rule set to the platform record. The button is greyed out and the dialog stays open if any row fails validation (bad port format, invalid CIDR, system-blocked port, name conflict) — the row with the error highlights inline, fix and retry. The dialog's subtitle says *"Changes apply immediately to all attached VMs"*, and they do: **Save Changes** waits until every server using the group has the new rules, usually a few seconds. ## When the new rules apply Every server using the group has the new rules when **Save Changes** finishes. There is no restart and no downtime. * **Connections already open stay open.** An SSH or RDP session you opened before the change keeps working, even if the new rules would not let it in. * **Every new connection follows the new rules.** To make an open session follow them, reconnect, or restart that service on the server. * **A server that is off** gets the current rules when it starts. To check a change, open a new connection from outside the server: `nmap -p <port> <ip>` or a fresh `ssh` from your laptop. A session that was already open won't show the change. If a server did not take the new rules, the dialog says so and names it, for example *"The rules are saved, but 1 server (web-1) using this firewall did not apply them."* Save the rules again, or power that server off and on from its detail page. ## Editing rules on a group with no VMs attached If the group has zero VMs in its **VMs** column, save is instant, and the next VM you attach gets the new rules. This is the right pattern for **staging rule changes before production**: edit the rules while the group is detached, attach it to a single test VM, check it from outside, then attach it to the rest of the fleet. ## Audit logging Every edit produces an audit-log entry (in `<resource>.<verb>` form, e.g. `securitygroup.update`) capturing: * Who made the change (member ID + name, or API key ID) * When * The group ID and name * A diff of the rules — what was added, what was removed Account members with `account.audit.view` permission (Owner and Admin by default) can read the entries. Useful for "why did port 8080 stop working last Tuesday?" investigations. ## What you cannot do via Edit | Action | Available via | | - | - | | **Change the group's scope** (account-level only — this product doesn't have project-scoped firewall groups today) | n/a | | **Convert a Custom group into a System role** | n/a — System roles ship with Raff and are immutable | | **Edit the Default Firewall** | The system Default is read-only — view its rules with the **View Rules** action on the Default card | | **Bulk-import rules from a JSON / YAML** | Use the [Update Firewall API](/api-reference/endpoint/update-firewall) and pipe a JSON body. The dashboard is row-by-row only | ## Related > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and IP format reference for the rule rows. > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The rule model and what the system Default blocks. > [card] [Attach to a VM](/products/network/firewall/quickstart-guides/attach-to-vm) > > Apply the edited group to a VM's public IP. # Firewall troubleshooting Source: https://docs.rafftechnologies.com/products/network/firewall/troubleshooting Common Firewall problems, including rules that don't seem to apply, Default-blocked ports rejected silently, port forwarding stops working after a group attach, locked-out-by-firewall recovery, save errors and rule-format gotchas <sub>Updated November 5, 2026</sub> The most-seen issues with Raff Firewall and the fix that resolves each. If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). ## Changes don't seem to apply > [accordion] I edited / attached / detached a Firewall Group and the rules don't seem to apply > > **Check with a new connection.** Changes apply without a restart: saved rules within a few seconds, an attach or detach in about 20 seconds. Connections that were already open stay open, so an SSH session or a download that started before the change keeps working. > > Test from outside the VM with a new connection: `nmap -p <port> <ip>`, `curl https://<ip>:<port>`, or a fresh `ssh`. > > **If the dashboard showed an error** naming the server, that server has not applied the change. Save the rules again, or power the server off and on from its detail page. > [accordion] A new connection still doesn't follow the rules > > **Possible causes:** > > 1. **The Firewall Group isn't actually attached to that VM.** Open the VM's detail page → Network tab → check the IP card's `Firewall:` field. If it says `None`, the group isn't attached. Click **Attach** to fix. > 2. **You're testing from inside the VPC.** Internal traffic to the VM's public IP can take a different code path; firewall rules only apply to public-internet traffic. Test from your laptop or a VM in another account/region. > 3. **Guest-OS firewall is also blocking.** `ufw status` (Ubuntu/Debian), `firewalld` (RHEL/CentOS), or Windows Firewall might be blocking on top of the Raff firewall. Open the port in the guest too. > 4. **Wrong protocol.** TCP rule won't match UDP traffic and vice versa. Confirm your client is using the protocol the rule allows. > 5. **System Default Firewall is blocking** — see below. ## System Default Firewall blocks > [accordion] My rule for TCP 135 / 139 / 445 / 5985-5986 / UDP 137-138 disappeared on save > > **What's happening:** Raff actively strips these ports from any inbound rule you save. The system Default Firewall blocks them on every public interface and the platform won't let you punch a hole. > > **Why:** these are well-known Windows-network attack vectors (MS-RPC, SMB / WannaCry, NetBIOS, WinRM). Allowing them on a public IP is almost never what you want. > > **Fix:** if you genuinely need one of these ports: > > * **Run the service inside a VPC** instead of on a public IP, then deploy a [Firewall Appliance](/products/network/vpc/quickstart-guides/manage-vpc#firewall-appliance-499-or-999--month) (OPNsense) as the VPC's gateway and configure inbound rules there. The system Default doesn't apply to private interfaces, and OPNsense can allow whatever you want. > * **Tunnel over a different port** — run SMB inside a WireGuard tunnel on a different port, expose only the WireGuard endpoint > [accordion] My port range rule (e.g., `130:200`) was saved with gaps in it > > **What's happening:** the platform sanitized the range to remove ports the system Default blocks. A rule of `130:200` is saved as `130:134,136:138,140:200` — ports 135 and 139 carved out. > > **Fix:** that's working as designed. The sanitization is honest about what's actually allowed; if you tried to save `130:200`, traffic to 135 and 139 was never going to reach the VM anyway. The saved form just makes the actual behavior visible. ## Saving and editing > [accordion] Save fails with `invalid port format` > > **What's happening:** the Ports field has a value the validator rejects. > > **Common mistakes:** > > | What you typed | What to type instead | > | - | - | > | `3000-4000` (AWS-style hyphen) | `3000:4000` (Raff uses colon for ranges) | > | `80, 443` (space after comma) | `80,443` (no spaces) | > | `0` or negative | A port between 1 and 65535 | > | `http` / `https` (protocol names) | `80` / `443` (port numbers) | > | A range with the second port lower than the first (e.g. `4000:3000`) | Reorder — `3000:4000` | > [accordion] Save fails with `invalid CIDR` > > **What's happening:** the Source / Destination IP field has a value the validator rejects. > > **Common mistakes:** > > | What you typed | What to type instead | > | - | - | > | `1.2.3.4` (no prefix) | `1.2.3.4/32` for a single IP, or `1.2.3.0/24` for a /24 | > | `1.2.3.4/0` (zero prefix on a non-zero address) | `0.0.0.0/0` if you mean "any" | > | `1.2.3.4/33` | Max prefix is `/32` for IPv4, `/128` for IPv6 | > | `1.2.3.4/255.255.255.0` (netmask) | Use CIDR notation: `1.2.3.0/24` | > | A hostname (e.g. `office.example.com`) | Resolve to IP yourself; CIDR field doesn't accept names | > [accordion] Save fails with `too many rules` > > **Limit:** **40 inbound rules + 40 outbound rules** per Firewall Group. > > **Fix:** > > * **Combine rules where you can** — `80,443` in one row instead of two; `3000:4000` instead of forty single-port rules > * **Use a Firewall Appliance** (OPNsense) inside a VPC for unlimited rule complexity; the public Default + your group apply to the public interface; OPNsense applies to anything routed through the VPC > [accordion] Save fails with `name already exists` > > **Fix:** Firewall Group names are unique per account. Pick a different name. Renaming an existing group doesn't free its name for a new group while it exists — but if you're trying to delete-and-recreate, the name is freed once the old group is deleted. ## Locked out > [accordion] I attached a Deny All / SSH-restricted group and now I can't SSH in > > **What's happening:** you tightened the inbound rules, and new SSH connections are now blocked along with everything else. An SSH session you opened before the change keeps working, so if one is still open, use it while you fix the rules. > > **Recovery — three paths:** > > 1. **VNC console** — every VM has a built-in browser console that bypasses the network entirely. From the VM detail page → **Console** action. Log in with the VM's password (or reset the password first if you don't know it). From the console, fix the firewall: detach the restrictive group with `raff-cli firewall detach …`, or if you don't have the CLI in the VM, use the dashboard from another browser tab. > 2. **Detach the restrictive group from the dashboard**: VM detail page → Network tab → IP card → **Detach** firewall. The system Default Firewall applies again (it allows SSH), and you can connect in about 20 seconds. > 3. **Attach an SSH-only group**: create or pick a Firewall Group with at least `TCP 22 from 0.0.0.0/0` (or your office IP) and attach it to the VM. SSH works again in about 20 seconds; then iterate on the rules from a stable baseline. > > **Going forward:** test restrictive firewall changes on a single VM first, and keep an SSH session and the VNC console open while you test, in case you lock yourself out. > [accordion] My RDP / SSH stops working after a firewall edit > > **Same root cause as above**: your edit removed (or restricted) the rule that was allowing your management traffic. Add back an inbound rule for the management protocol (TCP 22 SSH, TCP 3389 RDP) from your client IP and save. > > Common gotchas: > > * **Your office's public IP changed.** Most ISPs give residential / office customers dynamic IPs. The CIDR you whitelisted six months ago may not be your current egress IP. Check `curl ifconfig.me` from your client and update the rule's Source field > * **You're connecting via VPN** — the source IP is the VPN's egress, not your local IP. Whitelist the VPN range > * **You disabled the rule** rather than removing it (or vice versa) — the dashboard doesn't have a per-rule "disable" toggle; rules are either present (allow) or absent (deny). Add the rule back fresh ## Attach, detach, delete > [accordion] Delete is greyed out / blocked > > **What's happening:** the group is still attached to one or more VMs. > > **Fix:** the **VMs** column on the Firewall Groups row tells you the count. Open each attached VM's **Network** tab → click **Detach** next to the IP's Firewall field. After detaching from every VM, the row's `⋮` menu unblocks Delete. > > See [Delete a Firewall Group](/products/network/firewall/quickstart-guides/delete-firewall-group) for the full flow. > [accordion] Assign to VM picker is empty > > **What's happening:** no VMs in the dashboard's selected region have a public IP, or every VM in the region already has this exact group attached. > > **Possible reasons:** > > 1. **VMs without a public IP can't have a Firewall Group attached.** Firewall Groups apply to public traffic only; VPC-only VMs aren't in the picker. To filter VPC traffic, deploy a Firewall Appliance gateway on the VPC instead > 2. **All VMs in the region already have this group.** The picker filters out duplicates > 3. **Wrong region selected** — switch the top-bar region selector > > The empty state is rare; if you expected to see VMs, double-check the region and the "VMs without public IPs" angle. ## Port forwarding interaction > [accordion] Port forwarding stops working after I attached a Firewall Group to my Platform Router VM > > **What's happening:** Platform Router (or Firewall Appliance) is itself a VM. If you attach a restrictive Firewall Group to its public IP, the inbound port-forwarding rules can't actually deliver traffic. > > **Fix:** the Platform Router gateway is best left **without a Custom Firewall Group** — the system Default Firewall already covers the dangerous Windows ports, and port forwarding handles the application-level routing. If you genuinely want firewalling in front of port forwarding, deploy a **Firewall Appliance** (OPNsense) instead — it's designed for this case and has full rule-set capability that port-forwarding doesn't conflict with. > > See [Manage a VPC → Port Fwd](/products/network/vpc/quickstart-guides/manage-vpc#port-fwd-tab--public-port-forwarding) for the gateway model. ## Still stuck? Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * **The Firewall Group ID and name** * **The VM ID** that's affected * **What you expect to work and what's actually happening** — exact ports, source IPs, protocols * **When you made the change**, and any error the dashboard showed Same-day response in business hours; faster for production-impacting issues. ## Related > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > The model behind the rules. > [card] [Add rules](/products/network/firewall/quickstart-guides/add-rules) > > Port and IP format reference. > [card] [Update rules](/products/network/firewall/quickstart-guides/update-rules) > > Edit an existing group's rules. # Auto-assigned vs reserved IPs Source: https://docs.rafftechnologies.com/products/network/public-ips/concepts/reserved-vs-ephemeral How the two public-IP lifecycles differ on Raff — what survives a detach, what survives a VM delete, when each one bills, and which to pick for stable addresses <sub>Updated May 8, 2026</sub> Raff has two distinct lifecycles for a public IP. The dashboard, the API, and the billing system all treat them as different first-class objects — choose the wrong one and you'll either pay too much for an address you don't need to keep stable, or lose an address you wanted to preserve. This page is the side-by-side reference. Most of what's here is repeated in the quickstart guides; the difference is that this page is just the model, no walkthrough. ## The two lifecycles | | **Auto-assigned** | **Reserved** | | - | - | - | | **Allocated from** | Regional pool | Reserved out of the pool, held in your account | | **Cost while attached** | **Free** | **\$3 / month** | | **Cost while unattached** | N/A — auto-assigned IPs are always attached | **\$3 / month** (continues) | | **What "detach" does** | Returns the address to the pool. Anyone may get it next | Removes the IP from the VM but keeps it in your account, ready to re-attach | | **What VM delete does** | Releases the IP back to the pool with the VM | IP survives — stays in your account | | **Movable between VMs?** | No (each detach gets a different address from the pool) | **Yes** — detach + re-attach keeps the same address | | **Stable across VM rebuild?** | No | **Yes** | | **Eligible for DNS / partner whitelisting?** | Risky — you might lose it on any detach | **Yes** — that's the whole point | | **API type field** | `auto_assigned` | `reserved` | | **Surfaced in dashboard as** | "Public" tag on the VM's Network tab | "Reserved" tag, shown on Public IPs tab + VM Network tab | The simplest way to remember it: **auto-assigned = the VM owns it, reserved = your account owns it**. ## Why two lifecycles exist Cloud providers used to give every VM "a public IP" and called it a day. The problem is that two very different needs were sharing one mechanism: * **The "I just want this VM on the internet" need** — short-lived, replaceable, no commitment. Free is good. Whatever IP you got is fine. * **The "I have published this IP somewhere I can't easily change" need** — DNS records, customer firewalls, certificate-pinned clients, partner whitelists. The address is a *contract*. It can't change without coordinated work. Mixing the two in one bucket means either: * **Charging for everything** so the addresses survive (everyone pays even though most don't care), or * **Releasing on detach** so the free path works (and breaking everyone who cared about stability) Splitting them — auto-assign for transient, reserve for stable — lets each get the right behavior. You only pay \$3/month when you opt into stability; everyone else gets free public IPs without a meter. ## The lifecycle, picture by picture ### Auto-assigned ```mermaid theme={null} flowchart TB A["VM creation"] -->|"IP from pool"| B["Attached — Free"] B --> C["VM delete OR Remove IP"] C --> D(["Returns to pool<br/>(someone else may get it)"]) ``` Detaching is terminal — the IP doesn't come back to your account. If you re-add a public IP to the same VM later, you get a different address. ### Reserved ```mermaid theme={null} flowchart TB A["**Reserve IP** — \$3/mo IPv4 / \$1/mo IPv6"] --> B["Unattached — in your account, billing"] B -->|Attach to VM| C["Attached — in use, billing"] C -->|Detach from VM| B B -->|"**Release**"| D(["Returned to pool<br/>billing stops, address gone"]) C -.->|"VM delete<br/>(IP survives)"| B ``` The IP stays yours through every state except after Release. Billing runs continuously through every state except after Release. ## When to pick which | Workload | Pick | | - | - | | New VM, not in DNS yet, no external dependency on the address | **Auto-assigned** | | Test environment, frequently rebuilt, no contract on the address | **Auto-assigned** | | VM behind a load balancer or reverse proxy where the IP is internal-only | **Auto-assigned** | | Production web server with an `A` record pointing at it | **Reserved** | | API gateway whitelisted by partners by IP | **Reserved** | | Mail server (`MX` and PTR records baked in) | **Reserved** | | Blue/green deploys — need to swap IPs between candidate VMs | **Reserved** | | HA / failover where the address must survive a VM rebuild | **Reserved** | | Anything where "the IP changing" would be a customer-visible incident | **Reserved** | Rule of thumb: **if you'd write a runbook step that says "update DNS record"** when the IP changes, you should be on a reserved IP and not have that step at all. ## Cost framing A reserved IP costs **\$3/month** — \$36/year. That's roughly equivalent to: * One hour of a small VM * One terabyte-month of object storage above the free tier * Half a tank of coffee at most cafés For anything in production, it's well below the cost of an outage caused by a partner's whitelist breaking after a VM rebuild. Don't optimize against \$3/month at the cost of address stability — it's not a sensible trade-off for production workloads. ## What's the same regardless of type Both auto-assigned and reserved IPs share these properties: * **IPv4 and IPv6 are both supported** (one of each per VM from the dashboard; more via support) * **Both are routable on the public internet** — same upstream, same MTU, same gateway * **Both can have a Firewall attached** to filter inbound traffic (see [Firewall](/products/network/firewall) when written) * **Both bill the same way** — continuous accrual, settled month-end on the 1st (auto-assigned just bills at \$0) * **Both are region-locked** — an IP allocated in `us-east` can only attach to `us-east` VMs * **Both count toward the same per-VM cap** — one IPv4 and one IPv6 per VM from the dashboard The only thing the type affects is what happens when the IP is detached or the VM is deleted. ## What about Gateway IPs? A third category exists in the **Public IPs** list — gateway IPs that belong to a VPC's [Internet Gateway](/products/network/vpc/quickstart-guides/manage-vpc#internet-gateway--platform-router-vs-firewall-appliance). These are tagged `Gateway` and aren't directly assignable to VMs: * They're allocated automatically when you Enable a Platform Router (free, returned on Disable) or Deploy a Firewall Appliance (rolled into the appliance VM's price) * They can't be moved by hand, reserved, or released through the Public IPs tab — they're tied to their gateway's lifecycle * They appear in the Public IPs list for visibility, not for direct management If you delete the gateway, the gateway IP returns to the pool the same way an auto-assigned IP does. ## Related > [card] [Auto-assign a public IP](/products/network/public-ips/quickstart-guides/auto-assign) > > Free pool IP for non-stable addresses. > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Hold an IP across VM rebuilds for \$3/mo. > [card] [Features & limits](/products/network/public-ips/details/features-and-limits) > > Concrete numbers — pricing, regional pools, caps. # Public IP features and limits Source: https://docs.rafftechnologies.com/products/network/public-ips/details/features-and-limits Public IP features, IPv4/IPv6 support, pricing for auto-assigned and reserved IPs, regional pools, and per-VM and per-account limits <sub>Updated May 8, 2026</sub> ## Features ### Address families * **IPv4** — standard public IPv4, available in every region. Reserved at **\$3 / month** * **IPv6** — single public IPv6, available in every region. Reserved at **\$1 / month** (cheaper than IPv4 — IPv6 address space isn't scarce) * **Dual-stack** supported — a VM can have one IPv4 and one IPv6 simultaneously ### Two lifecycles * **Auto-assigned** — free pool IP, returns to pool on detach. Free while attached * **Reserved** — IPv4 \$3/month, IPv6 \$1/month, persists through VM rebuilds and detaches, movable between VMs See [Auto-assigned vs reserved](/products/network/public-ips/concepts/reserved-vs-ephemeral) for the full lifecycle model. ### Where they're managed * **Networking → Public IPs tab** — account-wide list, reserve, auto-assign, attach, detach, release * **VM detail → Network tab** — per-VM view, add/remove IPs, attach Firewall to a specific IP * **Networking → Diagram** — visual map, click the IP chip floating above a VM for Copy IP / Detach actions ### Firewall integration * Each public IP can have **one Firewall attached** to filter inbound traffic * Attach via the IP card on a VM's Network tab (`Firewall: None / Attach`) * See [Firewall](/products/network/firewall) for rule-set creation ### Movability (reserved only) * Detach from one VM, attach to another in the same region — the address stays the same * Standard pattern for blue/green deploys, manual failover, partner-whitelist preservation * Auto-assigned IPs are **not** movable — detach returns them to the pool ## Pricing | Type | Rate | | - | - | | **Auto-assigned IPv4 / IPv6** (attached) | **Free** | | **Auto-assigned, detached** | N/A — auto-assigned IPs are never detached without being released | | **Reserved IPv4** (attached or unattached) | **\$3.00 / month** (\$0.0069/hr) | | **Reserved IPv6** (attached or unattached) | **\$1.00 / month** (\$0.0023/hr) | | **Yearly lock-in** | \$36/yr (IPv4) / \$12/yr (IPv6) | | **24-month lock-in** | \$72/2yr (IPv4) / \$24/2yr (IPv6) | | **Additional IPs beyond the dashboard limit** (support-only) | Same per-IP rate by family — IPv4 \$3/mo, IPv6 \$1/mo | | **Gateway IPs** (Platform Router, Firewall Appliance WAN) | Free with Platform Router; rolled into Firewall Appliance VM price | Yearly and 24-month durations are the **same effective per-month price as monthly** — they lock the rate (no surprise increases) but offer no volume discount today. For the picker walkthrough, see [Reserve a static IP → Billing Period](/products/network/public-ips/quickstart-guides/reserve-ip#3-billing-period). Reserved IPs accrue continuously whether attached or not. If you delete a reserved IP mid-cycle, the unused days are credited back to your account balance — same prorated-on-delete model as VMs and volumes. See [Billing model](/products/build/virtual-machines/concepts/billing-model). There is **no charge for outbound traffic on a public IP** at the IP layer — you're billed for VM bandwidth (which is free on Raff today) and for Object Storage public-internet egress when applicable. The IP itself just costs the reservation fee. ## Limits | Item | Limit | | - | - | | **Public IPv4 per VM (dashboard)** | **1** — one IPv4 from the dashboard | | **Public IPv6 per VM (dashboard)** | **1** — one IPv6 from the dashboard | | **Public IPs per VM (with support)** | More on request — \$3/month per additional IP | | **Reserved IPs per account** | No hard cap published; subject to overall account capacity | | **Region scope** | Each IP is bound to **one region** — non-portable across regions | | **IP-type swap on a VM** | A VM can't simultaneously hold two IPv4s from the dashboard, or two IPv6s — remove the existing one first | | **Time to attach/detach** | Seconds — propagates through cloud-init / DHCP within a few seconds | ## Regional availability | Region | Status | | - | - | | **US East** | Available today — both IPv4 and IPv6 | | Other regions | Coming with the rest of the multi-region rollout | The auto-assign pool is **per region** — you can only auto-assign IPs in regions where the VM lives. Available pool sizes are surfaced as the **Available in pool** stat at the top of the Public IPs tab; if it's zero for a region, auto-assign returns an error and you'll need to either wait for capacity or reserve an IP instead. ## What's not available today * **Anycast IPs** — single IP that's announced from multiple regions * **BYOIP / IP import** — bringing your own AS-prefixed IP block * **Floating Virtual IP (VRRP-style)** between VMs without a manual detach/attach — the move-IP pattern is the closest equivalent * **Per-IP tagging or notes** — coming with the broader resource-tags rollout ## See also > [card] [Auto-assigned vs reserved](/products/network/public-ips/concepts/reserved-vs-ephemeral) > > The lifecycle model behind these limits. > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Walkthrough for the \$3/month flow. > [card] [Billing model](/products/build/virtual-machines/concepts/billing-model) > > How IP charges flow through your balance. # Public IPs Source: https://docs.rafftechnologies.com/products/network/public-ips/index Public IPv4 and IPv6 addresses on Raff — auto-assigned from a free pool by default, or reserved as static IPs that persist across VM rebuilds for $3/month (IPv4) or $1/month (IPv6) <sub>Updated May 8, 2026</sub> A **Public IP** on Raff is a routable IPv4 or IPv6 address attached to a VM (or to a VPC's Internet Gateway) so it can be reached from the public internet. Every VM you create comes with one auto-assigned IPv4 from the regional pool — free for as long as it's attached. You can also **reserve** a static IP that stays yours across VM rebuilds and detaches, billed at **\$3/month for IPv4** or **\$1/month for IPv6**. There are two distinct lifecycles for a public IP on Raff, and the difference matters: | | **Auto-assigned** | **Reserved** | | - | - | - | | **Cost** | Free while attached | \$3/month (IPv4) or \$1/month (IPv6), billed continuously | | **What happens when detached** | Returns to the regional pool — anyone may get it next | Stays yours, unattached, ready to re-attach to any VM | | **What happens when the VM is deleted** | Released to the pool | Survives, stays yours | | **Use it for** | Default VM internet access | Stable address you reference in DNS / firewall rules / partner whitelists | If your VM was rebuilt every Tuesday, an auto-assigned IP would change every Tuesday. A reserved IP would stay the same forever. ![Public IPs tab on the Networking page showing 9 IPs grouped under their VPCs, with Auto-assign IP and + Reserve IP buttons in the top right](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/public-ips/public-ips-list.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=368a01b61c9cbabfd78110d6ea723bff) The dashboard surfaces public IPs in two places: the **Public IPs** tab on the Networking page (account-wide list, where you reserve and auto-assign) and the **Network** tab inside each VM's detail page (where you add, remove, or firewall that specific VM's IPs). ## What you can do | Task | Where | | - | - | | Give an existing VM a public IP from the free pool | Networking → Public IPs → **Auto-assign IP** | | Reserve a static IP you'll keep across VMs | Networking → Public IPs → **+ Reserve IP** | | Add or remove a public IPv4 / IPv6 on one VM | VM detail → **Network** tab | | Move a reserved IP between VMs | Detach from VM A → attach to VM B | | Add a Firewall to a public IP | VM detail → **Network** tab → IP card → **Attach** firewall | *** ## Most viewed > [card] [Auto-assign a public IP](/products/network/public-ips/quickstart-guides/auto-assign) > > Give a VM a free pool IP in seconds. > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Hold an IPv4 across VM rebuilds for \$3/mo. > [card] [Manage from a VM](/products/network/public-ips/quickstart-guides/manage-from-vm) > > Add, remove, or firewall IPs from the VM detail page. > [card] [Move between VMs](/products/network/public-ips/quickstart-guides/move-between-vms) > > Detach from one VM, attach to another. *** ## Browse > [card] [Quickstart & guides](/products/network/public-ips/quickstart-guides/auto-assign) > > Auto-assign, reserve, attach, move, release. > [card] [Concepts](/products/network/public-ips/concepts/reserved-vs-ephemeral) > > Auto-assigned vs reserved. > [card] [Details](/products/network/public-ips/details/features-and-limits) > > Pricing, limits, regional pools. > [card] [Troubleshooting](/products/network/public-ips/troubleshooting) > > Common public-IP issues. > [card] [API Reference](/api-reference/endpoint/list-ips) > > Public IP endpoints. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Auto-assign a public IP Source: https://docs.rafftechnologies.com/products/network/public-ips/quickstart-guides/auto-assign Give a VM that has no public IP a free address from the regional pool — IPv4 or IPv6, no commitment, returns to the pool when detached <sub>Updated May 8, 2026</sub> When a VM doesn't have a public IP — usually because someone deleted it earlier, or the VM was created without one — the fastest way to give it one is **Auto-assign**. Raff picks an available address from the regional pool and attaches it. It's free while the VM holds it; if you detach it later, the IP goes back to the pool. This is the right path for "I just need this VM to be reachable from the internet, I don't care which IP it gets." If you need a stable address that doesn't change across VM rebuilds, [reserve an IP](/products/network/public-ips/quickstart-guides/reserve-ip) instead. ## Open the Public IPs tab In the left sidebar, click **Networking** → switch to the **Public IPs** tab. The list shows every IP currently associated with your account (attached to VMs, attached to gateways, or reserved/unattached). ![Public IPs tab showing 9 IPs grouped by VPC, with stats cards (Public IPv4 9, Public IPv6 0, Reserved 0, Available in pool 0) and Auto-assign IP and + Reserve IP buttons in the top right](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/public-ips/public-ips-list.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=368a01b61c9cbabfd78110d6ea723bff) The four stats cards across the top are worth knowing: | Stat | What it counts | | - | - | | **Public IPv4** | Total IPv4 addresses in your account — attached + reserved-unattached | | **Public IPv6** | Same, for IPv6 | | **Reserved** | IPs you've explicitly reserved that are currently **unattached** (still billing) | | **Available in pool** | IPs in the regional pool that the auto-assigner could hand out next. Zero means the pool is empty for that region; auto-assign falls through and returns an error | ## Open the Auto-assign dialog Click **Auto-assign IP** (the outlined button with the globe icon, immediately left of the orange Reserve IP button). ![Auto-assign Public IP dialog showing IP Type selector (IPv4 selected, IPv6 alternative), a Select VM dropdown placeholder "Choose a VM without public IP...", and an info note "A free IP will be assigned from the pool. This is an auto-assigned IP — if you detach it later, it returns to the pool."](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/public-ips/auto-assign-dialog.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=ef9bc0b6d1246562abb13e29fd3cf7e9) The dialog has two fields and an explainer. ## 1. Pick IP Type — IPv4 or IPv6 Default is **IPv4**. Switch to **IPv6** if you want to enable dual-stack (or IPv6-only) on this VM. A few rules: * **A VM can hold at most one IPv4 and one IPv6 from the dashboard.** Need more? Contact [support](mailto:support@rafftechnologies.com) — they can attach additional IPs at \$3/month each for IPv4, \$1/month each for IPv6. * IPv4 and IPv6 are **independent allocations** — auto-assign one or both, in any order. * If you already have a public IP of this type on the chosen VM, the dialog blocks the assignment with "VM already has an IPv4/IPv6". To replace it, remove the existing one first from the [VM detail Network tab](/products/network/public-ips/quickstart-guides/manage-from-vm). ## 2. Select VM The dropdown lists every VM in the dashboard's selected region that **doesn't already have a public IP of the chosen type**. VMs with an existing IP are filtered out so you can't double-assign. If the dropdown is empty: * All your VMs already have a public IP of that type — nothing to assign to * All your VMs are in another region — switch the region selector at the top of the dashboard * The VM is in a transient state (`creating`, `deleting`) — wait for it to settle ## 3. Click Assign IP The IP is allocated from the pool, attached to the VM, and the VM picks it up immediately. You don't need to do anything inside the guest — Raff configures the new interface via cloud-init / DHCP. The dialog closes and the Public IPs list refreshes with the new IP under the VM's row. The dialog's footer note — *"A free IP will be assigned from the pool. This is an auto-assigned IP — if you detach it later, it returns to the pool."* — is the important behavior: * **While attached** — free, no billing * **When you detach or delete the VM** — the IP returns to the pool, *not* to your account. You won't get the same IP back if you auto-assign again. ## When the pool is empty The "Available in pool" stat at the top of the Public IPs tab is a **per-region** count of free addresses the auto-assigner can hand out. If it shows **0** for your selected region: * The dialog will still open, but clicking **Assign IP** returns an error like *"No public IPs available in `us-east`. Please try again later or contact support."* * The IP type matters — IPv4 and IPv6 pools are tracked separately. Try the other type if your workload supports it (most modern OS images come up dual-stack on a fresh IPv6). * A pool can refill at any time as other tenants release IPs. The fastest practical recovery is to wait a few minutes and retry; failing that, [reserve an IP](/products/network/public-ips/quickstart-guides/reserve-ip) — reserved addresses come from a separate allocation path. * For sustained allocations (large fleets, scale-out events), email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) — pool capacity in `us-east` is monitored and expanded on demand. Because pools are region-scoped, switching the dashboard's region selector to a different region (when other regions launch) will show a different pool count and resolve the issue if a different region has capacity. ## When to use Auto-assign vs Reserve | Scenario | Use | | - | - | | New VM, internet access without DNS commitments | **Auto-assign** | | You just removed an IP and want a fresh one back on the same VM | **Auto-assign** | | You want the IP to survive VM rebuilds, partner whitelisting, DNS records pointing at it | [**Reserve**](/products/network/public-ips/quickstart-guides/reserve-ip) | | Multi-region failover where the IP must be the same across rebuilds | **Reserve** | | Cost-sensitive workload that doesn't care about address stability | **Auto-assign** | You can also **upgrade an auto-assigned IP to reserved** if you change your mind — see [Reserve a static IP → "Convert an auto-assigned IP to reserved"](/products/network/public-ips/quickstart-guides/reserve-ip#convert-an-auto-assigned-ip-to-reserved). ## Related > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Hold an IP across rebuilds, \$3/mo. > [card] [Manage from a VM](/products/network/public-ips/quickstart-guides/manage-from-vm) > > Same operations from the VM detail page. > [card] [Auto-assigned vs reserved](/products/network/public-ips/concepts/reserved-vs-ephemeral) > > The lifecycle difference in depth. # Manage public IPs from a VM Source: https://docs.rafftechnologies.com/products/network/public-ips/quickstart-guides/manage-from-vm Every VM has a Network tab in its detail page where you can add, remove, or attach a Firewall to the VM's public IPv4 and IPv6 addresses, and connect the VM to a VPC <sub>Updated May 8, 2026</sub> The **Network** tab on a VM's detail page is the per-VM control panel for that VM's public IPs and VPC connections. Most operations you can do from the account-wide **Public IPs** tab in Networking, you can also do here — and this is the right place when you're focused on one VM rather than the whole account. ## Open the Network tab From **Compute**, click into a VM. The detail page has a row of tabs across the top — **Graphs / Activity / Actions / Network / Snapshots / Backups / Power / Resize / Destroy**. Click **Network**. ![VM detail page on the Network tab showing Public Networking section with IPv4 (eth0, Public + Primary tags, Active, IP 23.26.4.27, MAC, Gateway, Firewall: None / Attach, Remove Public IP button) and IPv6 (Add IPv6 Address button), and Private Networking section with eth1 connected to a VPC at 10.7.0.2 plus a Connect VPC button](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/public-ips/vm-network-tab.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=ef1455d8b1bef08d96e07d4486677795) The page is split into two zones — **Public Networking** at the top and **Private Networking** below. ## Public Networking — IPv4 and IPv6 This section shows up to one **IPv4** card and up to one **IPv6** card from the dashboard. (More than that requires support — see [Multiple IPs per VM](#multiple-ips-per-vm) below.) ### IPv4 card — what's on it When the VM has a public IPv4, the card shows the full picture: | Field | Example | What it is | | - | - | - | | **Interface name** | `eth0 - Public Network` | The Linux/Windows NIC name where this IP lives | | **Tags** | `Public`, `Primary` | The IP is public-internet routable; `Primary` means it's the VM's default outbound IP | | **Status** | `Active` | The interface is up and the IP is bound | | **IP Address** | `23.26.4.27` | The public IPv4 address (with copy icon) | | **MAC Address** | `02:00:17:1a:04:1b` | Layer-2 address for the NIC | | **Gateway** | `23.26.4.254` | The upstream gateway the VM routes through for outbound | | **Firewall** | `None` / **Attach** | A Raff Firewall (security group) attached to this IP — see [Firewall](/products/network/firewall) when written | Two action buttons at the bottom: * **Attach** (next to Firewall) — opens the firewall picker. Select an existing firewall to apply its rules to this IP. The same IP can have one firewall attached. * **Remove Public IP** (red) — detaches this IP from the VM. **For an auto-assigned IP, the address goes back to the regional pool.** For a reserved IP, the IP stays in your account, just unattached. The dialog confirms which type before you proceed. ### Add a public IP If the VM doesn't currently have a public IP of a given type, you'll see an **Add Public IPv4 / IPv6 Address** button instead of the card. Click it; a small dialog opens letting you pick: | Source | What it does | | - | - | | **Auto-assign from pool** | Free, IP returns to pool on later detach. Same as the [Auto-assign flow](/products/network/public-ips/quickstart-guides/auto-assign) but scoped to this VM | | **Choose a reserved IP** | Pick from your unattached reserved IPs in the same region. The IP attaches to this VM; billing continues | The IPv6 section in the screenshot shows the empty state — *"Enable dual-stack networking with a public IPv6 address"* with an **Add IPv6 Address** button. Click to add an IPv6 the same way. ### Remove a public IP Click **Remove Public IP** on the IP card. A confirmation dialog explains what happens next based on the IP's type: | IP type | What happens on remove | | - | - | | **Auto-assigned** | IP returns to the regional pool. **You can't get the same IP back** if you re-add later | | **Reserved** | IP stays in your account, unattached. You can re-attach it to any VM in the same region. Billing continues | The VM stays running. If you remove its only public IP, the VM is reachable only over its VPC connections after the remove. Active SSH/RDP sessions on the removed IP are dropped. ## Private Networking — VPC connections Below Public Networking, the **Private Networking** section shows the VM's VPC interfaces. | Element | What it is | | - | - | | **Connect VPC** button (top right) | Add the VM to another VPC — opens the same flow as [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) | | **`eth1 - vpc-...` cards** | Each VPC the VM is currently in. Shows the VPC name, the VPC tag, status, IP, MAC | A VM can hold one **public** interface (`eth0`) and any number of **VPC** interfaces (`eth1`, `eth2`, …). Each VPC card has its own Detach action — the equivalent of detaching from a VPC's VMs tab. ## Multiple IPs per VM The dashboard supports **at most one IPv4 and one IPv6 per VM**. If your workload needs more (multi-homed services, anycast-ish setups, IP-based virtual hosting where SNI isn't an option), [contact support](mailto:support@rafftechnologies.com) — they can attach additional IPs at **\$3/month per extra IPv4** or **\$1/month per extra IPv6**, billed the same way as a reserved IP. This is rare; most workloads use a single public IP plus a reverse proxy / SNI, or attach a Firewall Appliance to the VPC and run multiple services behind it. Reach for multiple IPs only when you've ruled those out. ## Related > [card] [Auto-assign a public IP](/products/network/public-ips/quickstart-guides/auto-assign) > > From the account-wide Public IPs tab. > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Hold an IP across rebuilds, \$3/mo. > [card] [Move between VMs](/products/network/public-ips/quickstart-guides/move-between-vms) > > Detach here, re-attach to another VM. # Move a reserved IP between VMs Source: https://docs.rafftechnologies.com/products/network/public-ips/quickstart-guides/move-between-vms Detach a reserved public IP from one VM, attach it to another, without changing the IP itself — useful for blue/green deploys, failover, and partner-whitelist preservation <sub>Updated May 8, 2026</sub> A **reserved IP** can be moved from one VM to another without changing the address. Detach it from VM A, attach it to VM B — the IP stays the same, your DNS records stay valid, partner whitelists stay correct, and the only thing that changes is which server traffic lands on. This is the standard pattern for blue/green deploys, manual failover, and "promote a candidate VM by repointing the IP" workflows. This page covers reserved IPs only. **Auto-assigned IPs cannot be moved** — when you detach an auto-assigned IP, it returns to the regional pool and may be allocated to someone else. If you need this workflow, [reserve an IP first](/products/network/public-ips/quickstart-guides/reserve-ip). ## Before you start * A **reserved** IP — the Type column on the Public IPs tab will say "Reserved" (not "VM" or "Gateway") * A target VM in the **same region** as the IP — IPs are region-locked * The target VM should not already have a public IP of the same type (IPv4 ↔ IPv4, IPv6 ↔ IPv6) — remove its existing one first, or assign the moved IP to the IPv6 slot if it's free ## 1. Detach from the source VM Two equivalent paths — pick whichever is closer: | From | How | | - | - | | **VM detail → Network tab** | Click **Remove Public IP** on the IP's card. Confirm the dialog (it shows "reserved IP — will stay in your account"). | | **Networking → Public IPs** | Find the IP's row, click `⋮` → **Detach from VM**. | | **Networking diagram** | Click the blue IP chip floating above the source VM → **Detach from VM**. | The IP detaches in seconds. On the Public IPs tab, the row's **Assigned To** column now reads `—` (or `Unassigned`) and the IP is ready to re-attach. **The address stays the same.** Active SSH/RDP/HTTP sessions to the IP drop because they're now hitting nothing — that's expected. DNS records pointing at this IP keep resolving correctly; they just temporarily don't have a backend until you complete step 2. ## 2. Check the target VM — and remove any existing public IP of the same type first > [!WARNING] > > **The target VM must not already have a public IP of the same type (IPv4 or IPv6).** A VM holds at most **one** public IPv4 and **one** public IPv6 from the dashboard — if you try to attach a reserved IPv4 to a VM that already has an IPv4 (auto-assigned or reserved), the attach is **rejected** with `VM already has an IPv4`. Same rule for IPv6. > > Open the target VM's detail page → **Network** tab. If the IPv4 (or IPv6) card already shows an address, click **Remove Public IP** on that card *before* moving on to the attach step: > > ![VM Network tab IPv4 public IP card with eth0 - Public Network, Public + Primary tags, the existing IP, MAC, Gateway, a Firewall row, and a red Remove Public IP button at the bottom — this is the button to click before attaching the reserved IP](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/firewall/vm-network-firewall-attach.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=cbebfa7a7ef1bc2b63c562134df2ec03) > > Two important nuances: > > * **Auto-assigned IP on the target → Remove returns it to the pool, permanently.** You won't get the same address back. Acceptable in nearly every move-an-IP workflow because the whole point is to use the reserved IP instead. > * **Reserved IP on the target → Remove detaches it but keeps it in your account** (still billing at \$3/mo). It's now floating, ready to attach somewhere else, or release if you don't want it. Don't accidentally double up on reserved IPs you'll keep paying for. > > If the target VM uses **only IPv6** today and you're moving a reserved **IPv4**, you can skip the remove step — the IPv4 slot is empty and the attach will succeed directly. Once the target VM's same-type slot is empty, attach via one of three equivalent paths: | From | How | | - | - | | **VM detail → Network tab** (target VM) | Click **Add Public IP** → choose **Reserved IP** → pick this IP from the list | | **Networking → Public IPs** | Find the IP's row, click `⋮` → **Attach to VM** → pick the target | | **Networking diagram** | Click the unattached IP node → **Attach to VM** → pick the target (when this entry point is wired in the diagram) | The IP attaches to the new VM, the new VM picks it up via cloud-init / DHCP, and outbound traffic from the IP starts originating on the new VM. Inbound traffic to the IP starts arriving on the new VM as soon as the move completes — typically within a few seconds. ## What this does *not* change * **The IP address itself** — same `1.2.3.4` before and after * **DNS records** — anything pointing at the IP is still valid; you don't need to update DNS * **TLS certificates pinned to the IP** — still valid * **Partner whitelists by IP** — still match * **Your billing for the IP** — \$3/month continues uninterrupted ## What it *does* change * **The MAC address** behind the IP — it's now the new VM's NIC * **Active TCP connections** — drop on detach. Clients reconnect; the new VM serves them * **Outbound source IP** — outbound traffic from the new VM now appears to originate from the moved IP * **The Public IPs tab's Assigned To column** — points at the new VM * **The diagram** — the blue IP chip moves above the new VM card ## Blue/green deploy pattern The canonical "swap the green VM in" workflow: 1. Build a fresh VM (the "green" candidate) — runs in parallel, no traffic 2. Test green via its own auto-assigned IP, an internal VPC IP, or a hosts-file override 3. When ready, **detach** the reserved IP from the current "blue" VM 4. **Attach** it to the green VM — traffic immediately flips 5. Keep blue running for a rollback window. If green is healthy, delete blue (or the reverse if not) The whole switch is one detach-then-attach, taking under a minute. Rollback is just running the same two steps in reverse. ## Failover pattern When a primary VM is unhealthy and you keep a warm-standby: 1. Standby VM exists in the same region, configured identically, with no public IP 2. Detect failure (manually or via monitoring) 3. **Detach** the reserved IP from the failed primary 4. **Attach** to the standby 5. Standby starts serving the same address; clients reconnect There's no managed failover product on Raff today; this is the do-it-yourself pattern. Automate steps 3–4 with the [Change IP API](/api-reference/endpoint/change-ip) if you need it scripted. > [!WARNING] > > **What Raff does not provide.** The reserved-IP move is a control-plane action — it requires an explicit detach + attach call. Raff does **not** ship any of the in-guest, sub-second failover mechanisms you may know from on-prem networking: > > * **No VRRP / keepalived** — the IP is bound to one VM at a time at the platform level. Two VMs in the same VPC cannot share a public IP via heartbeat-driven floating-IP scripts; the second VM cannot ARP for an IP the platform has not attached to it. > * **No anycast / BGP failover** — Raff does not announce customer IPs to multiple endpoints > * **No managed health-check + automatic failover** — detection of "primary is down" is your responsibility (monitoring, status checks, custom watchdog) > > Sub-second failover patterns from on-prem (`keepalived` + a VIP shared between two NICs) won't work and trying to configure them inside two Raff VMs leads to silent breakage — only one VM ever receives traffic, and it's the one Raff has the IP attached to. > > If you need automatic failover today, build it on top of the [Change IP API](/api-reference/endpoint/change-ip) — your monitoring detects the failure and your script calls the API to repoint the reserved IP. The detach + attach round-trip typically completes in **under a minute**, which is the practical floor on RTO with this approach. ## Related > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Make an IP movable by reserving it. > [card] [Manage from a VM](/products/network/public-ips/quickstart-guides/manage-from-vm) > > Per-VM Network tab walkthrough. > [card] [Release an IP](/products/network/public-ips/quickstart-guides/release-ip) > > Stop billing when you don't need the IP. # Release a public IP Source: https://docs.rafftechnologies.com/products/network/public-ips/quickstart-guides/release-ip Stop billing on a reserved IP by releasing it back to the pool — irreversible, the IP becomes available for someone else to auto-assign or reserve <sub>Updated May 8, 2026</sub> Releasing a reserved IP **stops the billing** and returns the address to the regional pool. After release, the IP is gone from your account; you can't get it back. Someone else may auto-assign or reserve the same address moments later. This page is for **reserved** IPs only. Auto-assigned IPs are released automatically when you remove them from a VM (or delete the VM) — there's nothing extra to do, and no separate "release" action exists for them. ## Before you release Three things to confirm before clicking: 1. **The IP is no longer attached to a VM.** Detach it first from the VM detail page or the row menu. 2. **No DNS records or partner whitelists point at this IP.** Once released, anyone may end up holding this address; if you have a record pointing at it, traffic could land somewhere unexpected. 3. **You don't expect to need this exact address again.** Release is irreversible. If you only want a brief pause, [detach](/products/network/public-ips/quickstart-guides/move-between-vms#1-detach-from-the-source-vm) and leave it reserved instead — \$3/month is the price of keeping the address yours. ## 1. Open the Public IPs tab In **Networking → Public IPs**, find the IP. The Assigned To column should show `—` (unassigned) — if it shows a VM name, [detach it first](/products/network/public-ips/quickstart-guides/manage-from-vm#remove-a-public-ip). ## 2. Click Release On the IP's row, click the `⋮` menu → **Release IP**. A confirmation dialog opens describing what's about to happen — the address goes back to the pool, billing stops, and the change is permanent. Type the IP address (or click confirm — depending on the dialog version) to proceed. ## 3. Confirm and move on The release completes in seconds. The IP disappears from your Public IPs list. The **Reserved** stat at the top decrements. The **Available in pool** count increments by one for that region. Billing for the IP stops at the release timestamp. The unused days of the current month are credited back to your account balance — same prorated-on-delete model as VMs and volumes. ## What if the IP is currently attached? The Release action is **disabled** while a VM holds the IP. The dashboard shows the row's status as `Active` and the menu's Release item is greyed. To release an attached IP, you have two paths: | If you want to | Do this | | - | - | | Stop billing AND keep the VM running | Detach the IP from the VM (Network tab → Remove Public IP), then Release | | Stop billing AND delete the VM | Delete the VM with "release attached IPs" — the VM-delete dialog handles both at once | For auto-assigned IPs the choice is moot — they release automatically on detach or VM delete with no separate action. ## Pool re-allocation timing — and why there is no recovery path Once released, an IP is **immediately eligible for re-allocation** to any other Raff customer (or back to the same account, but with no preference for "you released it last"): * There is **no cooldown**. The address goes straight from your account into the available pool. * The next auto-assign or reserve call from any customer in the same region — possibly within seconds — can pick up that exact IP. * Once it's been allocated to a different tenant, it is **not recoverable to your account**. There is no support escalation that pulls the IP back from the new holder. Practical implication: only release when you're certain the address is no longer in use anywhere — DNS records, partner allow-lists, hard-coded client configs, monitoring targets. If you find out 10 minutes later that something still pointed at it, the recovery options are: | Situation | What you can do | | - | - | | The IP is still in the pool (no one re-claimed yet) | [Reserve a new IP](/products/network/public-ips/quickstart-guides/reserve-ip) and try the same address — auto-assign cannot target a specific IP, but reserve sometimes can if it's still free. There is **no guarantee** | | The IP has been re-allocated | Update DNS, allow-lists, and clients to point at a fresh reserved IP. The released address is permanently gone from your account | This is why the comparison below — **detach (keep reserved)** vs **release** — usually tilts toward keeping reserved at \$3/month. The cost of reclaiming a released address can be far higher than 12 months of holding it. ## Difference from "detach" It's worth re-stating because it confuses every new Raff user: | Action | What happens | | - | - | | **Remove Public IP** (auto-assigned) | IP returns to pool. Billing stops (it was free anyway). No way to reclaim | | **Remove Public IP** (reserved) | IP detaches from VM, **stays in your account**. Billing continues at \$3/month. Re-attachable | | **Release IP** (reserved) | IP returns to pool. **Billing stops.** Cannot reclaim | If you might need the address again, **detach and keep reserved**. \$3/month is cheap insurance against the IP being grabbed by someone else. ## Related > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > The reservation that release reverses. > [card] [Move between VMs](/products/network/public-ips/quickstart-guides/move-between-vms) > > Detach without releasing — keep the IP for later. > [card] [Auto-assigned vs reserved](/products/network/public-ips/concepts/reserved-vs-ephemeral) > > Why the lifecycles are different. # Reserve a static IP Source: https://docs.rafftechnologies.com/products/network/public-ips/quickstart-guides/reserve-ip Reserve a public IPv4 or IPv6 address that stays yours across VM rebuilds and detaches — $3/month, billed continuously, attach and detach freely <sub>Updated May 8, 2026</sub> A **reserved IP** is a public address you hold onto independently of any specific VM. While an [auto-assigned IP](/products/network/public-ips/quickstart-guides/auto-assign) returns to the regional pool the moment you detach it, a reserved IP stays in your account until you explicitly release it. You can attach it to a VM today, detach tomorrow, attach to a different VM next week, and it remains the same address the whole time. Reserve when you need a stable address for **DNS records**, **partner / customer whitelists**, **TLS certificate pinning**, or **failover** patterns where traffic must continue hitting the same IP across VM rebuilds. ## Open the Reserve IP dialog In **Networking → Public IPs**, click the orange **+ Reserve IP** button (top right). ![Reserve IP Address dialog showing Region (US East), IP Type (IPv4), three Billing Period options (Monthly 3.00/mo selected, Yearly 36.00/yr, 24 Month 72.00/2yr), Total 3.00/month, Hourly rate \$0.0069/hr, and Cancel / Proceed to Checkout buttons](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/public-ips/reserve-ip-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=9bab0cf948ec332a803e011a45306a50) The dialog opens with three settings and a live total. ## 1. Region The IP is reserved **in one region**. It can only be attached to VMs in that same region — IPs are never portable across regions. | Region | Status | | - | - | | **US East** | Available today | | Other regions | Coming with the rest of the multi-region rollout | Pick the region where the VMs that will use this IP live. ## 2. IP Type | Option | Rate | Notes | | - | - | - | | **IPv4** | **\$3.00 / month** | Standard IPv4 address — the default. Available in all regions | | **IPv6** | **\$1.00 / month** | Single IPv6 address — cheaper than IPv4 because IPv6 space isn't scarce. Use for dual-stack workloads or if your VM is IPv6-only | The dialog updates the **Total** and **Hourly rate** lines live as you switch between IPv4 and IPv6 — the screenshot above is the IPv4 selection. ## 3. Billing Period Three durations, all at the same effective per-month rate for the chosen IP type (no volume discount today; yearly and 24-month lock the price for the duration). **For IPv4 (\$3.00/month):** | Period | Price | Equivalent | | - | - | - | | **Monthly** *(default)* | \$3.00 / month | — | | **Yearly** | \$36.00 / year | \$3.00 / month | | **24 Month** | \$72.00 / 2 years | \$3.00 / month | **For IPv6 (\$1.00/month):** | Period | Price | Equivalent | | - | - | - | | **Monthly** *(default)* | \$1.00 / month | — | | **Yearly** | \$12.00 / year | \$1.00 / month | | **24 Month** | \$24.00 / 2 years | \$1.00 / month | The dialog shows the live **Total** and **Hourly rate** below the period picker. Charges accrue continuously while the IP is reserved, whether attached or not. If you're confident you'll need the IP for a year or two, lock in yearly or 24-month — same price, but you reserve cycles' worth of capacity up front. Monthly is the default and works for most cases. ## 4. Click Proceed to Checkout The order summary applies your account balance first, then charges your saved card for the difference (same flow as VMs, volumes, Object Storage). Confirm to reserve. The IP appears in the Public IPs list immediately, with `Type: Reserved` and no VM attached. You can [attach it to a VM](/products/network/public-ips/quickstart-guides/manage-from-vm#add-a-public-ip) right away, or hold it unattached. ## What "reserved until you cancel" means Once reserved, the IP is **yours alone** until you release it: * **No one else can be assigned this address.** It's not in the auto-assign pool. It's reserved for your account. * **It survives VM detaches** — detach the VM, the IP stays in your account, ready to re-attach. * **It survives VM deletion** — delete the attached VM, the IP doesn't go anywhere. * **It survives even when unattached** — that's the whole point. \$3/month buys you a permanent address. * **Billing continues whether attached or not.** The address is yours; the meter runs. To stop the billing, you must explicitly [release the IP](/products/network/public-ips/quickstart-guides/release-ip) from the Public IPs list. Until then, charges accrue continuously and settle month-end on the 1st against your account balance, just like every other Raff resource. ## Convert an auto-assigned IP to reserved If you have an auto-assigned IP on a VM and want to convert it to a reserved IP without changing the address, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) — the conversion is staff-assisted today. From the dashboard, the only available paths are: * **Reserve a fresh IP** + attach to the VM + remove the auto-assigned one (the address will change) * Or keep auto-assigned (free) and accept the change-on-rebuild trade-off The support route preserves the existing address and is the right answer when you've already published it in DNS or a partner whitelist. ## Pricing summary | Item | IPv4 | IPv6 | | - | - | - | | **Monthly** | \$3.00 / month | \$1.00 / month | | **Yearly** | \$36 / year | \$12 / year | | **24-month** | \$72 / 2 years | \$24 / 2 years | | **Hourly accrual** | \$0.0069 / hr | \$0.0023 / hr | Settlement is continuous and lands month-end on the 1st against your account balance — same model as VMs and volumes. If you delete the IP mid-cycle, the unused days are credited back to your balance — same model as VMs and volumes. See [Billing model](/products/build/virtual-machines/concepts/billing-model). ## Related > [card] [Auto-assign a public IP](/products/network/public-ips/quickstart-guides/auto-assign) > > Free pool IP for non-stable addresses. > [card] [Move between VMs](/products/network/public-ips/quickstart-guides/move-between-vms) > > Detach reserved IP, re-attach to another VM. > [card] [Release an IP](/products/network/public-ips/quickstart-guides/release-ip) > > Stop the billing — return to the pool. # Public IPs troubleshooting Source: https://docs.rafftechnologies.com/products/network/public-ips/troubleshooting Common public-IP problems — auto-assign returning empty, IP not bound to interface, "billing keeps running" surprises, type mismatch, region pool exhausted — and the fix for each <sub>Updated May 8, 2026</sub> The most-seen issues with Raff public IPs and the fix that resolves each. Most come from one of three categories: **the wrong lifecycle was picked** (reserved when auto-assign would do, or vice versa), **the regional pool is empty**, or **the in-guest network stack hasn't picked up the new IP yet**. If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). ## Auto-assign and reserve > [accordion] Auto-assign returns `no IPs available in pool` > > **What's happening:** the regional pool's **Available in pool** stat is zero. The auto-assigner can't hand out an address it doesn't have. > > **Fix:** > > * **Wait** — pool capacity changes as IPs are released by other accounts. Check back in a few hours. > * **Reserve** an IP instead — reservations come from a separate allocation flow and aren't blocked by an empty auto-assign pool. > * **Try a different region** — if the workload can run elsewhere, switch the dashboard's region selector and try. > > Pool exhaustion is rare and usually temporary. If it persists for more than a day, contact [support](mailto:support@rafftechnologies.com). > [accordion] VM dropdown is empty in the Auto-assign dialog > > **What's happening:** the **Select VM** dropdown only lists VMs in the dashboard's selected region that don't already have a public IP of the chosen type. > > **Possible reasons:** > > 1. **Every VM already has a public IP of that type** — if you're trying to auto-assign IPv4, all your VMs already have one. Switch to IPv6, or remove the existing IPv4 first. > 2. **Wrong region selected** — switch the region in the top bar. > 3. **VMs are in transient states** (`creating`, `deleting`) — wait, then refresh. > [accordion] Reserved IP — billing keeps running after I detached it > > **What's happening:** detach removed the IP from the VM but didn't release it. Reserved IPs survive detach by design. > > **Fix:** if you don't need the IP anymore, [release it](/products/network/public-ips/quickstart-guides/release-ip) from the Public IPs tab. Release stops the billing. > > If you might need it again, **leave it reserved** — \$3/month is the cost of keeping the address yours. Detach and release are different actions for exactly this reason. > [accordion] Released a reserved IP by mistake — how do I get it back? > > **What's happening:** release returned the IP to the pool. Once there, it's available to anyone — auto-assigned or reserved. > > **Fix:** unfortunately, **you can't reclaim a specific released IP**. It may already be allocated to another account. Two recovery paths: > > * **Reserve a new IP** — different address, but the same lifecycle. Update DNS / whitelists if you've published the old one. > * **Contact support** — if the IP is somehow still in the pool, support can occasionally re-reserve it for you. Best-effort, not guaranteed. > > Going forward, **detach** instead of **release** when you're not 100% sure you're done with the address. ## In-guest issues > [accordion] VM not reachable on the new public IP after attach > > **What's happening:** the IP is shown as attached on the dashboard, but `ssh user@<ip>` times out from outside. > > **Most likely causes, in order:** > > 1. **Cloud-init / DHCP hasn't picked up the new interface yet.** Wait \~30 seconds; if not, force renewal: `dhclient -r && dhclient` (Linux) or `ipconfig /renew` (Windows). For really stuck cases, reboot the VM. > 2. **Guest firewall blocking the port.** `ufw status` (Ubuntu/Debian) or check Windows Firewall. Add a rule for port 22 (SSH) or 3389 (RDP) from your source IP. > 3. **Raff Firewall attached and dropping traffic.** Look at the IP card on the VM's Network tab — if `Firewall:` shows a name (not `None`), check that firewall's inbound rules. Add the port you need from your source. > 4. **VM service not bound on the public interface.** `ss -lnt | grep :22` — confirms the SSH daemon is listening. If it's bound only to `127.0.0.1` or a private IP, fix the service config. > 5. **You're testing from inside a VPC** — internal traffic to the public IP takes a different path. Test from outside (your laptop, a different cloud). > [accordion] VM has the IP but `ip addr` doesn't show it inside the guest > > **What's happening:** dashboard says attached, the OS doesn't see it. > > **Fix:** force interface re-init — Raff hands the IP via DHCP, but if the VM was created with an older cloud-init, it may not pick up dynamic changes: > > * **Linux** — `dhclient -r && dhclient` for the relevant interface (`eth0` for public). Or `systemctl restart systemd-networkd` / `NetworkManager`. > * **Windows** — Disk Management isn't right; use `ipconfig /release && ipconfig /renew`. > * **Reboot** — always works as a last resort. > > The MAC address on the dashboard's IP card should match `ip link show` inside the guest. If it doesn't, the IP is bound to a different NIC than you're checking. > [accordion] Outbound traffic from the VM has the wrong source IP > > **What's happening:** you have multiple public IPs on the VM (one IPv4 + one IPv6, or multiple IPv4s via support), and outbound packets use the wrong one. > > **Why:** the OS picks an outbound source IP based on routing rules. By default, the VM uses its **Primary** IP (tagged in the dashboard) as the default-route source. > > **Fix:** > > * **For most workloads** — use the primary IP and don't fight it. > * **To use a non-primary IP for specific outbound** — bind the application to it: `curl --interface <ip>`, `--bind` flag in your service config, or `ip route` with `src` directives. > * **To swap which IP is primary** — contact support; the primary tag isn't toggleable from the dashboard today. ## Move and attach > [accordion] Reserved IP can't be attached — `VM already has IPv4` > > **What's happening:** the target VM already holds a public IP of the same family. Raff allows only one IPv4 and one IPv6 per VM from the dashboard. > > **Fix:** > > * **Remove the existing IP first** from the VM detail's Network tab → `Remove Public IP`. Then attach the moved one. > * **Auto-assigned existing IP** — removing it returns it to the pool (you can't get it back). > * **Reserved existing IP** — removing it leaves it in your account, billing continues. Decide whether to keep both or release one. > * **Need both attached?** Contact support — they can attach additional IPs at \$3/month per extra IP. > [accordion] Trying to attach a reserved IP to a VM in another region > > **What's happening:** the IP and VM are in different regions; the dropdown / API rejects the attach. > > **Why:** public IPs are region-locked. An IP allocated in `us-east` can only attach to `us-east` VMs. > > **Fix:** > > * **Move the workload** — recreate the VM in the IP's region (snapshot + restore in target region, when cross-region snapshot is enabled). > * **Reserve a new IP in the target region** — different address, but in the right place. Update DNS. > * **Release this IP** if you no longer need its specific address — it's gone, but you stop paying. ## Pricing surprises > [accordion] Bill shows charges for IPs even though all my VMs are deleted > > **What's happening:** you have **reserved IPs** that survived the VM deletion. Reserved IPs persist until explicitly released — that's the feature, not a bug. > > **Fix:** > > * Open **Networking → Public IPs** → look for IPs with `Assigned To: —` (unattached). Each one is \$3/month. > * **Release** the ones you don't need — billing stops, address goes back to the pool. > * **Keep** the ones you might want for future VMs. > > The "Reserved" stat at the top of the Public IPs tab counts how many you have unattached and billing. > [accordion] Yearly / 24-month lock-in — can I cancel mid-term? > > **Yes.** Release the IP at any time from the Public IPs tab. The unused days of the locked period are credited back to your account balance — same prorated-on-delete model as VMs and volumes. > > The lock-in periods don't cost more or less than monthly per month — they exist as a convenience for capacity planning, not as a discount mechanism. ## Still stuck? Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * **The IP address** and whether it's auto-assigned or reserved (check the Type column on the Public IPs tab) * **The VM ID** if attached * **The exact error message** and the time you saw it * **What you tried** from this page Same-day response in business hours; faster for production-impacting issues. ## Related > [card] [Auto-assigned vs reserved](/products/network/public-ips/concepts/reserved-vs-ephemeral) > > The model that resolves most "why is this happening" questions. > [card] [Manage from a VM](/products/network/public-ips/quickstart-guides/manage-from-vm) > > Per-VM Network tab walkthrough. > [card] [Features & limits](/products/network/public-ips/details/features-and-limits) > > Concrete pricing and caps. # VXLAN, CIDR, and isolation Source: https://docs.rafftechnologies.com/products/network/vpc/concepts/cidr-and-isolation How Raff VPCs are isolated — every VPC is its own VXLAN segment with a unique VNI, which is why two VPCs can use the same CIDR and still never see each other <sub>Updated November 7, 2026</sub> A Raff VPC is a **VXLAN segment**. That's the one fact that explains everything else on this page — the CIDR rules, the overlap behavior, the MTU, the per-region scope. Read this once and the rest of the product makes sense. ## What VXLAN is **VXLAN** (Virtual Extensible LAN, [RFC 7348](https://datatracker.ietf.org/doc/html/rfc7348)) is the standard way modern clouds build private networks on top of shared physical infrastructure. It works by encapsulating each tenant's Ethernet frames in UDP packets and tagging every packet with a 24-bit identifier — the **VNI** (VXLAN Network Identifier). Two VMs on the same physical host, two VMs on different hosts, two VMs in different racks — all of them only see traffic carrying their VPC's VNI. The hypervisor drops everything else before it ever reaches the guest. That 24-bit VNI gives you \~16 million distinct private networks per region. No two VPCs on Raff share a VNI, ever. ## Why this matters: CIDR overlap is a non-issue Two VPCs can use the same range. The one exception is peering: VPCs with overlapping ranges can't be peered, so pick different ranges if you plan to connect them. | You can have | And it works | | - | - | | `vpc-a` with CIDR `10.0.0.0/24` | A VM in it, IP `10.0.0.5` | | `vpc-b` with CIDR `10.0.0.0/24` | A different VM in it, also IP `10.0.0.5` | Both VMs hold the same private IP, in different VPCs, on the same hardware. They cannot reach each other — not because of routing tables, not because of firewall rules, but because their packets are tagged with **different VNIs**. The encapsulation layer never delivers one VPC's frames to another VPC's VM. This is by design. You can name your VPCs `prod`, `staging`, `dev` and use `10.0.0.0/24` for all three without thinking about it. **VPC names** must be unique inside your account; **CIDRs** don't have to be. ## What is reserved inside the CIDR Every VPC reserves three addresses in its range: | Address | Use | | - | - | | `.0` | Network address (the CIDR itself) | | `.1` | Gateway. Servers without a public IP use it as their default route; the Platform Router answers on it | | `.255` | Broadcast (for `/24` and larger; smaller subnets follow standard IPv4 broadcast rules) | So a `/24` VPC has **253 usable IPs** (256 − 3). The dashboard shows this directly: `1/253 IPs us-east` on each VPC card means one IP is in use out of 253 available. ## CIDR sizes Raff allows You pick a prefix between **/16 and /28** at create time: | Prefix | Usable IPs | When to pick it | | - | - | - | | `/28` | 13 | Tiny — bastion + one or two app VMs | | `/24` | 253 | **Default — fits almost every workload** | | `/22` | 1,021 | Mid-size cluster | | `/20` | 4,093 | Large fleet | | `/16` | 65,533 | The maximum — entire address-space of one private block | The dashboard surfaces three named sizes — **small (/24)**, **medium (/20)**, **large (/16)** — when you click "List CIDRs" while creating a VPC. Use them or type a custom CIDR; both go through the same validator. You **cannot resize a VPC after creation**. If you outgrow your range, create a new VPC and migrate VMs into it. ## Allowed private ranges CIDRs must fall inside a private IPv4 block (RFC 1918) or the carrier-grade NAT block (RFC 6598): * `10.0.0.0/8` * `172.16.0.0/12` * `192.168.0.0/16` * `100.64.0.0/10` (rare; useful when you've already exhausted RFC 1918) Public IP ranges are rejected at create time. The validator also enforces that the CIDR is correctly aligned — `192.168.1.50/20` is invalid because `/20` starts on a 16-bit boundary; the correct form is `192.168.0.0/20`. ## Region scope and the gateway A VPC lives in **exactly one region**. VMs from another region cannot join it; the VXLAN layer is bounded by the regional underlay. Every VPC has a **gateway** address, `.1`. Each server gets exactly one default route: * **Server with a public IP:** its default route goes out through its own public IP. Its VPC card carries no gateway. * **Server without a public IP:** its default route points at `.1`. It reaches the internet once the VPC has a gateway (the Platform Router answers on `.1`); without one it stays private. Inter-VM traffic inside the VPC is **L2**: frames go directly between hypervisors over the VXLAN multicast group, with no routing hop and no gateway involved. This is why **same-region VM-to-VM traffic inside a VPC is free and high-throughput** — it never leaves the underlay. ## MTU — the one practical caveat VXLAN encapsulation adds **50 bytes of overhead** to every packet. Raff's VPC interfaces use **MTU 8950** (jumbo frames, 9000 minus 50 for VXLAN headers). For most workloads — TCP between Linux/Windows guests, HTTP/gRPC between services, Postgres replication — this is invisible. The OS negotiates it via Path MTU Discovery and you never see it. Where it occasionally surfaces: * **Custom kernels or appliances** that hard-code `MTU 1500` may fragment or drop oversized frames. Set the VM's interface MTU to `8950` (or `1500` if you want classic-Ethernet behavior — slightly slower but always safe). * **Containers and overlays inside the VM** (Docker, Kubernetes CNI) often default to 1500. They work, but won't benefit from jumbo frames unless you raise their MTU too. * **Tunneling on top of the VPC** (WireGuard, IPsec) adds yet another header. Subtract that tunnel's overhead from 8950 when you size the inner MTU. If you're seeing strange "works on small payloads, breaks on large" behavior between VMs in the same VPC, MTU is the first thing to check. ## What VPCs do *not* give you (yet) To set expectations against AWS-style features: | Feature | On Raff? | | - | - | | **Load balancer as a service** | **Coming soon**: shown under the **Services** tab | | **Cross-region VPC** | No — each VPC is regional | | **Transit gateway** | Not available; build a hub VM if you need a star topology | | **Custom route tables** | Not exposed; the gateway handles default routing | | **VPC endpoints / PrivateLink** | Not today; same-region traffic to Object Storage and Kubernetes is already on the private network | For outbound internet access without exposing a public IP, see the **Internet Gateway** options on each VPC — the Platform Router gives you managed NAT for free, and the Firewall Appliance (OPNsense) gives you full firewall control as a paid VM. To connect VPCs or outside networks, see [peering](/products/network/vpc/quickstart-guides/manage-vpc#peering-tab-connect-two-vpcs) and [Connect over VPN](/products/network/vpc/quickstart-guides/connect-with-vpn). ## VPC membership is opt-in A VM created without a VPC has **no private network interface** — it's reachable only via its public IP, and it can't talk privately to any other VM. That's a perfectly normal configuration for a single web server, a one-off worker, or any VM that doesn't need peer-to-peer private traffic. When you do want **multiple VMs to share a private network**, create a VPC first and then attach VMs to it from the create-VM flow (Networking → Private Network) or from the Networking Diagram (`⋮` → Add VM on the VPC card). Shared VPCs survive any single VM's deletion — see the [VM delete dialog](/products/build/virtual-machines/quickstart-guides/delete-vm) for the safety rules. ## Related > [card] [Create a VPC](/products/network/vpc/quickstart-guides/create-vpc) > > Pick a CIDR and region. > [card] [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) > > Add an existing VM to a shared VPC. > [card] [Features & limits](/products/network/vpc/details/features-and-limits) > > CIDR ranges, MTU, per-account limits. # VPC features and limits Source: https://docs.rafftechnologies.com/products/network/vpc/details/features-and-limits VPC features, supported CIDR sizes, MTU, internet gateway options, and platform limits <sub>Updated November 9, 2026</sub> ## Features ### Network technology * **VXLAN-backed** — every VPC is its own VXLAN segment with a unique 24-bit VNI ([RFC 7348](https://datatracker.ietf.org/doc/html/rfc7348)) * **Multicast mode** — VXLAN frames travel over the underlay's multicast group; no central router bottleneck * **L2 inside the VPC** — VM-to-VM traffic in the same VPC goes directly between hypervisors, not via a router hop * **Encrypted at rest, isolated by VNI** — two VPCs in the same account can use the same CIDR and never see each other ### CIDR * **Prefix range:** `/16` to `/28` (chosen at create time, fixed for the life of the VPC) * **Allowed ranges:** RFC 1918 (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) and RFC 6598 (`100.64.0.0/10`) * **Reserved per VPC:** `.0` (network), `.1` (gateway), `.255` (broadcast for `/24` and larger) * **Overlap allowed** — two VPCs can share a CIDR; isolation is by VNI, not address space * **No resize** — to grow, create a new VPC and migrate ### MTU * **VPC interface MTU: 8950** (jumbo frames, 9000 minus 50 bytes of VXLAN overhead) * Most workloads benefit transparently via Path MTU Discovery * Tunnels and overlays on top of the VPC must subtract their own headers from 8950 ### DNS * **Primary DNS:** required, defaults to `8.8.8.8` (Google Public DNS) * **Secondary DNS:** optional fallback — leave blank if you don't need one * Editable per VPC at any time — point at Cloudflare (`1.1.1.1`), Quad9 (`9.9.9.9`), an internal resolver inside the VPC, etc. * Applied via DHCP — new VMs pick it up at boot, existing VMs on lease renewal (or via `dhclient` / `ipconfig /renew` inside the guest) ### Internet Gateway (optional, per VPC) Two mutually exclusive options to give VMs in the VPC outbound internet access without each VM holding a Public IP: | Gateway | What it is | Cost | | - | - | - | | **Platform Router** | Managed gateway VM run by Raff — NAT, internal DNS suffix `vpc.local`, DHCP, port forwarding | **Free** | | **Firewall Appliance — Small** | OPNsense 26.1 — 2 vCPU / 4 GB RAM / 50 GB disk, WAN + LAN NICs, full firewall control via web UI or VNC console | **\$4.99 / month** | | **Firewall Appliance — Large** | OPNsense 26.1 — 4 vCPU / 8 GB RAM / 120 GB disk, WAN + LAN NICs | **\$9.99 / month** | VPCs without a gateway have no outbound internet — VMs reach the internet only via their own Public IP attachments. The gateway choice is mutually exclusive (one or none, not both) and switchable later, with a brief outbound-traffic outage during the switch. ### Port forwarding (with Platform Router) * **Up to 10 rules per VPC** * Map `public_port` on the router's IP → `private_ip:private_port` inside the VPC * TCP and UDP supported * Rules apply within seconds of save ### VPC peering * Connects two VPCs of the same account, so their servers reach each other on private IPs * Both VPCs need an active **Platform Router**, and their ranges must not overlap * Doesn't chain: peering A with B and B with C doesn't connect A to C * See [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc#peering-tab-connect-two-vpcs) ### VPN gateway * **Device connections:** WireGuard for laptops and phones, 10 included * **Site-to-site tunnels:** WireGuard or IPsec (IKEv2) for an office, a datacenter or another cloud * Available in US East * See [Connect over VPN](/products/network/vpc/quickstart-guides/connect-with-vpn) ### VM membership * A single VM can belong to **multiple VPCs simultaneously** — each VPC gives it a separate NIC * A VM can also have one or more public IPs alongside its VPC interfaces * Detach is blocked if it would leave the VM with **zero network interfaces** * VPCs are region-scoped — only VMs in the same region can attach ## Pricing | Item | Rate | | - | - | | **The VPC itself** | **Free** — no cost to create, hold, or use | | **Same-region traffic between VMs in the VPC** | **Free**, never metered | | **Same-region traffic to Object Storage / Kubernetes** | **Free**, never metered | | **Platform Router gateway** | **Free** — Raff runs the gateway VM and its public IP at no charge | | **Firewall Appliance — Small** (2 vCPU / 4 GB / 50 GB) | **\$4.99 / month** | | **Firewall Appliance — Large** (4 vCPU / 8 GB / 120 GB) | **\$9.99 / month** | | **VPC peering** | **Free** | | **VPN gateway** (10 device connections) | **\$15 / month** | | **Site-to-site tunnel** | **\$20 / month** per tunnel, plus the gateway | | **Traffic through VPN tunnels** | Not metered | | **Public IPs attached to VMs in the VPC** | See [Public IPs pricing](/products/network/public-ips/details/features-and-limits) | | **Internet egress** through any gateway / public IP | Subject to standard public-internet egress, never to private VM-to-VM | There is **no per-VPC fee, no per-CIDR fee, no per-VNI fee, and no per-DHCP-lease fee.** You can hold dozens of VPCs at zero cost. Pricing only kicks in when a VPC has a Firewall Appliance or a VPN gateway, or when its members generate public-internet egress. ## Limits | Item | Limit | | - | - | | **CIDR prefix range** | `/16` (65,533 usable IPs) to `/28` (13 usable IPs) | | **Allowed private ranges** | RFC 1918 + RFC 6598 (`100.64.0.0/10`) | | **VPCs per account** | No hard cap published; subject to overall account capacity | | **VMs per VPC** | Bounded by the CIDR's usable address count (e.g. 253 for a `/24`, 4,093 for a `/20`) | | **NICs per VM** | Same as the VM-level NIC limit — see [Virtual Machines features & limits](/products/build/virtual-machines/details/features-and-limits) | | **Port-forward rules** | **10 per VPC** (Platform Router only) | | **Internet gateways per VPC** | **0 or 1** — Platform Router and Firewall Appliance are mutually exclusive | | **VPN gateways per VPC** | **0 or 1** | | **Device connections** | **10 per VPN gateway** | | **Site-to-site tunnels** | **10 per VPN gateway** | | **MTU** | **8950** (fixed, not configurable) | | **VPC name length** | Free-form, must be unique per account | | **CIDR alignment** | Must match the prefix — `192.168.1.50/20` is rejected, `192.168.0.0/20` is accepted | | **Region scope** | Each VPC lives in **one region**: `us-east` or `eu-central` | ## Region | Region | Status | | - | - | | **`us-east`** | All VPC features | | **`eu-central`** | All VPC features | ## What's not available today * **Load Balancer as a service**: shown as coming soon under the **Services** tab * **Cross-region VPCs** — VPCs are regional only * **Custom route tables / transit gateway / VPC endpoints** — not on the near-term roadmap ## See also > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > The technology behind the limits. > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Internet gateway, port forwarding, DNS. > [card] [Pricing (VM)](/products/build/virtual-machines/details/pricing) > > For Firewall Appliance VM costs. # Virtual Private Cloud Source: https://docs.rafftechnologies.com/products/network/vpc/index Virtual Private Cloud networking on Raff — VXLAN-isolated private networks for VMs in the same region <sub>Updated November 9, 2026</sub> A **Virtual Private Cloud (VPC)** on Raff is an isolated private network for VMs in the same region. VPCs are **opt-in** — create one when you want two or more VMs to talk to each other privately at near-line-rate without going over the public internet, or to put a fleet behind a single internet gateway. A VM that doesn't join a VPC is still fully usable; it just reaches the internet through its public IP and has no private peer network. Under the hood, every VPC is a **VXLAN segment** with its own 24-bit VNI — that's what makes them isolated, and why two VPCs can use the same CIDR and still never see each other. ![Networking page on the Diagram tab showing eight VPC cards in a row, each as a green dashed box with a VM and a public IP chip. The four tabs across the top are Diagram, VPCs (8), Public IPs (8), and Firewall (1).](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/vpc/hero.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=e07f181b73a29e37a81f7f9eb99e91e7) The dashboard's **Networking** page opens to this live diagram of every VPC, every VM in one, and every public IP attached to a VM. The four tabs across the top — **Diagram / VPCs / Public IPs / Firewall** — are how you move between the visual map, the flat lists, and the firewall rules. Most network management starts and ends here. ## What you can do | Task | Where | | - | - | | See your whole network at once | **Diagram** tab — interactive, click anything for actions | | Create a VPC with a custom CIDR | **VPCs** tab → **+ Create** | | Reserve a public IPv4 / IPv6 | **Public IPs** tab | | Build firewall rules and attach them to VMs | **Firewall** tab — see [Firewall](/products/network/firewall) | | Add a VM to a shared VPC | Diagram → VPC `⋮` menu → **Add VM** | | Connect two VPCs | VPC detail page → **Peering** tab. See [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc#peering-tab-connect-two-vpcs) | | Reach a VPC from your devices or office | VPC detail page → **Services** tab. See [Connect over VPN](/products/network/vpc/quickstart-guides/connect-with-vpn) | | Detach a public IP from a VM | Diagram → click the blue IP chip → **Detach from VM** | *** ## Most viewed > [card] [Use the Networking diagram](/products/network/vpc/quickstart-guides/use-networking-diagram) > > Visualize every VPC and IP, manage them inline. > [card] [Create a VPC](/products/network/vpc/quickstart-guides/create-vpc) > > Pick a CIDR, attach VMs, share privately. > [card] [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) > > Move a VM into an existing VPC. > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > Why CIDR overlap is allowed and what's reserved. *** ## Browse > [card] [Quickstart & guides](/products/network/vpc/quickstart-guides/use-networking-diagram) > > Diagram, create, attach, list CIDRs, delete. > [card] [Concepts](/products/network/vpc/concepts/cidr-and-isolation) > > VXLAN, CIDR, isolation, MTU. > [card] [Details](/products/network/vpc/details/features-and-limits) > > Limits, prefix sizes, region scope. > [card] [Troubleshooting](/products/network/vpc/troubleshooting) > > Common VPC issues and fixes. > [card] [API Reference](/api-reference/endpoint/list-vpcs) > > VPC endpoints. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Attach a VM Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/attach-vm Add a VM to an existing VPC — three entry points in the dashboard, all open the same Add VM dialog with auto-assign or specific-IP options <sub>Updated May 8, 2026</sub> Attaching a VM to a VPC adds a private network interface inside that VPC's CIDR. The VM gets an IP from the VPC's range and can immediately reach every other VM on the same VPC at near-line-rate over the private network. The VM keeps any other interfaces it already has (other VPCs, public IPs) — the new interface is added, not swapped. ## Three places to start the flow All three entry points open the **same Add VM dialog** — pick whichever is closest to where you are. | From | How | | - | - | | **Networking Diagram** | Click the `⋮` on a VPC card → **Add VM** | | **VPCs list — row menu** | Click the `⋮` on a row → **Add VM** | | **VPC detail page** | Open the VPC → **VMs** tab → **+ Attach VM** | You can also attach at VM-creation time — pick the VPC under the network section of the create-VM flow. That path covers the brand-new-VM case; this page covers attaching an **existing** VM. ## Open the Add VM dialog This walkthrough uses the VPC detail page. From **Networking → VPCs**, click into a VPC, switch to the **VMs** tab, and click **+ Attach VM**. ![Add VM to VPC dialog showing a Virtual Machine dropdown, the target VPC name, and an IP Assignment section with Auto-assign (selected) and Specific IP options, plus the available IP range 10.7.0.1 - 10.7.0.253](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/add-vm-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=1fc846a2f0017df7193a8cf3de7b6930) The dialog has two fields that matter — the VM, and how its IP gets assigned. ## 1. Pick the Virtual Machine The **Select a VM** dropdown lists every VM in the same region as this VPC that isn't already attached to it. Pick one. A VM can be in multiple VPCs at once — being in another VPC doesn't remove it from this list. The VPC name is shown right below the dropdown so you can confirm where the VM is going. VMs in **other regions** never appear here — VPCs are region-scoped, so cross-region attach is impossible. To put a VM on this VPC, it has to live in the same region (`us-east` today). ## 2. Choose IP Assignment | Option | What happens | When to use | | - | - | - | | **Auto-assign** *(default)* | Raff picks the next available IP in the VPC's range and assigns it | **Default** — the right choice unless you have a reason not to | | **Specific IP** | You enter an exact address inside the VPC's available range | When the VM needs a fixed, well-known IP — DNS server, internal load balancer, anything other VMs reference by IP | The dialog shows the current **Available range** (e.g. `10.7.0.1 - 10.7.0.253`) — the gateway `.1` is reserved but is shown in the range; the validator will reject it. `.0` (network) and `.255` (broadcast for `/24` and larger) are also reserved and rejected. For Specific IP, the validator also checks the address isn't already in use by another VM in the same VPC. If it is, the dialog shows the conflict before you submit. ## 3. Click Connect The interface is created and attached in seconds. The VPC's **VMs** tab refreshes with the new row showing: * **VM** name (with a green dot if active) * **Private IP** — the address you got from the VPC * **Public IP** — unchanged from before * **Specs** — vCPU and RAM * **Detach** action for later removal The VM also picks up the VPC's **DNS** setting on its next DHCP renewal. You usually don't need to do anything inside the guest — virtio-net + DHCP handle it. If you set a Specific IP and the guest doesn't pick it up immediately, force a DHCP renewal (`dhclient -r && dhclient` on Linux, `ipconfig /renew` on Windows) or reboot. ## What this changes inside the VM * A new virtual NIC appears as `enp1s0` / `eth1` / `vtnet1` (or whatever the next index is on your image — check `ip a` or `Get-NetAdapter`) * The new interface has the VPC IP and is reachable from every other VM in the VPC over private IP * The default route stays whatever it was before — a VPC interface alone doesn't create a default gateway. To send the VM's outbound traffic through this VPC's Platform Router or Firewall Appliance, change the in-guest default route or remove the VM's other interfaces ## Multiple VPC interfaces, briefly A single VM can be in two or three VPCs at once. Each VPC gives it a separate NIC with its own private IP. This is how you build hub-and-spoke networks today — a "router VM" with one NIC in each spoke VPC, manually configured to forward traffic between them. When the VM appears in the Networking Diagram, you'll see its card duplicated inside each VPC box, each instance showing the IP from that VPC's range. The same VM is one VM — only the visualization repeats it. ## Detach later Use the **Detach** action on the row when you no longer want the VM in this VPC. Detach is blocked if it would leave the VM with **zero network interfaces** — keep at least one VPC or one public IP. See [Manage a VPC → VMs tab](/products/network/vpc/quickstart-guides/manage-vpc#vms-tab--attach-and-detach) for the full rules. ## Related > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Detail page — internet gateway, port forwarding, DNS. > [card] [Use the Networking diagram](/products/network/vpc/quickstart-guides/use-networking-diagram) > > Add VMs visually from the VPC `⋮` menu. > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > Why VPC IPs can overlap across networks. # Connect devices or an office to a VPC over VPN Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/connect-with-vpn Add a VPN gateway to a VPC, connect laptops and phones with WireGuard, and join an office or another network with a site-to-site tunnel <sub>Updated November 9, 2026</sub> A VPN gateway lets you reach a VPC's private IPs from outside Raff. Your servers don't need public IPs. | What you want to connect | Use | Price | | - | - | - | | Laptops and phones | **Device connections** over WireGuard, 10 included | **\$15 / month** per gateway | | A whole network, such as an office or another cloud | **Site-to-site tunnel** over WireGuard or IPsec | **\$20 / month** per tunnel, plus the gateway | Traffic through the tunnels is not metered. ## Before you start * A VPC, in any region. * For a site-to-site tunnel, a remote network whose range doesn't overlap the VPC's range. ## Add the gateway **1. Open the Services tab** In **Networking → VPCs**, open the VPC and go to the **Services** tab. **2. Enable the gateway** Click **Enable VPN Gateway**, name it or keep the suggested name, and click **Enable**. If your account pays by subscription, you pay at checkout first. **3. Wait for it to start** Setup usually takes 1-2 minutes. The tab then shows the gateway's endpoint and its list of devices. ## Connect a laptop or phone **1. Install WireGuard** Get it from [wireguard.com/install](https://www.wireguard.com/install/) or your phone's app store. **2. Get a config** Under **Devices**, click **Get config** on a free device. You can give it a name there. **3. Import it** On a phone, scan the QR code from the WireGuard app. On a computer, click **Download .conf** and import the file. **4. Activate the tunnel** Turn the tunnel on in WireGuard. You can now reach the VPC's private IPs. Use one config per device. Each config holds a private key, so treat it like a password. ## Connect an office or another network **1. Add the tunnel** Under **Site-to-Site Tunnels**, click **Add tunnel**, pick **WireGuard** or **IPsec (IKEv2)**, and fill in the form. | Field | Tunnel type | What goes here | | - | - | - | | **Name** | Both | A label, such as `Head office` | | **Remote public key** | WireGuard | Your firewall's WireGuard public key | | **Remote endpoint** | WireGuard | Your site's public IP and WireGuard port, such as `203.0.113.10:51821` | | **Remote gateway IP** | IPsec | Your site's public IP, such as `203.0.113.10` | | **Remote subnet(s)** | Both | The networks behind your firewall, separated by commas | **2. Create it and copy the preshared key** Click **Create tunnel**. Raff generates a preshared key and shows it on the tunnel's row. **3. Set up your firewall** Use the values under **Your Raff side** and the preshared key. **WireGuard:** enter the public key, the endpoint and the VPC's local subnet in your firewall's site-to-site settings. The dashboard lists UniFi Network 8.1+, pfSense, OPNsense and MikroTik. **IPsec:** use these settings. | Setting | Value | | - | - | | **Remote gateway** | The **Endpoint** IP, without the port | | **Protocol** | IKEv2 | | **Encryption** | AES-256 | | **Hash** | SHA-256 | | **DH group** | 14 | | **Local ID** | Your device's public IP, the same IP as **Remote gateway IP** on the tunnel. Any other ID is refused | | **Firewall** | Allow UDP 500 and 4500 to and from the gateway's public IP | The VPC's servers get a route to your remote subnets within a few minutes, with no restart. Your firewall must send traffic for the VPC's range through the tunnel. ## Check that it works A tunnel's row shows its state: | State | Meaning | | - | - | | **Connected** | The tunnel is up | | **Waiting for your device** | It has never connected. Finish setting up your firewall | | **Down** | It was connected and has dropped. If it stays down for 10 minutes, we email you, and again when it returns | | **Configured** | The settings are on the gateway, but this gateway doesn't report its state because it was created before November 9, 2026 | Then ping a server's private IP from your device or from a machine on the remote network. If nothing answers, check that the server's firewall allows the traffic. For a tunnel that doesn't connect, see [Troubleshooting](/products/network/vpc/troubleshooting#site-to-site-vpn). ## Limits | Item | Limit | | - | - | | **VPN gateways** | 1 per VPC | | **Device connections** | 10 per gateway | | **Site-to-site tunnels** | 10 per gateway | | **Remote subnets** | Must not overlap the VPC, each other, or a route the VPC already has | ## Remove a tunnel or the gateway * **Tunnel:** click **Delete** on its row. Traffic to that network stops. * **Gateway:** click **Delete** at the top of the gateway card. Device configs stop working at once and billing stops. This can't be undone. Delete the gateway before you delete the VPC. ## Related > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Detail page tour, including peering. > [card] [Features & limits](/products/network/vpc/details/features-and-limits) > > VPC features, prices and limits. > [card] [Troubleshooting](/products/network/vpc/troubleshooting) > > Common VPC issues and fixes. # Create a VPC Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/create-vpc Open the VPCs tab, click Create VPC, pick a network size (Recommended / Small / Large / Custom), and confirm <sub>Updated November 9, 2026</sub> A VPC is a private network you can attach multiple VMs to so they can talk to each other directly. Every VM created without a VPC selection gets its own private VPC; you create a **shared VPC** here when you want two or more VMs on the same private subnet. This page walks the dashboard create flow. The full concept of why CIDRs can overlap, what VXLAN does, and how isolation is enforced is on [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation). ## Before you start * A Raff account * A clear idea of how many VMs this VPC will hold (the size you pick today is fixed — no resize) > [!NOTE] > > **Region.** Every VPC is created in the region your dashboard is currently set to: **`us-east`** or **`eu-central`**. The Create VPC dialog has no region picker, so switch the dashboard's region first if you need the other one. The VPC and every VM you attach to it must share that region. See [Regions](/products/build/virtual-machines/concepts/regions). ## 1. Open the VPCs tab In the left sidebar, click **Networking** → switch to the **VPCs** tab. The list shows every VPC in your account with its CIDR, IP usage, gateway state, DNS, and attached VM count. ![VPCs tab showing 8 VPCs in a flat list with columns for Name, Network (CIDR + IP usage), Gateway, DNS, and VMs count, and a + Create VPC button](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/vpcs-list.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=79d2b620df229c889f792e3d80290f09) Click **+ Create VPC** in the top-right. The Create VPC dialog opens. ## 2. Name the VPC ![Create VPC dialog showing a Name input, four Network Size options (Recommended /20, Small /24, Large /16, Custom CIDR), and a live summary at the bottom showing Network 10.0.0.0/20, Gateway 10.0.0.1, IPs 4,093](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/create-vpc-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=46bbb014fb6a2a0a20b8e7c0e754554b) Pick a label that's descriptive — `prod-services`, `staging`, `analytics` — so the VPC is easy to spot in the diagram and the list. Names must be unique across your account. ## 3. Pick a network size Four choices, each pre-fills a CIDR you can keep or override: | Option | CIDR | Usable IPs | When to use | | - | - | - | - | | **Recommended** | `10.0.0.0/20` | \~4,093 | **Default** — fits most workloads with room to grow | | **Small** | `10.0.0.0/24` | \~253 | Tight scope — bastion + a handful of app VMs | | **Large** | `10.0.0.0/16` | \~65,533 | Big fleet, many subnets, future expansion | | **Custom CIDR** | You type it | Depends on prefix | Use when the auto-suggested ranges conflict with your on-prem network or you want a specific RFC 1918 block | The dialog updates the summary line live as you change the choice — **Network**, **Gateway** (always `.1`), and **IPs** (usable count, after subtracting `.0` / `.1` / `.255`). A few rules the validator enforces if you pick **Custom CIDR**: * Prefix between **`/16` and `/28`** * Must fall inside a private range — `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, or `100.64.0.0/10` * Must be **CIDR-aligned** — `192.168.1.50/20` is rejected; the correct form is `192.168.0.0/20` You **don't** need to avoid CIDRs already used by your other VPCs. Two VPCs in the same account can use the same range — they're isolated by their VXLAN VNI, not by IP. See [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation#why-this-matters-cidr-overlap-is-a-non-issue). Pick a different range if you plan to peer this VPC with another one, or to connect a network that already uses that range. Overlapping ranges are refused there. ## 4. Click Create VPC The VPC is created in seconds and appears in the list. The new row shows: | Column | Value | | - | - | | **Name** | What you typed, plus the region (`us-east`) underneath | | **Network** | The chosen CIDR with `0/<usable> IPs` (no VMs yet) | | **Gateway** | `No Gateway` until you enable an internet gateway — see [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc#internet-gateway) | | **DNS** | `8.8.8.8` (Google Public DNS, default) | | **VMs** | `0 VMs` until you attach one | ## 5. Attach VMs A VPC with zero VMs doesn't do anything yet. Two ways to add members: * **From the row's `⋮` menu → Add VM** — opens the VM-attach flow scoped to this VPC * **From the VPC detail page → VMs tab → + Attach VM** — same flow, different entry point * **From the create-VM flow** — when launching a new VM, pick this VPC under the network section See [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) for the full flow. ## What you cannot change after creation | Setting | Mutable? | | - | - | | **Name** | ✅ Yes — rename anytime via the row menu or the pencil icon on the detail page | | **DNS** | ✅ Yes — change via row menu → Edit DNS, or detail page → Update DNS | | **CIDR** | ❌ No — fixed at create. To change, create a new VPC and migrate VMs | | **Region** | ❌ No — locked to the dashboard's selected region | | **VXLAN VNI** | ❌ No — auto-assigned; never visible in the UI | ## Pricing The VPC itself is **free**. You pay only for VMs and any optional **Firewall Appliance** gateway (a paid OPNsense VM). The default **Platform Router** gateway, the Public IPs you attach to VMs, and any same-region private traffic between VMs in the VPC are all free. See [Features & limits](/products/network/vpc/details/features-and-limits) for the full pricing table. ## Next steps > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Detail page tour — internet gateway, port forwarding, DNS. > [card] [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) > > Add an existing VM to this VPC. > [card] [Use the Networking diagram](/products/network/vpc/quickstart-guides/use-networking-diagram) > > Visualize and act on the whole network at once. # Delete a VPC Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/delete-vpc Delete is blocked while VMs are attached — detach or delete the VMs first, then delete the VPC from the row menu or the detail page <sub>Updated November 9, 2026</sub> Deleting a VPC permanently removes the private network and frees its VXLAN VNI for reuse. It does not delete the VMs that were inside it — but it does require that you detach (or delete) every VM first. The dashboard enforces this with a hard block. ## The rule: a VPC with VMs cannot be deleted If any VM is still attached to the VPC, the **Delete** action is **disabled** and labelled `Delete (has VMs)`. This applies in every place the action surfaces: * **VPCs list — row menu** → bottom item shows `Delete (has VMs)` in red but is unclickable * **VPC detail page header** → the top-right `Delete VPC` link is greyed and unclickable * **API** — the `DeleteVPC` call returns a 409 with the same reason ![VPCs list with the row context menu open, showing Manage VPC, Copy CIDR, Add VM, Rename, Edit DNS, and a disabled Delete (has VMs) at the bottom](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/vpc-row-menu-with-delete.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=81329a2798e70d29eb150161ead20d95) This protects you from a common mistake — deleting a VPC out from under running VMs would leave them with a dangling NIC and probably break their networking. So the dashboard makes you do the detaches first, deliberately. ## 1. Remove every VM from the VPC You have two ways to clear the VMs. **Detach** is the right choice if the VMs should keep running on other interfaces; **Delete VM** is the right choice if you're tearing the whole stack down. ### Detach (keep the VMs) From the VPC's detail page → **VMs** tab → **Detach** on every row. Each detach is instant and only affects that one VPC's NIC. The detach is blocked for any VM that **would have zero interfaces left** — i.e. if a VM has only this VPC and no public IP and no other VPC, you can't detach it without first attaching it somewhere else (or deleting it). Move it to another VPC or attach a Public IP first, then come back and detach. ### Delete the VMs (and let them clean up the VPC for you) The simpler path if the VMs aren't useful anymore. Delete each VM from the **Compute** page. The VM-delete dialog has an option to **also delete attached VPCs** — when used on the last VM in a shared VPC, this single action deletes the VPC for you, and you can skip step 2. Shared-VPC safety: if multiple VMs share the VPC and you tick "Delete VPCs" while deleting only one of them, Raff **preserves the VPC** because other VMs still depend on it. The VPC is only deleted when the last attached VM goes. See [Delete a VM → VPC handling](/products/build/virtual-machines/quickstart-guides/delete-vm) for the full rules. ## 2. Confirm the VMs column shows 0 Back in **Networking → VPCs**, the VPC's row should now show `0 VMs` and the **Delete** menu items lose the `(has VMs)` suffix. ## 3. Delete the VPC Two equivalent actions, pick whichever is closer: | From | How | | - | - | | **VPCs list** | Row's `⋮` → **Delete** | | **VPC detail page** | Top-right **Delete VPC** link | Both open a confirmation dialog. Confirm to delete. ## What gets cleaned up When the VPC delete completes: * The **VXLAN VNI** is released and may be reused for a future VPC * The **CIDR** becomes available for another VPC (CIDRs aren't unique anyway, but the platform's auto-suggester won't avoid this range now) * Any **Internet Gateway** for the VPC (Platform Router VM, or Firewall Appliance VM) is **deleted along with the VPC** — these gateway VMs only ever serve their parent VPC * **Port forwarding rules** are deleted with the gateway * **Public IPs** that were attached to gateway VMs return to your account as unassigned (you can reassign them later or release them) A **VPN gateway** isn't deleted with the VPC. Delete it first from the VPC's **Services** tab. The VPC's name doesn't get reserved — you can immediately create another VPC with the same name. ## Common reasons delete still fails after the VMs are detached Rare, but worth knowing: * **A pending Internet Gateway provision** — if you clicked **Enable** on Platform Router or **Deploy** on Firewall Appliance and the VM is still being created, wait for it to finish (or fail), then retry the delete * **A locked operation** — if some other action on the VPC is in flight (rename, DNS update), the delete is briefly blocked. Refresh and try again * **API only** — if the API rejects with a 409 even though the dashboard shows zero VMs, refresh — the dashboard cache may be stale If you hit a stubborn one, contact [support](mailto:support@rafftechnologies.com). ## Related > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Detail page tour — VMs, gateway, port forwarding. > [card] [Delete a VM](/products/build/virtual-machines/quickstart-guides/delete-vm) > > The two-step VM delete with VPC keep-or-delete options. > [card] [Create a VPC](/products/network/vpc/quickstart-guides/create-vpc) > > Set up a fresh VPC. # Manage a VPC Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/manage-vpc Open the VPC detail page to rename, change DNS, enable an internet gateway (Platform Router or Firewall Appliance), attach VMs, and configure port forwarding <sub>Updated November 9, 2026</sub> Every VPC has a **detail page** that puts everything you can do to it in one screen — rename, change DNS, choose an internet gateway, attach or detach VMs, configure port forwarding. This page is the one you open from the row menu's **Manage VPC** action or by clicking the VPC name in the list. ## Open the detail page In **Networking → VPCs**, find the VPC and click its `⋮` menu → **Manage VPC**. ![Action menu opened on a VPC row showing Manage VPC, Copy CIDR, Add VM, Rename, Edit DNS, and a disabled Delete (has VMs) option](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/vpc-row-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=f38ad2388aa367f68dfe8991b931328f) The row menu also has shortcuts that bypass the detail page — **Copy CIDR**, **Add VM**, **Rename**, **Edit DNS**, **Delete**. The detail page is when you want to see and change multiple things at once, or when you need access to **Internet Gateway**, **Port Fwd**, **Peering**, or **Services** — those only live on the detail page. ## What the detail page shows ![VPC detail page for vpc-ubuntu-1cpu-2gb-01-edc82891 showing CIDR 10.7.0.0/24, Gateway 10.7.0.1, IPs 1/253, DNS 8.8.8.8, an Internet Gateway section with Platform Router (Free, Enable) and Firewall Appliance (Paid, Deploy) cards, and a tabs row VMs / Port Fwd / Peering / Services with one VM listed](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/vpc-detail-page.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=1a70e146d30a7fc06d8e8d7141016c8a) The page has four logical zones, top to bottom: 1. **Header** — VPC name (with inline rename pencil), `Delete VPC` action on the right (disabled while VMs are attached) 2. **Stats row** — CIDR, gateway IP, IPs in use vs available, DNS, **Update DNS** button, and an Internet Gateway badge (`No Internet Gateway` until you enable one) 3. **Internet Gateway** picker — two cards, **Platform Router** and **Firewall Appliance** 4. **Tabs**: **VMs**, **Port Fwd**, **Peering**, and **Services** (VPN gateway) ## Rename a VPC Click the **pencil icon** next to the VPC name in the header. The name becomes editable; type a new label and confirm. The CIDR and VXLAN VNI don't change — only the display label. You can also rename from the row menu in the list view; both go through the same update. ## Change DNS The default resolver for VPC members is **`8.8.8.8`** (Google Public DNS). Change it from the stats row's **Update DNS** button or from the row menu's **Edit DNS** action — both open the same dialog. ![Edit DNS Servers dialog with the message "Set DNS servers for vpc-ubuntu-2cpu-4gb-01-25db601d. Changes will be applied to all connected VMs in the background." Two fields: Primary DNS 8.8.8.8 and Secondary DNS (optional) 1.1.1.1, with Cancel and Save DNS buttons](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/edit-dns-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=2062d5cd0b0ceeaff105e0127fc5181c) Two fields: | Field | Required? | What goes here | | - | - | - | | **Primary DNS** | Yes | The first resolver your VMs hit. Default `8.8.8.8`; common alternatives are `1.1.1.1` (Cloudflare), `9.9.9.9` (Quad9), or the IP of an internal resolver running inside the VPC (e.g. PowerDNS, CoreDNS) | | **Secondary DNS (optional)** | No | Failover resolver — used by the guest's DNS stack if the primary doesn't answer. Leave blank if you don't need a fallback | Both addresses must be reachable from VMs in this VPC. If you set an internal resolver as primary, make sure that VM is up and listening before saving — VMs in the VPC will start using the new resolver as soon as they renew their DHCP lease. Click **Save DNS** to apply. The dialog notes "*Changes will be applied to all connected VMs in the background*" — that's exactly what happens. New VMs joining the VPC pick up the new values from DHCP at boot; existing VMs apply them on lease renewal (typically minutes to a few hours, depending on your image's DHCP client). To force it immediately inside a guest: * **Linux** — `dhclient -r && dhclient` or `systemctl restart systemd-networkd` * **Windows** — `ipconfig /renew` from an elevated prompt Or just reboot the VM. ## Internet Gateway — Platform Router vs Firewall Appliance By default a VPC has **no internet gateway** — the badge in the stats row says `No Internet Gateway` and VMs reach the internet only if they have their own Public IP attached. To give VMs in the VPC outbound internet access **without** assigning each one a Public IP, enable an internet gateway. Two mutually exclusive choices per VPC, picked once and switchable later: | Gateway | Cost | What it is | When to pick it | | - | - | - | - | | **Platform Router** | **Free** | Managed gateway VM run by Raff — NAT, DNS, DHCP, port forwarding | Default choice for most VPCs | | **Firewall Appliance** | **\$4.99/mo or \$9.99/mo** | OPNsense VM you manage yourself, with WAN + LAN NICs | When you need full firewall control, IDS/IPS, custom routing, or built-in VPN | ### Platform Router (free) Click **Enable** on the Platform Router card. The router VM is provisioned in the background — usually under a minute — and the gateway badge flips to **`Gateway Active`**. ![Platform Router active state showing a green Gateway Active badge, a green Platform Router — Active card with the subtitle "NAT, DNS (vpc.local), DHCP enabled.", router IP 10.7.0.1 and public IP 23.26.4.98 on the right, and a red Disable button. Below, the VMs tab is selected with one VM connected.](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/platform-router-active.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=160866e79fd7718dddd8e4c7a517d545) Once active, the gateway card shows: | Field | What it means | | - | - | | **Platform Router — Active** | The gateway is up and routing | | **NAT, DNS (`vpc.local`), DHCP enabled** | The three managed services it provides: outbound NAT, an internal DNS suffix `vpc.local` for VM-to-VM name resolution, and DHCP for automatic IP assignment | | **ROUTER IP** | The gateway's address inside the VPC — always `.1` (e.g. `10.7.0.1`). VMs use this as their default gateway | | **PUBLIC IP** | The single public IPv4 the gateway uses to NAT outbound traffic. This is also the address you target in port-forwarding rules | | **Disable** | Tears down the router VM and removes its public IP. The VPC drops back to "No Internet Gateway" | There is nothing to SSH into and nothing to maintain — Raff handles patching, HA, and lifecycle. The router's public IP is reserved while the gateway is enabled and returns to your account when you disable it. ### Firewall Appliance (\$4.99 or \$9.99 / month) Click **Deploy** on the Firewall Appliance card. The Deploy dialog opens with everything you need to bootstrap OPNsense in one form. ![Deploy Firewall Appliance dialog showing OPNsense 26.1 as the appliance, two Size options — 2 vCPU / 4 GB / 50 GB at 4.99/mo and 4 vCPU / 8 GB / 120 GB at 9.99/mo — a Configuration block with Hostname, Timezone, and four toggles (Enable SSH, SSH Password Auth, SSH Root Login, Web Admin on WAN), and a Credentials section with an auto-generated Admin Password and copy/regenerate buttons](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/firewall-appliance-deploy.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=cc161ce93ed4478650c23ea9cd849061) **Pick a size:** | Size | Specs | Price | | - | - | - | | **Small** | 2 vCPU / 4 GB RAM / 50 GB disk | **\$4.99 / month** | | **Large** | 4 vCPU / 8 GB RAM / 120 GB disk | **\$9.99 / month** | The small plan handles a few hundred concurrent connections and a couple of VPN tunnels comfortably. Step up to large for IDS/IPS rules, larger fleets, or many VPN clients. The plan bills like any other VM — accrues continuously, settled month-end on the 1st against your account balance — and unused days are credited back if you delete the gateway mid-cycle. **Configuration:** | Field | Default | What it does | | - | - | - | | **Hostname** | `opnsense` | The OS hostname inside the appliance | | **Timezone** | `Etc/UTC` | OS timezone — set to your operations timezone if you read logs in local time | | **Enable SSH** | On | Whether SSH is enabled at all on the appliance | | **SSH Password Auth** | On | Allow password-based SSH (turn off if you'll only use SSH keys) | | **SSH Root Login** | On | Allow `root` to SSH directly (commonly tightened down post-deploy) | | **Web Admin on WAN** | On | Whether OPNsense's web UI is exposed on the public WAN IP. Turn off if you'll administer it from inside the VPC only | You can change all of these inside OPNsense after deploy — these toggles just set the *initial* config so you can reach the appliance in the first place. **Credentials — copy the admin password BEFORE deploying:** The dialog auto-generates a 24-character admin password. **Copy it now.** The dashboard stores it for display, but the convention is to grab it before clicking Deploy. The regenerate button (the circular arrow) creates a new one if you want. This password is the `root` password for the OPNsense web UI and SSH. Treat it like any other production credential — paste it into your secrets manager. **What "Includes: Public IP (WAN) + VPC NIC (LAN)" means:** The dialog footer notes: *Includes: Public IP (WAN) + VPC NIC (LAN). WAN IP, subnet, gateway, and LAN IP are configured automatically.* Translation: * The appliance gets **two NICs** — `vtnet0` is WAN with a public IPv4, `vtnet1` is LAN sitting at `.1` of your VPC * The WAN settings (public IP, subnet mask, default gateway) and LAN settings (VPC IP, subnet) are pre-baked into the OPNsense config — you don't manually configure them * VMs in the VPC use the LAN IP as their default gateway, just like with the Platform Router **After deploy:** the appliance VM appears in your Compute list with a 🛡 firewall badge. Open the OPNsense web UI at `https://<public_ip>` (or via VNC console if you turned Web Admin on WAN off), log in as `root` / your saved admin password, and configure rules. From there it's vanilla OPNsense — every guide and book about OPNsense applies. ### Switching gateway types Both types are mutually exclusive. To switch: 1. Click **Disable** on the active gateway card 2. The gateway VM is torn down, its public IP returned to your account 3. The card re-renders to show both options again 4. Pick the other and Enable / Deploy There's a brief outage for VPC outbound traffic during the switch — typically under a minute for Platform Router, a couple of minutes for Firewall Appliance. Existing VM-to-VM private traffic inside the VPC is **not** affected. ## VMs tab — attach and detach The **VMs** tab lists every VM attached to the VPC with its private IP, public IP (if any), and specs. Each row has a **Detach** action. * **+ Attach VM** — pick an existing VM in the same region and add it to this VPC * **Detach** — remove the VM's interface in this VPC. The VM keeps running on its other interfaces; if this was its only interface, the detach is blocked For the full attach flow, see [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm). ## Port Fwd tab — public-port forwarding Available only after you've enabled the **Platform Router** gateway (the Firewall Appliance has its own NAT/port-forwarding inside OPNsense). Lets you forward traffic arriving on the router's public IP to specific private VMs. ![Port Fwd tab showing the Platform Router active banner with Router IP 10.7.0.1 and Public IP 23.26.4.98, a Port Forwarding Rules section with subtitle "Forward incoming traffic on 23.26.4.98 to private VMs.", a 0 / 10 rules counter, an + Add Rule button, and an empty state with + Add First Rule](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/port-fwd-empty.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=65e12e44c21305727693756a006d20f1) The header explicitly states the destination IP — *"Forward incoming traffic on `23.26.4.98` to private VMs"* — so you always know which public IP your rules ride on. That's the same `PUBLIC IP` shown on the gateway card. | Field | Example | Notes | | - | - | - | | **Public port** | `2222`, `8080` | The port on the router's public IP. Avoid ports the router uses for its own services (DHCP, DNS) | | **Private IP** | `10.7.0.5` | The VPC-internal IP of the destination VM. Must be in the VPC's range and currently in use | | **Private port** | `22`, `80` | The port on the destination VM where the service is actually listening | | **Protocol** | TCP / UDP | Most use cases are TCP | Up to **10 rules per VPC** — the counter reads `0 / 10 rules` when empty. Add with **+ Add Rule** (or **+ Add First Rule** in the empty state), delete with the trash icon on each row. Rules apply within a few seconds. **Common patterns:** | Goal | Rule | | - | - | | SSH to a private VM through the router | `2222 → 10.7.0.5:22` (TCP) | | Web service through the router | `80 → 10.7.0.10:80` and `443 → 10.7.0.10:443` (TCP) | | Game server | `27015 → 10.7.0.20:27015` (UDP) | If you need more than 10 rules, complex NAT, or rule-level inspection, deploy the **Firewall Appliance** instead — OPNsense supports unlimited rules with full match-on-anything semantics. ## Peering tab: connect two VPCs Peering lets servers in two of your VPCs reach each other on their private IPs. It has no charge of its own. **Both VPCs need:** * An active **Platform Router**. A VPC with a Firewall Appliance can't be peered. * Ranges that don't overlap. **To peer them:** in the **Peering** tab, click **Add Peering**, pick the other VPC under **Peer with**, and click **Create Peering**. Servers in both VPCs get a route to the other VPC within a few minutes, with no restart. Their firewalls must allow the traffic. * **Peering doesn't chain.** Peering A with B and B with C doesn't connect A to C. * **Each peering uses one private IP** in each VPC. * **To remove a peering,** click the trash icon on its row. Traffic between the two VPCs stops. Each VPC keeps that one private IP in use until the other VPC's Platform Router is removed, and until then it can't be deleted. To delete both VPCs, remove one Platform Router first. Peering the same two VPCs again reuses the same IPs. ## Services tab: VPN gateway Reach the VPC from laptops and phones, or connect an office or another network. The gateway costs **\$15 / month** with 10 device connections, and each site-to-site tunnel costs **\$20 / month**. See [Connect over VPN](/products/network/vpc/quickstart-guides/connect-with-vpn). The tab also shows **Load Balancer** as coming soon. It isn't available yet. ## Delete the VPC The red **Delete VPC** action is on the top-right of the detail page (and as the bottom item in the row menu). It's disabled while any VM is attached — the dashboard shows `Delete (has VMs)` as a hint. To delete: 1. Detach every VM from the VMs tab (or delete them entirely) 2. Click **Delete VPC**, confirm For the full flow including which other things might be holding onto the VPC, see [Delete a VPC](/products/network/vpc/quickstart-guides/delete-vpc). ## Related > [card] [Create a VPC](/products/network/vpc/quickstart-guides/create-vpc) > > Set up a new VPC. > [card] [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) > > Add a VM to this VPC. > [card] [Delete a VPC](/products/network/vpc/quickstart-guides/delete-vpc) > > Remove an empty VPC. # Use the Networking diagram Source: https://docs.rafftechnologies.com/products/network/vpc/quickstart-guides/use-networking-diagram Visualize every VPC, VM, and public IP in your account on one interactive canvas — and manage them inline with click-to-action menus <sub>Updated May 8, 2026</sub> The **Networking** page in the dashboard opens to a live, interactive diagram of your private network: every VPC, every VM that lives in one, and every public IP attached to a VM, drawn in their actual relationships. It's the fastest place to answer questions like *"which VPC is this VM on?"*, *"which IP is attached to which server?"*, and *"can I detach this without breaking anything?"* — and to take action without jumping between tabs. ## Open the page In the left sidebar, click **Networking**. The page opens on the **Diagram** tab by default. ![Networking page on the Diagram tab showing four tabs across the top (Diagram / VPCs / Public IPs / Firewall) and three VPC cards as green dashed boxes, each with a VM card and a public IP chip floating above](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/network/vpc/networking-diagram-overview.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=c186588ce3dbeb45b0bc29d9e611831f) Across the top there are four tabs: | Tab | What it shows | | - | - | | **Diagram** | Interactive map of VPCs, VMs, and public IPs — what this page is about | | **VPCs** | Flat list of every VPC with CIDR, IP usage, region, attached VMs | | **Public IPs** | Every IPv4 / IPv6 address you hold, free or assigned | | **Firewall** | Security rules — inbound and outbound rules attached to VMs | ## Reading the diagram Each entity on the canvas has a fixed shape: | Shape | What it is | | - | - | | **Green dashed box** | A VPC. Header shows the VPC name; footer shows CIDR, IP usage (e.g. `1/253 IPs`), and region. | | **White card inside a VPC** | A VM that's attached to that VPC. Shows VM name, vCPU/RAM, and its private IP inside the VPC (e.g. `10.7.0.2`). | | **Blue chip floating above a VM** | A public IP attached to the VM. Click it for actions. | | **Green Gateway card hanging below a VPC** | An active **Internet Gateway** for that VPC (Platform Router or Firewall Appliance). Shows the gateway's router IP and public IP. | Drag with the canvas to pan, scroll to zoom, or use the `+` / `−` controls in the bottom-left. The expand icon in the top-right opens a fullscreen view. ### How a VPC with a gateway looks When you enable an Internet Gateway on a VPC (see [Manage a VPC → Internet Gateway](/products/network/vpc/quickstart-guides/manage-vpc#internet-gateway--platform-router-vs-firewall-appliance)), the diagram adds a **Gateway** card connected to the bottom of that VPC: ![Networking diagram showing one VPC vpc-ubuntu-1cpu-2gb-01-edc... with one VM ubuntu-1cpu-2gb-01 holding private IP 10.7.0.2 and public IP 23.26.4.27, and a Gateway card hanging below the VPC with router IP 10.7.0.1 and public IP 23.26.4.98](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/networking-diagram-with-gateway.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=cfbdfd25f1cfb52f5ee4d81f0d37239f) The Gateway card shows the two IPs that matter: | Line | What it means | | - | - | | **🌐 Gateway** | Header — the icon turns green when the gateway is active | | **Router IP** (top, e.g. `10.7.0.1`) | The gateway's address inside the VPC. Always `.1` of the VPC's CIDR. VMs use this as their default gateway for outbound traffic | | **Public IP** (bottom, e.g. `23.26.4.98`) | The gateway's WAN-side public IPv4. Outbound NAT and port-forwarding rules ride on this address | The Gateway card represents both gateway types — a Platform Router and a Firewall Appliance look identical here. To see which one is active, open the VPC's detail page (the gateway card on that page tells you, and clicking the appliance VM in Compute confirms it). The diagram itself is intentionally simple — it's the at-a-glance map, not the gateway control panel. The card appears the moment the gateway is enabled and disappears when you Disable it from the VPC detail page. ## The three action menus Every entity on the canvas has a **`⋮`** (three-dot) menu. The actions you get depend on what you click. ### Public IP — Copy or detach Click the blue IP chip floating above a VM: ![Context menu opened on a public IP chip showing two options: Copy IP and Detach from VM (in red)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/networking-diagram-public-ip-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=172afef1a4476a10008846dfe1441b59) | Action | Effect | | - | - | | **Copy IP** | Copies the address to your clipboard | | **Detach from VM** | Releases the public IP from this VM. The IP returns to your account as unassigned — it isn't deleted. Reassign it from the **Public IPs** tab. | Detaching a public IP **disconnects any active SSH/RDP session** routed through it. If the VM has no other public IP, it becomes reachable only from inside its VPC. ### VM — View or detach from VPC Click the `⋮` on a VM card: ![Context menu opened on a VM card showing two options: View VM (link out) and Detach from VPC (in red)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/networking-diagram-vm-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=25ea4f80ca5a01a525a4d0aeb1e01d51) | Action | Effect | | - | - | | **View VM** | Opens the VM detail page in a new context | | **Detach from VPC** | Removes the VM's interface in this VPC. The VM stays running but loses the private IP from this VPC's range. | A VM must remain reachable on **at least one network** — Raff blocks the detach if it would leave the VM with no interfaces. If the VM only has its VPC NIC and no public IP, attach a public IP first or move it to a different VPC before detaching. ### VPC — Add VM, rename, delete Click the `⋮` on a VPC card: ![Context menu opened on a VPC card showing three options: Add VM, Rename, and Delete (in red)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/network/vpc/networking-diagram-vpc-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=0c923a4c2e65700cf75ca1bead8f9539) | Action | Effect | | - | - | | **Add VM** | Opens the VM-attach flow scoped to this VPC — pick an existing VM in the same region or [create a new one](/products/network/vpc/quickstart-guides/attach-vm) directly into the VPC. | | **Rename** | Inline edit of the VPC name. CIDR and VNI are immutable; only the label changes. | | **Delete** | Removes the VPC. Only allowed when **no VMs are attached** — detach all members first or the action is blocked. | Deleting a VPC frees its CIDR for reuse and releases its VNI. The action is permanent. ## Reading public-network state The diagram answers the most common "what's attached to what" questions at a glance: * **VM with no public IP** — no blue chip floats above the card. The VM is reachable only over its VPC. * **VM with multiple public IPs** — multiple chips stack above the card. * **VM in multiple VPCs** — the same VM card appears inside each VPC's box, with its private IP from that VPC's range. * **VPC with no internet gateway** — no Gateway card hangs below the VPC. VMs reach the internet only via their own public IPs. * **VPC with internet gateway** — a green Gateway card hangs below the VPC showing router IP and public IP — see above. * **Empty VPC** — green box with no VM cards. Safe to delete (or attach a VM with the VPC menu). * **IP usage indicator** — each VPC footer shows `1/253 IPs us-east` style — number of IPs in use vs. total usable in the CIDR. Watch this when fleets grow toward the prefix's limit. ## When to use the Diagram vs the list tabs | Use the **Diagram** when | Use **VPCs / Public IPs / Firewall** lists when | | - | - | | You're orienting — "what does my network look like?" | You're searching — "find the VPC named `prod-data`" | | You want to detach an IP or VM by clicking the thing itself | You want to bulk-edit or sort by CIDR / region | | You're explaining your network to a teammate | You're auditing rules and need a flat table | | You need to see which VM holds which public IP | You're creating new resources in bulk | The two views are kept in sync — anything you do in the diagram shows up in the list tabs immediately, and vice versa. ## Related > [card] [Create a VPC](/products/network/vpc/quickstart-guides/create-vpc) > > Add a new private network. > [card] [Attach a VM](/products/network/vpc/quickstart-guides/attach-vm) > > Move an existing VM into a VPC. > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > Why two VPCs can use the same CIDR and never see each other. # VPC troubleshooting Source: https://docs.rafftechnologies.com/products/network/vpc/troubleshooting Common VPC problems — CIDR rejection, IPs that don't talk to each other, DNS not propagating, port forwarding not working, gateway and delete blocks — and the fix for each <sub>Updated November 9, 2026</sub> The most-seen issues with Raff VPCs and the fix that resolves each. Most come from one of three categories: **the dashboard rejecting input** (CIDR validation, specific-IP conflicts), **the network not behaving as expected after a change** (DNS lag, MTU surprises, default-route confusion), or **delete/detach blocks** (the safety rules in [Delete a VPC](/products/network/vpc/quickstart-guides/delete-vpc)). If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). ## Create and CIDR validation > [accordion] `CIDR prefix must be between /16 and /28` > > **What's happening:** you typed a Custom CIDR with a prefix outside the allowed range. > > **Fix:** stick to **/16 through /28**. Bigger than `/16` (e.g. `/15`, `/8`) is rejected — too large; smaller than `/28` (e.g. `/30`, `/32`) is rejected — too small to be useful (a `/28` only has 13 usable IPs as it is). > > For most workloads, the **Recommended /20** preset (\~4,093 IPs) is the right answer. Only use Custom CIDR when the suggested ranges conflict with your on-prem network. > [accordion] `CIDR must be in private range (10.x.x.x, 172.16-31.x.x, 192.168.x.x, or 100.64-127.x.x)` > > **What's happening:** you used a public IP block as the VPC CIDR. > > **Fix:** use one of the four allowed private ranges: > > * `10.0.0.0/8` (RFC 1918) > * `172.16.0.0/12` (RFC 1918) > * `192.168.0.0/16` (RFC 1918) > * `100.64.0.0/10` (RFC 6598 — carrier-grade NAT range, useful when 10/172/192 are exhausted) > > Public ranges (`8.0.0.0/8`, `1.0.0.0/8`, etc.) are rejected because the VPC's gateway would conflict with internet routing. > [accordion] CIDR rejected for alignment — `192.168.1.50/20` won't work > > **What's happening:** the network address doesn't align with the prefix. > > **Fix:** the network bits must be zeros. `192.168.1.50/20` is invalid because a `/20` block always starts on a 16-bit boundary — the correct form is `192.168.0.0/20`. > > Quick rule: for prefix `/N`, the host bits (the last `32 - N` bits) must all be zero. If you're not sure, type the *network* address you want and let the validator confirm. > [accordion] VPC name already exists > > **What's happening:** another VPC in your account has the same name. > > **Fix:** VPC **names** must be unique inside an account. CIDRs can overlap freely (VXLAN VNI handles isolation), but two VPCs can't share the same label. Pick a different name — `prod-2`, `staging-east`, etc. ## VMs in the same VPC can't reach each other > [accordion] Two VMs in the same VPC can't ping each other on private IPs > > **What's happening:** they're attached to the VPC but traffic isn't flowing. > > **Most likely causes, in order:** > > 1. **Firewall rules on the VMs** — Raff's Firewall product or the guest's OS-level firewall (`ufw`, `iptables`, Windows Firewall) is dropping ICMP or the port you're testing. Open the relevant port between the VMs' private IPs. > 2. **Wrong VPC NIC selected on the source VM** — if the VM is in multiple VPCs, run `ip a` (Linux) or `Get-NetIPAddress` (Windows) to confirm which interface holds which VPC's IP. Bind your test (`ping -I <iface>`, `psping -s <local_ip>`) to the right NIC. > 3. **DHCP didn't run on the new interface** — after attaching to a VPC, Linux usually auto-configures `eth1` / `enp1s0`. If the new NIC has no IP, run `dhclient -v <iface>` (Linux) or check Disk Management → Adapters (Windows). > 4. **MTU mismatch on a tunneled / containerized workload** — see the MTU accordion below. > > The VPC layer itself is L2 — packets should always reach the destination's NIC. If they're not, the issue is on one of the two VMs, not the VPC. > [accordion] Two VMs with the same private IP can't reach each other > > **What's happening:** they're in **different VPCs** that happen to share a CIDR. > > **Why:** Raff allows CIDR overlap across VPCs because each VPC is a separate VXLAN segment with its own VNI. Two VMs holding `10.0.0.5` in different VPCs are isolated by design — that's the feature, not a bug. > > **Fix:** put both VMs in the **same VPC**. Peering won't help here, because VPCs with overlapping ranges can't be peered. To keep two VPCs, recreate one with a different range, then [peer them](/products/network/vpc/quickstart-guides/manage-vpc#peering-tab-connect-two-vpcs). > [accordion] Large packets break, small packets work — MTU issue > > **What's happening:** TCP works for short connections, then stalls when the payload grows. Or `ping` works at default size but fails with `-s 1500`. > > **Cause:** something in the path has its MTU hard-coded to 1500. Raff's VPC interfaces use **MTU 8950** (jumbo frames, 9000 minus 50 bytes of VXLAN overhead). > > **Fixes (pick one):** > > * **Set the guest's interface MTU to 8950** to use jumbo frames end-to-end. Linux: `ip link set <iface> mtu 8950`. Windows: `netsh interface ipv4 set subinterface "<iface>" mtu=8950 store=persistent`. > * **Set the guest's interface MTU to 1500** if you can't use jumbo frames (some appliances, some kernels). Slower but always safe. > * **For containers and overlays** (Docker, Kubernetes CNI) running on top of the VPC — set the bridge's / CNI's MTU explicitly. Docker: `--mtu=8950` or `--mtu=1500`. Kubernetes Calico/Flannel/Cilium: configure in the CNI manifest. > * **For tunnels** (WireGuard, IPsec) — subtract the tunnel overhead from 8950 (or 1500) when sizing the inner MTU. WireGuard adds 80 bytes; IPsec varies. ## DNS > [accordion] DNS change isn't applied to existing VMs > > **What's happening:** you changed the VPC's DNS in **Edit DNS Servers** and `/etc/resolv.conf` (or the Windows DNS settings) on existing VMs still shows the old value. > > **Why:** DNS is delivered to VMs over **DHCP**. Existing VMs only pick up the change when they renew their lease — which can take minutes to hours depending on the image's DHCP client config. > > **Force renewal inside the guest:** > > * **Linux** — `dhclient -r && dhclient` (releases and re-requests). Or `systemctl restart systemd-networkd` / `systemd-resolved`. > * **Windows** — `ipconfig /renew` from an elevated prompt. Then `ipconfig /flushdns` to clear cache. > * **Either** — reboot the VM. Always works. > > The dialog shows "Changes will be applied to all connected VMs in the background" — that's accurate, just not instantaneous. > [accordion] VMs can't resolve anything after pointing DNS at an internal resolver > > **What's happening:** you set the VPC's Primary DNS to a VM inside the VPC (e.g. an internal PowerDNS / CoreDNS), and now no VM can resolve names. > > **Most likely causes:** > > 1. **The resolver VM is down** — start it; DHCP only re-checks on lease renewal, so the existing VMs won't recover until that runs. > 2. **The resolver VM isn't listening on its VPC IP** — bind it to `0.0.0.0` or to the specific VPC IP. `ss -lnup | grep :53`. > 3. **The resolver VM has a firewall blocking UDP/TCP 53** — `ufw allow 53` or open in Raff's Firewall. > 4. **A DNS loop** — the resolver itself uses Raff's VPC DNS as upstream, which now points back at it. Set its upstream to a real resolver (`8.8.8.8`, `1.1.1.1`). > > **Quick recovery:** revert Primary DNS to `8.8.8.8` from the Edit DNS dialog, force-renew on the VMs, then debug the resolver out-of-band. ## Internet Gateway and port forwarding > [accordion] VMs in the VPC have no internet after enabling Platform Router > > **What's happening:** you enabled the **Platform Router** but VMs can't reach `8.8.8.8`. > > **Most likely causes:** > > 1. **The VM has its own Public IP** — and its default route goes through the public NIC, not the VPC NIC. The VM is using its public IP for outbound, not the router. This is usually fine; check `ping 8.8.8.8` works (it does, just not via the router). > 2. **A VM without a public IP has no default route via the VPC gateway.** `ip route` should show `default via 10.x.0.1`. If it doesn't, restart the VM so it picks up its network settings again. Do not add this route on a VM that has a public IP: it already has one default route, and a second one breaks outbound traffic. > 3. **The router is still provisioning** — first deploy takes a minute or two. The detail page's gateway badge flips to active when ready. > 4. **DNS isn't set or isn't reachable** — see the DNS accordions above. > [accordion] Port forwarding rule doesn't work > > **What's happening:** you added a rule mapping `public_port → private_ip:private_port` but external traffic to that port doesn't reach the VM. > > **Checklist, in order:** > > 1. **Platform Router enabled?** — port forwarding is only available with the Platform Router gateway. The Port Fwd tab is hidden / blank otherwise. > 2. **Private IP is in the VPC's range and currently in use** — typo'd IPs silently fail. Confirm the VM's IP via the VMs tab on the VPC detail page. > 3. **The destination VM has no public IP of its own.** A VM with its own public IP sends its replies out through that IP, not back through the router, so a forward to it cannot work. Creating such a rule is refused; open the port on that VM's firewall and use its own public IP instead. > 4. **The destination VM is listening on `private_port`** — `ss -lnt | grep :<port>` (Linux) or `netstat -an | findstr :<port>` (Windows). > 5. **The destination VM's firewall allows inbound on `private_port`** — both Raff Firewall rules and the guest's OS firewall must allow it from the router's private IP. > 6. **You're testing from outside the VPC** — `curl <router_public_ip>:<public_port>` from your laptop. Testing from inside the VPC takes a different path and may not exercise the rule. > 7. **At the 10-rule limit?** — Platform Router supports up to **10 forwarding rules per VPC**. Beyond that, deploy a Firewall Appliance (OPNsense) for unlimited rules. > [accordion] Firewall Appliance stuck on Deploy > > **What's happening:** you clicked Deploy on the Firewall Appliance card, the gateway badge stays as "deploying" or reverts after a few minutes. > > **Why:** OPNsense bootstrap failed. The image (OPNsense 26.1) requires the FAT32 config disk to attach correctly on first boot. > > **Fix:** in most cases, click Deploy again — transient infra issues clear on retry. If it fails twice, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with the VPC ID. Don't try to log into the partial OPNsense VM via VNC; the bootstrap script needs to complete first. > [accordion] Lost the OPNsense admin password before saving it > > **What's happening:** you deployed the Firewall Appliance and didn't copy the auto-generated password from the dialog before clicking Deploy. > > **Recovery:** the dashboard stores the password — open the deployed appliance VM in **Compute** to view it, or check the VPC's Internet Gateway card on the detail page (the password is exposed there too). If somehow neither shows it, **Disable** the gateway and **Deploy** again — you'll get a fresh password to copy. Existing OPNsense rules are lost on redeploy, so this is only a clean option before you've configured anything. > > **Going forward:** the dialog hints "(copy before deploying)" next to Credentials for a reason. Paste the password into your secrets manager *before* clicking Deploy. ## Site-to-site VPN > [accordion] IPsec tunnel doesn't connect > > **Check your device, in order:** > > 1. **Local ID is your device's public IP**, the same IP you entered as **Remote gateway IP** on the tunnel. Any other ID, such as a private IP or a hostname, is refused. Some devices call this field **My identifier**. > 2. **Settings match:** IKEv2, AES-256, SHA-256, DH group 14, and the tunnel's preshared key. > 3. **Your site's firewall allows UDP 500 and 4500** to and from the gateway's public IP. ## Attach, detach, and delete blocks > [accordion] VM doesn't appear in the Add VM dropdown > > **What's happening:** the VM you want to attach isn't in the **Select a VM** list. > > **Possible reasons:** > > 1. **Already attached to this VPC** — the dropdown only shows VMs not currently in the target VPC. Check the VMs tab. > 2. **In a different region** — VPCs are region-scoped. A `us-east` VPC can only hold `us-east` VMs; cross-region attach is not possible. > 3. **VM is in a transient state** — `creating`, `deleting`, `migrating`. Wait for it to settle, then refresh the dropdown. > 4. **Caching** — close and reopen the dialog, or refresh the page. > [accordion] Specific IP rejected — already in use or in reserved range > > **What's happening:** the IP you typed isn't accepted. > > **Fix — check three things:** > > 1. **Reserved IPs** — `.0` (network), `.1` (gateway), and `.255` (broadcast on `/24` and larger) are always reserved. Pick anything else in the Available range. > 2. **In-use** — another VM in the same VPC already holds that IP. The dialog shows the conflict; pick a different one or detach the holder first. > 3. **Outside the CIDR** — typing `10.7.1.5` into a `10.7.0.0/24` is silently outside the range. Stay inside the **Available range** shown in the dialog. > > Or just leave it on **Auto-assign** unless you have a strong reason for a fixed IP. > [accordion] Detach blocked — `VM has no other interfaces` > > **What's happening:** clicking Detach on a VM in the VMs tab fails because the VM would be left with zero network interfaces. > > **Fix:** give the VM another way to reach the network **before** detaching: > > * **Attach a Public IP** to the VM directly, or > * **Attach the VM to another VPC** first, then come back and detach from this one. > > A VM with no NICs is useless and unreachable, so Raff blocks the action. > [accordion] `Delete (has VMs)` — delete action greyed out > > **What's happening:** you're trying to delete a VPC that still has VMs attached. The Delete option in the row menu and the detail-page header are both disabled. > > **Fix:** clear the VMs first. Two paths: > > * **Detach** every VM (VPC detail → VMs tab → Detach on each row) if you want them to keep running on other interfaces. > * **Delete** the VMs from the **Compute** page if you're tearing down. Use the VM-delete dialog's "delete attached VPCs" option to delete the VPC at the same time as the last VM — saves a step. > > See [Delete a VPC](/products/network/vpc/quickstart-guides/delete-vpc) for the full flow including shared-VPC safety rules. > [accordion] Delete still fails after the VMs are gone > > **What's happening:** the VMs column shows `0 VMs` but the API or the detail page still rejects the delete. > > **Possible causes:** > > 1. **A pending Internet Gateway provision** — if you clicked Enable on Platform Router or Deploy on Firewall Appliance and the gateway VM is still creating, the VPC is locked. Wait for it to finish or fail, then retry. > 2. **A locked operation** — rename or DNS update in flight. Refresh the page and retry. > 3. **Stale dashboard cache** — the API is the source of truth. Refresh, or call the API directly with `gh`-style tooling to confirm. > 4. **A VPN gateway on the VPC:** it isn't deleted with the VPC, and the error can count it as an attached VM. Delete it from the **Services** tab first. > > If it persists for more than a few minutes, contact support with the VPC ID. ## VPC peering > [accordion] Peering tab says to enable the internet gateway > > **Fix:** enable the **Platform Router** on this VPC and on the VPC you want to peer with. Peering needs an active Platform Router on both. > [accordion] VPC isn't in the list, or peering is refused > > **Check these, in order:** > > 1. **VPC isn't in the Peer with list:** it has no active gateway, or the two VPCs are already peered. > 2. **`both VPCs must have a platform router before peering`:** a VPC with a Firewall Appliance can't be peered. Switch it to the Platform Router. > 3. **`cannot peer VPCs with overlapping CIDR ranges`:** a VPC's range can't change. Create a new VPC with a different range and move the servers to it. > [accordion] Peered VPCs can't reach each other > > **Check these, in order:** > > 1. **Give it a few minutes.** Servers get the route to the other VPC within a few minutes, with no restart. > 2. **Server firewalls:** Raff's Firewall and the guest's own firewall must allow traffic from the other VPC's range. > 3. **Peering doesn't chain:** peering A with B and B with C doesn't connect A to C. Peer A and C directly. ## Load balancer > [accordion] Services tab shows Load Balancer as coming soon > > **Status:** a managed load balancer is not available yet. > > **Instead:** run HAProxy, Nginx or Traefik on a small VM in the VPC, or use Raff Kubernetes, which provides ingress controllers. ## Still stuck? Email [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * **VPC name and ID** — copy from the detail page URL or the row's `⋮` → Copy CIDR (and add the name) * **The exact error message** and the time you saw it * **What you tried** from this page Same-day response in business hours; faster for production-impacting issues. ## Related > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > The model that explains most "why doesn't this work?" questions. > [card] [Manage a VPC](/products/network/vpc/quickstart-guides/manage-vpc) > > Detail page tour — gateway, DNS, port forwarding. > [card] [Features & limits](/products/network/vpc/details/features-and-limits) > > Concrete numbers for sizing decisions. # Database backups and point-in-time restore Source: https://docs.rafftechnologies.com/products/store/databases/concepts/backups-and-restore When Raff backs up managed databases, how long backups are kept, and how restore and point-in-time restore work per engine. <sub>Updated October 11, 2026</sub> Raff backs up every managed database every night and keeps the backups in Raff Object Storage, three copies each. PostgreSQL and MySQL also keep a continuous change log, so you can restore to any second, not only to last night. ## How it works ### Per engine | Engine | Nightly backup (02:00 UTC) | Kept | Restore to any second | | - | - | - | - | | **PostgreSQL** | Full backup plus continuous WAL | 30 days | Yes, paid plans | | **MySQL** | Full backup plus binary log | 30 days | Yes, paid plans | | **Valkey** | Snapshot | 30 days | No: last night's snapshot or a manual one | | **ClickHouse** | Full backup, plus incremental every 6 hours | 30 backups | No: backup times | | **Kafka** | None | | Topics are copied across brokers instead | The first backup of a new database runs right after it starts. **Back up now** takes one at any time. ### Restore into a new database The default. Raff creates a new database on the same plan from the backup or point in time, named `<name>-restored` unless you choose. The original keeps running, so you can compare, copy back a table, or switch your app over. The new database is a normal, billed database; high availability is off unless you turn it on. ### Restore in place Overwrites the live database with the older state. Raff first takes a safety snapshot of the current data, then rebuilds the database; it is offline for a few minutes. Writes made after the restore point are gone, except in the safety snapshot. ### Free databases Free databases are backed up every night and restore in place. Point-in-time restore and restoring into a new database come with paid plans. ## When to use it * **A bad deploy or a wrong `DELETE`**: restore into a new database to just before it, then copy the rows back. * **A test copy of production**: restore last night's backup into a new database. * **Rolling the whole database back**: restore in place. ## Trade-offs * Point-in-time restore reaches back to the oldest backup kept, shown in the **Backups** tab as **Restore to any second since...**. * Valkey snapshots are nightly: a restore can lose up to a day of keys. * After a database is deleted, its backups are kept 14 days; within that time only support can restore them. ## Related > [card] [Back up and restore](/products/store/databases/quickstart-guides/back-up-and-restore) > > Step by step in the dashboard. > [card] [High availability and replicas](/products/store/databases/concepts/high-availability-and-replicas) > > Protection against server failures. # Database billing model Source: https://docs.rafftechnologies.com/products/store/databases/concepts/billing-model How managed databases are billed on Raff, monthly or by the hour, and what happens to the bill when you resize or delete. <sub>Updated October 11, 2026</sub> A managed database has one flat price: the plan, plus high availability, read replicas and extra storage if you add them. Backups, monitoring, TLS and traffic are included; there are no egress charges or per-request fees. ## How it works ### Monthly or by the hour Your account's billing mode decides how databases are billed: * **Monthly (the default)**: each paid database is a monthly subscription. The first month is paid at checkout in the dashboard, or charged within seconds when created through the API, CLI or an AI assistant, from your account balance first, then your card. * **Pay-as-you-go**: databases are billed by the hour from your account balance, up to the monthly price. The free plan costs nothing in either mode. ### The price ``` monthly price = plan + plan × high availability share (70%, or 140% for MySQL and Kafka) + plan × read replicas (PostgreSQL, each the same as the plan) + extra storage GB × $0.15 ``` For example, PostgreSQL 2 vCPU · HiMem ($45.99) with high availability: $45.99 + $32.19 = $78.18 a month. ### Changes during the month | Change | Monthly billing | Pay-as-you-go | | - | - | - | | Costs more (bigger plan, high availability, replicas, storage) | The rest of the current month is charged at the new price before it applies | New hourly price from the change | | Costs less | The unused part goes to your account balance after it applies | New hourly price from the change | | Free to paid | Becomes a monthly subscription; the first month is charged | Billed by the hour from the change | | Delete | The unused part of the month goes to your account balance | Billing stops | ## When to use it * **Monthly** for databases that run all the time: one predictable price. * **Pay-as-you-go** (on request) for short-lived databases. ## Trade-offs * A monthly database needs a card that can be charged automatically. * Restoring into a new database creates a new, billed database. ## Related > [card] [Pricing](/products/store/databases/details/pricing) > > Every plan and add-on price. > [card] [Resize a database](/products/store/databases/quickstart-guides/resize-a-database) > > What a change costs before you confirm. # PostgreSQL connection pooling Source: https://docs.rafftechnologies.com/products/store/databases/concepts/connection-pooling The pooled and direct PostgreSQL addresses on Raff, when to use each, and what transaction pooling changes for your app. <sub>Updated October 11, 2026</sub> Every Raff PostgreSQL database comes with a connection pooler (PgBouncer) in front of it. Apps connect to the pooler, which shares a small number of server connections between many app connections. That lets serverless functions and busy apps open hundreds of connections without exhausting the database. ## How it works | Address | Public port | Private port | Use for | | - | - | - | - | | **Transaction pooler** | 6543 | 6432 | App traffic: web servers, workers, serverless functions | | **Direct connection** | 5432 | 5432 | Migrations, `LISTEN/NOTIFY`, long sessions, admin tools | The pooler runs in **transaction mode**: an app connection gets a server connection for one transaction, then gives it back. Between transactions, the next statement may run on a different server connection. The plan sets both limits, for example 25 direct and 200 pooled connections on the 1 GB plan. See [Plans and sizing](/products/store/databases/concepts/plans-and-sizing). ## When to use it Use the **pooler** by default. Use **direct** for: * Schema migrations (Prisma Migrate, Rails, Django, Flyway): many tools need one session for the whole migration. * `LISTEN/NOTIFY`, advisory locks held across transactions, `SET` that should last for the session, temporary tables. * `pg_dump`, `psql` sessions and other admin work. ## Trade-offs * Session state does not survive between transactions on the pooler: `SET`, temporary tables and session-level prepared statements belong on the direct address. * Some drivers use prepared statements by default. With Prisma, add `pgbouncer=true` to the pooled URL; most other drivers work as they are. * A common setup: `DATABASE_URL` on the pooler for the app, `DIRECT_URL` on port 5432 for migrations. ## Related > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Both addresses, ready to copy. > [card] [Plans and sizing](/products/store/databases/concepts/plans-and-sizing) > > Connection limits per plan. # Database engines Source: https://docs.rafftechnologies.com/products/store/databases/concepts/engines PostgreSQL, MySQL, Valkey, ClickHouse and Kafka on Raff, what each is for, versions, and what is different about each. <sub>Updated October 11, 2026</sub> Raff runs five engines. They share the same dashboard, API, plans and billing; what differs is what each is good at and a few engine-specific details. ## How it works ### PostgreSQL The default choice for apps, APIs and AI. Versions 18, 17, 16 and 15; 18 when you do not choose. * Two addresses: a **pooler** (PgBouncer, transaction mode) for app traffic and a **direct** connection for migrations and session features. See [Connection pooling](/products/store/databases/concepts/connection-pooling). * Extensions such as `vector` (pgvector), `pg_trgm` and `pg_stat_statements`. See [Turn on extensions](/products/store/databases/quickstart-guides/turn-on-extensions). * Point-in-time restore to any second, high availability with a standby, and read replicas. * Database `defaultdb`, admin user `raffadmin`. ### MySQL For WordPress, Laravel and apps already on MySQL. Version 8.0 (Percona Server). * One address on port 3306. * High availability runs a 3-node cluster (Galera) where every node holds all data. * Point-in-time restore from the binary log. * Database `defaultdb`, admin user `raffadmin`. ### Valkey The open-source, Redis-compatible in-memory store, version 8. Any Redis client works over TLS (`rediss://`). * Choose at create what happens when memory is full: **Cache** removes the least recently used keys; **Queue or data** keeps every key and refuses new writes. * Snapshots every night; a restore can lose up to a day of keys. * High availability adds a standby with automatic failover (Sentinel). ### ClickHouse Column-oriented analytics: logs, events, metrics, dashboards over billions of rows. Version 25.8. * Two addresses: HTTPS (8443) for HTTP clients and drivers, native TCP (9440) for `clickhouse-client`. * High availability runs two replicas and a coordination service (ClickHouse Keeper). Use `Replicated*` table engines so tables are copied to both. * Load data from CSV or Object Storage in the **Tables** tab. ### Kafka Event streaming between services, version 4.3 (KRaft, no ZooKeeper). * Private only: reach it from your VPC. Clients connect with SASL_SSL and SCRAM-SHA-512 and must trust the database's CA certificate. * High availability runs 3 brokers and copies every topic to all three. * Topics are created on first use, and messages are kept 7 days by default. * No backups: copies on the brokers protect the data. ## Which engine | Need | Engine | | - | - | | A general app database, or vectors for AI | PostgreSQL | | An app built for MySQL | MySQL | | Cache, sessions, rate limits, job queues | Valkey | | Analytics over large event or log tables | ClickHouse | | Streams of events between services | Kafka | ## Trade-offs * The engine and its major version are fixed after create. To move, create a new database and copy the data. * The free plan covers PostgreSQL, MySQL and Valkey. ClickHouse and Kafka start at their smallest paid plan. ## Related > [card] [Plans and sizing](/products/store/databases/concepts/plans-and-sizing) > > Plans, connections and storage per engine. > [card] [Create a database](/products/store/databases/quickstart-guides/create-a-database) > > Pick an engine and create it. # Free database plan Source: https://docs.rafftechnologies.com/products/store/databases/concepts/free-plan The free managed database on Raff, what it includes, when it pauses, and how to upgrade it. <sub>Updated October 11, 2026</sub> Every Raff account can run one free database, PostgreSQL, MySQL or Valkey, with no card and no time limit. It is a real managed database on the same platform as paid ones, sized for trying Raff, side projects and development. ## How it works ### What it includes | | Free plan | | - | - | | Engines | PostgreSQL, MySQL or Valkey (one database in total, any engine) | | Compute | 1 vCPU, 1 GB RAM (Valkey 512 MB) | | Storage | 2 GB NVMe, fixed | | Connections | PostgreSQL 20 direct, 200 pooled; MySQL 30; Valkey 100 | | Backups | Every night, restore in place | | Access | Public address with TLS, VPC, the dashboard tabs | | Region | US East | Not included: high availability, read replicas, extra storage, point-in-time restore, restoring into a new database. ### Pausing after 7 idle days A free database that has had no connections for 7 days is paused. The data is kept; nothing is deleted. * Raff emails you 2 days before it pauses, and when it pauses. * **Resume** it from the database's page or the list. It is back in about a minute, with the same address and password. * A paused database stays paused until you resume it. Raff emails reminders and keeps it at least 90 days. ### Upgrading Click **Upgrade plan** in **Settings** and pick any paid plan of the same engine. The data, address and password stay; the database becomes a normal paid database and can then grow, add high availability and use every feature. ## When to use it * Trying Raff, learning, prototypes, side projects. * Development and preview environments that sleep when nobody uses them. ## Trade-offs * One per account. To create another, upgrade or delete the free one. * Storage is fixed at 2 GB; at 95% PostgreSQL and MySQL become read-only. * Not meant for production: no failover and no restore into a copy. ## Related > [card] [Create a database](/products/store/databases/quickstart-guides/create-a-database) > > The free plan is preselected when you have none. > [card] [Pricing](/products/store/databases/details/pricing) > > Paid plans from \$7.99 a month. # High availability and read replicas Source: https://docs.rafftechnologies.com/products/store/databases/concepts/high-availability-and-replicas How high availability keeps a managed database running when a server fails, per engine, and what PostgreSQL read replicas do. <sub>Updated October 11, 2026</sub> High availability keeps extra copies of the database on separate servers and switches to one automatically when the primary fails. Your apps keep the same address; at most they reconnect. Without it, a database runs on one server and is down until that server is back. ## How it works ### Per engine | Engine | High availability runs | Failover | Price | | - | - | - | - | | **PostgreSQL** | A primary and a standby | Automatic; the address follows the new primary | +70% | | **MySQL** | A 3-node cluster; every node holds all data | Automatic; a proxy sends writes to a healthy node | +140% | | **Valkey** | A primary, a standby and Sentinel | Automatic, within seconds of the primary failing | +70% | | **ClickHouse** | Two replicas and ClickHouse Keeper | Automatic for tables using `Replicated*` engines | +70% | | **Kafka** | 3 brokers; every topic copied to all three | Automatic; a broker can fail without losing messages | +140% | The percentage is added to the plan price. It is not available on the free plan. ### Read replicas (PostgreSQL) A read replica is one more copy of a PostgreSQL database, kept in sync. Each costs the same as the plan. Replicas add copies that can take over; a separate address for sending read queries to replicas is not available yet, so they do not add read capacity today. ### Turning it on and off Turn high availability on or off at any time in **Settings**, or choose it at create. Turning it on adds the copies without losing data; turning it off removes them. See [Resize a database](/products/store/databases/quickstart-guides/resize-a-database). MySQL is the exception: choose high availability when you create the database. A MySQL database without it runs as one server and cannot add it later: create a new MySQL database with high availability and copy the data into it, for example with `mysqldump`. ## When to use it * Production databases your customers depend on. * Anything where minutes of downtime during a server failure cost more than the extra price. Development and staging usually run fine on a single node. ## Trade-offs * The PostgreSQL standby is updated asynchronously: if the primary fails, the last moments of writes may not have reached the standby. Point-in-time restore covers what backups hold. * During a failover, open connections drop; apps that retry reconnect to the same address. * High availability protects against a server failing, not against deleting data by mistake. Backups cover that. ## Related > [card] [Backups and point-in-time restore](/products/store/databases/concepts/backups-and-restore) > > Protection against mistakes and bad deploys. > [card] [Resize a database](/products/store/databases/quickstart-guides/resize-a-database) > > Turn high availability on. # Database networking and security Source: https://docs.rafftechnologies.com/products/store/databases/concepts/networking-and-security Private VPC addresses, public access over TLS, the allowlist, certificates and connection limits for Raff managed databases. <sub>Updated October 13, 2026</sub> A managed database can be reached in three ways: from the dashboard, privately from a VPC, and publicly over the internet. All of them need the database password and use TLS; you choose which ones are open. ## How it works ### The dashboard The **Tables**, **SQL**, **Keys** and **Topics** tabs reach the database from inside Raff. They work with no VPC and no public access. ### Private address (VPC) Connect a VPC and the database gets a private endpoint inside it, `<database_id>.db.raffusercloud.com`, with an IP from the VPC's range. VMs on the VPC connect directly; nothing leaves Raff and there are no egress charges. Kafka is reached this way only. ### Public address Turn on public access and the database gets `<database_id>.public.db.raffusercloud.com` on Raff's public database gateway. No VPC is needed. Each database gets its own pair of public ports, kept while public access is off and reused when you turn it on again. PostgreSQL also answers on the standard ports **5432** (direct) and **6543** (pooled). Many databases share these ports, so the gateway finds yours by the hostname your client sends during the TLS handshake (SNI). Modern drivers do this; for an old client that does not, use the database's own public port. ### TLS **TLS is required.** Databases created from October 13, 2026 refuse unencrypted connections everywhere: on the public ports, inside your VPC and through the PostgreSQL pooler. Valkey, ClickHouse and Kafka have always been TLS only. Databases created before then keep accepting unencrypted PostgreSQL and MySQL connections on their own public port and inside the VPC, so no existing application breaks. Use TLS with them too: the connection strings Raff gives you already do. Each database has its own certificate authority (CA), which your computer does not trust by default: * `sslmode=require` (the connection strings Raff gives you) encrypts without checking the certificate. * To check it too, download the CA on the **Connect** tab and use `sslmode=verify-full&sslrootcert=ca.crt` (PostgreSQL), `--ssl-ca` (MySQL), `--cacert` (Valkey). The certificate names the public hostname. * Kafka clients must use the CA. ### Allowlist With public access on, **Allowed from** lists the IPv4 addresses or ranges that may connect, up to 20. Connections from anywhere else are dropped at the gateway before they reach the database. An empty list allows any address; the password and TLS are still required. ### Limits at the gateway * Each database accepts at most its plan's connection limit through the gateway. * New connections are rate limited to protect the database from connection storms. ## When to use it * **VPC only**: production databases used by your Raff VMs. Nothing is exposed. * **Public with an allowlist**: your office, CI or another cloud, with fixed addresses. * **Public without an allowlist**: development, or apps on platforms with changing addresses (serverless, laptops). Use a strong password, which Raff generates. ## Trade-offs * Public access sends traffic over the internet; a VPC is faster and private. * The allowlist is IPv4 only. * The private hostname is not in the certificate; inside your VPC, use `sslmode=require`. ## Related > [card] [Turn on public access](/products/store/databases/quickstart-guides/turn-on-public-access) > > Switch, hostname, ports and allowlist. > [card] [Connect a VPC](/products/store/databases/quickstart-guides/connect-a-vpc) > > A private endpoint in your VPC. # Database plans and sizing Source: https://docs.rafftechnologies.com/products/store/databases/concepts/plans-and-sizing What a managed database plan includes, connection limits, storage, and what happens when storage fills up. <sub>Updated October 11, 2026</sub> A plan sets a database's CPU, memory, included NVMe storage and connection limit. Pick one that fits now; you can move to a bigger or smaller plan of the same engine at any time. ## How it works ### What a plan includes Each plan has a fixed number of vCPUs, RAM and NVMe storage, plus nightly backups, TLS, monitoring and no egress charges. Plans go from 1 vCPU and 1 GB RAM to 16 vCPUs and 32 GB RAM; **HiMem** plans have twice the memory for the same CPUs. Valkey plans are named by memory (1 GB to 32 GB). See [Pricing](/products/store/databases/details/pricing) for every plan. ### Connections Each plan allows a number of client connections at the same time. | Plan memory | PostgreSQL direct / pooled | MySQL | Valkey | | - | - | - | - | | Free | 20 / 200 | 30 | 100 | | 1 GB | 25 / 200 | 50 | 2,000 | | 2 GB | 50 / 400 | 150 | 4,000 | | 4 GB | 100 / 600 | 250 | 6,000 | | 8 GB | 160 / 800 | 400 | 8,000 | | 16 GB | 240 / 1,000 | 600 | 10,000 | | 32 GB | 380 / 1,500 | 800 | 10,000 | On PostgreSQL, apps should use the pooler: hundreds of app connections share a few server connections. See [Connection pooling](/products/store/databases/concepts/connection-pooling). ### Storage * Each plan includes NVMe storage. On paid plans you can add more in 10 GB steps for \$0.15 per GB per month. * Storage only grows. Growing needs no restart. * At 80% and 90% Raff emails you. At 95%, PostgreSQL and MySQL become **read-only**: reads work, writes are refused, so the disk never fills completely. Writes come back by themselves when usage drops below 90%, after you delete data or grow storage. ### Changing plans Moving to another plan keeps the data, address and password and restarts the database briefly. Storage stays as it is, or grows to the new plan's included size. See [Resize a database](/products/store/databases/quickstart-guides/resize-a-database). ## When to use it * **Free**: trying Raff, side projects, development. One per account. * **1 to 2 vCPU**: small production apps, staging. * **HiMem**: databases that should fit their working set in memory (most PostgreSQL and MySQL production apps, Valkey). * **8 vCPU and up**: heavy analytics (ClickHouse) and high-throughput streams (Kafka). ## Trade-offs * CPU and memory change only with a restart; plan changes take a short pause. * Storage cannot shrink. To use less, restore into a new database with a smaller size. ## Related > [card] [Pricing](/products/store/databases/details/pricing) > > Every plan and its price. > [card] [Resize a database](/products/store/databases/quickstart-guides/resize-a-database) > > Change the plan or grow storage. # Database status and health Source: https://docs.rafftechnologies.com/products/store/databases/concepts/status-and-health What each managed database status means, how Raff checks database health, and which events send you an email. <sub>Updated October 11, 2026</sub> Raff checks every database all the time: the engine itself, the path your apps use to reach it, its storage and its connections. The status in the dashboard says what it found, in plain words. ## How it works ### Statuses | Dashboard | API `status` | Meaning | | - | - | - | | **Creating** | `pending`, `deploying` | Being set up. A database with public access shows as ready only once its public address accepts connections | | **Healthy** | `running` | Answering normally | | **Upgrading**, **Downgrading**, **Updating** | `resizing` | A plan, storage, high availability or replica change is being applied, with a short restart. Not an outage | | **Maintenance** | `resizing`, `moving` | Raff is moving it to other hardware | | **Restoring** | `restoring` | An in-place restore is running | | **Degraded** | `warning` | Running with a problem, for example storage full or a component down | | **Down** | `warning` with `down_since` | Not answering. Raff works on it and emails you | | **Paused** | `suspended` | A free database paused after 7 days without connections. Data is kept | | **Error** | `failed` | Set-up did not finish. If it recovers, it becomes **Healthy** by itself | | **Deleting** | `deleting` | Being deleted | ### Checks * **Engine**: whether it is ready, every few seconds. * **Connection path**: every minute, Raff connects through each database's public address the way your apps do, without logging in. * **Storage and connections**: every minute, faster when storage passes 50%. ### Emails Sent to the project's members: * **Down**: after 2 minutes without answering, and **back up** when it answers again, with how long it was down. * **Storage**: at 80% and 90% of the plan's storage, at most once a day each; when PostgreSQL or MySQL become read-only at 95%, and when writes work again. * **Free databases**: before a free database pauses for idleness, when it pauses, and reminders while it stays paused. ## When to use it * Watch the **Monitoring** tab for trends; rely on the emails for incidents. * A **Degraded** or **Down** database shows the cause on its **Overview** tab. ## Trade-offs * A short restart during a resize is expected and does not count as down. * Statuses refresh every few seconds in the dashboard; the API returns the same values. ## Related > [card] [Monitor a database](/products/store/databases/quickstart-guides/monitor-a-database) > > Charts, slow queries and logs. > [card] [Troubleshooting](/products/store/databases/troubleshooting) > > What to do for each problem. # Managed Databases features and limits Source: https://docs.rafftechnologies.com/products/store/databases/details/features-and-limits Engines, versions, ports, backups, high availability and every limit of Raff managed databases in one place. <sub>Updated October 13, 2026</sub> The facts about Raff Managed Databases in one place. ## Engines | Engine | Versions | High availability | Read replicas | Point-in-time restore | Public access | Free plan | | - | - | - | - | - | - | - | | PostgreSQL | 18, 17, 16, 15 | Primary + standby | Yes | Yes | Yes | Yes | | MySQL | 8.0 | 3-node cluster | No | Yes | Yes | Yes | | Valkey | 8 | Primary + standby + Sentinel | No | No (nightly snapshots) | Yes | Yes | | ClickHouse | 25.8 | 2 replicas + Keeper | No | No | Yes | No | | Kafka | 4.3 | 3 brokers | No | No backups | No | No | ## Addresses and ports | Engine | Private | Public | | - | - | - | | PostgreSQL | 6432 pooled, 5432 direct | 6543 pooled, 5432 direct (by hostname); or the database's own pair | | MySQL | 3306 | The database's own port | | Valkey | 6379 (TLS) | The database's own port | | ClickHouse | 8443 HTTPS, 9440 native | The database's own pair | | Kafka | 9092 (SASL_SSL) | Private only | Hostnames: `<database_id>.db.raffusercloud.com` (private, in your VPC) and `<database_id>.public.db.raffusercloud.com` (public). ## Limits | Item | Limit | Notes | | - | - | - | | Free databases | 1 per account | PostgreSQL, MySQL or Valkey | | Region | US East | | | Storage | Plan storage + extra up to 10,000 GB via the API (500 GB in the dashboard form) | Grows only | | Storage alerts | 80%, 90% | Email, once a day each | | Read-only | At 95% (PostgreSQL, MySQL) | Writes return below 90% | | Connections | Per plan | See [Plans and sizing](/products/store/databases/concepts/plans-and-sizing) | | TLS | Required | Databases created before October 13, 2026 also accept unencrypted PostgreSQL and MySQL connections on their own port and in the VPC | | Allowlist | 20 IPv4 entries | Empty allows any address | | Database users | 20 per database | PostgreSQL, MySQL, ClickHouse | | Read replicas | Up to 5 | PostgreSQL | | Backups | Nightly at 02:00 UTC, kept 30 days | Plus on-demand | | Backups after delete | 14 days | Restore through support | | Free plan idle pause | After 7 days without connections | Data kept; resume in about a minute | | Dashboard SQL | 15 seconds per statement, first 1,000 rows shown | | | Saved queries | 100 per database | | | CSV import | 10 MB per file | PostgreSQL, MySQL | | Metrics history | 7 days | Sampled every minute | ## Included with every database * Nightly backups and on-demand backups (Kafka: replicated topics). * TLS on every connection, private networking, optional public access. * Monitoring, slow queries, logs, activity and email alerts. * No egress charges. ## See also > [card] [Pricing](/products/store/databases/details/pricing) > > Plans and add-ons. > [card] [API Reference](/api-reference/databases/list-databases) > > Endpoints for Managed Databases. # Managed Databases pricing Source: https://docs.rafftechnologies.com/products/store/databases/details/pricing Every Raff managed database plan with its monthly price, high availability, read replica and extra storage prices. <sub>Updated October 11, 2026</sub> Prices are in USD per database per month, region US East. Backups, monitoring, TLS and traffic are included; there are no egress charges. Pay-as-you-go accounts pay the same by the hour, up to the monthly price. See [Billing model](/products/store/databases/concepts/billing-model). ## Add-ons | Add-on | Price | Engines | | - | - | - | | High availability | +70% of the plan | PostgreSQL, Valkey, ClickHouse | | High availability | +140% of the plan (3 nodes) | MySQL, Kafka | | Read replica | The plan price, per replica | PostgreSQL | | Extra storage | \$0.15 per GB per month, in 10 GB steps | All paid plans | ## PostgreSQL | Plan | vCPU | RAM | Storage | Monthly | With high availability | | - | - | - | - | - | - | | Free | 1 | 1 GB | 2 GB | Free | Not available | | 1 vCPU | 1 | 1 GB | 25 GB | \$7.99 | \$13.58 | | 1 vCPU · HiMem | 1 | 2 GB | 50 GB | \$22.99 | \$39.08 | | 2 vCPU | 2 | 2 GB | 50 GB | \$31.99 | \$54.38 | | 2 vCPU · HiMem | 2 | 4 GB | 80 GB | \$45.99 | \$78.18 | | 4 vCPU | 4 | 4 GB | 80 GB | \$59.99 | \$101.98 | | 4 vCPU · HiMem | 4 | 8 GB | 120 GB | \$82.99 | \$141.08 | | 8 vCPU | 8 | 8 GB | 120 GB | \$109.99 | \$186.98 | | 8 vCPU · HiMem | 8 | 16 GB | 180 GB | \$146.99 | \$249.88 | | 16 vCPU | 16 | 16 GB | 200 GB | \$206.99 | \$351.88 | | 8 vCPU (32GB) | 8 | 32 GB | 240 GB | \$293.99 | \$499.78 | | 16 vCPU · HiMem | 16 | 32 GB | 360 GB | \$367.99 | \$625.58 | ## MySQL | Plan | vCPU | RAM | Storage | Monthly | With high availability | | - | - | - | - | - | - | | Free | 1 | 1 GB | 2 GB | Free | Not available | | 1 vCPU | 1 | 1 GB | 25 GB | \$7.99 | \$19.18 | | 1 vCPU · HiMem | 1 | 2 GB | 50 GB | \$22.99 | \$55.18 | | 2 vCPU | 2 | 2 GB | 50 GB | \$31.99 | \$76.78 | | 2 vCPU · HiMem | 2 | 4 GB | 80 GB | \$45.99 | \$110.38 | | 4 vCPU | 4 | 4 GB | 80 GB | \$59.99 | \$143.98 | | 4 vCPU · HiMem | 4 | 8 GB | 120 GB | \$82.99 | \$199.18 | | 8 vCPU | 8 | 8 GB | 120 GB | \$109.99 | \$263.98 | | 8 vCPU · HiMem | 8 | 16 GB | 180 GB | \$146.99 | \$352.78 | | 16 vCPU | 16 | 16 GB | 200 GB | \$206.99 | \$496.78 | | 8 vCPU (32GB) | 8 | 32 GB | 240 GB | \$293.99 | \$705.58 | | 16 vCPU · HiMem | 16 | 32 GB | 360 GB | \$367.99 | \$883.18 | ## Valkey Valkey keeps its data in memory; storage holds its snapshots. | Plan | vCPU | RAM | Storage | Monthly | With high availability | | - | - | - | - | - | - | | Free | 1 | 512 MB | 2 GB | Free | Not available | | 1 GB | 1 | 1 GB | 4 GB | \$7.99 | \$13.58 | | 2 GB | 1 | 2 GB | 8 GB | \$22.99 | \$39.08 | | 4 GB | 2 | 4 GB | 16 GB | \$45.99 | \$78.18 | | 8 GB | 4 | 8 GB | 24 GB | \$82.99 | \$141.08 | | 16 GB | 8 | 16 GB | 48 GB | \$146.99 | \$249.88 | | 32 GB | 8 | 32 GB | 80 GB | \$293.99 | \$499.78 | ## ClickHouse | Plan | vCPU | RAM | Storage | Monthly | With high availability | | - | - | - | - | - | - | | 2 vCPU · HiMem | 2 | 4 GB | 80 GB | \$59.99 | \$101.98 | | 4 vCPU | 4 | 4 GB | 80 GB | \$77.99 | \$132.58 | | 4 vCPU · HiMem | 4 | 8 GB | 120 GB | \$107.99 | \$183.58 | | 8 vCPU | 8 | 8 GB | 120 GB | \$143.99 | \$244.78 | | 8 vCPU · HiMem | 8 | 16 GB | 180 GB | \$191.99 | \$326.38 | | 16 vCPU | 16 | 16 GB | 200 GB | \$269.99 | \$458.98 | | 8 vCPU (32GB) | 8 | 32 GB | 240 GB | \$383.99 | \$652.78 | | 16 vCPU · HiMem | 16 | 32 GB | 360 GB | \$479.99 | \$815.98 | ## Kafka | Plan | vCPU | RAM | Storage | Monthly | With high availability | | - | - | - | - | - | - | | 2 vCPU · HiMem | 2 | 4 GB | 80 GB | \$79.99 | \$191.98 | | 4 vCPU | 4 | 4 GB | 80 GB | \$103.99 | \$249.58 | | 4 vCPU · HiMem | 4 | 8 GB | 120 GB | \$143.99 | \$345.58 | | 8 vCPU | 8 | 8 GB | 120 GB | \$191.99 | \$460.78 | | 8 vCPU · HiMem | 8 | 16 GB | 180 GB | \$255.99 | \$614.38 | | 16 vCPU | 16 | 16 GB | 200 GB | \$359.99 | \$863.98 | | 8 vCPU (32GB) | 8 | 32 GB | 240 GB | \$511.99 | \$1,228.78 | | 16 vCPU · HiMem | 16 | 32 GB | 360 GB | \$639.99 | \$1,535.98 | ## Free plan One free PostgreSQL, MySQL or Valkey database per account. See [Free plan](/products/store/databases/concepts/free-plan). ## See also > [card] [Features and limits](/products/store/databases/details/features-and-limits) > > What every plan includes. > [card] [List database plans](/api-reference/databases/list-database-plans) > > The same prices from the API. # Managed Databases Source: https://docs.rafftechnologies.com/products/store/databases/index Managed PostgreSQL, MySQL, Valkey, ClickHouse and Kafka on Raff. Ready in seconds, backed up every night, private by default, with high availability and a free plan. <sub>Updated October 11, 2026</sub> Raff Managed Databases run PostgreSQL, MySQL, Valkey, ClickHouse and Kafka for you: Raff sets them up, backs them up every night, applies failover when you turn on high availability, and watches them around the clock. A database is ready in seconds, reachable from your VPC or over the internet with TLS, and every plan includes NVMe storage with no egress fees. One PostgreSQL, MySQL or Valkey database per account is free. ![TODO: Databases list in the Raff dashboard](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/store/databases/hero.png) | Engine | Use it for | Versions | | - | - | - | | **PostgreSQL** | Apps, APIs, AI (pgvector) | 18, 17, 16, 15 | | **MySQL** | WordPress, Laravel, existing MySQL apps | 8.0 | | **Valkey** | Caches, sessions, queues (Redis-compatible) | 8 | | **ClickHouse** | Analytics, logs, events | 25.8 | | **Kafka** | Event streams between services | 4.3 | *** ## Most viewed > [card] [Create a database](/products/store/databases/quickstart-guides/create-a-database) > > Pick an engine and a plan, ready in seconds. > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Connection strings, ports and code for every engine. > [card] [Turn on public access](/products/store/databases/quickstart-guides/turn-on-public-access) > > Reach the database from your laptop or another cloud. > [card] [Back up and restore](/products/store/databases/quickstart-guides/back-up-and-restore) > > Take a backup now, or go back to any second. *** ## Browse > [card] [Quickstart & guides](/products/store/databases/quickstart-guides/create-a-database) > > Step-by-step dashboard tasks. > [card] [Concepts](/products/store/databases/concepts/engines) > > Engines, networking, high availability, backups and billing. > [card] [Details](/products/store/databases/details/features-and-limits) > > Features, limits and pricing. > [card] [Troubleshooting](/products/store/databases/troubleshooting) > > Common issues and recovery. > [card] [API Reference](/api-reference/databases/list-databases) > > Endpoints for Managed Databases. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. ## Also from your tools * **AI assistants**: create and manage databases from Claude, ChatGPT or Cursor with the [Raff MCP server](/products/ai/mcp). * **CLI**: [`raff database`](/reference/cli/database). * **Terraform**: [`raff_database`](/reference/terraform/raff_database) and [`raff_database_user`](/reference/terraform/raff_database_user). # Back up and restore a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/back-up-and-restore Take an on-demand backup, restore a backup into a new database or over the current one, and restore PostgreSQL or MySQL to any second. <sub>Updated October 11, 2026</sub> Raff backs up every database every night at 02:00 UTC. You can also take a backup at any time, restore a backup into a new database while the original keeps running, or overwrite the database with an older state. PostgreSQL and MySQL on paid plans restore to any second in the last 30 days. ## Before you start * A running PostgreSQL, MySQL, Valkey or ClickHouse database. Kafka keeps copies of every topic on its brokers instead of backups. ## Take a backup now Open the database, go to **Backups** and click **Back up now**. It appears in the list as **Manual**, first **in progress**, then ready. ## Restore a backup **1. Pick the backup** In **Backups**, find the backup by the time it was **Taken** and click **Restore**. **2. Choose where** * **Into a new database** (recommended): a new database on the same plan, named `<name>-restored` unless you choose a name. The original is untouched. The new database is billed like any other; on monthly billing it goes through checkout. * **Overwrite this one**: replaces the live data and takes the database offline for a few minutes. Raff takes a safety snapshot first. Type the database name to confirm. **3. Restore** Click **Restore to new database** or **Restore in place**. A new database is ready in about a minute. ## Restore to a point in time (PostgreSQL, MySQL) **1. Pick the moment** In **Restore to a point in time**, use **Rewind to** (**20 minutes ago**, **1 hour ago**, **Yesterday**), the slider, or type a time in **Restore to**. Times are in your local time. **2. Choose where and restore** Choose **Into a new database** or **Overwrite this one**, then click **Restore**. You can restore to any second since the oldest backup kept, shown as **Restore to any second since...** at the top of the tab. ## Free databases Free databases are backed up every night and can be restored over themselves. Restoring into a new database and point-in-time restore come with paid plans. ## Do it from your tools * **API**: [List](/api-reference/databases/list-database-backups), [create](/api-reference/databases/create-database-backup) and [restore](/api-reference/databases/restore-database) * **CLI**: [`raff database backups`, `raff database restore`](/reference/cli/database) * **AI assistant**: `create_backup`, `restore_backup` ## Next steps > [card] [Backups and point-in-time restore](/products/store/databases/concepts/backups-and-restore) > > Schedules, retention and how restore works per engine. > [card] [Delete a database](/products/store/databases/quickstart-guides/delete-a-database) > > What happens to backups after a delete. # Connect a database to a VPC Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/connect-a-vpc Give a managed database a private address inside your VPC so your Raff VMs reach it without the internet. <sub>Updated October 11, 2026</sub> Connecting a VPC puts a private endpoint for the database inside your VPC, with the stable hostname `<database_id>.db.raffusercloud.com`. Your VMs on that VPC connect to it directly, with no public address and no egress charges. ## Before you start * A running database. * A VPC with the VMs that should reach the database. See [VPC](/products/network/vpc). ## Steps **1. Open Access** Open the database and go to the **Access** tab. **2. Connect the VPC** In **Private networking**, choose the VPC in **Select a VPC...** and click **Connect VPC**. It can take a few minutes the first time, while the VPC's router starts. **3. Connect from a VM** Go to **Connect**, choose **Your VPC**, and copy the address. From a VM on the VPC: ```bash theme={null} psql "postgresql://raffadmin:PASSWORD@a1b2c3d4.db.raffusercloud.com:6432/defaultdb?sslmode=require" ``` You can also pick a VPC when you [create the database](/products/store/databases/quickstart-guides/create-a-database). ## Disconnect In **Private networking**, click **Disconnect** and confirm. The data is untouched and public access stays as it was. Connecting a VPC again gives the endpoint a new private IP; the hostname stays the same. ## Do it from your tools * **API**: [`POST /api/v1/databases/{database_id}/vpc`](/api-reference/databases/connect-database-v-p-c), [`DELETE`](/api-reference/databases/disconnect-database-v-p-c) * **CLI**: [`raff database vpc`](/reference/cli/database) ## Next steps > [card] [Networking and security](/products/store/databases/concepts/networking-and-security) > > Private and public addresses side by side. > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Ports and code for every engine. # Connect to a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/connect-to-a-database Find a managed database's connection string, pick the right address and port, and connect from your app or a client. <sub>Updated October 13, 2026</sub> Every database has a connection string ready to copy, plus code for the common clients. Pick where you connect from (the internet or your VPC), copy, and paste it into your app. ## Before you start * A running database. See [Create a database](/products/store/databases/quickstart-guides/create-a-database). * A way in: [public access](/products/store/databases/quickstart-guides/turn-on-public-access) turned on, or a [VPC](/products/store/databases/quickstart-guides/connect-a-vpc) connected. Without either, only the dashboard's own tabs reach the database. ## Steps **1. Open Connect** Open the database and go to the **Connect** tab. **2. Pick where you connect from** * **The internet**: your laptop, another cloud, a tool. Shown when public access is on. * **Your VPC**: Raff servers on the same network. Shown when a VPC is connected. If you created users, pick one under **As user**; otherwise the admin user `raffadmin` is used. **3. Copy the address** Each address card shows the port and a **Copy** button. **Show password** reveals the password in the string. ![TODO: Connect tab with the transaction pooler and direct connection cards](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/store/databases/connect-tab.png) **4. Use it in your app** The code tabs give the same address ready to paste: **URI**, **.env**, and clients for each engine (for PostgreSQL: `psql`, `node`, `python`, `go`, `prisma`). ## Which address and port | Engine | Address to use | Public port | Private port | | - | - | - | - | | **PostgreSQL** | **Transaction pooler** for apps; **Direct connection** for migrations, `LISTEN/NOTIFY` and session settings | 6543 pooled, 5432 direct | 6432 pooled, 5432 direct | | **MySQL** | **MySQL endpoint** | The database's own port | 3306 | | **Valkey** | **Primary endpoint** (`rediss://`, TLS) | The database's own port | 6379 | | **ClickHouse** | **HTTPS endpoint** for HTTP clients; **Native TCP** for `clickhouse-client` | The database's own two ports | 8443 HTTPS, 9440 native | | **Kafka** | **Bootstrap servers** (SASL_SSL, SCRAM-SHA-512) | Private only | 9092 | Hostnames: * Public: `<database_id>.public.db.raffusercloud.com` * Private (inside the VPC): `<database_id>.db.raffusercloud.com` Connections use TLS, and databases created from October 13, 2026 refuse any without it. PostgreSQL on the public ports 5432 and 6543 finds your database by the hostname your client sends over TLS; an old client that does not send it can use the database's own public port, shown in **Access**. See [Networking and security](/products/store/databases/concepts/networking-and-security) and [Connection pooling](/products/store/databases/concepts/connection-pooling). ## Examples ```bash psql theme={null} psql "postgresql://raffadmin:PASSWORD@a1b2c3d4.public.db.raffusercloud.com:6543/defaultdb?sslmode=require" ``` ```bash mysql theme={null} mysql -h a1b2c3d4.public.db.raffusercloud.com -P 20104 -u raffadmin -p --ssl-mode=REQUIRED defaultdb ``` ```bash valkey-cli theme={null} valkey-cli -u "rediss://raffadmin@a1b2c3d4.public.db.raffusercloud.com:20104" --tls --cacert a1b2c3d4-ca.crt ``` ```bash .env theme={null} DATABASE_URL="postgresql://raffadmin:PASSWORD@a1b2c3d4.public.db.raffusercloud.com:6543/defaultdb?sslmode=require" ``` The Connect tab fills in your real host, port and password. To verify the server certificate instead of only encrypting, download the CA certificate on the **Connect** tab and use `sslmode=verify-full` (PostgreSQL) or `--cacert` (Valkey). ## From your laptop to a private database A database on a VPC only, without public access, is reached through a VM on the same VPC: ```bash theme={null} ssh -N -L 5432:a1b2c3d4.db.raffusercloud.com:5432 root@YOUR_VM_IP ``` Then connect to `localhost:5432`. The Connect tab shows this line with your values. ## Next steps > [card] [Manage users](/products/store/databases/quickstart-guides/manage-users) > > Give each app its own user and password. > [card] [Connection pooling](/products/store/databases/concepts/connection-pooling) > > Pooled or direct, and why. # Create a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/create-a-database Create a managed PostgreSQL, MySQL, Valkey, ClickHouse or Kafka database from the Raff dashboard. <sub>Updated October 13, 2026</sub> Create a database by picking an engine, a plan and how it connects. A free or pay-as-you-go database starts within a minute; a monthly database starts right after checkout. ## Before you start * A Raff account and a project to create the database in (the project picker is at the top left). * For a paid plan on monthly billing, a card. Free databases need no card. * Optional: a VPC, if your VMs or apps should reach the database privately. You can create one in the same form. ## Steps **1. Open the create page** Go to **Databases** and click **Create database**, or click **+ Create** at the top right and choose **Managed Database**. **2. Identity: engine, name, version** Pick the engine: **PostgreSQL** (apps, APIs, AI), **MySQL** (WordPress, Laravel), **Valkey** (cache, sessions, queues), **ClickHouse** (analytics, logs) or **Kafka** (event streams). Give it a **Name**, for example `orders-db`. Names are unique within the project. Pick the **Version**; the newest is preselected. The region is **US East**. ![TODO: Identity card with engine cards, name and version](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/store/databases/create-01-identity.png) **3. Compute & storage: pick a plan** Pick a row in the plan table: **Compute**, **RAM**, **NVMe storage**, **Connections** and **Price**. The **Free** plan is preselected when your account has no free database yet. On a paid plan you can add storage in 10 GB steps with **+** (\$0.15 per GB per month). Storage can grow later without downtime, but never shrink. See [Plans and sizing](/products/store/databases/concepts/plans-and-sizing). **4. Engine options** * **PostgreSQL, Turn on now**: `vector` (AI embeddings) is ticked; tick `pg_trgm` for fuzzy text search. More extensions can be turned on later in **Settings**. * **Valkey, Cache or queue?**: **Cache** removes the least recently used keys when memory is full; **Queue or data** (default) never removes keys, and new writes fail when memory is full. **5. Topology** **Single node** for development and staging, or **High availability** for production: copies on separate servers with automatic failover. High availability adds 70% to the plan price (140% for MySQL and Kafka) and is not available on the free plan. For MySQL, choose it now: it cannot be added to a MySQL database later. See [High availability and replicas](/products/store/databases/concepts/high-availability-and-replicas). **6. Network** * **Public access** (on by default): a public address for your laptop, CI or another cloud. TLS and the password are always required; you can limit it to your IP addresses in **Access** after create. Kafka is private only. * **Private network**: **No VPC** (default), **Use existing VPC** or **Create new VPC**. A VPC gives the database a private address your VMs and apps on it use. With public access off and no VPC, only the dashboard reaches the database until you turn one on. See [Networking and security](/products/store/databases/concepts/networking-and-security). **7. Create** Check the **Estimated price** on the right, then: | Your choice | Button | What happens | | - | - | - | | Free plan | **Create free database** | Starts at once, no payment | | Paid plan, pay-as-you-go account | **Create database** | Starts at once, billed by the hour from your balance | | Paid plan, monthly account | **Continue to checkout** | Pay the first month, then it starts | ## Verify The **Creating your database** screen shows each step and turns into **Your database is ready** with its connection string. In the **Databases** list, its status is **Healthy**. A database with public access shows as ready only once its public address accepts connections, so the connection string works the moment you see it. ## Create it another way * **API**: [`POST /api/v1/databases`](/api-reference/databases/create-database) * **CLI**: [`raff database create`](/reference/cli/database) * **Terraform**: [`raff_database`](/reference/terraform/raff_database) * **AI assistant**: [Create a database from chat](/products/ai/mcp/quickstart-guides/create-a-database-from-chat) ## Next steps > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Get the connection string and connect your app. > [card] [Turn on public access](/products/store/databases/quickstart-guides/turn-on-public-access) > > Reach it from outside your VPC. # Delete a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/delete-a-database Delete a managed database, what happens to its data, backups and billing. <sub>Updated October 11, 2026</sub> Deleting a database removes it, its data and its standbys at once, and stops billing. Backups are kept for 14 days after the delete, then removed for good. ## Before you start * Take a final backup or export what you need. After 14 days nothing can be recovered. * Update the apps that use the database. ## Steps **1. Open Settings** Open the database, go to **Settings** and scroll to **Delete database**. **2. Confirm** Click **Delete database**, type the database's name exactly, and click **Delete database** again. You can also delete several databases at once: select them in the **Databases** list and click **Delete**. ## What happens * The database, its data and its addresses are removed at once. Billing stops now. * **Monthly databases**: the unused part of the month is credited to your account balance. * **Backups** are kept for 14 days. Within that window, [contact support](mailto:support@rafftechnologies.com) to restore one into a new database. * The name can be used again at once. The public port is not reused by another database for 7 days. ## Do it from your tools * **API**: [`DELETE /api/v1/databases/{database_id}`](/api-reference/databases/delete-database) * **CLI**: [`raff database delete`](/reference/cli/database) ## Next steps > [card] [Back up and restore](/products/store/databases/quickstart-guides/back-up-and-restore) > > Take a last backup first. > [card] [Billing model](/products/store/databases/concepts/billing-model) > > How credits work on delete. # Manage database users and passwords Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/manage-users Create read-only and read-write users, reveal and rotate passwords, and rotate the admin password of a managed database. <sub>Updated October 11, 2026</sub> Every database starts with one admin user, `raffadmin`. Give each app or person its own user instead, read-only or read-write, so you can rotate or remove one without touching the others. ## Before you start * A running PostgreSQL, MySQL or ClickHouse database. Valkey and Kafka have the admin user only. ## Add a user **1. Open Access** Open the database and go to the **Access** tab. **Users** lists every user, what it **Can** do and who uses it. **2. Create the user** Click **Add user**, enter a name (lowercase letters, digits and `_`, 3 to 31 characters) and pick: * **Read only**: `SELECT` on all tables. For reports, BI and dashboards. * **Read & write**: `SELECT`, `INSERT`, `UPDATE`, `DELETE`. For application traffic. Click **Create user**. **3. Save the password** The password is shown once. Copy it; you can reveal or rotate it later from **Users**. Up to 20 users per database. Names used by the engine or by Raff (`raffadmin`, `postgres`, `root`, `admin` and others) cannot be taken. On PostgreSQL, users get access to the `public` schema, including tables created later by `raffadmin`. On MySQL, to `defaultdb`. ## Rotate a user's password In **Users**, click **New password** on the user's row. The new password is shown once; the old one stops working at once, so update your app first or right after. ## Rotate the admin password In **Access**, **Credentials** card, click **Rotate password**, then click again to confirm. The old password stops working now; every app using `raffadmin` must reconnect with the new one. ## Remove a user Click **Remove** on the user's row and confirm. The user loses access at once; what it created stays in the database. ## Do it from your tools * **API**: [Users](/api-reference/databases/list-database-users), [Rotate admin password](/api-reference/databases/rotate-database-credentials) * **CLI**: [`raff database users`](/reference/cli/database), [`raff database rotate-password`](/reference/cli/database) * **Terraform**: [`raff_database_user`](/reference/terraform/raff_database_user) ## Next steps > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Connect as the new user with **As user**. > [card] [Networking and security](/products/store/databases/concepts/networking-and-security) > > TLS, the allowlist and certificates. # Monitor a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/monitor-a-database Read CPU, memory, storage and connection charts, find slow queries, read the server log and see recent activity for a managed database. <sub>Updated October 11, 2026</sub> The **Monitoring** tab shows how the database is doing: charts for the last hour to the last week, the queries that take the most time, the server log and the activity on the database. Raff also emails you when a database goes down or fills up. ## Before you start * A running database. Numbers appear about a minute after it starts. ## Charts Open the database and go to **Monitoring**, **Charts**. * Pick the window: **1h**, **6h**, **24h** or **7d**. * Tiles: slow queries, peak connections (direct and pooled for PostgreSQL), disk usage, memory and CPU. * **Traffic by client** (PostgreSQL, MySQL): which users send the most work. * **Replication lag** (high availability) and **Archive lag** (PostgreSQL backups). The **Overview** tab shows the same numbers live under **Health**. ## Slow queries Go to **Monitoring**, **Queries** (**Slow commands** on Valkey). The list shows the statements that took the most total time, with how often they ran and their mean time: start there to decide what to index or rewrite. On PostgreSQL, turn on `pg_stat_statements` first: **Settings**, **Extensions**. See [Turn on extensions](/products/store/databases/quickstart-guides/turn-on-extensions). ## Logs Go to **Monitoring**, **Logs** for the newest lines of the server log. **Show system** adds the engine's own background messages. ## Activity **Monitoring**, **Activity** lists what happened to the database (created, resized, backed up, public access changed, password rotated) and who did it. **Export CSV** downloads it. ## Alerts by email Raff emails the project when: | Event | When | | - | - | | The database is down | It has not answered for 2 minutes, and again when it is back | | Storage is high | 80% and 90% of the plan's storage | | Storage is full | 95%: PostgreSQL and MySQL become read-only until usage drops below 90% | See [Status and health](/products/store/databases/concepts/status-and-health). ## Do it from your tools * **API**: [Metrics](/api-reference/databases/get-database-metrics), [history](/api-reference/databases/get-database-metrics-history), [slow queries](/api-reference/databases/get-database-slow-queries), [logs](/api-reference/databases/get-database-logs) * **CLI**: [`raff database metrics`, `slow-queries`, `logs`](/reference/cli/database) ## Next steps > [card] [Resize a database](/products/store/databases/quickstart-guides/resize-a-database) > > More CPU, memory or storage. > [card] [Troubleshooting](/products/store/databases/troubleshooting) > > When something is wrong. # Resize a database Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/resize-a-database Change a managed database's plan, grow its storage, turn high availability on or off, and add PostgreSQL read replicas. <sub>Updated October 11, 2026</sub> Change the plan, storage, high availability or read replicas of a database as it grows. The data, address and password stay the same. A plan change restarts the database briefly; growing storage needs no restart. ## Before you start * A running database. * On monthly billing, a change that costs more goes through checkout for the rest of the current month. See [Billing model](/products/store/databases/concepts/billing-model). ## Change the plan **1. Open Settings** Open the database and go to **Settings**. **Plan and storage** shows the current plan. **2. Pick the new plan** Click **Change plan** (or **Upgrade plan** on a free database) and pick a plan of the same engine. CPU, memory and connection limits change; storage and data stay. **3. Confirm** * **Pay-as-you-go**: click **Change plan**. It applies now with a short restart. * **Monthly, costs more**: click **Continue to checkout** and pay the difference for the rest of the month. * **Monthly, costs less**: nothing to pay; the unused part of this month goes to your account balance. While it applies, the status shows **Upgrading** or **Downgrading**. Clients reconnect after the restart, which takes seconds on PostgreSQL. ## Grow storage In **Plan and storage**, enter the new size in **Storage (GB)** and click **Grow storage**. Extra storage costs \$0.15 per GB per month and applies without downtime. Storage only grows; to use less, restore into a new, smaller database. Free databases have fixed storage: upgrade to a paid plan to grow it. ## Turn high availability on or off In **High availability**, turn the switch on. Raff adds a standby (a 3-node cluster for MySQL and Kafka) on separate servers that takes over automatically if the primary fails. It adds 70% of the plan price, 140% for MySQL and Kafka. Turning it off removes the standby and asks you to confirm: if the server fails, the database is down until it is back. **MySQL**: high availability is chosen when you create the database. A MySQL database created without it runs as one server and cannot add it later: create a new MySQL database with high availability and copy the data into it, for example with `mysqldump`. ## Add read replicas (PostgreSQL) In **Read replicas**, choose how many. Each replica is a copy kept in sync and costs the same as the plan. Replicas protect against losing a server; they do not have their own address for read traffic yet. ## Do it from your tools * **API**: [`POST /api/v1/databases/{database_id}/scale`](/api-reference/databases/scale-database) * **CLI**: [`raff database resize`](/reference/cli/database) * **AI assistant**: `resize_database`, which shows the new price first ## Next steps > [card] [Plans and sizing](/products/store/databases/concepts/plans-and-sizing) > > What each plan includes, connections and storage. > [card] [High availability and replicas](/products/store/databases/concepts/high-availability-and-replicas) > > How failover works per engine. # Turn on PostgreSQL extensions Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/turn-on-extensions Turn on pgvector, pg_trgm, pg_stat_statements and other PostgreSQL extensions on a Raff managed database. <sub>Updated October 11, 2026</sub> PostgreSQL extensions add features to the database: `vector` for AI embeddings, `pg_trgm` for fuzzy search, `pg_stat_statements` for slow query statistics and many more. Turning one on takes a second and needs no restart. ## Before you start * A running PostgreSQL database. ## Steps **1. Open Extensions** Open the database, go to **Settings** and find **Extensions**. It shows how many are on. **2. Find the extension** The most used ones are at the top: `vector`, `pg_trgm`, `pg_stat_statements`, `hstore`, `uuid-ossp`, `citext`, `ltree`, `pgcrypto`, `unaccent`. Use **Search** or **Show all** for the rest. **3. Tick it** Tick the checkbox. The extension is installed in `defaultdb` with anything it depends on. Untick to remove it. `vector` and `pg_trgm` can also be ticked when you [create the database](/products/store/databases/quickstart-guides/create-a-database), so they are ready the moment it starts. ## Common extensions | Extension | For | | - | - | | `vector` | Embeddings and similarity search for AI and RAG (pgvector) | | `pg_trgm` | Fuzzy text search and `LIKE '%...%'` indexes | | `pg_stat_statements` | Slow query statistics in **Monitoring** | | `uuid-ossp`, `pgcrypto` | UUIDs, hashing and encryption functions | | `citext` | Case-insensitive text | | `hstore`, `ltree` | Key-value columns, tree paths | | `unaccent` | Search that ignores accents | Extensions that can reach the server's files or run untrusted languages are not offered. PostGIS is not available yet. ## Do it from your tools * **API**: [List](/api-reference/databases/list-database-extensions) and [turn on or off](/api-reference/databases/set-database-extension) * **CLI**: [`raff database extensions`](/reference/cli/database) * **Terraform**: the `extensions` argument of [`raff_database`](/reference/terraform/raff_database) ## Next steps > [card] [Monitor a database](/products/store/databases/quickstart-guides/monitor-a-database) > > See slow queries once `pg_stat_statements` is on. > [card] [Engines](/products/store/databases/concepts/engines) > > What each engine is for. # Turn on public access Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/turn-on-public-access Give a managed database a public address with TLS, and limit it to the IP addresses you choose. <sub>Updated October 11, 2026</sub> Public access gives the database an address on the internet, so you can connect from your laptop, CI or another cloud. It is free, needs no VPC, and every connection needs TLS and the password. Add an allowlist to accept only your own addresses. New databases have public access on from the start, unless you turned it off on the create form. Use these steps to turn it on later or to limit it to your IP addresses. ## Before you start * A running PostgreSQL, MySQL, Valkey or ClickHouse database. Kafka is private only. ## Steps **1. Open Access** Open the database and go to the **Access** tab. **2. Turn it on** In **Public access**, turn the switch on. It reads **On, TLS required**. The card shows the hostname, `<database_id>.public.db.raffusercloud.com`, and the ports. For PostgreSQL: 6543 (pooled) and 5432 (direct), plus the database's own two ports for clients that cannot send the hostname over TLS. ![TODO: Public access card turned on with hostname, ports and allowlist](https://mintlify.s3.us-west-1.amazonaws.com/rafftechnologiesllc/images/products/store/databases/public-access.png) **3. Limit who can connect (recommended)** Under **Allowed from**, enter an **IP or CIDR** and click **Add**, or click **Add my IP**. Then click **Save addresses**. * Up to 20 entries, IPv4 only. A single address is saved as `/32`. * An empty list means **Anywhere**: anyone with the password can connect. ## Verify Go to **Connect**, choose **The internet**, and connect with the copied string. The switch answers once the address works, usually within a few seconds. ## Turn it off Turn the switch off. The public address stops working at once; your VPC and the dashboard keep working. The database keeps its public port, so turning it on again gives the same address and port. ## Do it from your tools * **API**: [`POST /api/v1/databases/{database_id}/public-access`](/api-reference/databases/set-database-public-access) * **CLI**: [`raff database public`](/reference/cli/database) ## Next steps > [card] [Connect to a database](/products/store/databases/quickstart-guides/connect-to-a-database) > > Connection strings and code. > [card] [Networking and security](/products/store/databases/concepts/networking-and-security) > > How the public address, TLS and the allowlist work. # Work with data in the dashboard Source: https://docs.rafftechnologies.com/products/store/databases/quickstart-guides/work-with-data Browse and edit tables, run SQL, look at Valkey keys and Kafka topics from the Raff dashboard, without installing a client. <sub>Updated October 11, 2026</sub> Each database has a data tab and, for SQL engines, a SQL editor in the dashboard. Use them to look around, fix a row, run a quick query or load a CSV, without a client or an open port. ## Before you start * A running database. The dashboard reaches it without a VPC or public access. ## Tables (PostgreSQL, MySQL, ClickHouse) **1. Open Tables** Open the database and go to **Tables**. Pick the **Schema** (`public` on PostgreSQL, `defaultdb` on MySQL, `default` on ClickHouse) and a table. **2. Look and filter** Use **Filter**, **Sort** and **Columns**. **Export CSV** downloads what you see. **3. Change rows (PostgreSQL, MySQL)** Double-click a cell to change it, then click **Save changes**. **Add row** adds one; select rows to delete them. Tables without a primary key are read-only here; change them with SQL. **4. Create a table or load a CSV** **New table** creates one with columns and foreign keys. **Import CSV** loads up to 10 MB into a table; empty cells become `NULL`. ClickHouse tables are read-only in this tab: it shows the table engine, rows, size on disk, compression and sort key, and **Load data** copies a CSV or an Object Storage file into a table. ## SQL (PostgreSQL, MySQL, ClickHouse) Go to **SQL**, write a statement and click **Run** (⌘↵). * A statement stops after 15 seconds. The first 1,000 rows are shown; **Download CSV** saves them. * **Explain** shows the query plan. * Statements that remove data ask you to confirm with **Run anyway**. * **Save** keeps a query under **Saved queries** for everyone on the account (up to 100 per database). ## Keys (Valkey) Go to **Keys**, search with a pattern such as `user:*`, and open a key to see its value, **Set expiry** or **Delete key**. **Command console** runs Valkey commands, read-only by default; commands that could harm the server (`FLUSHALL`, `CONFIG`, `KEYS` and others) are blocked. ## Topics (Kafka) Go to **Topics** to see each topic's partitions, copies, messages kept, retention and readers with their lag. **New topic** creates one, and you can send a test message or delete a topic. **Command line** runs `TOPICS`, `DESCRIBE`, `CONSUME` and `GROUPS`; reading here never moves a consumer group. ## Do it from your tools * **API**: [Run a query](/api-reference/databases/run-database-query), [Browse](/api-reference/databases/browse-database), [Saved queries](/api-reference/databases/list-database-saved-queries) * **CLI**: [`raff database query`](/reference/cli/database) * **AI assistant**: `run_query` and `run_sql` in the [Raff MCP server](/products/ai/mcp/details/tools) ## Next steps > [card] [Monitor a database](/products/store/databases/quickstart-guides/monitor-a-database) > > Slow queries, metrics and logs. > [card] [Manage users](/products/store/databases/quickstart-guides/manage-users) > > Read-only users for reports and BI. # Managed Databases troubleshooting Source: https://docs.rafftechnologies.com/products/store/databases/troubleshooting Common issues with Raff managed databases and how to fix them. <sub>Updated October 11, 2026</sub> Issues you may run into with managed databases, and how to resolve them. If your problem is not listed, contact [support](mailto:support@rafftechnologies.com). ## Common issues > [accordion] I cannot connect from my laptop > > **What's happening:** the database has no public address, or your address is not allowed. > > **Fix:** > > 1. In **Access**, turn **Public access** on. See [Turn on public access](/products/store/databases/quickstart-guides/turn-on-public-access). > 2. If **Allowed from** has entries, add your address with **Add my IP** and **Save addresses**. > 3. Copy the string from **Connect** with **The internet** selected; private hostnames (without `.public.`) only work inside the VPC. > [accordion] "tlsv1 unrecognized name" or "port 5432/6543 needs TLS" > > **What's happening:** on the public ports 5432 and 6543, PostgreSQL finds your database by the hostname your client sends over TLS. Your client connected without TLS, or did not send the hostname. > > **Fix:** use `sslmode=require` and the full hostname. If the client is too old to send it, connect to the database's own public port, shown in **Access**. > [accordion] My client rejects the certificate > > **What's happening:** each database has its own certificate authority, which your computer does not trust by default. > > **Fix:** download the CA on the **Connect** tab and point your client at it (`sslmode=verify-full&sslrootcert=ca.crt`), or use `sslmode=require`, which encrypts without the check. Inside a VPC use `sslmode=require`: the private hostname is not in the certificate. > [accordion] Too many connections > > **What's happening:** the plan's connection limit is reached. > > **Fix:** on PostgreSQL, connect apps to the pooler (port 6543 public, 6432 private) instead of the direct port. Close idle connections in your app's pool settings. If you still need more, move to a bigger plan. See [Plans and sizing](/products/store/databases/concepts/plans-and-sizing). > [accordion] Writes fail with "read-only transaction" > > **What's happening:** storage reached 95% of the plan, so PostgreSQL or MySQL switched to read-only to protect the data. The **Monitoring** tab shows **Read-only**. > > **Fix:** grow storage in **Settings** (no downtime), or delete data. On PostgreSQL, run `SET default_transaction_read_only = off;` in your session first, then `DROP` or `TRUNCATE` what you do not need. Writes work again once usage is below 90%. > [accordion] My free database is Paused > > **What's happening:** free databases pause after 7 days without connections. The data is kept. > > **Fix:** click **Resume** on the database's page. It is back in about a minute with the same address and password. > [accordion] The database shows Down or Degraded > > **What's happening:** it is not answering, or part of it is not working. The **Overview** tab shows the cause; Raff is alerted and emails you when it is back. > > **Fix:** if the cause is **storage is full**, grow storage. Otherwise, wait for the recovery email, or contact support with the database ID. > [accordion] Slow queries are empty on PostgreSQL > > **What's happening:** query statistics come from `pg_stat_statements`, which is off until you turn it on. > > **Fix:** **Settings**, **Extensions**, tick `pg_stat_statements`. Statistics appear as queries run. > [accordion] Prisma or another driver fails on the pooled address > > **What's happening:** the pooler runs in transaction mode, which does not keep session state or session prepared statements. > > **Fix:** for Prisma add `pgbouncer=true` to the pooled URL, and use the direct port 5432 for migrations (`directUrl`). See [Connection pooling](/products/store/databases/concepts/connection-pooling). > [accordion] I cannot create a free database > > **What's happening:** each account has one free database, any engine, and it is in use. > > **Fix:** use it, upgrade it to a paid plan, or delete it to create another. > [accordion] A paid database asks for a card > > **What's happening:** monthly databases are subscriptions and need a card that can be charged automatically. > > **Fix:** add a card in **Billing**, then create the database again. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The database ID (in the URL and under the name: an 8-character code such as `a1b2c3d4`) * The exact error message and the time it happened * What you have already tried # S3 compatibility Source: https://docs.rafftechnologies.com/products/store/object-storage/concepts/s3-compatibility What S3-compatibility means in practice — the API surface that works on Raff, the AWS-only features that don't, and the gotchas that catch every new integration <sub>Updated November 16, 2026</sub> Raff Object Storage is **S3-compatible**: any AWS S3 SDK or tool can talk to it once you point the SDK at Raff's endpoint with valid Raff access keys. You don't need a Raff-specific client library — the same `boto3`, `aws-cli`, `aws-sdk-go-v2`, `aws-sdk-js`, `rclone`, `s3cmd`, `mc`, Cyberduck, etc. that work against AWS S3 work against Raff. Under the hood, Raff Object Storage runs on **Ceph RGW** (the RADOS Gateway), the same battle-tested S3 implementation behind many production object stores at scale. Ceph RGW implements the S3 API directly, which is why the compatibility surface is broad — the constraints below mirror the standard S3 spec, not Raff-specific quirks. This page covers what that actually means in practice. It's not just "we accept S3 API calls" — there are practical compatibility lines that matter when you're porting code from AWS or building against Raff for the first time. ## What "S3-compatible" guarantees The S3 API surface that's effectively universal across compatible providers (AWS, DigitalOcean Spaces, Cloudflare R2, Backblaze B2, Wasabi, MinIO, Vultr, Raff): | Operation | What it does | Supported on Raff | | - | - | - | | `CreateBucket` / `DeleteBucket` | Bucket lifecycle | ✅ | | `ListBuckets` | List the buckets you own | ✅ | | `ListObjects` / `ListObjectsV2` | List a bucket's contents | ✅ | | `PutObject` / `GetObject` / `HeadObject` / `DeleteObject` | Object CRUD | ✅ | | `CopyObject` | Server-side copy | ✅ | | `CreateMultipartUpload` / `UploadPart` / `CompleteMultipartUpload` / `AbortMultipartUpload` | Multipart upload protocol | ✅ | | `PutObjectAcl` / `GetObjectAcl` | Per-object ACL | ✅ | | `PutBucketAcl` / `GetBucketAcl` | Bucket ACL | ✅ | | `PutBucketPolicy` / `GetBucketPolicy` / `DeleteBucketPolicy` | JSON policy management | ✅ — see the [policy templates](/products/store/object-storage/quickstart-guides/set-public-private#the-seven-policy-templates) | | `PutBucketCors` / `GetBucketCors` | CORS configuration | ✅ | | Presigned URL generation (SigV4) | Time-limited signed download/upload links | ✅ | | Bucket versioning | Keep multiple versions of an object | ✅ — see the [Properties tab](/products/store/object-storage/quickstart-guides/upload-files#bucket-properties-versioning-encryption-tags) | Anything in this table works the same as it does on AWS. If your code uses these, it ports without changes beyond the endpoint and credentials swap. ## What's AWS-only — won't work on Raff (or any S3-compatible provider) These are AWS-specific extensions; they're not part of the S3 API "spec" that compatible providers implement. | AWS-only feature | What it is | Use instead | | - | - | - | | **S3 Select** / **Glacier Select** | Run SQL-style queries against object contents server-side | Read the object, query client-side; or use a database | | **Object Lambda** | Transform objects on-read with AWS Lambda | Do transforms in your application layer | | **Storage Classes** beyond Standard (Glacier, Intelligent-Tiering, IA, Deep Archive) | AWS's tiered storage with lifecycle transitions | Single-class today; an HDD class is on Raff's roadmap for cold data | | **S3 Transfer Acceleration** | AWS edge-network upload speedup | Standard upload to the regional endpoint; multipart parallelism is your performance lever | | **S3 Access Points** / **Multi-Region Access Points** | Named alternative endpoints with their own policies | Use bucket policies directly | | **S3 Object Lock** (full WORM compliance) | Write-once-read-many with regulatory retention modes | Use `Deny Delete` policies for similar effect; full compliance modes not available | | **S3 Replication** (CRR / SRR / RTC) | Cross-region or same-region async replication | App-level replication, or copy + cron | | **Requester Pays** | Charge the requester not the bucket owner for egress | Not available on Raff — not needed, since egress is free | | **IAM principals in bucket policies** | `"Principal": "arn:aws:iam::..."` | Use access-key-based permissions; for fine-grained access, use [Limited access keys](/products/store/object-storage/quickstart-guides/generate-access-keys#limited) | | **SSE-KMS with customer-managed keys** | Server-side encryption tied to a specific KMS key | Encryption-at-rest is on by default; per-object KMS configuration not exposed | | **S3 Tables** / **S3 Tables Buckets** | New AWS Iceberg-table primitive | Use a database / data-lake layer above the bucket | If your code calls any of these explicitly, you'll need to remove or replace the call before targeting Raff. ## Endpoint URL — virtual-host vs path style AWS S3 (and Raff) primarily uses **virtual-hosted style** URLs: ``` https://<bucket>.s3.raffusercloud.com/<key> ``` That's the URL the dashboard shows in the **Object overview** card and the format the SDK uses by default once you configure the endpoint. Most SDKs build it from a base endpoint plus the bucket name automatically. **Path style** is the older form: ``` https://s3.raffusercloud.com/<bucket>/<key> ``` Some SDKs (boto3 in particular) need an explicit `addressing_style="path"` (or `s3ForcePathStyle: true` / `usePathStyle: true` in JS / Go SDK v2) when: * Bucket names contain dots (the wildcard TLS cert doesn't cover nested dots) * You're testing against a local S3-compatible server without DNS wildcards * You hit `SSL: certificate verify failed` errors that look TLS-related When in doubt, **try virtual-host first**; switch to path style only if you hit the cert issue. ## Authentication — SigV4 and the region trap Raff signs requests with **AWS SigV4**. The SDK handles the signing automatically once you give it the access key + secret. The thing to get right is **region**. ``` Region: us-east ``` It's `us-east` — not `us-east-1` (AWS naming). This bites every new integration. Symptoms: * `SignatureDoesNotMatch` errors * `The authorization header is malformed; the region '<x>' is wrong` * Requests work intermittently, then break when the SDK tries a different code path Fix: set the region explicitly in your SDK config: | SDK | Setting | | - | - | | boto3 (Python) | `region_name="us-east"` in `boto3.client(...)` | | aws-cli | `aws --region us-east s3 ls` (or `AWS_REGION=us-east` env var, or `~/.aws/config`) | | AWS SDK v3 (JS) | `region: "us-east"` in client constructor | | AWS SDK v2 (Go) | `config.WithRegion("us-east")` | | rclone | `region = us-east` in the remote config | | s3cmd | `bucket_location = us-east` in `~/.s3cfg` | Don't rely on the SDK's default of `us-east-1` — it's similar enough to silently mostly-work and then fail mysteriously. ## Tooling — what works out of the box Anything that speaks S3 with a configurable endpoint: **Official AWS SDKs** * Python — `boto3` / `aiobotocore` * JavaScript / TypeScript — AWS SDK v2 and v3 * Go — `aws-sdk-go-v2` * Java — AWS SDK for Java * .NET — AWS SDK for .NET * Rust — `aws-sdk-s3` * Ruby — `aws-sdk-s3` * PHP — AWS SDK for PHP **Command-line tools** * `aws-cli` — `aws s3` and `aws s3api` commands * `s3cmd` — long-standing Python CLI * `mc` (MinIO Client) — fast, multi-cloud, scriptable * `rclone` — best for syncs, mirrors, mass-copy operations * `s5cmd` — high-performance bulk transfers **GUI clients** * **Cyberduck** — macOS / Windows * **Transmit** — macOS * **WinSCP** — Windows * **S3 Browser** — Windows * **Cloudberry Explorer** — Windows / macOS All of these need only an access key, secret, and the Raff endpoint to work. ## How "compatible" is "fully compatible"? S3 has many edge cases. Compatibility across providers is excellent for the operations you'll actually use day-to-day, and degrades for the AWS-only extensions listed above. A practical rule: * **If a tutorial uses only the basic API (`PutObject`, `GetObject`, presigned URLs, ACLs, multipart)** → it works on Raff with the endpoint + region change. * **If it uses `s3:Select*`, `iam:`-prefixed permissions, AWS-specific Storage Classes, or KMS-managed keys** → it won't, and you'll need to redesign that portion. For the most common workloads — static asset hosting, application backups, ML artifact storage, log archival, customer file uploads — Raff Object Storage is a drop-in replacement. ## Common pitfalls — read this once These are the things that break first-time integrations: 1. **Forgetting `endpoint_url`** — the SDK silently calls `*.amazonaws.com` and you get authentication errors that look weird. Every SDK call must point at the Raff endpoint. 2. **Region not set to `us-east`** — SDKs default to `us-east-1`; SigV4 signs with the wrong region; requests fail with `SignatureDoesNotMatch`. 3. **Virtual-host vs path style mismatch** — buckets with dots in the name, or SDKs that don't auto-detect, need `addressing_style="path"`. 4. **Public-bucket assumptions don't port** — AWS needs both ACL and Block Public Access disabled; R2 needs a public binding; Raff needs the bucket ACL or a policy. "Just make it public" isn't portable code. 5. **Multipart parts smaller than 5 MiB** (except the last part) — providers reject `CompleteMultipartUpload` with `EntityTooSmall`; the upload silently bills storage until you abort it. Most SDKs default to ≥ 5 MiB parts; if you hand-roll multipart, respect the floor. ## Related > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Code samples for boto3, aws-cli, JS, Go, rclone. > [card] [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) > > Get the credentials you'll need. > [card] [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) > > Bucket-level and object-level ACL plus 7 ready-made policies. # Object Storage features and limits Source: https://docs.rafftechnologies.com/products/store/object-storage/details/features-and-limits Object Storage features, S3 endpoint, pricing tiers, storage class, and platform limits <sub>Updated November 16, 2026</sub> ## Features ### Storage class * **Single class today: NVMe SSD** — every bucket is backed by NVMe SSDs, tuned for high-performance access (low latency, high IOPS, parallel reads/writes) * **HDD class coming** — a cost-effective tier for cold or archival workloads is on the roadmap; pricing and SDK semantics will land here when it ships ### S3 compatibility * **Endpoint:** `https://<bucket-name>.s3.raffusercloud.com` (virtual-hosted style) * **Signature version:** AWS SigV4 * **SDK support:** any AWS S3 SDK — boto3 (Python), AWS SDK for Go / Java / JavaScript / .NET, the `aws-cli`, and tools like `mc` / `rclone` / `s3cmd` / Cyberduck * See [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) for the full feature matrix ### Bucket and object operations * Bucket CRUD, list, ACL (private / public-read) * Object PUT / GET / DELETE / HEAD * Multipart upload (automatic for files ≥ 10 MB via dashboard) * Presigned URLs (SigV4) * CORS configuration * Custom metadata on objects ### Encryption * **Encryption at rest** — enabled by default at the platform level ### Bandwidth * **Free** between Raff VMs / Kubernetes and Object Storage in the same region (private network) * **Inbound (uploads)** is free, never metered * **Public internet egress** is free, never metered or charged ## Pricing Object Storage uses the **same dual-mode billing** as VMs and volumes: subscription by default, PAYG on request — both at the same effective per-GB rate. ### Subscription (default) A starter package covers most workloads: | Item | Rate | | - | - | | **First 100 GB** | \$7 / month flat (included in the base subscription) | | **Above 100 GB** | \$0.07 / GB / month (pro-rated) | The first \$7/month covers up to 100 GB across all your buckets in the account. As your usage grows past 100 GB, the additional storage is billed at \$0.07/GB/month, accruing continuously and settled month-end on the 1st against your account balance. ### Pay-as-you-go (enterprise / SMB on request) PAYG is available for enterprise and SMB customers — contact [support](mailto:support@rafftechnologies.com) to enable. | Item | Rate | | - | - | | Per-GB storage | \$0.07 / GB / month | | Settlement | Month-end on the 1st against your account balance | PAYG has **no monthly minimum** — you only pay for what you store, billed at the same per-GB rate as the subscription overage. ### Subscription vs PAYG | | Subscription | PAYG | | - | - | - | | Default for new accounts | ✅ | Enable on request | | Monthly minimum | \$7 (covers first 100 GB) | None | | Rate above 100 GB | \$0.07 / GB / month | \$0.07 / GB / month | | Rate at 0 - 100 GB | Included in the \$7 base | \$0.07 / GB / month (no flat package) | | When you pay | Up front, monthly | At cycle close, month-end | If you reliably store 100+ GB, **subscription is cheaper** (the first 100 GB costs \$7 instead of \$7/month at the PAYG per-GB rate, which works out the same — but subscription locks the price). If you store much less than 100 GB on average, **PAYG is cheaper** (you skip the flat \$7). For the wider money flow (balance, cards, credit-on-delete, billing date rotation), see [Billing model](/products/build/virtual-machines/concepts/billing-model). ## Limits | Item | Limit | | - | - | | **Multipart upload threshold (dashboard)** | **10 MB** — files at or above this size automatically use multipart upload | | **Default multipart part size (dashboard)** | **16 MB** (AWS SDK v3 default) | | **Max parts per multipart upload** | **10,000** (Ceph RGW / S3 standard) | | **Max object size** | **5 TiB** (Ceph RGW limit) | | **Max upload via dashboard** | Up to **5 TiB** in theory — the dashboard auto-scales chunk size as `fileSize / 10000` to stay under the 10,000-part cap; practical browser memory limits will hit before this | | **Max single PUT (under the multipart threshold)** | \~10 MB — anything larger is automatically chunked | | **Concurrent file uploads (dashboard)** | 3 files at a time | | **Concurrent chunks per file (dashboard)** | 10 in parallel | | **Buckets per account** | No hard cap published; subject to overall account capacity | | **Bucket name length** | **3 - 54 characters** (lowercase letters / digits / `-` / `.`; must start and end with a letter or digit; **globally unique** across all Raff accounts) | | **Region scope** | Each bucket lives in one region — **`us-east` is the only region today** | | **Access keys** | Two scopes: **Full Access** (every bucket) or **Limited** (specific buckets via auto-generated bucket policy) — see [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) | The dashboard upload dialog says "Large files (100 MB+) use multipart upload automatically" — that's a simplification. The actual switch happens at **10 MB**. Anything above that is multipart; anything below is a single signed PUT. For SDK access (boto3, aws-cli, etc.), the [standard S3 multipart limits](/products/store/object-storage/concepts/s3-compatibility) apply — minimum 5 MiB per part except the last, maximum 5 GiB per part, up to 10,000 parts per upload. ## Bandwidth | Item | Cost | | - | - | | **Inbound (uploads)** | **Free** — never metered | | **VM ↔ Object Storage** (same region, private) | **Free** | | **Kubernetes ↔ Object Storage** (same region, private) | **Free** | | **Public internet egress** | **Free** — never metered or charged | Egress is free. Raff does not meter or charge data leaving your buckets, so public buckets (static sites, CDN origins, asset distribution) cost the same as private ones. You pay only for stored data. ## See also > [card] [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) > > What S3 features are supported and how to point an SDK. > [card] [Pricing (VM)](/products/build/virtual-machines/details/pricing) > > Account balance, cards, credit-on-delete model. > [card] [Billing model](/products/build/virtual-machines/concepts/billing-model) > > How money moves across VMs, volumes, and Object Storage. # Object Storage Source: https://docs.rafftechnologies.com/products/store/object-storage/index S3-compatible object storage on the Raff Platform — NVMe SSD buckets, AWS-SDK-compatible, with the same regional endpoint and SigV4 auth model as AWS S3 <sub>Updated November 16, 2026</sub> Object Storage is **S3-compatible** storage for unstructured data — media files, application backups, logs, static assets, machine-learning artifacts, anything you'd normally throw at an S3 bucket. Use any S3 SDK or tool against the Raff endpoint, organize objects into buckets, and serve them publicly or privately. Today there is **one storage class — NVMe SSD** — tuned for high-performance access. A cost-effective HDD class is **coming**. ![Buckets list in the Raff dashboard showing several real Raff buckets: marketplace-images, raff-images, raff-invoices, raff-image-builder, raff-security-logs](https://mintcdn.com/rafftechnologiesllc/n4fsufxkvK_RoBMU/images/products/store/object-storage/buckets-list.png?fit=max\&auto=format\&n=n4fsufxkvK_RoBMU\&q=85\&s=42b201da01ae5bd0262a6da3ebcf9dd4) ## S3 endpoint Every bucket is reachable via the Raff S3-compatible endpoint: ``` https://<bucket-name>.s3.raffusercloud.com ``` Point any AWS-S3 SDK at that endpoint with your access keys and you're connected — no Raff-specific client library needed. ## Object Storage vs Volumes — picking the right one Both store data; they're built for different access patterns. | | **Object Storage** | **[Volumes](/products/store/volumes)** | | - | - | - | | **Access protocol** | HTTP / HTTPS via S3 API | Block device via virtio-blk (looks like a local SSD inside the VM) | | **Mounting** | Not mounted — accessed by SDK / `s3` URL | Mounted into the filesystem like a regular disk | | **Concurrency** | Many clients read/write the same bucket simultaneously | One VM at a time (single-attach) | | **Latency profile** | Tens of ms typical (network round-trip + S3 op) | Sub-millisecond (local NVMe) | | **Throughput per object** | High; multipart upload scales horizontally | Highest — direct disk | | **Pricing** | \$0.07/GB/mo (\$7/mo first 100 GB included), no egress fees | \$0.05/GiB/mo flat | | **Best for** | Unstructured data, lots of objects, many readers | Files an OS / database needs to read locally at low latency | ### When to use Object Storage * **User-uploaded files** — avatars, photos, documents, generated PDFs * **Application backups** — scheduled DB dumps, log archives, app artifacts * **Static asset hosting** — site images, JS/CSS bundles, video thumbnails (point a CDN at the bucket) * **Machine-learning artifacts** — datasets, model weights, training checkpoints * **Customer file storage** — anything customers will retrieve via signed URLs * **Anything you'd put in AWS S3** — it works the same way ### When to use a Volume instead * **Database storage** — Postgres / MySQL / MongoDB data directory needs sub-ms disk access * **Application file storage** — apps that mmap files, read configs from disk, or expect a local filesystem * **VM extra capacity** — you need more space than the plan's base disk and want it to look like a regular disk to the OS * **Anything that requires `O_DIRECT` / `fsync` performance** — block-level I/O Object Storage can't match ### Common mistake **Don't run a database on Object Storage.** S3-API access has too much per-call overhead for the millions of small reads/writes a database makes. Use a Volume for the data directory and (optionally) Object Storage for backups of that database. *** ## Most viewed > [card] [Create a bucket](/products/store/object-storage/quickstart-guides/create-bucket) > > Create your first bucket from the dashboard. > [card] [Upload files](/products/store/object-storage/quickstart-guides/upload-files) > > Drag-and-drop upload via the dashboard. > [card] [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) > > Get S3 credentials for SDK access. > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Connect from your application. > [card] [Monitor bucket usage](/products/store/object-storage/quickstart-guides/monitor-usage) > > Storage, requests, and egress per bucket. *** ## Browse > [card] [Quickstart & guides](/products/store/object-storage/quickstart-guides/create-bucket) > > Buckets, uploads, access keys, SDK use. > [card] [Concepts](/products/store/object-storage/concepts/s3-compatibility) > > What S3-compatibility means in practice. > [card] [Details](/products/store/object-storage/details/features-and-limits) > > Endpoint, limits, regions, pricing. > [card] [Troubleshooting](/products/store/object-storage/troubleshooting) > > Common Object Storage issues. > [card] [API Reference](/api-reference/endpoints) > > Object Storage endpoints. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Create a bucket Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/create-bucket Create an S3-compatible Object Storage bucket and get its endpoint URL <sub>Updated May 8, 2026</sub> A **bucket** is the top-level container for objects in S3. Every Raff bucket is reachable at `https://<bucket-name>.s3.raffusercloud.com` and counts toward your account's stored-storage total. This page walks the dashboard create flow. ## Before you start * A Raff Platform account * A bucket name that fits the [naming rules](#bucket-naming-rules) below — globally unique across all Raff accounts, since the name becomes part of a public DNS hostname > [!NOTE] > > **Your first bucket triggers checkout.** When you create your first Object Storage bucket on the account, the dashboard takes you through the standard checkout flow to start the **\$7/month subscription** (covers the first 100 GB across all your buckets). After that's set up, every subsequent bucket on the same account is **created directly with no checkout step** — you're already subscribed. ## 1. Open the Create Bucket page From **Object Storage → Buckets**, click **+ Create Bucket** at the top right. You land on a dedicated create page (not a modal). ![Create Bucket form with Bucket Name field, Region dropdown, and a Bucket Naming Rules sidebar](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/create-bucket-01-form.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=f827ba089af6e52f3ae9bfb8a9978df7) The page has the form on the left and a **Bucket Naming Rules** card on the right that summarizes the constraints below. ## 2. Pick a bucket name Type the name. The dashboard checks availability **as you type** and shows immediate feedback. ![Bucket Name field with "testt" entered, a green checkmark, "Name is available" text, and an Endpoint preview showing https://testt.s3.raffusercloud.com](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/create-bucket-02-name-available.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=71e33961e4d4e5c2e760f28e4f4087af) When the name is available, the dashboard previews the **S3 endpoint URL** the bucket will live at — `https://<your-name>.s3.raffusercloud.com` — so you can confirm before committing. ### Bucket naming rules | Rule | Detail | | - | - | | Length | **3 - 54 characters** | | Case | Lowercase only | | Allowed characters | Letters, numbers, hyphens (`-`), periods (`.`) | | First and last character | Must be a letter or number | | Uniqueness | **Globally unique across all Raff accounts** — same as AWS S3, because the name is part of a public DNS hostname | | Used in | The bucket's S3 endpoint URL | If the name is taken, the inline check fails and you'll need to pick another. Common patterns: prefix with your company / project (`acme-images`, `acme-prod-logs`). > [!NOTE] > > Periods (`.`) in the bucket name break the wildcard TLS certificate on the endpoint, since `bucket.with.dots.s3.raffusercloud.com` falls outside `*.s3.raffusercloud.com`. Stick to **letters, numbers, and hyphens** unless you specifically need path-style access. ## 3. Pick a region | Region | Status | | - | - | | **US East** | Available (only region today) | More regions are on the roadmap. Until additional regions launch, the choice is fixed. ## 4. Create Click **Create Bucket**. * **First bucket on the account** — the dashboard takes you through checkout to start the Object Storage subscription (or apply your account balance). See [Pricing](/products/build/virtual-machines/details/pricing) for the balance / card model. * **Subsequent buckets** — created instantly with no checkout; the new bucket joins your existing subscription, with stored bytes counted toward the same per-account total. The new bucket appears in the **Buckets** list with `private` ACL by default, 0 objects, and 0 B size. ## After creation | Action | Where | | - | - | | Upload your first object | Open the bucket → **Objects** tab → **Upload** — see [Upload files](/products/store/object-storage/quickstart-guides/upload-files) | | Generate an access key | **Access Keys** tab → **+ Create Access Key** — see [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) | | Make objects public | Bucket → **Permissions** tab — see [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) | | Connect via SDK | See [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) — point the SDK at `https://<bucket>.s3.raffusercloud.com` | ## Next steps > [card] [Upload files](/products/store/object-storage/quickstart-guides/upload-files) > > Drag-and-drop upload via the dashboard. > [card] [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) > > Create S3 credentials for programmatic access. > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Connect from boto3 / aws-cli / SDKs. # Generate access keys Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/generate-access-keys Create S3-compatible access key pairs for programmatic access — Full Access or Limited (per-bucket) scope <sub>Updated May 8, 2026</sub> An **access key** is an S3-style credential pair (access key ID + secret) that lets SDKs, the AWS CLI, and other S3 tools authenticate to your Raff Object Storage. Every key has a **scope** — either every bucket on the account, or specific buckets — and the choice you make at creation determines how the key behaves over its lifetime. ## Before you start * An [Object Storage bucket](/products/store/object-storage/quickstart-guides/create-bucket) (you can create the key first, but the typical flow is bucket-then-key). * Decide which **access type** you need — see the side-by-side below. ## 1. Open the Create Access Key dialog From **Object Storage → Access Keys**, click **+ Create Access Key**. The Access Keys list shows every key on your account with its **Scope** (e.g. "1 bucket" or "0 buckets") and creation date. ![Create Access Key dialog with Name field and Access Type dropdown set to "Full Access — all buckets, all operations", over the Access Keys list](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/access-key-01-create-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=79c5c7d16ef981a5b81cdea54ca70496) ## 2. Name the key Pick something descriptive — the dashboard placeholder is `e.g. CI/CD Pipeline`. Good names tell you *where* the key is used so you can rotate or revoke later: * `gh-actions-prod-deploy` * `backup-cron-vm-finance` * `marketing-site-uploads` Names don't have to be unique across the account, but for revocation hygiene treat them as identifiers. ## 3. Pick the access type The Access Type dropdown has two options. **This choice is the most important part of access-key creation.** ### Full Access | | Full Access | | - | - | | Scope | Every bucket on the account, every operation | | Bucket policy | None — the key is granted blanket permission | | Risk if customer edits a bucket policy | None — Full Access is independent of bucket policies | | Use when | Trusted automation, account-admin workflows, dev environments | ### Limited When you pick **Limited**, the dialog asks you to select **which bucket(s)** the key should access. Raff then **automatically generates a bucket policy** specifically for this access key, granting it operations on the selected buckets only. | | Limited | | - | - | | Scope | Only the buckets you select at creation | | Bucket policy | Raff generates one tying the key's permissions to those buckets | | Risk if customer edits a bucket policy | **The key can break.** If you (or someone on your team) edits a bucket's policy directly via the S3 API or another tool, the Raff-generated grant for this key may be removed or overridden. Limited keys depend on the policy staying intact. | | Use when | Third-party integrations, customer-side automation, anything you'd want to revoke or scope-shrink later | > [!WARNING] > > **Limited access keys depend on Raff-managed bucket policies.** If you edit a bucket's policy directly (via `s3:PutBucketPolicy` or another tool), you can accidentally remove the grant Raff added for a Limited key, breaking that key. Full Access keys are not affected by bucket policy edits. ### Choosing between them | Question | Answer | Pick | | - | - | - | | Is this key for one specific app or pipeline? | Yes | **Limited** (least privilege) | | Will the key live in code shared with third parties? | Yes | **Limited** | | Is this for cluster-wide automation that touches many buckets? | Yes | **Full Access** | | Are you scripting against Raff Object Storage from your own CI? | Either — start with **Limited** scoped to needed buckets | | Will any team member ever edit a bucket policy by hand? | If yes → still pick the right scope, but be aware the Limited key could break | ## 4. Create and copy the secret Click **Create Access Key**. > [!WARNING] > > **The secret key is shown only once.** The dialog displays the access key ID *and* the secret. Copy the secret to your password manager / secrets store **immediately**. After you close the dialog, Raff cannot show it again — only re-issue. You'll get back two strings: | Field | Use as | | - | - | | **Access Key ID** | `AWS_ACCESS_KEY_ID` (or equivalent in your SDK config) | | **Secret Access Key** | `AWS_SECRET_ACCESS_KEY` (or equivalent) | Pair them with the Raff S3 endpoint when configuring an SDK — see [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access). ## After creation The new key appears in the **Access Keys** list. The **Scope** column tells you what the key can reach (`Full` / `1 bucket` / `N buckets`); the **Created** column has the date. You can: * **Disable** the key — temporarily block all requests it makes * **Delete** the key — permanent revocation * **(Limited keys)** Re-scope the key — add or remove buckets it can access; Raff updates the auto-managed policy * **Rotate** — generate a new key, deploy it to your application, then delete the old one (zero-downtime if you run both briefly in parallel) You **cannot** retrieve the secret after creation — to rotate or recover, create a new key. ## Storing keys safely * Treat keys like passwords — they're full credentials to your data * Don't commit them to version control * Use a secrets manager (1Password, Vault, AWS Secrets Manager, Doppler, etc.) or environment variables injected at runtime * Rotate when a key leaks, when an employee leaves, or on a schedule * Use **Limited** scope to reduce blast radius — if a Limited key leaks, only its buckets are exposed, not the whole account ## Next steps > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Configure boto3 / aws-cli / Go / JS SDKs. > [card] [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) > > Bucket-level visibility for unauthenticated readers. > [card] [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) > > What S3 features work and which AWS-only extensions don't. # Monitor bucket usage Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/monitor-usage Read the live Metrics tab — storage size, object count, GET/PUT/DELETE counts, and ingress/egress data transfer for the current month <sub>Updated November 16, 2026</sub> Every bucket has a **Metrics** tab that shows live usage and the numbers your bill is based on. It's the first place to look when you're verifying storage growth, watching request volume after a launch, or sanity-checking egress before the month-end settlement. ## Open the Metrics tab In **Object Storage → Buckets**, click into a bucket. The bucket detail page has five tabs across the top — **Objects**, **Properties**, **Permissions**, **Metrics**, **Management**. Click **Metrics**. ![Bucket Metrics tab showing Storage Metrics (object count, total size), Request Metrics (GET, PUT, DELETE, Total Operations) for May 2026, and Data Transfer (Egress, Ingress) for May 2026](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/buckets-metrics.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=ab9624ebcd66bff0bfe849d2e9baf13e) The page is organized into three sections — **Storage Metrics**, **Request Metrics**, and **Data Transfer** — each pulled live from the Ceph RGW usage API. ## Storage Metrics Current state of the bucket — these are point-in-time figures, not month-to-date. | Metric | What it is | | - | - | | **Object Count** | Total number of objects in the bucket right now (versions count separately if versioning is on) | | **Total Size** | Sum of all object sizes — what storage billing is calculated against | Total Size is the headline number for [storage billing](/products/store/object-storage/details/features-and-limits#pricing). The first 100 GB across all your buckets is covered by the \$7/month subscription; anything above accrues at \$0.07/GB/month. ## Request Metrics GET, PUT, and DELETE operation counts for the current calendar month. Resets on the 1st. | Metric | What it counts | | - | - | | **GET Requests** | Object reads — `GetObject`, `HeadObject`, `ListObjects`, presigned-URL downloads | | **PUT Requests** | Object writes — `PutObject`, `UploadPart`, `CompleteMultipartUpload`, `CopyObject` | | **DELETE Requests** | Object deletions — `DeleteObject`, `DeleteObjects` | | **Total Operations** | Every S3 API call against the bucket this month, including bucket-level ops (`HeadBucket`, `GetBucketAcl`, etc.) — that's why this is larger than GET + PUT + DELETE alone | Request counts are **not billed today** — Raff doesn't charge per-request. The numbers are here for visibility: spotting a runaway script, verifying CDN cache-hit ratios, or sizing capacity before a launch. ## Data Transfer Inbound and outbound bytes for the current month, also resetting on the 1st. | Metric | What it is | Billed? | | - | - | - | | **Egress (Download)** | Bytes leaving the bucket to clients — `GetObject` responses, presigned URL downloads | **Free, never billed** | | **Ingress (Upload)** | Bytes coming into the bucket — `PutObject`, multipart parts | **Free, never metered** | Neither counter is billed: data transfer is free. The counters show how much your buckets serve. Same-region traffic between Raff VMs / Kubernetes and Object Storage doesn't go over the public internet, so it doesn't show up here — see [Bandwidth](/products/store/object-storage/details/features-and-limits#bandwidth). ## How fresh are the numbers? Metrics are read from the Ceph RGW usage API and refreshed when you load the tab. Storage figures update within a few seconds of an upload or delete. Request and data-transfer counters lag by a short interval (usually under a minute) — they're aggregated server-side, not streamed. Reload the tab to pull the latest values; nothing is cached on the dashboard side. ## Per-account vs per-bucket The Metrics tab is **per bucket**. To see usage rolled up across every bucket in your account — total storage, total egress, what you'll be billed for at month-end — open **Object Storage → Overview**. ## When the numbers don't match what you expect A few common gotchas before you open a support ticket: * **Storage size jumped after a delete** — versioning is on, so the deleted object became a non-current version (still counted). Empty old versions from the Objects tab → Versions view. * **Egress higher than your traffic** — public-bucket workloads (asset hosting, static sites) count every public read; if a CDN is in front, check whether it's actually caching. * **Request count keeps climbing while idle** — something has access keys and is polling. Rotate the keys and watch Request Metrics drop. * **Total Operations far higher than GET + PUT + DELETE** — bucket-level calls (`HeadBucket`, `GetBucketAcl`, `GetBucketCors`, etc.) count toward Total Operations but aren't broken out individually. SDKs do these on every connection setup. ## Related > [card] [Features & limits](/products/store/object-storage/details/features-and-limits) > > Storage pricing, limits and free egress. > [card] [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) > > Public-read buckets are usually what drives egress. > [card] [Troubleshooting](/products/store/object-storage/troubleshooting) > > Common issues and fixes. # Use the S3 SDK Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/s3-sdk-access Connect to Raff Object Storage from any S3-compatible SDK or CLI — boto3, aws-cli, JavaScript, Go, rclone, s3cmd, mc, Cyberduck <sub>Updated May 8, 2026</sub> Raff Object Storage speaks the standard S3 API. Point any AWS-S3 SDK or compatible tool at Raff's endpoint with your access keys and you're connected — no Raff-specific library needed. This page is the practical "drop into your code" guide. For the conceptual side (which AWS features port and which don't), see [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility). ## Before you start * **Access key + secret** — see [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys). The secret is shown once at creation; if you don't have it, generate a new key. * **At least one bucket** — see [Create a bucket](/products/store/object-storage/quickstart-guides/create-bucket). * The Raff connection details below. ## Connection details These are the same for every SDK and tool: | Setting | Value | | - | - | | **Endpoint URL** | `https://s3.raffusercloud.com` | | **Region** | `us-east` *(not `us-east-1`)* | | **Access Key ID** | From your access key creation | | **Secret Access Key** | From your access key creation | | **Signature version** | SigV4 (default in all modern SDKs) | | **Addressing style** | Virtual-host by default (`<bucket>.s3.raffusercloud.com`); use path style if your bucket name contains dots | Plug those into any of the SDK examples below. > [!WARNING] > > Set **region to `us-east`** explicitly. SDKs default to `us-east-1` (AWS naming) and SigV4 signs with that — Raff rejects signatures from the wrong region. Skipping this step is the #1 reason first-time integrations fail. ## Python — boto3 The de facto S3 client for Python. ```python theme={null} import boto3 s3 = boto3.client( "s3", endpoint_url="https://s3.raffusercloud.com", region_name="us-east", aws_access_key_id="YOUR_ACCESS_KEY_ID", aws_secret_access_key="YOUR_SECRET_ACCESS_KEY", ) # List buckets for bucket in s3.list_buckets()["Buckets"]: print(bucket["Name"]) # Upload a file s3.upload_file("local.txt", "my-bucket", "uploads/local.txt") # Download a file s3.download_file("my-bucket", "uploads/local.txt", "downloaded.txt") # Generate a presigned URL valid for 1 hour url = s3.generate_presigned_url( "get_object", Params={"Bucket": "my-bucket", "Key": "uploads/local.txt"}, ExpiresIn=3600, ) ``` For bucket names with dots, force path-style addressing: ```python theme={null} from botocore.config import Config s3 = boto3.client( "s3", endpoint_url="https://s3.raffusercloud.com", region_name="us-east", aws_access_key_id="YOUR_ACCESS_KEY_ID", aws_secret_access_key="YOUR_SECRET_ACCESS_KEY", config=Config(s3={"addressing_style": "path"}), ) ``` `upload_file` and `download_file` use multipart automatically for files above 8 MB. Configure thresholds via `boto3.s3.transfer.TransferConfig`. ## Command line — aws-cli The official CLI works against any endpoint with `--endpoint-url`. Configure once: ```bash theme={null} aws configure --profile raff # AWS Access Key ID: YOUR_ACCESS_KEY_ID # AWS Secret Access Key: YOUR_SECRET_ACCESS_KEY # Default region name: us-east # Default output format: json ``` Then point every command at Raff's endpoint: ```bash theme={null} # List buckets aws --profile raff --endpoint-url https://s3.raffusercloud.com s3 ls # Upload a file aws --profile raff --endpoint-url https://s3.raffusercloud.com \ s3 cp local.txt s3://my-bucket/uploads/local.txt # Sync a local directory to a bucket aws --profile raff --endpoint-url https://s3.raffusercloud.com \ s3 sync ./public-site s3://my-bucket --delete # Generate a presigned URL valid for 1 hour aws --profile raff --endpoint-url https://s3.raffusercloud.com \ s3 presign s3://my-bucket/uploads/local.txt --expires-in 3600 ``` To avoid repeating `--endpoint-url`, set it via env var: ```bash theme={null} export AWS_ENDPOINT_URL="https://s3.raffusercloud.com" export AWS_PROFILE=raff aws s3 ls ``` (`AWS_ENDPOINT_URL` is supported in AWS CLI v2.13+.) ## JavaScript / TypeScript — AWS SDK v3 The current AWS SDK for JS (the modular `@aws-sdk/client-s3`). ```javascript theme={null} import { S3Client, PutObjectCommand, GetObjectCommand } from "@aws-sdk/client-s3"; import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; const s3 = new S3Client({ endpoint: "https://s3.raffusercloud.com", region: "us-east", credentials: { accessKeyId: "YOUR_ACCESS_KEY_ID", secretAccessKey: "YOUR_SECRET_ACCESS_KEY", }, forcePathStyle: false, // set true only if bucket name has dots }); // Upload await s3.send( new PutObjectCommand({ Bucket: "my-bucket", Key: "uploads/local.txt", Body: "hello world", }) ); // Presigned URL (1 hour) const url = await getSignedUrl( s3, new GetObjectCommand({ Bucket: "my-bucket", Key: "uploads/local.txt" }), { expiresIn: 3600 } ); ``` For multipart uploads above \~5 MB, use the high-level `@aws-sdk/lib-storage` package — it handles chunking and parallelism automatically. ## Go — AWS SDK v2 ```go theme={null} package main import ( "context" "log" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/s3" ) func main() { cfg, err := config.LoadDefaultConfig(context.TODO(), config.WithRegion("us-east"), config.WithCredentialsProvider(credentials.NewStaticCredentialsProvider( "YOUR_ACCESS_KEY_ID", "YOUR_SECRET_ACCESS_KEY", "", )), ) if err != nil { log.Fatal(err) } client := s3.NewFromConfig(cfg, func(o *s3.Options) { o.BaseEndpoint = aws.String("https://s3.raffusercloud.com") o.UsePathStyle = false // set true only if bucket has dots }) out, err := client.ListBuckets(context.TODO(), &s3.ListBucketsInput{}) if err != nil { log.Fatal(err) } for _, b := range out.Buckets { log.Println(*b.Name) } } ``` For multipart, use `s3manager.NewUploader(client)` from `github.com/aws/aws-sdk-go-v2/feature/s3/manager`. ## rclone — best for syncs and mass copies Add a remote once, then use it like a local path: ```bash theme={null} rclone config # n) New remote # name> raff # Storage> s3 # provider> Other # env_auth> false # access_key_id> YOUR_ACCESS_KEY_ID # secret_access_key> YOUR_SECRET_ACCESS_KEY # region> us-east # endpoint> https://s3.raffusercloud.com # location_constraint> (leave blank) # acl> private ``` Then: ```bash theme={null} rclone ls raff:my-bucket rclone copy ./local-dir raff:my-bucket/path --progress rclone sync raff:source-bucket raff:dest-bucket --progress rclone mount raff:my-bucket /mnt/raff # mount a bucket as a filesystem ``` `rclone` is excellent for migrating from AWS / DO / Vultr to Raff — point one remote at the source, another at Raff, and `rclone sync`. ## s3cmd — long-standing Python CLI `~/.s3cfg`: ```ini theme={null} [default] access_key = YOUR_ACCESS_KEY_ID secret_key = YOUR_SECRET_ACCESS_KEY host_base = s3.raffusercloud.com host_bucket = %(bucket)s.s3.raffusercloud.com bucket_location = us-east use_https = True signature_v2 = False ``` Then: ```bash theme={null} s3cmd ls s3cmd put local.txt s3://my-bucket/uploads/local.txt s3cmd get s3://my-bucket/uploads/local.txt downloaded.txt s3cmd sync ./local-dir s3://my-bucket/path/ ``` ## mc (MinIO Client) — fast, scriptable ```bash theme={null} mc alias set raff https://s3.raffusercloud.com YOUR_ACCESS_KEY_ID YOUR_SECRET_ACCESS_KEY mc ls raff/ mc cp local.txt raff/my-bucket/uploads/ mc mirror ./local-dir raff/my-bucket/path mc share download raff/my-bucket/uploads/local.txt --expire 1h ``` `mc` is the fastest CLI for bulk operations and has good defaults for parallelism. ## Cyberduck — GUI For Mac / Windows users who want a Finder-style file browser: 1. Open Cyberduck → **Open Connection**. 2. Choose **Amazon S3** from the dropdown. 3. Server: `s3.raffusercloud.com` 4. Access Key ID and Secret Access Key from your Raff access key. 5. **More Options** → set the region to `us-east`. 6. Connect. Drag-and-drop uploads, presigned URL generation (right-click → **Share**), folder mirroring all work out of the box. ## Multipart upload — what every SDK does Every modern SDK transparently switches to **multipart upload** for files above \~5-10 MB: * The file is split into parts (typically 5-25 MB each). * Parts upload in parallel. * Failed parts retry individually — the whole file doesn't restart. * The server assembles parts on `CompleteMultipartUpload`. You don't have to think about this for normal use — `boto3.upload_file`, `aws s3 cp`, `rclone copy`, and the JS / Go transfer managers all handle multipart automatically. When hand-rolling multipart (rare), respect the protocol limits: * Minimum part size: **5 MiB** (except the last part) * Maximum part size: 5 GiB * Maximum parts per upload: 10,000 Aborted multipart uploads keep their parts billed as storage until cleaned up. Use the **Abort Multipart Upload** template in [bucket policies](/products/store/object-storage/quickstart-guides/set-public-private#the-seven-policy-templates), or call `AbortMultipartUpload` from your code, to clean up after failures. ## Presigned URLs — share without sharing keys Every SDK can generate a **presigned URL**: a time-limited HTTPS link that lets anyone download (or upload) without having Raff credentials. The recipient just opens the URL. | Use when | Don't use when | | - | - | | Email a one-off download link | Permanent public assets (use a public bucket / object instead) | | Upload from a browser without exposing keys | Long-lived service-to-service auth (use access keys) | | Limit a third-party's access to one file with a deadline | You need to revoke before expiry (you can't — only key rotation revokes) | See examples above for `boto3`, the AWS SDK v3 (`getSignedUrl`), aws-cli (`s3 presign`), and `mc share`. The mechanism and signing semantics are identical to AWS S3. ## Migrating from another provider Moving from AWS / DigitalOcean Spaces / Vultr / Cloudflare R2 to Raff is mostly a config swap: 1. Generate a Raff access key. 2. Create the destination bucket(s) on Raff. 3. Use **rclone** with both providers configured as remotes: ```bash theme={null} rclone sync source-provider:source-bucket raff:destination-bucket --progress ``` 4. Update your application's `endpoint`, `region`, and credentials. 5. Remove any code that calls AWS-only features — see [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility#whats-aws-only--wont-work-on-raff-or-any-s3-compatible-provider). If you have a sizable migration coming, [support can help](mailto:support@rafftechnologies.com) — we can run the migration end-to-end and hand you a working Raff bucket with your data in place. ## Next steps > [card] [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) > > What's universal, what's AWS-only. > [card] [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) > > ACLs, policies, presigned URLs. > [card] [Troubleshooting](/products/store/object-storage/troubleshooting) > > SignatureDoesNotMatch, 403s, slow uploads. # Set public or private Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/set-public-private Bucket-level ACL, bucket policies (JSON), per-object ACL, and presigned URLs — three layers that combine to control who can read what <sub>Updated May 8, 2026</sub> Raff Object Storage controls access at three levels, and they combine. **Default everything to private.** Only flip something public when the data's whole purpose is to be served to unauthenticated readers — and even then, prefer a per-object public override on a private bucket. ## The three layers | Layer | Where | Scope | Best for | | - | - | - | - | | **Bucket ACL** | Permissions tab → Change ACL | Whole bucket — every object inherits | Buckets that exist to serve public content (static sites, public assets) | | **Bucket Policy** | Permissions tab → Bucket Policy | Whole bucket — flexible JSON-based rules | Conditional access (IP-restricted, HTTPS-only, deny-delete, folder-scoped) | | **Object ACL** | Object detail page → Access control | Single object | Sharing one file from an otherwise private bucket | Layered access is **most permissive** — if any layer grants read, the read succeeds. Public bucket + private object usually still ends up public; private bucket + public object exposes that one object only. A fourth option — **presigned URLs** — sits outside this model and is covered at the bottom. ## Open the Permissions tab All bucket-level access controls live on the bucket detail page's **Permissions** tab. ![Bucket Permissions tab showing the Bucket Policy JSON editor with empty default policy and Policy Examples dropdown, plus the Access Control List section with current ACL "private" and a Change ACL button](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/bucket-permissions-tab.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=40ecb454e84cc0ef0ec02952df622c9e) The tab has two sections: * **Bucket Policy** — JSON-based access rules with **7 ready-to-use templates** * **Access Control List (ACL)** — coarse-grained bucket-wide permission level, four options ## Bucket ACL — the four options Click **Change ACL** to open the picker. ![Change Bucket ACL dialog with 4 options: Private (selected), Public Read, Public Read/Write, Authenticated Read](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/change-bucket-acl-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=66878bff1f62ac9dd1f91c2aab48ebf4) | ACL | What it does | When to use | | - | - | - | | **Private** (default) | Only the bucket owner has full access. No public or cross-account read or write. | Default — anything that isn't a public asset bucket | | **Public Read** | Anyone can read and download objects via their Object URL. Only the owner can write. | Static site hosting, public CDN origin, public download distribution | | **Public Read/Write** | Anyone can read, write, and delete. Use with **extreme caution**. | Almost never. Anonymous bug-bounty drop boxes, intentional one-shot fileshares — and even then, probably not | | **Authenticated Read** | Anyone with valid S3 credentials (any Raff account, any AWS account) can read. | Multi-tenant collaboration without making data fully public | > [!WARNING] > > **Bucket-level ACL is bucket-wide.** If you flip a bucket to **Public Read**, **every object in it becomes publicly readable** — current and future — unless that object has an explicit `private` override at the object level. Customer uploads, internal logs, anything you missed: all of it goes live. > > **We do not recommend public ACL on a bucket** unless the bucket's entire purpose is public hosting. The safer pattern is to keep the bucket **Private** and override only the specific objects that need to be public on the object detail page. ## Bucket Policy — the JSON rules The **Bucket Policy** section accepts an S3-style JSON policy document. It lets you express things ACLs can't: * "Allow uploads only from these IP ranges" * "Deny all delete operations on this bucket" * "Force HTTPS — block plain HTTP requests" * "Public for read, but only the owner can write" * "Limit access to objects under one folder prefix" The default empty policy is `{"Version": "2012-10-17", "Statement": []}` — no rules. Add statements directly, or pick a template from the **Policy Examples** dropdown: ![Policy Examples dropdown showing seven options: Public Read Only, Public Read + List, Deny Delete, IP Restricted Upload, Enforce HTTPS Only, Read-Only Public Write for Owner, Restrict to Folder Prefix](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/bucket-policy-examples.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=3eba2fe840c075b897e22cdb5c1d82e9) ### The seven policy templates | Template | Use when | | - | - | | **Public Read Only** | Bucket-wide unauthenticated download access — equivalent to ACL `Public Read` but expressed as a policy you can edit | | **Public Read + List** | Same as above, plus `s3:ListBucket` so visitors can browse the object listing | | **Deny Delete** | Lock down `s3:DeleteObject` and `s3:DeleteObjectVersion` for everyone — useful for compliance / audit logs | | **IP Restricted Upload** | Only allow `s3:PutObject` from a specific IP CIDR — restricts uploads to your office, CI runners, etc. | | **Enforce HTTPS Only** | Deny any request that arrives over plain HTTP. Pair with public buckets to prevent accidental cleartext traffic | | **Read-Only Public, Write for Owner** | The "static site" pattern — anyone can GET, only credentialed accounts can PUT/DELETE | | **Restrict to Folder Prefix** | Limit access to objects under a specific key prefix (e.g. `public/` is readable, `private/` isn't) | Pick a template, the editor fills in working JSON, you tweak (add your IP, your folder name, etc.), then **Save Policy**. To remove a policy entirely, **Delete Policy** clears the document; access falls back to the bucket's ACL alone. ### What each template looks like as JSON If you'd rather paste a template into your own infrastructure-as-code or write your own, here's the JSON each one produces. Replace `BUCKET_NAME` with your actual bucket name; replace IP / prefix placeholders where called out. #### Public Read Only ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::BUCKET_NAME/*" } ] } ``` #### Public Read + List ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": ["s3:GetObject", "s3:ListBucket"], "Resource": [ "arn:aws:s3:::BUCKET_NAME", "arn:aws:s3:::BUCKET_NAME/*" ] } ] } ``` #### Deny Delete ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Principal": "*", "Action": ["s3:DeleteObject", "s3:DeleteObjectVersion"], "Resource": "arn:aws:s3:::BUCKET_NAME/*" } ] } ``` #### IP Restricted Upload Replace `192.168.1.0/24` with your office or CI runner CIDR. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::BUCKET_NAME/*", "Condition": { "IpAddress": { "aws:SourceIp": "192.168.1.0/24" } } } ] } ``` #### Enforce HTTPS Only ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Principal": "*", "Action": "s3:*", "Resource": [ "arn:aws:s3:::BUCKET_NAME", "arn:aws:s3:::BUCKET_NAME/*" ], "Condition": { "Bool": { "aws:SecureTransport": "false" } } } ] } ``` Pair with one of the public-read templates for a public bucket that rejects cleartext traffic — combine the two `Statement` arrays in one policy. #### Read-Only Public, Write for Owner ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::BUCKET_NAME/*" }, { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::ACCOUNT_ID:root" }, "Action": ["s3:PutObject", "s3:DeleteObject"], "Resource": "arn:aws:s3:::BUCKET_NAME/*" } ] } ``` The "static site" pattern — anyone can GET, only your account can PUT/DELETE. #### Restrict to Folder Prefix Replace `uploads/` with your actual prefix. ```json theme={null} { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"], "Resource": "arn:aws:s3:::BUCKET_NAME/uploads/*" } ] } ``` Limits the public access to one folder. Other prefixes (`private/`, `internal/`) remain inaccessible without credentials. ### How policies and ACLs interact When both are set, S3 evaluates **bucket policy + bucket ACL + object ACL** and grants access if **any of them allows it** — except for explicit `Deny` statements in a bucket policy, which override allows. Practical implications: * **Adding a `Public Read` policy** on top of a `Private` ACL → bucket is effectively public. The policy grants what the ACL doesn't. * **Adding a `Deny Delete` policy** on top of any ACL → no one can delete, even the owner via console (use `Delete Policy` first if you need to clean up). * **`Enforce HTTPS Only`** is a hard filter — it doesn't grant access, it blocks plain-HTTP requests entirely. Always safe to layer on. If two layers conflict, the `Deny` wins. Use `Deny` carefully. ## Object-level ACL — overriding for one file Each object can carry its own ACL that opens it up even when the bucket is private. Open the object's **Details** page from the bucket's Objects tab → row Actions → **Details**. ![Object detail page with Object overview (owner, region, last modified, S3 URI, ETag, Object URL, key, type, size) and Access control list (ACL) at the bottom with a Private dropdown and Save button](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/object-detail-overview.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=fe0637d1873a1aa77203dcd00d87b567) The **Object overview** card gives you what you need to share or reference the object: | Field | Use as | | - | - | | **S3 URI** (`s3://<bucket>/<key>`) | Canonical reference for SDKs and CLIs | | **Object URL** (`https://<bucket>.s3.raffusercloud.com/<key>`) | HTTP endpoint — only works in a browser if the object is public | | **ETag** | Server's hash of the contents — for cache validation and integrity checks | | **Key** | The object's name including any folder prefix | At the bottom, the **Access control list (ACL)** dropdown sets per-object ACL: `Private` or `Public`. Save and the change applies immediately. **The recommended pattern** for an "almost-private" bucket: keep the bucket **Private**, then flip individual objects to **Public** only when needed. This is far safer than flipping the bucket public and trying to lock individual files back down. ## Presigned URLs — the fourth option Sometimes you want to share **one file with one person without flipping any ACL**. The dashboard's per-object **Share** action (and the SDK's `generate_presigned_url` / `GetObjectPresign` calls) generates a **presigned URL** — a long, time-limited HTTPS link that lets anyone download the object without credentials, until it expires. | Property | Value | | - | - | | Object visibility | Object stays **private** — no ACL change | | Who can use the URL | Anyone holding it — no Raff account needed | | Valid for | Time-limited (minutes to hours; configurable when the URL is generated) | | Revocable mid-flight | No — valid until expiry. To revoke faster, rotate the access key that signed it | | Best for | One-off sharing, email download links, third-party data drops, signed download tokens served by your app | Use a presigned URL when: * The file should not be permanently public * The recipient doesn't have Raff access * The link should self-expire — no cleanup required Use a public ACL or policy when: * The file is permanently public (static assets, public docs) * The link needs to work without expiring * You're building a CDN origin ## Combination matrix How the layers stack: | Bucket ACL | Bucket Policy | Object ACL | Result | | - | - | - | - | | Private | (none) | Private | Authenticated only — Object URL returns 403 in a browser; SDK with valid keys works | | Private | (none) | Public | This object readable; the rest of the bucket private | | Private | `Public Read Only` | Private | Whole bucket effectively public — policy grants what ACL doesn't | | Public Read | (none) | Private | Object-level "Private" inside a public bucket is **not reliable** — bucket grant wins on most paths. Don't depend on object-private inside a public bucket | | Public Read | `Deny Delete` | (any) | Public for read; nobody (even owner) can delete via this code path until policy is cleared | | (any) | `Enforce HTTPS Only` | (any) | Plain HTTP requests blocked at the policy layer regardless of other grants | When in doubt, **read all three layers** before reasoning about who can access what. ## New uploads — what ACL do they get? Default behavior when you upload a new object: | Bucket ACL | New object's default ACL | | - | - | | Private | Private | | Public Read | Public Read | Override at upload time via the SDK with `PutObject(ACL: ...)`. The dashboard upload always uses the bucket default — no per-upload picker today. ## Common gotchas * **Periods in bucket names break HTTPS for public buckets.** The wildcard cert covers `*.s3.raffusercloud.com`, not nested dots like `bucket.with.dots.s3.raffusercloud.com`. Use hyphens for public bucket names. * **`Open` on the dashboard fails for private objects.** That action uses the Object URL, which needs public access. Use **Download** or **Share** instead. * **Switching a public bucket back to private doesn't kill existing presigned URLs.** They keep working until they expire. Rotate the signing access key if you need to revoke faster. * **`Deny` in a bucket policy locks the owner out too.** A `Deny Delete` you forgot will block your own cleanup until you `Delete Policy` from the dashboard. * **Public buckets leak silently.** There's no daily report telling you a bucket is public — once it's public, it's public. Periodically audit the **ACL** column on the Buckets list. ## Next steps > [card] [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) > > S3 credentials with Full or Limited (per-bucket) scope. > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Programmatic ACL changes and presigned URLs. > [card] [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) > > Which AWS S3 features work and which don't. # Upload files Source: https://docs.rafftechnologies.com/products/store/object-storage/quickstart-guides/upload-files Drag-and-drop files into a Raff Object Storage bucket via the dashboard, plus what to do with them after <sub>Updated May 8, 2026</sub> The fastest way to put files into a bucket is the dashboard's drag-and-drop uploader. Files upload in the background — you can navigate around the dashboard while they finish — and large files automatically use multipart upload. For programmatic uploads, see [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access). ## Before you start * A bucket — see [Create a bucket](/products/store/object-storage/quickstart-guides/create-bucket). * The files you want to upload, on the machine you're browsing the dashboard from. ## 1. Open the bucket In **Object Storage → Buckets**, click the name of the bucket you want to upload into. The bucket detail page opens on the **Objects** tab by default. ![Bucket detail page on the Objects tab with a search field, Create Folder and Upload buttons, and a row showing a single object with its actions menu open](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/bucket-objects-actions-menu.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=5cf6871cd6288a92d9160c5cb26df544) The Objects tab is where you'll spend most of your time: * Search objects by name * **Create Folder** — adds a key prefix (folder-style organization in S3) * **Upload** — opens the drag-and-drop dialog * Each object row has an **Actions** menu — covered in [Manage objects](#per-object-actions) below ## 2. Click Upload Click the orange **Upload** button at the top right of the Objects tab. The Upload Files dialog opens. ![Upload Files dialog with a drag-and-drop zone, "Upload files to the root of your bucket", and "Large files (100 MB+) use multipart upload automatically"](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/upload-files-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=2ab0110799b6937300f5e01c74967cff) The dialog tells you what's happening: * Files upload to the **current location** in the bucket (root, or whichever folder you're inside) * Uploads run **in the background** — you can navigate away * **Files at or above 10 MB use multipart upload automatically** — the dashboard chunks them into 16 MB parts, uploads up to 10 in parallel per file, and assembles on the server. The dialog text rounds this to "100 MB+" for friendliness; the actual threshold is 10 MB ## 3. Drop or browse for files Two ways to add files to the dialog: * **Drag and drop** them onto the dashed zone * **Click** the zone to open a file picker You can drop multiple files at once. Each file gets its own progress bar. ## 4. Confirm Click **Upload N Files**. The dialog stays open until uploads start, then you can close it — uploads continue in the background. When uploads finish, the new objects appear in the bucket's Objects tab with their size and timestamp. ## Multipart upload, briefly For any single file **at or above 10 MB**, the dashboard switches to multipart upload automatically. There's nothing for you to configure — but it's worth knowing what it does: * Splits the file into **16 MB parts** by default * For very large files, **scales the chunk size up automatically** to stay under the 10,000-part S3 limit (`max(16 MB, fileSize / 10000)`) * Uploads up to **10 parts in parallel** per file; up to **3 files** in parallel from the queue * If a part fails, only that part retries (up to 3 times) — not the whole file * Assembles parts server-side once they all arrive * Theoretically supports files up to **5 TiB**; in practice browser memory caps hit first The same mechanic is what every S3 SDK uses on multi-MB-plus files; the dashboard just exposes it transparently. ## Per-object actions Once a file is uploaded, opening the row's **⋮** Actions menu gives you everything you can do with one object: | Action | What it does | | - | - | | **Open** | Opens the object in a new browser tab. Works for browser-renderable types (images, PDFs, text); downloads otherwise. Requires the object to be public, or you'll need a presigned URL — see [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private). | | **Details** | Goes to the object detail page — full overview with S3 URI, Object URL, ETag, region, key, size, ACL controls. See screenshot in [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private). | | **Download** | Pulls the object to your local machine via the dashboard. | | **Copy S3 URI** | Copies `s3://<bucket>/<key>` — the canonical SDK reference. Use in code, config, or `aws s3 cp` commands. | | **Copy Object URL** | Copies `https://<bucket>.s3.raffusercloud.com/<key>` — the HTTP endpoint. Works from a browser only if the object's ACL is public. | | **Share** | Generates a presigned URL — a time-limited HTTPS link anyone can use, even on private objects. | | **Rename** | Changes the object's key. Note: in S3, rename is implemented as copy-then-delete, so very large files can take a moment. | | **Permissions** | Per-object ACL — make this single object public-read while leaving the bucket private. | | **Delete** | Permanently removes the object. No undelete unless versioning is on (see [Bucket Properties → Versioning](#bucket-properties-versioning-encryption-tags)). | ## Folders, briefly S3 doesn't actually have folders — keys with `/` in them just *look* like a hierarchy in the dashboard. The **Create Folder** button writes a zero-byte placeholder object whose key ends with `/`, which makes the dashboard render the folder. Inside, all objects share that prefix. You can also create the hierarchy implicitly by uploading a file with a key like `2026/may/report.pdf` — the dashboard shows it inside `2026/may/`. ## Bucket Properties: versioning, encryption, tags The **Properties** tab on each bucket controls bucket-wide settings: ![Bucket Properties tab showing Bucket Details summary (name, region, ACL, versioning), Versioning section with Disabled badge, Tags Coming Soon, Default Encryption Coming Soon](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/object-storage/bucket-properties-tab.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=26d96919b18e86386aa659b781a42285) | Setting | Status | | - | - | | **Bucket Details** | Read-only summary of name, region, ACL, versioning state | | **Versioning** | Toggle on/off — when on, every PUT to an existing key keeps the previous version, and Delete becomes a soft-delete (recoverable) | | **Tags** | Key-value labels on the bucket itself — **Coming soon** | | **Default Encryption** | Auto-encrypt every uploaded object with bucket-managed keys — **Coming soon** (objects are still encrypted at rest at the platform level by default) | Tags and Default Encryption are visible in the dashboard but disabled — they'll light up when the features ship. Versioning works today. The bucket also has a **Metrics** tab — live storage size, request counts, and ingress/egress for the current month. See [Monitor bucket usage](/products/store/object-storage/quickstart-guides/monitor-usage). ## Next steps > [card] [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private) > > Bucket-level and object-level ACL. > [card] [Use the S3 SDK](/products/store/object-storage/quickstart-guides/s3-sdk-access) > > Programmatic uploads with multipart, presigned URLs, etc. > [card] [Generate access keys](/products/store/object-storage/quickstart-guides/generate-access-keys) > > Get S3 credentials for the SDK. # Object Storage troubleshooting Source: https://docs.rafftechnologies.com/products/store/object-storage/troubleshooting Common Raff Object Storage errors — authentication, connection, uploads, ACLs — and the fix that works in each case <sub>Updated May 8, 2026</sub> The most-seen failures with Raff Object Storage and the fix that resolves each. Most of these come from the SDK side; for ACL and policy questions see [Set public or private](/products/store/object-storage/quickstart-guides/set-public-private). If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). Raff Object Storage runs on **Ceph RGW** (RADOS Gateway), so error responses follow standard S3 conventions — the error codes (`SignatureDoesNotMatch`, `EntityTooSmall`, `AccessDenied`, etc.) are the same ones you'd see from AWS, MinIO, or other Ceph-backed services. Most fixes are universal across S3-compatible providers. ## Authentication and signing > [accordion] `SignatureDoesNotMatch` — request fails with auth errors > > **What's happening:** the SDK signs the request, Raff rejects the signature. > > **Most common cause:** **region mismatch.** Your SDK is signing with `us-east-1` (AWS default) but Raff's region is `us-east`. > > **Fix:** set region explicitly: > > | SDK | Setting | > | - | - | > | boto3 | `region_name="us-east"` | > | aws-cli | `--region us-east` or `AWS_REGION=us-east` | > | AWS SDK v3 (JS) | `region: "us-east"` | > | aws-sdk-go-v2 | `config.WithRegion("us-east")` | > | rclone | `region = us-east` | > | s3cmd | `bucket_location = us-east` | > > Other causes: > > * **Wrong endpoint** — confirm `endpoint_url = https://s3.raffusercloud.com`. > * **System clock skew** — SigV4 rejects requests more than 15 min off real time. Run `ntpdate` or `chronyc sources` to verify. > * **Mangled secret key** — copy/paste lost a character; regenerate the key if unsure. > [accordion] `InvalidAccessKeyId` — key not recognized > > **What's happening:** Raff doesn't know that access key ID. > > **Fix:** > > 1. Confirm you copied the key from the right Raff account (check the dashboard). > 2. Confirm the key wasn't deleted or disabled — see **Object Storage → Access Keys**. > 3. If you saved a typo'd ID, generate a new key — there's no way to retrieve the original from the dashboard. > [accordion] `AccessDenied` even with valid keys > > **What's happening:** the key is valid, but the operation isn't allowed. > > **Likely causes:** > > 1. **Limited-scope access key** that doesn't include this bucket — see [Generate access keys → Limited](/products/store/object-storage/quickstart-guides/generate-access-keys#limited). Re-scope or create a new key. > 2. **Bucket policy denies the operation** — open the bucket's [Permissions tab](/products/store/object-storage/quickstart-guides/set-public-private) and check the policy. A `Deny` always wins. If your `Deny Delete` policy is blocking your own cleanup, **Delete Policy** first. > 3. **Object owned by another account** in a multi-account setup. The current account doesn't have ACL grants on this object. > 4. **Customer-edited bucket policy broke a Limited key** — Limited access keys depend on a Raff-managed policy. If someone edited the policy directly via the S3 API, the auto-grant for that key may have been removed. Either restore the policy or re-create the key. > [accordion] boto3 / AWS SDK silently calls `*.amazonaws.com` > > **What's happening:** the SDK ignores or drops your endpoint, talks to AWS, and you see weird auth errors or "bucket not found" against AWS S3. > > **Fix:** confirm `endpoint_url` (boto3) / `endpoint:` (JS v3) / `BaseEndpoint` (Go v2) is set on **every client constructor**. The setting doesn't propagate from environment unless you explicitly read it. Most common copy-paste mistake. ## Connection and TLS > [accordion] `SSL: certificate verify failed` for buckets with dots in the name > > **What's happening:** the wildcard TLS certificate covers `*.s3.raffusercloud.com` (one DNS label). Bucket names with dots like `my.app.bucket` resolve to `my.app.bucket.s3.raffusercloud.com` — multi-label, which the wildcard doesn't cover. > > **Fix:** force path-style addressing. > > | SDK | Setting | > | - | - | > | boto3 | `Config(s3={"addressing_style": "path"})` | > | aws-cli | `aws s3api ...` (most ops support both) or `aws --no-verify-ssl` (not for production) | > | AWS SDK v3 (JS) | `forcePathStyle: true` | > | aws-sdk-go-v2 | `o.UsePathStyle = true` | > | rclone | `force_path_style = true` | > > **Better fix:** for new buckets, **don't use dots** — use hyphens. `my-app-bucket` works with virtual-host style, no path-style override needed. > [accordion] `Could not resolve host: s3.raffusercloud.com` > > **What's happening:** DNS lookup fails before the request leaves your machine. > > **Likely causes:** > > 1. **Local DNS issue** — try `dig s3.raffusercloud.com` or `nslookup s3.raffusercloud.com`. If that fails, your DNS resolver is broken; restart networking or switch resolvers. > 2. **Corporate proxy / firewall** — some networks block third-party S3 endpoints. Check with your IT team or test from outside the network. > 3. **Typo in the endpoint** — `raffusercloud` not `raffusercloud.io` or other variants. The exact endpoint is `https://s3.raffusercloud.com`. > [accordion] Connection times out, no response > > **What's happening:** TCP connection to `s3.raffusercloud.com:443` doesn't establish. > > **Fix:** > > 1. Confirm you can reach the internet at all (`curl https://example.com`). > 2. Confirm port 443 isn't blocked (`curl -v https://s3.raffusercloud.com`). > 3. Check [status.rafftechnologies.com](https://status.rafftechnologies.com) for an Object Storage incident. ## Uploads > [accordion] `EntityTooSmall` on `CompleteMultipartUpload` > > **What's happening:** the multipart upload completes the API call but Raff rejects the assembly because one or more parts (other than the last) is below 5 MiB. > > **Fix:** every part except the final one must be **at least 5 MiB**. Most SDKs enforce this automatically; if you're hand-rolling multipart, check your part-sizing logic. > > Aborted incomplete uploads keep their uploaded parts billed as storage until cleaned up. Run an `AbortMultipartUpload` for the upload ID, or apply the **Abort Incomplete Uploads** lifecycle pattern. > [accordion] Upload hangs partway, never completes > > **What's happening:** the request stalls during transfer. > > **Likely causes:** > > 1. **Network instability** — multipart upload retries individual parts; if your network drops more than the retry budget, the whole upload fails. Check your connection's stability. > 2. **Single-part PUT on a large file** — for files larger than \~100 MB, prefer multipart (every modern SDK auto-switches above 5-10 MB; if your code disables it, files past \~5 GB will fail outright). > 3. **Server-side timeout** — large single-PUT requests have a connection time limit. Switch to multipart. > > **Fix:** make sure your client uses multipart for large files. In `boto3`, `s3.upload_file` and `Object.upload_file` use multipart by default. In `aws-cli`, `aws s3 cp` does too. In `aws-sdk-go-v2`, use `s3manager.Uploader` instead of raw `PutObject`. > [accordion] Files appear duplicated or partially uploaded > > **What's happening:** the bucket lists the object but the size or content is wrong. > > **Likely causes:** > > 1. **Multipart upload was aborted before completion** — the parts are billed as storage but invisible. Run `ListMultipartUploads` against the bucket to find them, then `AbortMultipartUpload` on each. > 2. **Two clients raced** to write the same key. Last-write-wins; the loser sees its data overwritten. > 3. **Object listed before consistency window settled** — Raff's listing is strongly consistent, but if you `PutObject` then immediately `ListObjects`, retry once if the object isn't there. > [accordion] Dashboard upload progresses, then nothing happens > > **What's happening:** the upload dialog says complete but the object doesn't show in the bucket. > > **Fix:** > > 1. **Refresh the page** — the bucket listing doesn't always live-update. > 2. **Check the file size** — files above \~100 MB use multipart; the dashboard does this transparently but it can take a moment for the assembly to finish on the server side. > 3. If still missing after 1-2 minutes, contact support with the bucket name and approximate upload time. ## ACLs and access > [accordion] Public bucket but Object URL returns 403 > > **What's happening:** you set the bucket ACL to `Public Read` but accessing the URL in a browser returns Forbidden. > > **Likely causes:** > > 1. **Object has its own `Private` ACL override** — open the object's Details page → Access Control. Set to Public. > 2. **Bucket policy explicitly denies anonymous access** — the bucket ACL grants public, but a `Deny` in the policy wins. Open the [Permissions tab](/products/store/object-storage/quickstart-guides/set-public-private) and review the policy JSON. > 3. **Wrong URL format** — the public URL is `https://<bucket>.s3.raffusercloud.com/<key>`, not `https://s3.raffusercloud.com/<bucket>/<key>` (path style). The latter requires authentication for browser access. > [accordion] Limited access key suddenly stopped working > > **What's happening:** a key that was working starts returning `AccessDenied`. > > **Why:** Limited access keys depend on a **Raff-managed bucket policy** that grants them access. If anyone edited that bucket's policy directly via the S3 API, `aws-cli`, or the dashboard's policy JSON editor, the auto-grant for the Limited key may have been overwritten or removed. > > **Fix:** > > 1. Open the bucket's [Permissions tab](/products/store/object-storage/quickstart-guides/set-public-private). Review the JSON policy — look for statements granting access to your access key ID. > 2. **Easiest path:** delete the existing Limited access key and create a new one — Raff regenerates the bucket policy for the new key. > 3. **Alternative:** restore the missing grant manually in the bucket policy JSON. > 4. **Prevent recurrence:** if your team edits bucket policies often, consider using **Full Access** keys for those buckets — Full Access doesn't depend on bucket policies and can't be broken by policy edits. > [accordion] CORS errors when calling Raff from a browser > > **What's happening:** browser console shows `No 'Access-Control-Allow-Origin' header` or `CORS policy blocked the request`. > > **Fix:** configure CORS on the bucket. Use the S3 SDK's `PutBucketCors` API: > > ```bash theme={null} > aws --endpoint-url https://s3.raffusercloud.com --region us-east \ > s3api put-bucket-cors --bucket my-bucket --cors-configuration '{ > "CORSRules": [{ > "AllowedOrigins": ["https://your-app.example.com"], > "AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"], > "AllowedHeaders": ["*"], > "ExposeHeaders": ["ETag"], > "MaxAgeSeconds": 3000 > }] > }' > ``` > > Don't use `"AllowedOrigins": ["*"]` for buckets that hold private or authenticated content — it lets any site embed your URLs. ## Pricing and billing > [accordion] Storage usage looks higher than what I uploaded > > **What's happening:** the bucket size in the dashboard is bigger than the sum of files you can see. > > **Likely causes:** > > 1. **Aborted multipart uploads** — uploaded parts that never completed assembly are still stored and billed. List with `ListMultipartUploads` and abort. > 2. **Versioning enabled** — every PUT to the same key keeps the previous version. Old versions stay billed until cleaned up. Disable versioning if you don't need it; or expire old versions via lifecycle. > 3. **Hidden delete markers** (versioned buckets) — deleting an object in a versioned bucket leaves a marker; previous versions stay until you explicitly purge. > [accordion] Hit by the \\\$7/month minimum on a small bucket > > **What's happening:** you're storing a few MB of data but billing \$7/month. > > **Why:** the **subscription plan** has a \$7/month base that includes the first 100 GB. If you're storing well under 100 GB, the per-GB rate would be cheaper. > > **Fix:** [request PAYG](/products/store/object-storage/details/features-and-limits#pay-as-you-go-enterprise--smb-on-request) from support — at \$0.07/GB/month with no minimum, small buckets pay only what they use. ## Migration > [accordion] Migrating from AWS S3 — what doesn't port? > > **Not portable:** > > * Calls to S3 Select, Object Lambda, Storage Classes (Glacier / IA / Intelligent-Tiering), Object Lock compliance modes, S3 Replication, Access Points, Transfer Acceleration, IAM-principal bucket policies, KMS-managed keys. > > **Portable:** > > * Bucket / object CRUD, multipart, ACLs, bucket policies (rewritten to use access keys instead of IAM principals), CORS, versioning, presigned URLs. > > **Migration path:** [`rclone`](#rclone--best-for-syncs-and-mass-copies) with both providers configured as remotes; `rclone sync source:bucket raff:bucket`. Or [contact support](mailto:support@rafftechnologies.com) — Raff can run end-to-end migrations and hand you a working bucket. See [S3 compatibility](/products/store/object-storage/concepts/s3-compatibility) for the full feature matrix. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The **bucket name** and the **access key ID** in use * The exact **error message** from your SDK / CLI / browser console * The **request ID** (most SDKs surface this — `e.response['ResponseMetadata']['RequestId']` in boto3, `Error.RequestId` in JS, etc.) * The **timestamp** (with timezone) of the failed request * A minimal repro if possible — the smallest code that triggers the problem Status page: [rafftechnologies.com/status](https://rafftechnologies.com/status). # Volume types Source: https://docs.rafftechnologies.com/products/store/volumes/concepts/volume-types What a Raff volume is, how it persists, how it attaches, and what currently varies between volumes <sub>Updated May 8, 2026</sub> A Raff volume is a single block device that you attach to a VM. Every volume on the platform today shares the same characteristics — Raff offers **one volume class** at the moment, so the choice you actually make at create time is *size* and *billing term*, not a performance tier. This page describes the model so you know what behaviour to expect, where volumes sit relative to your other storage options, and which properties are fixed vs which the platform may expand later. ## What every Raff volume is | Property | Value | | - | - | | **Class** | Single tier — **NVMe SSD** block storage (HDD tier coming) | | **Block driver** | virtio-blk (devices appear as `/dev/vda`, `/dev/vdb`, …) | | **Size range** | 10 - 1000 GiB | | **Resize** | One-way grow only — no shrinking | | **Attach model** | Single-attach — one VM at a time | | **Region scope** | Volumes are bound to the region of the VM they attach to | | **Project scope** | Volumes inherit the project of their attached VM | | **Lifecycle** | Independent of any VM — survive VM delete | | **Filesystem** | You choose at create time (Linux: ext4 / xfs; Windows: NTFS via Disk Management) | There are no performance tiers, IOPS classes, or "general purpose vs optimized" variants today. Future tiers may be added; this page will list them when they exist. ## Persistence model A volume is **independent of the VM it attaches to**. Conceptually, a volume sits next to the VM, not inside it. | VM event | Volume result | | - | - | | VM stop / start | Stays attached, contents intact | | VM reboot | Stays attached, contents intact | | VM resize (compute) | Stays attached, contents intact | | VM reinstall (Change OS) | Stays attached — survives the OS-disk wipe | | VM factory reset | Stays attached — preserved | | VM destroy | **Detached, not deleted** — keeps existing in your account, billing for storage, until you delete the volume separately | This is the practical reason to put data you can't lose **on a volume**, not on the VM's base disk. The base disk is destroyed with the VM; volumes outlive it. See [Storage model](/products/build/virtual-machines/concepts/storage-model) for the full survival matrix across all storage objects. ## Single-attach scope A volume can be attached to **one VM at a time**. This is a hard constraint — Raff doesn't support multi-attach (where two VMs see the same volume simultaneously). | Goal | Use volumes? | Use what instead | | - | - | - | | Add disk to one VM | **Yes** | — | | Move data between VMs serially | **Yes** — detach from VM A, attach to VM B | — | | Two VMs reading the same files at once | **No** | [Object Storage](/products/store/object-storage) | | Shared filesystem across many VMs | **No** | Object Storage, or a self-hosted NFS/Ceph on a dedicated VM | | High-availability replicated storage | **No** at the volume layer | Application-level replication (database replicas, etc.) | If you find yourself wanting two VMs to see the same volume contents, you almost certainly want Object Storage or an application-level approach. ## Region and project binding A volume's region and project come from the VM it's attached to. Three rules follow: 1. **A volume can only be reattached within its original region.** You can't take a `us-east` volume and attach it to a VM in another region. 2. **Volumes follow their VM's project.** Attach to a VM in project `prod` and the volume sits in `prod`. 3. **Standalone (unattached) volumes** sit in the dashboard's currently-selected region until you attach them. Pick the region carefully when creating an unattached volume — same one-way constraint applies. To "move" a volume across regions: snapshot it, restore the snapshot in the new region, then delete the original. (Cross-region snapshot restore depends on platform support — see [Create a snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot).) ## Volume vs other storage Five storage products on the platform serve different jobs. Volumes are the right answer for **persistent block storage attached to one VM**. | Need | Use | | - | - | | Boot the OS / system disk | VM **base disk** (comes with the plan) | | Extra block storage on one VM | **Volume** | | Shared bucket for many readers / writers | [Object Storage](/products/store/object-storage) | | Restore point before a risky change | [Snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) (snapshots can target volumes too) | | Routine scheduled protection | [Backups](/products/build/virtual-machines/quickstart-guides/enable-backups) (backups apply to VMs today) | | Reusable golden image to deploy from | [Custom images](/products/build/virtual-machines/concepts/custom-images) | ## What's billed | Item | Rate | | - | - | | Storage capacity | \$0.05 / GiB / month — flat rate on every subscription term **and** on PAYG (when enabled by support for enterprise/SMB) | | Data transfer between VM and attached volume | Free, never metered | | Snapshots of a volume | Per GB-hour — see snapshot pricing | See [Pricing](/products/build/virtual-machines/details/pricing) for how volume billing fits into the wider subscription / balance / credit model. ## What's coming, what's not * **Performance tiers** — not available today; if added, they'll appear in the create dialog and be documented here. * **Multi-attach** — not on the roadmap; for shared access, use Object Storage. * **Encryption-at-rest configuration** — volumes are encrypted by default at the platform level; per-volume key management is not exposed today. * **Cross-region replication** — not at the volume layer; do it at the application layer or via snapshot/image. ## Related > [card] [Create a volume](/products/store/volumes/quickstart-guides/create-a-volume) > > Pick size, billing term, format, and target VM. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > How volumes fit alongside snapshots, backups, and images. > [card] [Object Storage](/products/store/object-storage) > > The right answer when you need shared, multi-reader storage. # Volumes features and limits Source: https://docs.rafftechnologies.com/products/store/volumes/details/features-and-limits Full feature list for Raff volumes plus capacity, attach, and lifecycle limits <sub>Updated May 8, 2026</sub> ## Features ### Capacity and resize * **Single performance class** — every volume is **NVMe SSD**; no tiers to choose from today * **10 - 1000 GiB** size range at create time * **Online resize (grow)** — increase capacity any time while attached; OS-side filesystem extension required to see the new space * **One-way only** — volumes can grow but not shrink ### Driver and device naming * **virtio-blk** block driver inside every guest * Device paths: `/dev/vda` (OS disk), `/dev/vdb`, `/dev/vdc`, … (attached volumes in attach order) * No `/dev/sd*` or `/dev/nvme*` paths — those don't exist on Raff ### Filesystems * **Auto-format at create time (Linux only)** — pick **ext4** (default) or **xfs** * **Manual format** — supported on both Linux and Windows; you run `mkfs` (Linux) or initialize via Disk Management (Windows) * **Windows** — auto-format is not supported; format and mount via Disk Management as **NTFS** ### Attach model * **Single-attach** — one VM at a time * **Region-locked** — volumes only attach to VMs in the same region they were created in * **Project-scoped** — volume inherits the project of the attached VM * **Active or passive VM required** — attach and detach work in either state; not while the VM is `provisioning` * **No live multi-attach** — for shared access, use [Object Storage](/products/store/object-storage) ### Lifecycle independence * **Survives VM stop / start / reboot / resize** — always * **Survives VM reinstall and factory reset** — attached, contents intact * **Survives VM destroy** — automatically detached but **not** deleted; keeps billing until you delete it * **Volume snapshots survive volume delete** — see [Storage model](/products/build/virtual-machines/concepts/storage-model) ### Encryption * **Encryption at rest** — enabled by default at the platform level; not configurable per volume ### Bandwidth * **VM ↔ volume traffic is free and unmetered** — included regardless of plan ## Capacity limits | Limit | Value | | - | - | | Minimum volume size | **10 GiB** | | Maximum volume size at create | **1000 GiB** | | Maximum after grow | **1000 GiB** (same cap; growable up to it) | | Volumes per VM | No hard limit — practical limit is `vd*` device naming (`vdb` to `vdz` per Linux) | | Volumes per account | No hard cap — billed by storage; subject to overall account capacity policies | For volumes near the upper end, **xfs** scales better than ext4 on parallel-I/O workloads — see [Volume types](/products/store/volumes/concepts/volume-types). ## Filesystem support | OS | Supported filesystems | Auto-format on create | Mount tool | | - | - | - | - | | Linux | ext4 (default), xfs | ✅ | `mount` + `/etc/fstab` | | Windows | NTFS | ❌ | Disk Management (manual) | | Other (BSD, etc.) | Bring your own (`mkfs`-equivalent) | ❌ | Manual | ## Pricing Same dual-mode model as VMs: **subscription** by default, **PAYG** available on request. ### Subscription (default) | Term | Rate | | - | - | | Monthly | \$0.05 / GiB / month | | Yearly | \$0.60 / GiB / year | | 2 Years | \$1.20 / GiB / 2 years | The per-GiB rate is the same on every term — there's no term discount on volumes today (unlike VM plans, which have term discounts). Charges accrue continuously and settle month-end on the 1st against your account balance, with any remainder charged to your saved card. Resize-up adds prorated cost; delete or downsize credits unused time back to your balance. ### Pay-as-you-go (enterprise / SMB on request) PAYG is available for enterprise and SMB customers — contact [support](mailto:support@rafftechnologies.com) to enable it on your account. The default for new accounts is subscription. | Mode | Rate | When you pay | | - | - | - | | Subscription | \$0.05 / GiB / month | Up front, full term | | PAYG | \$0.05 / GiB / month (accrued hourly) | At cycle close — settled month-end on the 1st | Both modes hit the **same \$0.05/GiB/month** effective rate. The only practical difference is *when* the money leaves your balance — same trade-off as VM subscription vs PAYG. See [Billing model](/products/build/virtual-machines/concepts/billing-model) for the wider money flow including the rotation rule. ## Region and project binding | Property | Inherited from | | - | - | | Region | The VM the volume is attached to (or the dashboard region if standalone) | | Project | The VM the volume is attached to (or the active project if standalone) | | Cross-region attach | Not supported — same-region only | | Cross-project attach | Move the VM's project first, or detach and reattach | To "move" data across regions: take a snapshot in the source region, restore in the destination region, then delete the original. ## Resize behaviour | Action | While attached | While detached | | - | - | - | | Increase size in dashboard | ✅ Supported | ❌ Not supported (the action is only enabled while attached) | | Decrease size | ❌ Not supported in any state | ❌ Not supported in any state | | In-guest grow (`growpart` + `resize2fs` / `xfs_growfs` / Windows Disk Management) | Required to actually use the new space | n/a — must be attached first | ## API endpoints | Operation | Method | Endpoint | | - | - | - | | [Resize volume](/api-reference/volumes/resize-volume) | POST | `/api/v1/volumes/{id}/resize` | | (Other volume endpoints to follow as the public API expands) | | | ## See also > [card] [Volume types](/products/store/volumes/concepts/volume-types) > > Persistence, attach, and binding model. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Where volumes fit in the wider billing picture. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > Volumes vs base disk vs snapshots vs backups vs images. # Volumes Source: https://docs.rafftechnologies.com/products/store/volumes/index NVMe SSD block storage you attach to a VM — survives VM destroy, grows on demand, billed per GiB <sub>Updated May 8, 2026</sub> Volumes are **NVMe SSD** block storage you attach to a Raff VM as additional disk capacity. Use them when a VM needs more storage than its plan includes, or — more importantly — when you want **data to outlive the VM itself**. Volumes survive VM destroy, attach to a different VM, and bill independently. ![Storage Volumes list in the Raff dashboard showing an attached volume "test" mapped to the Finance VM with a Provisioning badge](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-list-attached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=3962513907f91cc470649523b2b977a6) ## At a glance | Property | Value | | - | - | | **Storage class** | Single tier — **NVMe SSD** (no tiers to choose) | | **Size range** | 10 — 1000 GiB at create time | | **Resize** | One-way grow — capacity increases only | | **Attach** | One VM at a time; reattach to a different VM in the same region | | **Survives VM destroy** | Yes — detached, kept in the account, ready to reattach | | **Filesystems** | Linux: ext4 / xfs (auto-format option). Windows: NTFS (manual via Disk Management) | | **Device naming** | `/dev/vdb`, `/dev/vdc`, … (virtio-blk; never `sd*` or `nvme*`) | | **Billing** | Subscription default \$0.05/GiB/month (PAYG on request, same rate) | | **Bandwidth between VM and volume** | Free, never metered | ## When to use a volume | Goal | Use a volume? | Use what instead | | - | - | - | | Add disk to one VM beyond the plan's base NVMe SSD | **Yes** | — | | Keep data when destroying a VM (databases, customer uploads, app state) | **Yes** | — | | Move data between VMs serially (detach → attach to another) | **Yes** | — | | Two VMs reading the same files at once | No — single-attach | [Object Storage](/products/store/object-storage) | | Files served to the public (static assets, downloads) | No | [Object Storage](/products/store/object-storage) | | One-off snapshot before risky changes | No (snapshots are a separate object) | [Snapshots](/products/build/virtual-machines/quickstart-guides/create-snapshot) | | Reusable disk image for many new VMs | No | [Custom images](/products/build/virtual-machines/concepts/custom-images) | If you're hesitating between volumes and Object Storage: **volumes are block devices** (a single VM mounts them like a disk); **Object Storage is HTTP-accessible** (many clients can read/write at once, scales beyond 1 TB, served over a URL). ## How volumes fit in the storage stack A Raff VM has up to five storage objects in its orbit. Volumes are one of them: | Storage object | Lives | Survives VM destroy | Best for | | - | - | - | - | | **Base disk** (in the plan) | Inside the VM | No — destroyed with VM | OS, transient working files | | **Volumes** | Attached to one VM | **Yes — kept** | Data you can't afford to lose with the VM | | **Snapshots** | Independent of the VM | VM-disk snapshots: deleted with VM. Volume snapshots: survive | Restore points before risky changes | | **Backups** | Independent | Yes (per retention) | Routine scheduled VM protection | | **Custom images** | Account-wide | Yes | Golden images for new VMs | See [Storage model](/products/build/virtual-machines/concepts/storage-model) for the full survival matrix and decision flowchart across every lifecycle event. *** ## Most viewed > [card] [Create a volume](/products/store/volumes/quickstart-guides/create-a-volume) > > Pick size, billing term, target VM, and how it should be formatted. > [card] [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) > > Dashboard attach + format and mount inside the VM. > [card] [Resize a volume](/products/store/volumes/quickstart-guides/resize-volume) > > Grow capacity, then expand the filesystem inside the guest. > [card] [Detach from a VM](/products/store/volumes/quickstart-guides/detach-from-vm) > > Free a volume cleanly so you can reattach it elsewhere. *** ## Browse > [card] [Quickstart & guides](/products/store/volumes/quickstart-guides/create-a-volume) > > Create, attach, resize, detach, delete. > [card] [Concepts](/products/store/volumes/concepts/volume-types) > > Persistence model and single-attach scope. > [card] [Details](/products/store/volumes/details/features-and-limits) > > Features, limits, pricing. > [card] [Troubleshooting](/products/store/volumes/troubleshooting) > > Common volume issues — attach, mount, resize, detach. > [card] [API Reference](/api-reference/volumes/introduction) > > Volume endpoints. > [card] [Changelog](/api-reference/changelog) > > All API updates and changes. # Attach to a VM Source: https://docs.rafftechnologies.com/products/store/volumes/quickstart-guides/attach-to-vm Mount a Raff volume on a Linux or Windows VM, format it, persist it across reboots, and grow it after a resize <sub>Updated May 8, 2026</sub> Attaching a volume happens in two halves: tell Raff which VM the volume is for (dashboard side), then format and mount it inside the OS (guest side). This page covers both. ## Before you start * The VM and the volume are in the **same region** — you can't attach across regions * The VM is in `active` or `passive` state — attach works on both * For Linux: shell access (SSH, browser terminal, or VNC); for Windows: RDP access ## 1. Attach in the dashboard From **Compute Resources → Volumes**, find the volume you want to attach. Open its row's **⋮** Actions menu and pick **Attach to VM**. ![Volume row Actions menu when unattached, showing Attach to VM, Configure volume, and Delete options](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-row-actions-unattached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=1c490d8a18d3778dfb7c22cd8f5f4348) The Attach Volume to VM dialog asks for the target VM: ![Attach Volume to VM dialog with the volume name pre-filled and a Select VM dropdown plus the active/passive requirement note](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/attach-to-vm-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=d6b91122be84d5c92da6910b6a0dd69c) Pick a VM and click **Attach**. The volume's status briefly shows **Provisioning** while the hypervisor wires it in (this is the normal `provisioning` state — the VM you attached to keeps running). Once it settles, the row shows the attached VM name: ![Volumes list showing the test volume now attached to the Finance VM with a Provisioning badge](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-list-attached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=3962513907f91cc470649523b2b977a6) ![Volume row Actions menu when attached, showing Detach from VM, Increase size, Take snapshot, Configure volume, Delete](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-row-actions-attached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=8dc9a2c67ce25257873a649f2fcbb553) The actions menu changes when a volume is attached — **Detach from VM**, **Increase size**, and **Take snapshot** become available; **Attach to VM** disappears. The dashboard side is done. The volume now shows as a block device inside the VM, but it's **raw** — no partition, no filesystem. The rest of this page covers the in-guest steps; the dashboard also has a **Configure volume** helper that prints the same commands ready to copy — see below. ## 1b. Use the Configure volume helper Instead of writing the commands by hand, you can open **Configure volume** from the volume's row actions menu. The dialog gives you OS-specific, copy-pasteable instructions tuned to your volume's size, name, and chosen filesystem. ![Mount Your Volume helper with Linux/Windows tabs, filesystem picker, and copy-pasteable ssh / lsblk / mkfs commands](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/configure-volume-mount-helper.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=fef444adb3c9f6f4015c1f81d8f2ceba) Two tabs: **Linux** and **Windows**. Each gives you the exact steps in order: * **Step 1:** `ssh username@your-vm-ip-address` * **Step 2:** `lsblk` — find the new device (typically `vdb`, the next letter after the OS disk) * **Step 3:** `sudo mkfs.<fs> /dev/<device>` — format with the filesystem you picked at create time After step 3 the helper shows the mount and `/etc/fstab` commands. The Windows tab points you at Disk Management instead. If you formatted automatically at create time, only the mount step is shown — formatting is already done. The instructions below are the manual reference for the same flow if you'd rather understand each step. ## 2. Find the new device (Linux) SSH in and list block devices: ```bash theme={null} lsblk ``` Look for an entry that doesn't already have a mount point. On Raff, volumes always use the **virtio-blk** driver, so device names follow the `/dev/vd*` pattern: | Position | Device path | | - | - | | OS disk | `/dev/vda` | | First attached volume | `/dev/vdb` | | Second attached volume | `/dev/vdc` | | …and so on | `/dev/vdd`, `/dev/vde`, … | You won't see `/dev/sd*` or `/dev/nvme*` paths on Raff — those are different hypervisor configurations. If `lsblk` shows something other than `vd*` for your new volume, double-check you're inside a Raff VM. If you don't see the new device, force a re-scan: ```bash theme={null} echo "- - -" | sudo tee /sys/class/scsi_host/host0/scan ``` ## 3. Format the volume (Linux) > [!WARNING] > > `mkfs` destroys any existing data on the device. Run this only on **new, empty** volumes. For most workloads, **ext4** is the safe default. **xfs** is preferred for very large volumes (multi-TB) or workloads with many parallel writes. ```bash theme={null} # ext4 (default choice) sudo mkfs.ext4 -L data /dev/vdb # xfs (large volumes, parallel I/O) sudo mkfs.xfs -L data /dev/vdb ``` The `-L data` sets a filesystem label you can refer to later. ## 4. Mount it (Linux) Create a mount point and mount the volume: ```bash theme={null} sudo mkdir -p /mnt/data sudo mount /dev/vdb /mnt/data ``` Confirm: ```bash theme={null} df -h /mnt/data ``` ## 5. Persist across reboots — `/etc/fstab` (Linux) A `mount` command doesn't survive reboot. Add an `/etc/fstab` entry. Get the volume's UUID: ```bash theme={null} sudo blkid /dev/vdb # /dev/vdb: LABEL="data" UUID="b1234567-89ab-cdef-0123-456789abcdef" TYPE="ext4" ``` Add to `/etc/fstab`: ``` UUID=b1234567-89ab-cdef-0123-456789abcdef /mnt/data ext4 defaults,nofail,x-systemd.device-timeout=10 0 2 ``` Notes: * Use **UUID**, not `/dev/vdb` — device letters can change after a hot-attach reorder. * `nofail` and `x-systemd.device-timeout=10` make boot tolerant of a missing volume; without them, a detached or un-attached volume can trap the boot in emergency mode. * For xfs, replace `ext4` with `xfs`. Test the entry without rebooting: ```bash theme={null} sudo umount /mnt/data sudo mount -a df -h /mnt/data ``` If `mount -a` fails, fix the `/etc/fstab` line before rebooting — see [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) if it's already too late. ## 6. Format and mount on Windows On a Windows Server VM, attach the volume in the dashboard, then: 1. Open **Server Manager → Tools → Computer Management → Disk Management**. 2. The new disk shows as **Offline** and **Not Initialized**. Right-click → **Online**. 3. Right-click the disk again → **Initialize Disk**. Pick **GPT**. 4. Right-click the unallocated space → **New Simple Volume**. 5. Walk the wizard: assign a drive letter (e.g. `D:`), format as **NTFS**, give it a label. The volume now mounts automatically across reboots — no `fstab` equivalent needed. ## 7. Grow a volume after resize When you [resize a volume](/products/store/volumes/quickstart-guides/resize-volume) up in the dashboard, the underlying block device grows immediately, but the filesystem doesn't know. You need to extend it inside the VM. ### Linux — partitioned volume ```bash theme={null} # Re-read the device size sudo partprobe /dev/vdb # Grow the partition (only if you partitioned it) sudo growpart /dev/vdb 1 # Extend the filesystem sudo resize2fs /dev/vdb1 # ext4 # or sudo xfs_growfs /mnt/data # xfs (mountpoint, not device) ``` ### Linux — whole-device filesystem (no partition) If you `mkfs`-ed the device directly (no partition table), there's no `growpart` step: ```bash theme={null} sudo resize2fs /dev/vdb # ext4 sudo xfs_growfs /mnt/data # xfs ``` ### Windows In **Disk Management**, right-click the volume → **Extend Volume** and walk the wizard. ## 8. Detach safely Before detaching, unmount cleanly so writes flush: **Linux:** ```bash theme={null} sudo umount /mnt/data # Remove the /etc/fstab entry too — otherwise next boot waits for a missing volume ``` **Windows:** * In Disk Management, right-click the volume → **Offline**. Then in the dashboard, [detach](/products/store/volumes/quickstart-guides/detach-from-vm) the volume. ## Quick troubleshooting | Symptom | Likely cause | | - | - | | `lsblk` doesn't show the new device | Re-scan SCSI host (step 2); confirm the volume attached to *this* VM | | `mount` fails with `wrong fs type` | You haven't formatted yet — see step 3 | | `df -h` shows old size after resize | Filesystem hasn't grown — run `resize2fs` / `xfs_growfs` (step 7) | | Boot drops to emergency shell after `/etc/fstab` edit | Bad fstab line — see [Recover a locked-out VM](/products/build/virtual-machines/quickstart-guides/recover-locked-vm) | | Volume seems detached after reboot | Forgot `nofail` or used `/dev/vdb` instead of UUID — fix the fstab line | ## Next steps > [card] [Resize a volume](/products/store/volumes/quickstart-guides/resize-volume) > > Grow a volume in the dashboard, then extend the filesystem. > [card] [Detach from a VM](/products/store/volumes/quickstart-guides/detach-from-vm) > > Free a volume to reattach elsewhere. > [card] [Volume types](/products/store/volumes/concepts/volume-types) > > Performance tiers and persistence model. # Create a volume Source: https://docs.rafftechnologies.com/products/store/volumes/quickstart-guides/create-a-volume Provision a new block volume — pick size, billing term, target VM, and how it should be formatted <sub>Updated May 8, 2026</sub> A **volume** is block storage you attach to a VM as additional disk capacity beyond its base disk. Volumes live in the same region as the VM they attach to, can be detached and reattached to a different VM in that region, and survive the VM if it's deleted. This page walks the dashboard create flow. For the in-guest formatting / mounting / resizing steps, see [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm). ## Before you start * A Raff account * (Optional) A target VM in `active` or `passive` state — you can also create the volume unattached and attach later * An idea of how much space you need (volumes range from **10 - 1000 GiB**) ## 1. Open the Add Volume dialog From the **Compute Resources** page, switch to the **Volumes** tab and click **+ Add Volume**. ![Compute Resources Volumes tab with the empty state and the Add Volume button](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/create-a-volume-01-volumes-tab.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=880d0ebe9ad75c83d356147a20293b53) The Add Volume dialog opens with all the fields you'll fill on this one form. ![Add a volume dialog showing Select Volume Size, Billing Period, Select VM to Attach to, and Name Volume fields](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/create-a-volume-02-add-dialog.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=665297e23b95badfdfec1f76419b94b4) ## 2. Select volume size Type a size in GiB. Range is **10 - 1000 GiB**. You can [grow the volume later](/products/store/volumes/quickstart-guides/resize-volume), but you can't shrink it — pick conservatively if you're unsure. ## 3. Pick a billing period Volumes are **subscription-based by default**, paid in advance from your account balance. Pay-as-you-go is available for enterprise and SMB customers on request — same effective \$0.05/GiB/month rate, billed hourly at cycle close. | Term | Rate | | - | - | | **Monthly** | \$0.05 / GiB / month | | **Yearly** | \$0.60 / GiB / year | | **2 Years** | \$1.20 / GiB / 2 years | The volume cost is reserved at creation. If you delete the volume mid-term, the unused days and hours are credited back to your account balance — same model as VMs. See [Billing model](/products/build/virtual-machines/concepts/billing-model). ## 4. Select VM to attach to (optional) | Choice | Effect | | - | - | | **Specific VM** | Volume is attached on creation; visible inside the VM as a new block device | | **None (No VM attachment)** | Volume is created standalone in your selected region; attach later via the Volumes tab | The VM must be in `active` or `passive` state to attach. **Volumes inherit the VM's region and project** — they can only be reattached to other VMs in the same region. If you pick **None**, the volume is created in the dashboard's currently-selected region. ## 5. Name the volume A free-form label. Pick something descriptive — `db-backups`, `customer-uploads`, `acme-data` — so it's easy to spot in the Volumes list. ## 6. Choose configuration options This step **changes based on the selected VM's OS**. Linux and Windows behave differently. ### Linux VMs (or no VM selected) Two options: ![Configuration options for Linux: Automatically Format selected with Ext4/XFS choice, plus Manually Format & Mount alternative](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/create-a-volume-03-config-linux.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=f88a7805ac0c458c995de6529b2e5388) | Option | What it does | When to use | | - | - | - | | **Automatically Format** | Raff formats the volume with your chosen filesystem before attaching. You still have to **mount it manually** inside the VM after creation. | Default for most workloads — saves a step | | **Manually Format & Mount** | Volume is attached raw. You handle `mkfs`, `mount`, and `/etc/fstab` yourself. | When you need a specific filesystem version, mount options, or LVM/RAID setup | **Filesystem (Auto-format only):** | Filesystem | Best for | | - | - | | **Ext4** | Default Linux choice — broadly compatible, well-understood, fine for nearly any workload | | **XFS** | Large volumes (multi-hundred-GB+), parallel I/O, databases with many concurrent writes | Either way, you'll need to mount the volume in the OS after creation. See [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) for the `lsblk` → `mount` → `/etc/fstab` flow. ### Windows VMs Auto-format is **not supported on Windows**. The dashboard surfaces this with an inline note and only offers manual format & mount: ![Configuration options when a Windows VM is selected: warning that auto-format is not supported, with Manually Format & Mount as the only option](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/create-a-volume-04-config-windows.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=e4f2defd69a31f53bba777710c439a3f) The volume attaches as a raw disk. After creation, format it from inside Windows: 1. **Server Manager → Tools → Computer Management → Disk Management** 2. New disk shows as **Offline** and **Not Initialized** → right-click → **Online** → **Initialize Disk** (pick **GPT**) 3. Right-click the unallocated space → **New Simple Volume** → walk the wizard, format **NTFS**, assign a drive letter This is also covered in the [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm#6-format-and-mount-on-windows) walkthrough. ## 7. Proceed to checkout Click **Proceed to Checkout**. The order summary applies your account balance first, then charges your saved card for the difference (same flow as VMs). Confirm to provision. The volume is created in seconds. If you picked a target VM, it appears as a new block device almost immediately — re-scan with `lsblk` (Linux) or **Disk Management** (Windows). ## After creation * **Linux, auto-formatted** — disk has a filesystem; mount it (`mount /dev/vdX /mnt/data`) and add a `/etc/fstab` entry. See [Attach to a VM → step 4 onward](/products/store/volumes/quickstart-guides/attach-to-vm#4-mount-it-linux). * **Linux, manual** — same as above, plus `mkfs.ext4` or `mkfs.xfs` first. * **Windows** — Disk Management as described above. ## Pricing summary | Item | Rate | | - | - | | Per-GiB storage | \$0.05 / GiB / month (same per-GiB cost on all subscription terms) | | Charges accrue | Continuously while the volume exists | | Settlement | Month-end on the 1st against your account balance | Bandwidth between a VM and its attached volume is **free and not metered** — the volume bills only for stored capacity. ## Next steps > [card] [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) > > Format, mount, and persist the volume inside the VM. > [card] [Resize a volume](/products/store/volumes/quickstart-guides/resize-volume) > > Grow capacity later (one-way). > [card] [Volume types](/products/store/volumes/concepts/volume-types) > > Performance and persistence model. # Delete a volume Source: https://docs.rafftechnologies.com/products/store/volumes/quickstart-guides/delete-volume Permanently remove a volume, stop its billing, and credit unused subscription time back to your balance <sub>Updated May 8, 2026</sub> Deleting a volume permanently destroys its data and stops the volume's subscription billing. On a subscription, the unused days and hours of the current term are credited back to your **account balance**. > [!NOTE] > > **Deleting a VM can also delete its attached volumes** in one step. The [Destroy VM](/products/build/virtual-machines/quickstart-guides/delete-vm#step-2-final-confirmation-volumes-and-vpcs) flow's final-confirmation dialog lets you pick **Detach (keep)** or **Delete** for every attached volume. If you're tearing down a VM that owns its volume, pick **Delete** there and you don't need to come back to this page. ## Before you delete > [!WARNING] > > Deletion is permanent. Every byte on the volume is destroyed. If you might want the data later, take a [snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) of the volume first — snapshots survive volume delete. Checks before clicking Delete: * Is the volume attached? **Detach it first** (or the dashboard will block delete with a warning). * Is the data important? Take a snapshot first — snapshots persist independently of the volume they came from. * Is there an `/etc/fstab` entry on a VM still pointing at this volume? Remove it after delete to avoid boot warnings. ## 1. Open the Delete action In the **Volumes** list, open the volume's row **⋮** Actions menu and pick **Delete**. ![Volume row Actions menu showing Delete in red at the bottom (unattached state)](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-row-actions-unattached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=1c490d8a18d3778dfb7c22cd8f5f4348) The Delete action sits at the bottom of the menu in red, in both attached and unattached actions menus. If the volume is currently attached, detach it first — see [Detach from a VM](/products/store/volumes/quickstart-guides/detach-from-vm). ## 2. Confirm A confirmation dialog opens with the destructive-action warning and a reminder of what happens to your subscription: ![Delete volume confirmation dialog with permanent-action warning, Subscription Billing notice that remaining days return to your account balance, and red Delete button](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/delete-volume-01-confirm.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=b9a3bb404f59da591d4f260710c9c33e) The dialog shows: * The volume name and a clear "this action cannot be undone" warning * A blue **Subscription Billing** info panel — "Your current subscription will be cancelled and the remaining days will be returned to your account balance" * **Cancel** and **Delete** (red) buttons Click **Delete**. The volume disappears from the list within seconds. ## What happens on delete | Resource | Result | | - | - | | **Volume contents** | Destroyed — every byte unrecoverable | | **Subscription** | Closed; unused days and hours credited back to your **account balance** | | **Volume snapshots** | Retained — snapshots live independently of the source volume | | **Backups (none for volumes today)** | n/a — Raff backups apply to VMs, not volumes; volume snapshots are the protective copy | | **VM `/etc/fstab` entries** | Still on the VM — clean up to avoid boot warnings | ## Subscription credit on delete When you delete a volume mid-term (Monthly / Yearly / 2-Year), the prorated unused time is credited to your account balance. The credit is immediate and can fund another volume, top up a VM subscription, or sit until your next renewal. It is **not refunded to your card** — see [Billing model](/products/build/virtual-machines/concepts/billing-model). ## Recover a deleted volume You can't undelete. Recovery options: * **From a volume snapshot** — if you took one before delete, create a new volume from it. (Snapshots survive volume delete, but not VM delete in the case of volume snapshots tied to a since-deleted VM — keep at least one snapshot per protective generation.) * **From a copy elsewhere** — Object Storage, off-platform backups, or a database dump. * **From scratch** — if you have neither, the data is gone. This is why production volumes should run a snapshot schedule. ## Next steps > [card] [Volume types](/products/store/volumes/concepts/volume-types) > > What lives on a volume vs the VM's base disk. > [card] [Storage model](/products/build/virtual-machines/concepts/storage-model) > > How volumes fit alongside snapshots, backups, and images. # Detach from a VM Source: https://docs.rafftechnologies.com/products/store/volumes/quickstart-guides/detach-from-vm Cleanly unmount a volume from a VM so it can be reattached elsewhere, while keeping all data intact <sub>Updated May 8, 2026</sub> Detaching frees a volume from its current VM. The data is untouched — you can reattach the same volume to a different VM in the same region whenever you want. ## Before you start * **The dashboard recommends powering off the VM before detach** — it warns you in the confirmation dialog and offers a "Detach Anyway" option. Powering off is the safest path; if you need to keep the VM running, at minimum unmount the volume cleanly inside the OS first. * The VM must be in `active` or `passive` state. If the VM is `provisioning` (e.g. taking a snapshot or backup) the dashboard blocks detach with a warning. * The volume is currently attached to a VM. **Detach from VM** only appears in the actions menu when the volume is attached. ## 1. (Recommended) Power off the VM, or unmount cleanly The cleanest path is to **power off the VM** before detach — the dashboard explicitly recommends this in the confirmation dialog. If powering off isn't an option, unmount the volume inside the running OS first. ### Linux — unmount in the live OS ```bash theme={null} # Stop anything writing to the mount point sudo lsof +D /mnt/data # see what's using it # Stop the offending services first sudo umount /mnt/data ``` If `umount` complains the device is busy, find and stop the process holding it (`fuser -m /mnt/data`). Edit `/etc/fstab` and **remove or comment out** the line for this volume — otherwise the next boot can hang waiting for a missing device. (If you added `nofail` per the [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) guide, the boot won't hang — but cleaning up the line is still good hygiene.) ### Windows — offline in Disk Management In **Computer Management → Disk Management**, right-click the volume → **Offline**. The drive letter disappears once Windows confirms there are no open handles. ## 2. Detach in the dashboard In the **Volumes** list, open the volume's row Actions menu and pick **Detach from VM**. ![Volume row Actions menu while attached, showing Detach from VM at the top](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-row-actions-attached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=8dc9a2c67ce25257873a649f2fcbb553) A confirmation dialog opens with the data-corruption warning: ![Confirm Volume Detachment dialog warning that it's recommended to power off the VM before detaching, with Cancel and red Detach Anyway buttons](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/detach-from-vm-01-confirm.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=e8f120855dbb47b2c54a5d546680818c) If the VM is fully powered off, click **Detach Anyway** — the warning still shows, but there's no live filesystem at risk. If the VM is running and you've unmounted, click **Detach Anyway** to confirm. If you haven't unmounted yet, **Cancel**, unmount first, then come back. The volume's row updates to show **Not attached**. The actions menu narrows to **Attach to VM**, **Configure volume**, and **Delete** — **Increase size** and **Take snapshot** are only available while attached. ## If the VM is in `provisioning` If a snapshot or backup is in progress on the VM, detach is blocked with a top-of-page warning: ![Top-of-page warning: Please wait! VM is not ready to detach volume. VM should be in an active or passive state to detach volumes](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/detach-from-vm-02-not-ready-warning.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=b29627c0e90a7c2e83024e9b419541a5) Wait for the snapshot/backup to finish (the VM returns to `active` or `passive`), then retry the detach. ## What's preserved on detach | Item | Result | | - | - | | Volume contents | Untouched — every byte preserved | | Filesystem | Untouched (still ext4 / xfs / NTFS as before) | | `/etc/fstab` entry on the VM | Still there unless you removed it — clean it up | | Volume billing | Continues — the volume still exists, just isn't attached | | Snapshots taken from this volume | Untouched | ## After detaching The volume sits standalone in your region until you do something with it. Three options: | Goal | What to do | | - | - | | Move to another VM | [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) — pick the new target. The data is the same; you only need to mount it inside the new VM (`/etc/fstab`). | | Keep around as cold storage | Nothing — the volume keeps existing and billing for storage. | | Stop billing entirely | [Delete the volume](/products/store/volumes/quickstart-guides/delete-volume). Take a snapshot first if you want to preserve the data. | ## Next steps > [card] [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) > > Move the volume to a different VM in the same region. > [card] [Delete a volume](/products/store/volumes/quickstart-guides/delete-volume) > > Permanently remove if no longer needed. # Resize a volume Source: https://docs.rafftechnologies.com/products/store/volumes/quickstart-guides/resize-volume Grow an attached volume's capacity in the dashboard, then expand the filesystem inside the VM <sub>Updated May 8, 2026</sub> You can grow a volume any time you need more space — up to the **1000 GiB** maximum. Resize is **one-way**: volumes can grow but cannot shrink. Pick conservatively if you're unsure. Resize happens in two halves: increase the size in the dashboard, then expand the filesystem inside the VM so the OS sees the new space. ## Before you start * The volume must be **attached to a VM** — `Increase size` is only available in the actions menu while the volume is attached. * The new size must be larger than the current size. * Have a way to run commands inside the VM (SSH or VNC for Linux; RDP for Windows). * For production volumes, take a [snapshot](/products/build/virtual-machines/quickstart-guides/create-snapshot) before resizing — `growpart` and `resize2fs` are well-tested but a snapshot is cheap insurance. > [!WARNING] > > Storage resize is **one-way**. You can grow a volume but you cannot shrink it. ## 1. Increase the size in the dashboard In the **Volumes** list, open the volume's row **⋮** Actions menu and pick **Increase size**. ![Volume row Actions menu while attached, showing Increase size and Take snapshot enabled](https://mintcdn.com/rafftechnologiesllc/a91oYwDQBgIexVcf/images/products/store/volumes/volume-row-actions-attached.png?fit=max\&auto=format\&n=a91oYwDQBgIexVcf\&q=85\&s=8dc9a2c67ce25257873a649f2fcbb553) Enter the new size. The block device grows in seconds — the underlying disk is bigger, but the filesystem inside the VM still thinks it's the old size until you tell it otherwise. Subscription billing adjusts immediately: * The prorated cost of the additional GiB is reserved against the current term and applied at the next billing settlement. * Your renewal date and term are unchanged — the existing subscription absorbs the increase. ## 2. Expand the filesystem inside the VM The dashboard side only grew the block device. The OS still reports the old size until the partition (if any) and filesystem are extended. ### Linux — partitioned volume ```bash theme={null} # Re-read the new device size from the kernel sudo partprobe /dev/vdb # Grow the partition (only if you partitioned the volume; skip if you formatted the raw device) sudo growpart /dev/vdb 1 # Extend the filesystem sudo resize2fs /dev/vdb1 # ext4 # or sudo xfs_growfs /mnt/data # xfs — pass the mountpoint, not the device ``` ### Linux — whole-device filesystem (no partition) If you `mkfs`-ed the device directly with no partition table, skip `growpart`: ```bash theme={null} sudo resize2fs /dev/vdb # ext4 sudo xfs_growfs /mnt/data # xfs ``` ### Windows 1. Open **Server Manager → Tools → Computer Management → Disk Management**. 2. Right-click the volume → **Refresh** if the new space isn't visible yet. 3. Right-click the volume → **Extend Volume** and walk the wizard. The OS now reports the new size. Verify with `df -h` (Linux) or **Computer Management → Disk Management** (Windows). ## What's unaffected | Item | After resize | | - | - | | Volume contents | Untouched — all data preserved | | Mount point | Unchanged | | `/etc/fstab` entry | Still works (UUID-based or device-based) | | VM uptime | The VM keeps running through the resize | | Filesystem type | Unchanged | ## When to resize vs add another volume | Goal | Use | | - | - | | Need more contiguous space on the same mount | **Resize** the existing volume | | Want a separate logical store (e.g. database vs logs) | **Add another volume** with [Create a volume](/products/store/volumes/quickstart-guides/create-a-volume) | | Need to *reduce* volume size | Not supported — create a new smaller volume, copy what you need, swap, delete the old | | Multiple VMs need shared access | Volumes attach to one VM at a time — use [Object Storage](/products/store/object-storage) for shared access | ## Pricing Resize charges the prorated difference for the added GiB at the standard \$0.05/GiB/month rate, applied to your account balance first then your saved card if needed. Settles at month-end on the 1st along with the rest of your subscription. See [Billing model](/products/build/virtual-machines/concepts/billing-model). ## Next steps > [card] [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) > > Full mount and `/etc/fstab` flow. > [card] [Create a volume](/products/store/volumes/quickstart-guides/create-a-volume) > > Add a new volume instead of growing this one. > [card] [Volume types](/products/store/volumes/concepts/volume-types) > > Performance and persistence model. # Volumes troubleshooting Source: https://docs.rafftechnologies.com/products/store/volumes/troubleshooting Common volume issues — attach, mount, resize, detach, delete — and how to fix them <sub>Updated May 8, 2026</sub> The most-seen failures with Raff volumes and the fix that works in each case. If your issue isn't here, contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com). ## Attach and visibility > [accordion] Volume attached in dashboard but `lsblk` doesn't show it > > **What's happening:** the dashboard says the volume is attached, but inside the VM there's no new device. > > **Likely causes & fixes:** > > 1. **Kernel hasn't picked up the new device yet.** Force a re-scan: > ```bash theme={null} > echo "- - -" | sudo tee /sys/class/scsi_host/host0/scan > sudo udevadm trigger > ``` > 2. **Wrong VM.** Volumes attach to one VM at a time — confirm the dashboard shows it attached to *this* VM. > 3. **Looking at the wrong device path.** On Raff, volumes always appear as `/dev/vd*` (virtio-blk). The OS disk is `/dev/vda`; the first attached volume is `/dev/vdb`. If you're looking for `/dev/sd*` or `/dev/nvme*`, you won't find them — those paths don't exist on Raff. > 4. **VM in `provisioning`.** A snapshot or backup running on the VM can delay attach. Wait for `active`/`passive` and retry. > [accordion] Cannot attach — `volume in different region` > > **What's happening:** the dashboard rejects attach to your chosen VM. > > **Why:** volumes are region-locked. A `us-east` volume can only attach to VMs in `us-east`. > > **Fix:** to "move" a volume across regions: take a snapshot, restore in the target region, then delete the original. There is no in-place region migration. > [accordion] Cannot attach — `VM not in active or passive state` > > **What's happening:** attach blocks with a VM-state error. > > **Why:** the VM is in `provisioning`, `booting`, `failure`, or another non-attachable state. Most often caused by a snapshot or backup running. > > **Fix:** wait for the VM to return to `active` or `passive`, then retry. If stuck for more than 10 minutes, see [Troubleshooting → VM stuck in provisioning](/products/build/virtual-machines/troubleshooting#lifecycle-and-state). > [accordion] Volume already attached to another VM > > **What's happening:** you tried to attach a volume that the dashboard says is already in use. > > **Why:** Raff volumes are **single-attach** — one VM at a time. There's no multi-attach mode. > > **Fix:** [detach](/products/store/volumes/quickstart-guides/detach-from-vm) from the current VM, then attach to the new one. For multi-VM shared access, use [Object Storage](/products/store/object-storage) instead. ## Mount and filesystem > [accordion] `mount` fails with `wrong fs type, bad option, bad superblock` > > **What's happening:** the device exists but `mount` rejects it. > > **Why:** the volume isn't formatted yet. New volumes (or volumes you chose **Manually Format & Mount** for at create time) come up raw. > > **Fix:** format first: > > ```bash theme={null} > sudo mkfs.ext4 /dev/vdb # default Linux > # or > sudo mkfs.xfs /dev/vdb # better for large/parallel volumes > ``` > > Then mount and add to `/etc/fstab`. See [Attach to a VM](/products/store/volumes/quickstart-guides/attach-to-vm) for the full flow. > [accordion] Boot drops to emergency shell after adding a volume to `/etc/fstab` > > **What's happening:** the VM rebooted and now hangs at "A start job is running for…" or drops to emergency mode. > > **Why:** the `/etc/fstab` entry references a volume that isn't present at boot — typo, wrong UUID, or volume detached. > > **Fix path:** see [Recover a locked-out VM → Single-user mode via GRUB](/products/build/virtual-machines/quickstart-guides/recover-locked-vm#3-single-user-mode-via-grub-when-the-vm-wont-even-boot-to-login). Boot in single-user, mount root read-write, fix the bad fstab line, reboot. > > **Prevention:** always include `nofail` and `x-systemd.device-timeout=10` in the fstab options — boot won't hang on a missing volume: > > ``` > UUID=… /mnt/data ext4 defaults,nofail,x-systemd.device-timeout=10 0 2 > ``` > [accordion] Wrong device name in `/etc/fstab` after a reboot > > **What's happening:** you used `/dev/vdb` in fstab, the volume now appears as `/dev/vdc` (or vice versa), and the mount fails. > > **Why:** device letters can shift if multiple volumes are attached and the order changes. > > **Fix:** always reference volumes in `/etc/fstab` by **UUID** instead of `/dev/vd*`: > > ```bash theme={null} > sudo blkid /dev/vdb > # /dev/vdb: UUID="b1234…" TYPE="ext4" > ``` > > Then in fstab: `UUID=b1234… /mnt/data ext4 defaults,nofail 0 2`. > [accordion] Permission denied writing to a freshly-mounted volume > > **What's happening:** `mount` succeeds but the user can't write to the mount point. > > **Why:** newly-formatted ext4 / xfs volumes are owned by `root:root` with `0755` permissions. Your application's user can't write. > > **Fix:** chown after mount: > > ```bash theme={null} > sudo chown -R appuser:appuser /mnt/data > sudo chmod 0755 /mnt/data > ``` ## Resize > [accordion] Increased size in dashboard but `df -h` shows old size > > **What's happening:** the volume is bigger at the block-device level (`lsblk` confirms) but the filesystem doesn't see it. > > **Why:** dashboard resize grows the *block device*. The filesystem inside the VM is unchanged until you tell it to grow. > > **Fix (Linux):** > > ```bash theme={null} > sudo partprobe /dev/vdb # re-read disk size > sudo growpart /dev/vdb 1 # only if you partitioned > sudo resize2fs /dev/vdb1 # ext4 — pass the partition or device > # or > sudo xfs_growfs /mnt/data # xfs — pass the mountpoint > ``` > > **Fix (Windows):** **Computer Management → Disk Management** → right-click the volume → **Extend Volume**. > [accordion] `Increase size` action is greyed out / missing > > **What's happening:** the volume row's actions menu doesn't show **Increase size**. > > **Why:** size increases are only available while the volume is **attached** to a VM. > > **Fix:** [attach](/products/store/volumes/quickstart-guides/attach-to-vm) the volume to a VM first, then resize. > [accordion] Need to make a volume smaller > > **Not supported.** Volume resize is **one-way** — grow only. > > **Workaround:** create a new smaller volume, copy what you need over, swap mount points / fstab entries, delete the old volume. ## Detach and delete > [accordion] `Please wait! VM is not ready to detach volume` > > **What's happening:** the dashboard blocks detach with a top-of-page warning. > > **Why:** the VM is in a non-detachable state — usually `provisioning` because a snapshot or backup is running. > > **Fix:** wait for the VM to return to `active` or `passive`, then retry. See [Detach from a VM → If the VM is in `provisioning`](/products/store/volumes/quickstart-guides/detach-from-vm#if-the-vm-is-in-provisioning). > [accordion] `umount` fails with `target is busy` > > **What's happening:** trying to unmount a volume but a process is holding files open. > > **Fix:** > > ```bash theme={null} > sudo lsof +D /mnt/data # list what's open > sudo fuser -m /mnt/data # list processes > # Stop the offending services / processes, then: > sudo umount /mnt/data > ``` > > Worst case, if you can't stop the process, **lazy unmount** then power-cycle the VM: > > ```bash theme={null} > sudo umount -l /mnt/data > ``` > [accordion] Volume still being billed after I deleted my VM > > **What's happening:** you destroyed a VM but the volume is still in your account, accruing charges. > > **Why:** deleting a VM **detaches** any attached volumes; it does not delete them. Volumes survive VM destroy by design. > > **Fix:** [delete the volume](/products/store/volumes/quickstart-guides/delete-volume) from the **Volumes** tab. The unused subscription time is credited back to your account balance. > [accordion] Deleted a volume by accident — can I recover? > > **What's happening:** clicked Delete on a volume you actually needed. > > **Reality:** delete is permanent. Once confirmed, the data is gone. You can't undelete from the dashboard. > > **Recovery options:** > > 1. **From a volume snapshot** taken before delete — create a new volume from the snapshot. > 2. **From a copy elsewhere** (Object Storage, off-platform backup, database dump). > 3. If neither — the data is unrecoverable. This is why production volumes should run on a snapshot schedule. ## State and identity > [accordion] Two volumes have the same name > > **What's happening:** the volume list shows two rows with the same display name. > > **Why:** Raff doesn't enforce unique names across volumes — names are display labels, not identifiers. > > **Fix:** rename one (use the configure action) or identify them by their UUIDs in API responses. For long-term clarity, adopt a naming convention like `<env>-<purpose>-<n>` (e.g. `prod-db-data-01`). > [accordion] Volume status is `provisioning` for a long time > > **What's happening:** a freshly-created or freshly-attached volume sits in `Provisioning` for several minutes. > > **Likely causes:** > > 1. **Large size** — initial provisioning takes longer for large volumes. > 2. **Hypervisor pressure** — the underlying node is busy. > 3. **Auto-format running** — formatting a 1000 GiB volume takes a few minutes. > > **Fix:** wait 5-10 minutes. If still stuck, contact [support](mailto:support@rafftechnologies.com) with the volume ID and the VM ID. ## Still stuck? Contact [support@rafftechnologies.com](mailto:support@rafftechnologies.com) with: * The **volume ID** (from the volumes list URL or `Get volume` API response) * The **attached VM ID** (if applicable) * The exact error message and timestamp * Steps already tried * Relevant logs from inside the VM (`journalctl -xe`, `dmesg | tail -50`) # Why Raff Source: https://docs.rafftechnologies.com/products/why-raff Building the future of cloud computing — one platform where digital teams deploy, store, communicate, automate, and ship AI features without juggling vendors. Read our founding story, mission, vision, values, and the ecosystem we're building. <sub>Updated May 8, 2026</sub> # Building the future of cloud computing Years of working with founders and digital teams taught us one thing — they need to focus on **building**, not managing infrastructure. That's why we created Raff. *** ## Why we started Raff After years in the cloud industry, we saw digital teams struggling with the same problem: **juggling 5–10 different services** just to run their business. One vendor for compute, another for database, another for email, another for object storage, another for queues, and so on. Each one with its own dashboard, its own billing model, its own auth system, its own quirks. We founded Raff to solve this — **one platform** where builders can deploy, store, communicate, automate, and ship AI features without managing multiple vendors. We're building for builders who want to focus on their product, not their infrastructure. > **Start simple, add what you need, never outgrow us. One platform, one partner.** If you want to see the model in action, the fastest path is [creating a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) — five minutes from sign-up to a Linux or Windows server you fully control. *** ## Our mission We give digital teams one platform to build their entire business — **compute, data, email, automation, and AI** — without juggling multiple vendors. ## Our vision To be **the platform digital businesses choose to grow with** — from first server to full-scale operation. *** ## The Raff ecosystem One platform for digital teams. Everything you need to build, store, communicate, automate, and deploy AI — under one account, one bill, one API. > [card] [Build — Ready](/products/build/virtual-machines) > > **VPS, Apps, Kubernetes** — deploy your way. Linux and Windows VMs with SSH/RDP, managed Kubernetes, and PaaS app hosting all on the same fleet. > [card] [Store — Live + expanding](/products/store/object-storage) > > **Volumes, Object Storage** today; Database and Vector storage on the roadmap. S3-compatible buckets, NVMe block volumes, and managed data layers coming next. > [card] Communicate — Coming soon > > **Email hosting, transactional email, and campaigns** — one provider for every email surface your product needs. > [card] Automate — Coming soon > > **Workflows, cron jobs, and webhooks** — schedule and connect anything in your account without external glue services. > [card] AI — Coming soon > > **AI Gateway, agents, and vector search** — bring AI features into your product without stitching together five third-party APIs. > [card] [Network & Manage — foundational](/products/network/vpc) > > **VPC, Public IPs, Firewall, Team & Projects** — the cross-cutting layer every product runs on. [Available today](/products). For the complete current product index, see the **[Products Home](/products)** page. *** ## Not your traditional cloud provider Four things we do differently from the big-three pattern: | | What it means | | - | - | | **AI-powered operations** | We use AI throughout our development and operations workflows — from incident triage to documentation to code review. The savings show up in our pricing | | **Efficient by design** | Streamlined workflows reduce costs without compromising quality. Fewer layers, fewer middlemen, fewer vendors-billing-vendors | | **Performance obsessed** | Every decision prioritizes performance — NVMe SSD across every storage class, jumbo-frame VPC underlays, low-latency regional infrastructure. Our own dashboard runs on the same hardware you'd buy | | **Fair pricing philosophy** | Transparent, sustainable pricing. The number on the [pricing page](/products/build/virtual-machines/details/pricing) is what you pay — no hidden egress for same-region traffic, no per-API-call fees, no "talk to sales" tier | You're already running on us, by the way: when you read these docs, click the dashboard, see a marketplace image, or get a billing invoice — it's all served from the same VMs, Volumes, and Object Storage buckets you can buy. The platform is its own biggest customer. *** ## Our values At Raff, we provide affordable cloud solutions that make your life easier. Here's what drives us every day: > [card] Security First > > Your data's safety comes first. We use top-tier practices to keep your cloud secure. > [card] Privacy First > > We guard your data like it's our own, keeping it safe from prying eyes. > [card] Partner First > > You're our partner, not just a customer. Your wins are our wins. > [card] Value Driven > > We deliver real value — powerful cloud tools at prices that make sense. > [card] Transparent > > No secrets here. We keep you in the loop with honest updates. > [card] Success Driven > > Your goals fuel us. We're here to help you succeed. > [card] Innovation Driven > > We bring you the latest tech to keep your cloud ahead of the curve. > [card] Continuous Improvement > > We're always getting better, so you get the best. The practical expression of these values shows up across the docs — see the [SLA](/products/build/virtual-machines/details/sla) for the reliability commitments, the [Acceptable Use Policy](/products/build/virtual-machines/details/acceptable-use) for what we ask in return, and the [Support](/products/build/virtual-machines/details/support) page for how to reach us. *** ## Where to go next > [card] [Browse all products](/products) > > The pillared index — Build, Store, Network, Manage. > [card] [Create your first VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Five minutes from sign-up to a running server. > [card] [API Reference](/api-reference/endpoints) > > The HTTP API and OpenAPI spec. > [card] [Pricing](/products/build/virtual-machines/details/pricing) > > Subscription, PAYG, prorate-on-delete. > [card] [SLA](/products/build/virtual-machines/details/sla) > > Uptime commitments and credit terms. > [card] [Support](/products/build/virtual-machines/details/support) > > How to reach us, response times. *** ## Company information Raff Technologies is a registered company committed to transparency and trust. | | | | - | - | | **Company** | Raff Technologies LLC | | **Jurisdiction** | State of Wyoming, United States | | **Postal address** | 30 N Gould St #48506, Sheridan, WY 82801, United States | | **Support** | [support@rafftechnologies.com](mailto:support@rafftechnologies.com) | | **General** | [info@rafftechnologies.com](mailto:info@rafftechnologies.com) | | **Phone** | +1 (571) 540-8918 | # Quickstart Source: https://docs.rafftechnologies.com/quickstart Make your first API call in under 5 minutes <sub>Updated May 8, 2026</sub> ## Prerequisites * A Raff account ([sign up](https://app.rafftechnologies.com)) * An API key — see [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) for the full dashboard create flow (Account Role, Project Role, expiration, and copy-once warning). ```bash theme={null} # Set these once for the rest of the quickstart export RAFF_API_KEY="your_api_key_here" ``` ## Step 1: Check API Health Verify the API is reachable (no authentication required): ```bash theme={null} curl https://api.rafftechnologies.com/health ``` ```json theme={null} { "status": "healthy" } ``` ## Step 2: List Your VMs Use your API key to list virtual machines on your account: ```bash theme={null} curl -H "X-API-Key: YOUR_API_KEY" \ https://api.rafftechnologies.com/api/v1/vms ``` ```json theme={null} { "data": [], "total": 0 } ``` ## Step 3: Get a project ID Mutating endpoints require an `X-Project-ID` header. List your projects and pick one: ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" \ https://api.rafftechnologies.com/api/v1/projects ``` ```json theme={null} { "data": [ { "id": "8c3e4d52-1a6b-4f1e-9a47-2f8a3b9c1d20", "name": "default", "slug": "default", "description": "Default project", "default_region": "us-east", "is_default": true } ] } ``` ```bash theme={null} export RAFF_PROJECT_ID="8c3e4d52-1a6b-4f1e-9a47-2f8a3b9c1d20" ``` ## Step 4: Browse the catalog The public catalog tells you what's available before you create anything — regions, OS templates, and per-resource pricing. **No auth required** for any catalog endpoint. | Endpoint | What it returns | | - | - | | `GET /api/v1/public/regions` | Active data center regions | | `GET /api/v1/public/templates` | OS templates and marketplace apps (filter with `?category=os` or `?category=marketplace`) | | `GET /api/v1/public/pricing/vm` | VM pricing plans (the `pricing_id` value used on Create VM) | | `GET /api/v1/public/pricing/volume` | Volume storage pricing | | `GET /api/v1/public/pricing/snapshot` | Snapshot storage pricing | | `GET /api/v1/public/pricing/backup` | Backup storage pricing | | `GET /api/v1/public/pricing/ip` | Floating IP pricing | For this quickstart, grab an OS template: ```bash theme={null} curl https://api.rafftechnologies.com/api/v1/public/templates?category=os ``` ```json theme={null} { "data": [ { "id": "5ac21891-32e6-41ce-8a93-b5d6ab708b0d", "name": "Ubuntu 24.04 LTS (x64)", "category": "os", "region": "us-east" } ] } ``` And a VM pricing plan: ```bash theme={null} curl https://api.rafftechnologies.com/api/v1/public/pricing/vm ``` Pick a `pricing_id` from the response — `pricing_id: 1` is the cheapest Premium plan. ## Step 5: Create a VM ```bash theme={null} curl -X POST https://api.rafftechnologies.com/api/v1/vms \ -H "X-API-Key: $RAFF_API_KEY" \ -H "X-Project-ID: $RAFF_PROJECT_ID" \ -H "Content-Type: application/json" \ -d '{ "name": "my-first-vm", "template_id": "5ac21891-32e6-41ce-8a93-b5d6ab708b0d", "pricing_id": 1, "region": "us-east" }' ``` ## Step 6: Check VM Status Once created, fetch your VM details: ```bash theme={null} curl -H "X-API-Key: $RAFF_API_KEY" \ https://api.rafftechnologies.com/api/v1/vms/{vm-id} ``` The VM will transition through statuses: `initiating` → `provisioning` → `booting` → `active`. ## Step 7: Control Your VM Start, stop, or reboot your VM: ```bash theme={null} # Stop a VM curl -X POST -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/{vm-id}/stop # Start a VM curl -X POST -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/{vm-id}/start # Reboot a VM curl -X POST -H "X-API-Key: $RAFF_API_KEY" -H "X-Project-ID: $RAFF_PROJECT_ID" \ https://api.rafftechnologies.com/api/v1/vms/{vm-id}/reboot ``` ## Finding resource IDs Every resource — VM, snapshot, backup, volume, key — gets an `id` at create time, returned in the create response. **If you didn't save it, the only way to find it later is to list the resource and pick the one you want.** The dashboard does this internally; you do the same over the API. | Resource | List endpoint | Notes | | - | - | - | | VMs | `GET /api/v1/vms` | Filter `?project_id=<uuid>` or `?status=active` | | Volumes | `GET /api/v1/volumes` | Filter `?vm_id=<uuid>` for volumes attached to one VM | | Snapshots | `GET /api/v1/snapshots` | Filter `?vm_id=<uuid>`, `?volume_id=<int>`, or `?type=vm\|volume` | | Backups | `GET /api/v1/backups` | Filter `?vm_id=<uuid>` | | Backup schedules | `GET /api/v1/backup-schedules` | Filter `?vm_id=<uuid>` | | SSH keys | `GET /api/v1/ssh-keys` | Account-scoped, no filters | | Projects | `GET /api/v1/projects` | Account-scoped | | VPCs | `GET /api/v1/vpcs` | Filter `?region=us-east` | | Floating IPs | `GET /api/v1/ips` | Filter `?status=available\|reserved\|attached` | | Security groups | `GET /api/v1/security-groups` | — | All list endpoints support `limit` (default 20–50) and `offset` for pagination. Pass `X-Project-ID` to scope to a single project where applicable. ## Same flow in Python / Node.js / Go Raff doesn't ship a first-party SDK today — the API is plain REST + JSON, so any HTTP client works. Examples of the same Step 5 (create VM) below. > [tab] Python (requests) > > ```python theme={null} > import os, requests > > api_key = os.environ["RAFF_API_KEY"] > project_id = os.environ["RAFF_PROJECT_ID"] > > resp = requests.post( > "https://api.rafftechnologies.com/api/v1/vms", > headers={ > "X-API-Key": api_key, > "X-Project-ID": project_id, > "Content-Type": "application/json", > }, > json={ > "name": "my-first-vm", > "template_id": "5ac21891-32e6-41ce-8a93-b5d6ab708b0d", > "pricing_id": 1, > "region": "us-east", > }, > timeout=30, > ) > > if resp.status_code >= 400: > raise RuntimeError(f"Create failed [{resp.status_code}]: {resp.text}") > > print(resp.json()["data"]["id"]) > ``` > [tab] Node.js (fetch) > > ```javascript theme={null} > const apiKey = process.env.RAFF_API_KEY; > const projectId = process.env.RAFF_PROJECT_ID; > > const resp = await fetch("https://api.rafftechnologies.com/api/v1/vms", { > method: "POST", > headers: { > "X-API-Key": apiKey, > "X-Project-ID": projectId, > "Content-Type": "application/json", > }, > body: JSON.stringify({ > name: "my-first-vm", > template_id: "5ac21891-32e6-41ce-8a93-b5d6ab708b0d", > pricing_id: 1, > region: "us-east", > }), > }); > > if (!resp.ok) { > throw new Error(`Create failed [${resp.status}]: ${await resp.text()}`); > } > > const { data } = await resp.json(); > console.log(data.id); > ``` > [tab] Go (raff-go) > > `raff-go` is the official Go client. `go get github.com/rafftechnologies/raff-go`. > > ```go theme={null} > package main > > import ( > "context" > "fmt" > "os" > > "github.com/google/uuid" > "github.com/rafftechnologies/raff-go" > "github.com/rafftechnologies/raff-go/spec" > ) > > func main() { > client := raff.NewFromToken( > os.Getenv("RAFF_API_KEY"), > raff.SetProjectID(os.Getenv("RAFF_PROJECT_ID")), > ) > > vm, _, err := client.VMs.Create(context.Background(), &raff.CreateVMRequest{ > Name: "my-first-vm", > TemplateID: uuid.MustParse("5ac21891-32e6-41ce-8a93-b5d6ab708b0d"), > PricingID: 1, > Region: spec.CreateVMRequestRegionUsEast, > }) > if err != nil { > fmt.Fprintln(os.Stderr, "create failed:", err) > os.Exit(1) > } > > fmt.Println(vm.ID) > } > ``` ## Errors you'll hit early Every error response is JSON with an `error` (short label) and a `message` (human-readable detail). The HTTP statuses you'll see most: | HTTP status | What it means | What to do | | - | - | - | | `400` | Bad request | Inspect `message` — usually a field validation issue (bad CIDR, password too short, missing `pricing_id`) or a missing `X-Project-ID` header on a mutating endpoint. Fix the payload and retry | | `401` | Unauthorized | The `X-API-Key` is missing, malformed, expired, or revoked. Generate a new key in the dashboard | | `402` | Payment Required | Account balance is too low to provision. [Top up](https://app.rafftechnologies.com) and retry | | `403` | Billing validation failed | Account is `banned`, has a `failed` last payment, or has `no_billing_customer`. Check `message.reason` and resolve in the dashboard | | `404` | Not found | The VM/project/resource ID isn't reachable from this key. Double-check IDs and `X-Project-ID` | | `409` | Conflict | Resource state mismatch (e.g. resizing a VM that isn't `passive`). Read `message` and adjust | | `429` | Rate limited | Too many requests — back off. Default tier is **30 RPS / burst 60** per API key; honor the `Retry-After` header. See [Authentication](/authentication#rate-limiting) for tier detail and how to upgrade | | `5xx` | Server error | Retry with exponential backoff. If it persists, [support@rafftechnologies.com](mailto:support@rafftechnologies.com) | A simple retry helper for `5xx` and `429`: ```python theme={null} import time, requests def call_with_retry(method, url, **kwargs): for attempt in range(5): resp = requests.request(method, url, timeout=30, **kwargs) if resp.status_code < 500 and resp.status_code != 429: return resp time.sleep(2 ** attempt) # 1s, 2s, 4s, 8s, 16s resp.raise_for_status() return resp ``` ## Next Steps > [card] [Authentication](/authentication) > > Learn about API key authentication and rate limits. > [card] [Create Your First VM](/guides/create-your-first-vm) > > Step-by-step guide with VPC networking and SSH setup. # raff api-key Source: https://docs.rafftechnologies.com/reference/cli/api-key Manage API keys from the CLI — create, update, regenerate, and revoke. The plaintext secret is returned only once at create or regenerate; copy it immediately. <sub>Updated May 10, 2026</sub> The `raff api-key` command group manages API keys for the account. Each key has a name, a rate-limit tier, an optional expiration, and an active flag. The plaintext secret is returned **once** at create or regenerate — it cannot be retrieved later. Every subcommand supports `--output json` for scripting. Aliases: `raff api-keys`, `raff key`, `raff keys`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List API keys | | [`get`](#get) | Show details for one key (no secret) | | [`create`](#create) | Create a new API key (returns the secret once) | | [`update`](#update) | Update a key's metadata | | [`regenerate`](#regenerate) | Rotate the secret (returns the new secret once) | | [`revoke`](#revoke) | Permanently revoke a key | *** ## list ```bash theme={null} raff api-key list [--output table|json] ``` List API keys for the account. Output columns: `ID`, `NAME`, `PREFIX`, `ACTIVE`, `EXPIRES`. Secrets are never returned by list. ## get ```bash theme={null} raff api-key get <key-id> ``` Show key metadata — ID, name, prefix, active flag, expiration. The secret is never returned by get. ## create ```bash theme={null} raff api-key create \ --name <name> \ [--rate-limit-tier standard|high] \ [--expires-at <RFC3339>] ``` Create a new API key. Required: `--name`. The plaintext secret is printed once — copy it immediately. The default rate-limit tier is `standard`; `high` requires support approval. ```bash theme={null} raff api-key create --name "ci-deploy" \ --rate-limit-tier standard \ --expires-at 2026-12-31T23:59:59Z ``` ## update ```bash theme={null} raff api-key update <key-id> \ [--name <new-name>] \ [--rate-limit-tier standard|high] \ [--active true|false] \ [--expires-at <RFC3339>] ``` Update one or more metadata fields. At least one flag must be provided. Use `--active false` to suspend a key without revoking — re-enable later by setting `--active true`. ## regenerate ```bash theme={null} raff api-key regenerate <key-id> ``` Rotate the secret. The new secret is printed once; the old secret stops working immediately. ## revoke ```bash theme={null} raff api-key revoke <key-id> [--force] ``` Permanently revoke the key. Any client using it will fail immediately. Pass `--force` to skip the confirmation prompt. ## Related > [card] [raff_api_key (Terraform)](/reference/terraform/raff_api_key) > > Declarative API key management. > [card] [Role commands](/reference/cli/role) > > Roles control what a key can do. > [card] [Configure CLI auth](/reference/cli/configure) > > Where to put the secret after creating it. # raff apps Source: https://docs.rafftechnologies.com/reference/cli/app Manage Raff Apps from the CLI: create apps from an image, GitHub or a local folder, deploy, roll back, scale, set environment variables, link databases, add domains, and read logs. <sub>Updated October 19, 2026</sub> The `raff apps` command group (alias: `raff app`) covers every Raff Apps operation in the public API: web services, private services, workers, cron jobs and one-off jobs. Each subcommand supports `--output json` for scripting. ```bash theme={null} raff apps create --name hello --image nginx:1.27-alpine --port 80 --deploy-now ``` This creates a web app from a public Docker image and deploys it right away. The command prints the app's ID, such as `svc-abc12345`; once the deploy is live, [`get`](#get) shows the app's https address. Commands take the app's ID (`svc-abc12345`) or its UUID, not its name. [`list`](#list) shows the IDs. Creating an app needs a project: pass `--project-id`, set `RAFF_PROJECT_ID`, or set a default with `raff configure`. ## Deploy from a folder ```bash theme={null} raff apps create --name api --builder dockerfile --port 8080 raff apps deploy svc-abc12345 --dir . ``` The first command creates an app that builds from uploaded source, here with the folder's Dockerfile. The second zips the folder, uploads it and starts a build. Without `--builder dockerfile`, Raff detects the stack and builds it. Files and folders listed in `.raffignore` are skipped (one pattern per line, `#` starts a comment). So are `.git`, `node_modules`, `.venv`, `venv`, `__pycache__`, `.DS_Store` and `.env`. Build output such as `dist` and `bin` is uploaded, so a Dockerfile can copy it. The archive can be at most 100 MB. Local `.env` files are never uploaded: set variables with [`env set`](#env). ## Subcommand index | Subcommand | What it does | | - | - | | [`tiers`](#tiers) | List sizes and prices | | [`templates`](#templates) | List ready-to-run templates | | [`github`](#github) | List GitHub connections | | [`list`](#list) | List apps | | [`get`](#get) | Show one app | | [`create`](#create) | Create an app | | [`update`](#update) | Change an app's settings | | [`delete`](#delete) | Delete an app | | [`deploy`](#deploy) | Upload a folder, switch the image, or redeploy | | [`deployments`](#deployments) | List deploys | | [`rollback`](#rollback) | Go back to an earlier deploy | | [`scale`](#scale) | Instances, autoscaling and scale to zero | | [`pause`](#pause), [`resume`](#resume) | Stop and start an app and its billing | | [`env`](#env) | Environment variables | | [`links`](#links) | Link managed databases | | [`domains`](#domains) | Custom domains | | [`previews`](#previews) | Pull request previews | | [`logs`](#logs), [`events`](#events), [`instances`](#instances) | Observe the app | | [`usage`](#usage) | Month-to-date usage and estimated charge | *** ## tiers ```bash theme={null} raff apps tiers ``` Lists each size with its ID, vCPU, memory, disk and monthly and yearly price. Pass the ID to [`create --tier`](#create) or [`update --tier`](#update). ## templates ```bash theme={null} raff apps templates ``` Lists the templates with their image, port, the smallest size they run on (`MIN TIER`) and whether they need Postgres (`required`, `optional` or `no`). To run one, pass its image and port to [`create`](#create). A template that needs Postgres also needs a [database link](#links). ## github ```bash theme={null} raff apps github ``` Lists the account's GitHub connections with their ID, GitHub account, type and status. Connect GitHub in the dashboard first, then pass the ID to [`create --github-connection`](#create). ## list ```bash theme={null} raff apps list [--output table|json] ``` Shows each app's ID, address name, type, size, status and URL. With a project set, only that project's apps are listed. ## get ```bash theme={null} raff apps get <app-id> ``` Shows the name, type, source, size, instances, status, URL, region and billing type. ## create ```bash theme={null} raff apps create --name <name> [--type web|private|worker|cron|job] [--image <ref> | --repo <owner/name> --github-connection <id>] [--tier <tier-id>] [--port <n>] [--env KEY=VALUE] [--deploy-now] ``` | Flag | Description | | - | - | | `--name` | Required. The app's name. Its address is made from the name (up to 50 characters) and does not change when you rename the app. | | `--description` | Description. | | `--type` | `web` (default), `private`, `worker`, `cron`, or `job`. | | `--source` | `image` (a Docker image), `git` (a GitHub repository), or `console` (source you upload with [`deploy --dir`](#deploy)). Default: `image` with `--image`, `git` with `--repo`, otherwise `console`. | | `--builder` | How source is built: `buildpacks` (detects the stack, the default), `dockerfile`, or `image`. Image apps always use `image`. | | `--image` | A public image, such as `nginx:1.27-alpine`. | | `--repo` | GitHub repository as `owner/name`. Needs `--github-connection`. | | `--github-connection` | GitHub connection ID, see [`github`](#github). | | `--branch` | Branch to deploy. Default: `main`. | | `--root-dir` | Folder inside the source to build from. | | `--dockerfile` | Dockerfile path, for `--builder dockerfile`. | | `--start-command` | Command that starts the app, instead of the image's own. | | `--tier` | Size: a tier ID from [`tiers`](#tiers). | | `--replicas` | Fixed number of instances. Default: 1. | | `--autoscale` | Autoscale between `--min-replicas` and `--max-replicas` on requests in progress per instance. Setting either of those turns it on too. Web apps, and private apps that scale to zero. | | `--min-replicas`, `--max-replicas` | Autoscaling range. Default: 1 to 3. An app has at most 6 instances. | | `--scale-to-zero` | Let the app sleep when idle. Web and private apps. | | `--port` | Port the app listens on. Web apps default to 8080; private apps need it. Web apps, and private apps that scale to zero, cannot use 8008, 8012, 8013, 8022, 9090 or 9091. | | `--health-check` | HTTP path that answers 200 when the app is ready, such as `/healthz`. A deploy goes live when it answers. | | `--env` | Environment variable as `KEY=VALUE`, set before the first deploy. Repeat the flag for more. | | `--database` | ID of a managed PostgreSQL database to link (the ID `raff db list` shows). The app waits until the database runs, then deploys with `DATABASE_URL` and the other `DATABASE_*` variables set. | | `--cron` | Schedule for `--type cron`, five fields, such as `0 3 * * *`. | | `--cron-timezone` | Time zone for the schedule, such as `Europe/London`. Default: UTC. | | `--cron-concurrency` | When a run is due while the last one still runs: `forbid` (skip the new run, the default), `allow` (run both) or `replace` (stop the old run). | | `--region` | Region. Default: `us-east`, the only region. | | `--deploy-now` | Deploy right away. For image and GitHub apps; an app built from uploaded source deploys when you run [`deploy --dir`](#deploy). | > [!NOTE] > > Creating an app from GitHub (`--repo` with `--github-connection`) needs a recent GitHub sign-in by the API key's owner: in the last 7 days they must have pressed **Continue with GitHub** on the dashboard's create page, and their GitHub account must be able to see the repository in that connection. Otherwise the create is refused with "Continue with GitHub, then choose the repository again. Raff only deploys repositories your GitHub account can see." ```bash theme={null} raff apps create --name hello --image nginx:1.27-alpine --port 80 --scale-to-zero --deploy-now raff apps create --name api --repo acme/api --github-connection <connection-id> --port 8080 --health-check /healthz --deploy-now raff apps create --name worker --type worker --image ghcr.io/acme/worker:1.4 --env QUEUE=emails --deploy-now raff apps create --name nightly --type cron --image ghcr.io/acme/report:1.2 --cron "0 3 * * *" --cron-timezone Europe/London --deploy-now ``` ## update ```bash theme={null} raff apps update <app-id> [--name <name>] [--tier <tier-id>] [--port <n>] [--start-command <cmd>] [--health-check <path>] [--previews | --previews=false] [--redeploy] ``` Only the flags you pass change. A change to how a live app runs (size, port, start command, health check, cron settings) rolls out as a new deploy, and on a failed app it starts one. A paused app keeps the change and applies it when resumed. | Flag | Description | | - | - | | `--name` | New name. The app's address does not change. | | `--description` | New description. `--description ""` clears it. | | `--tier` | New size from [`tiers`](#tiers). The app restarts on it. Apps on a subscription change size through support. | | `--port` | Port the app listens on. Web and private apps. | | `--start-command` | Command that starts the app. | | `--health-check` | Health check path, starting with `/`. | | `--cron`, `--cron-timezone`, `--cron-concurrency` | Cron apps: schedule, time zone, and `forbid`, `allow` or `replace`. | | `--branch`, `--root-dir`, `--dockerfile` | GitHub apps: branch, folder and Dockerfile path, used from the next deploy. | | `--previews` | Pull request previews on (`--previews`) or off (`--previews=false`). Web apps from GitHub. Turning them off removes the running previews. | | `--redeploy` | Roll the app out again now with its current version, even when the change alone would not. | ```bash theme={null} raff apps update svc-abc12345 --port 3000 raff apps update svc-abc12345 --previews ``` ## delete ```bash theme={null} raff apps delete <app-id> [--force] ``` Deletion runs in the background; the name and address are released once it completes. Usage up to deletion is billed. Linked databases are not deleted. `--force` skips the confirmation prompt. ## deploy ```bash theme={null} raff apps deploy <app-id> [--dir <folder> | --image <ref> | --source-blob-key <key>] [--channel cli] ``` | Flag | Description | | - | - | | `--dir` | Zip this folder, upload it and build it. See [Deploy from a folder](#deploy-from-a-folder). | | `--image` | Switch an image app to this image. | | `--source-blob-key` | Deploy source uploaded earlier through the API's source upload. | | `--channel` | Channel recorded on the deploy. Default: `cli`. | With no flag, `deploy` redeploys what runs now. `--dir`, `--image` and `--source-blob-key` cannot be combined. A paused app must be [resumed](#resume) first. ```bash theme={null} raff apps deploy svc-abc12345 --dir . raff apps deploy svc-abc12345 --image nginx:1.27 ``` ## deployments ```bash theme={null} raff apps deployments <app-id> [--limit 20] ``` Lists deploys with their ID, number, channel, status, commit and creation time. Pass an ID to [`rollback`](#rollback). ## rollback ```bash theme={null} raff apps rollback <app-id> --target <deployment-id> ``` Starts a new deploy from an earlier deploy's image and settings. The target must be a deploy that went live. ## scale ```bash theme={null} raff apps scale <app-id> [--replicas <n>] [--autoscale | --autoscale=false] [--min-replicas <n>] [--max-replicas <n>] [--metric concurrency] [--target <n>] [--scale-to-zero | --scale-to-zero=false] ``` Flags you leave out keep the app's current settings. | Flag | Description | | - | - | | `--replicas` | Fixed number of instances. | | `--autoscale` | Autoscaling on (`--autoscale`) or off for a fixed count (`--autoscale=false`). Web apps, and private apps that scale to zero. Setting `--min-replicas` or `--max-replicas` turns it on. | | `--min-replicas`, `--max-replicas` | Autoscaling range. | | `--metric` | Autoscaling metric: `concurrency`, requests in progress per instance. | | `--target` | Requests in progress per instance that the autoscaler aims for. | | `--scale-to-zero` | Sleep when idle (`--scale-to-zero`) or stay awake (`--scale-to-zero=false`). Web and private apps. | An app has at most 6 instances and an account at most 20; contact support to raise them. Workers and private apps that stay awake run a fixed count. An app that scales to zero sleeps about 15 minutes after its last request and wakes on the next one, which takes a few seconds longer. ```bash theme={null} raff apps scale svc-abc12345 --replicas 3 raff apps scale svc-abc12345 --min-replicas 1 --max-replicas 4 raff apps scale svc-abc12345 --scale-to-zero ``` ## pause ```bash theme={null} raff apps pause <app-id> ``` Stops the app and its billing. ## resume ```bash theme={null} raff apps resume <app-id> ``` Starts a paused app again. Resuming an app that never went live puts it back in error; deploy it instead. ## env ```bash theme={null} raff apps env list <app-id> [--reveal] raff apps env set <app-id> <KEY> --value <value> [--secret] [--scope runtime|build|both] raff apps env delete <app-id> <KEY> ``` `list` masks secret values; `--reveal` shows them and needs permission to manage apps. The `SYSTEM` column marks variables a [database link](#links) sets. Setting a variable rolls it out to the running app. | Flag (`set`) | Description | | - | - | | `--value` | Required. The value. | | `--secret` | Store it as a secret, masked when read. | | `--scope` | `runtime` (default, the running app only), `build` (the build only) or `both`. | Frameworks that read configuration at build time need `--scope build` or `--scope both`: Next.js `NEXT_PUBLIC_*`, Vite `VITE_*`, Create React App `REACT_APP_*`, SvelteKit and Astro `PUBLIC_*`. Without it those values are empty. A change to a build variable rebuilds the app. Image apps are never built, so they refuse build variables. Build values can be read from the image history, so keep credentials at `runtime`. ```bash theme={null} raff apps env set svc-abc12345 API_TOKEN --value <token> --secret raff apps env set svc-abc12345 NEXT_PUBLIC_API_URL --value https://api.example.com --scope both ``` ## links ```bash theme={null} raff apps links list <app-id> raff apps links add <app-id> <database-id> [--prefix <PREFIX>] raff apps links rotate <link-id> raff apps links delete <link-id> ``` `add` links a running managed PostgreSQL database: the app gets its own database user and `DATABASE_URL`, `DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`, `DATABASE_PASSWORD`, `DATABASE_NAME` and `DATABASE_CA_CERT`, then redeploys. Connections go over Raff's private network with TLS. `<database-id>` is the ID from `raff db list`, or the database's UUID. | Flag (`add`) | Description | | - | - | | `--prefix` | Prefix of the variables. Default: `DATABASE`. Give a second database its own prefix: `--prefix ANALYTICS` sets `ANALYTICS_URL`, `ANALYTICS_HOST` and so on. | `rotate` gives the app new database credentials and redeploys it. `delete` removes the link, the app's database user and the variables. `list` shows each link's ID. ```bash theme={null} raff apps links add svc-abc12345 a1b2c3d4 ``` ## domains ```bash theme={null} raff apps domains list <app-id> raff apps domains add <app-id> <domain> raff apps domains delete <domain-id> ``` For web apps. `add` prints a CNAME target and a TXT record name and value: create both at your DNS provider, then verification and the TLS certificate run automatically. `list` shows each domain's ID and status: `pending_dns`, `verifying`, `dns_verified`, `issuing_cert`, `active` or `error`. ```bash theme={null} raff apps domains add svc-abc12345 www.example.com ``` ## previews ```bash theme={null} raff apps previews list <app-id> raff apps previews redeploy <preview-id> raff apps previews delete <preview-id> ``` For web apps from GitHub, after [`update --previews`](#update). Every pull request gets its own copy at its own address; how many depends on the app's size. Previews never get the app's database link credentials. `redeploy` builds and deploys the pull request's latest commit again. ## logs ```bash theme={null} raff apps logs <app-id> [--level info|warn|error] [--search <text>] [--since <RFC 3339>] [--until <RFC 3339>] [--limit 200] ``` | Flag | Description | | - | - | | `--level` | Only this level: `info`, `warn` or `error`. | | `--search` | Only lines that contain this text. | | `--since`, `--until` | Time range, RFC 3339, such as `2026-10-19T09:00:00Z`. | | `--limit` | Maximum lines. Default: 200. | ```bash theme={null} raff apps logs svc-abc12345 --level error --since 2026-10-19T09:00:00Z ``` ## events ```bash theme={null} raff apps events <app-id> [--limit 50] ``` The app's activity timeline: deploys, setting changes, scaling, database links, domains, previews, pauses and errors. ## instances ```bash theme={null} raff apps instances <app-id> ``` Lists the running instances with their phase, whether they are ready, restarts and start time. ## usage ```bash theme={null} raff apps usage [--service <app-id>] ``` Month-to-date instance hours and estimated charge per app, with the total. `--service` shows one app. # raff backup Source: https://docs.rafftechnologies.com/reference/cli/backup Manage VM backups and recurring backup schedules from the CLI — on-demand backups (create, restore, delete) and schedules (daily/weekly with retention). <sub>Updated May 10, 2026</sub> The `raff backup` command group covers managed backups of VMs — full point-in-time copies of the VM's disk, stored separately from the VM. Restoring overwrites the source VM's current disk state. Schedules manage their own retention and auto-prune older backups. Every subcommand supports `--output json` for scripting. Alias: `raff backups`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List backups | | [`get`](#get) | Show details for one backup | | [`create`](#create) | Take an on-demand backup | | [`restore`](#restore) | Restore a VM from a backup | | [`delete`](#delete) | Delete a backup | | [`schedule list`](#schedule-list) / [`get`](#schedule-get) / [`create`](#schedule-create) / [`update`](#schedule-update) / [`delete`](#schedule-delete) | Manage recurring schedules | *** ## list ```bash theme={null} raff backup list [--vm-id <vm-uuid>] [--status pending|creating|ready|restoring|failed] [--output table|json] ``` List backups in the current project. The `--status` filter is applied client-side. Output columns: `ID`, `NAME`, `SOURCE VM`, `SIZE`, `STATUS`, `CREATED`. ```bash theme={null} raff backup list raff backup list --vm-id <vm-uuid> raff backup list --status ready ``` ## get ```bash theme={null} raff backup get <backup-id> [--output table|json] ``` Show full details — source VM, size, status, expiration date. ## create ```bash theme={null} raff backup create --vm-id <vm-uuid> [--name <custom-name>] ``` Take an on-demand backup of a VM. The call returns immediately with the backup record and a queued status; backups run asynchronously. Poll with `raff backup get` to wait for `ready`. If `--name` is omitted, the API generates a timestamped name. ## restore ```bash theme={null} raff backup restore <backup-id> [--force] ``` Restore the source VM from this backup. **The current disk state is overwritten.** Pass `--force` to skip the confirmation prompt — required in scripts. ## delete ```bash theme={null} raff backup delete <backup-id> [--force] ``` Delete a backup. Pass `--force` to skip the confirmation prompt. Backups created by a schedule are managed by the retention engine — don't manually delete them or you'll fight the schedule. ## schedule list ```bash theme={null} raff backup schedule list [--output table|json] ``` List recurring backup schedules in the current project. Output columns: `ID`, `NAME`, `SOURCE VM`, `FREQUENCY`, `KEEP`, `RUNTIME`. Alias: `raff backup schedules list`. ## schedule get ```bash theme={null} raff backup schedule get <schedule-id> ``` ## schedule create ```bash theme={null} raff backup schedule create \ --vm-id <vm-uuid> \ --frequency daily|weekly \ --time <HH:MM-or-8am> \ --keep <n> \ [--day Monday..Sunday] ``` Create a recurring backup schedule. Required: `--vm-id`, `--frequency`. `--day` is required when frequency is `weekly`. `--time` defaults to `08:00`; `--keep` defaults to `7` and controls how many backups are retained before auto-pruning. ```bash theme={null} # Nightly, keep last 14 raff backup schedule create --vm-id <vm-uuid> \ --frequency daily --time 03:00 --keep 14 # Weekly Saturday, keep last 4 raff backup schedule create --vm-id <vm-uuid> \ --frequency weekly --day Saturday --time 04:00 --keep 4 ``` ## schedule update ```bash theme={null} raff backup schedule update <schedule-id> \ [--frequency daily|weekly] [--time <time>] [--day <day>] [--keep <n>] ``` Update one or more schedule fields. At least one flag must be provided. ## schedule delete ```bash theme={null} raff backup schedule delete <schedule-id> [--force] ``` Delete a schedule. Existing backups it created remain in the project — delete them manually if you no longer need them. ## Related > [card] [Snapshot commands](/reference/cli/snapshot) > > Lighter-weight point-in-time snapshots. > [card] [raff_backup_schedule (Terraform)](/reference/terraform/raff_backup_schedule) > > Declarative recurring backups. > [card] [raff_backup (Terraform)](/reference/terraform/raff_backup) > > Declarative one-shot backups. # raff configure Source: https://docs.rafftechnologies.com/reference/cli/configure Authenticate the CLI and set default values. Stores credentials in ~/.raff/config.yaml; supports multiple profiles, env-var overrides, and per-command flag overrides. <sub>Updated May 10, 2026</sub> `raff configure` walks you through writing a YAML config at `~/.raff/config.yaml` (`%USERPROFILE%\.raff\config.yaml` on Windows). The CLI reads this on every command unless overridden by environment variables or per-command flags. ## Authenticating with Raff To use `raff`, you need an API key. Generate one in the dashboard at [rafftechnologies.com](https://rafftechnologies.com) under **Team & Projects → API Keys**. Run the configure command to set up a profile: ```bash theme={null} raff configure ``` You'll be prompted for three fields, each with the existing value as the default (just press Enter to keep it): ``` API URL [https://api.rafftechnologies.com]: API Key [...]: raff_pub_xxx Default Project ID (optional) [...]: 11111111-2222-3333-4444-555555555555 ``` When you finish, you'll see: ``` Profile "default" saved to /home/you/.raff/config.yaml ``` The active profile becomes the one you just configured. Subsequent `raff` commands read credentials from this file. > [!NOTE] > > `configure` does not currently validate the key against the API — it just saves to disk. The first real call (e.g. `raff project list`) will surface an auth error if the key is wrong. ## Switching between multiple profiles `raff` supports multiple profiles in the same config file so you can keep separate keys (e.g. staging vs production): ```bash theme={null} raff configure # writes/updates the "default" profile raff configure --profile staging # writes/updates the "staging" profile and makes it active raff configure --profile default # switch back to "default" (just press Enter through the prompts) ``` Other commands (`vm list`, `vpc list`, …) **do not** take a `--profile` flag — they always use whichever profile is set as `current-profile` in `~/.raff/config.yaml`. To use a non-active profile for a single command, override with environment variables: ```bash theme={null} RAFF_API_KEY=raff_pub_yyy RAFF_PROJECT_ID=<staging-project-uuid> raff vm list ``` Or with command-line flags: ```bash theme={null} raff vm list --api-key raff_pub_yyy --project-id <staging-project-uuid> ``` ## Configuring Default Values The `raff` configuration file stores your API key and default values for command flags. The file is created automatically the first time you run `raff configure`. | OS | Config path | | - | - | | Linux | `~/.raff/config.yaml` | | macOS | `~/.raff/config.yaml` | | Windows | `%USERPROFILE%\.raff\config.yaml` | The file ends up looking like: ```yaml theme={null} current-profile: default profiles: default: api_url: https://api.rafftechnologies.com api_key: raff_<your-prod-key> project_id: <your-prod-default-project-id> staging: api_url: https://api.rafftechnologies.com api_key: raff_<your-staging-key> project_id: <your-staging-default-project-id> ``` You can edit it directly if you prefer — `current-profile` selects which profile every command (other than `configure`) uses. ## Authentication precedence Every command resolves credentials in this exact order: 1. **CLI flag** — `--api-key`, `--api-url`, `--project-id` on the command line 2. **Environment variable** — `RAFF_API_KEY`, `RAFF_API_URL`, `RAFF_PROJECT_ID` 3. **Config file** — the profile named in `current-profile` in `~/.raff/config.yaml` If a credential isn't set in any of those, the command fails with a clear error. The CLI never prompts for credentials mid-command — that's a one-time `configure` thing. ## CI/CD without a config file For CI/CD where there's no interactive shell, env vars work without configuring anything: ```bash theme={null} export RAFF_API_KEY="raff_<your-key>" export RAFF_API_URL="https://api.rafftechnologies.com" export RAFF_PROJECT_ID="<your-default-project-id>" raff vm list ``` ## Verify your setup ```bash theme={null} raff project list ``` If this returns a project list, you're authenticated correctly. If it errors with `401 Unauthorized`, double-check the API key. If it errors with `403 Forbidden`, the key is valid but doesn't have `account.projects.view` permission — see the role assigned to the key on the [API Keys](/products/manage/team-projects/quickstart-guides/generate-api-key) page. ## Related > [card] [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) > > Get the key you need before configuring. > [card] [VM commands](/reference/cli/vm) > > Start using the CLI. > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > Why you may see a 403 even with a valid key. # raff database Source: https://docs.rafftechnologies.com/reference/cli/database Manage databases from the CLI: create, connect, run queries, browse tables, users, backups, restore, public access, metrics, and logs. <sub>Updated October 5, 2026</sub> The `raff database` command group (aliases: `raff db`, `raff databases`) covers every managed database operation in the public API for PostgreSQL, MySQL, Valkey, ClickHouse, and Kafka. Each subcommand supports `--output json` for scripting. ```bash theme={null} raff db create ``` With no flags, this creates a free PostgreSQL database with public access, waits until it runs (usually about 10 seconds), and prints a connection string you can use right away. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List databases | | [`get`](#get) | Show one database | | [`create`](#create) | Create a database | | [`delete`](#delete) | Delete a database and its backups | | [`rename`](#rename) | Rename a database | | [`resize`](#resize) | Change plan, storage, high availability, or read replicas | | [`resume`](#resume) | Wake a free database paused after 7 idle days | | [`connection`](#connection) | Show how to connect | | [`rotate-password`](#rotate-password) | Give the admin user a new password | | [`query`](#query) | Run one SQL statement or Valkey command | | [`browse`](#browse) | List schemas, tables, or a table's rows | | [`users`](#users) | Manage database users | | [`backups`](#backups) | List and create backups | | [`restore`](#restore) | Restore to a backup or point in time | | [`public`](#public) | Turn public access on or off | | [`vpc`](#vpc) | Connect to a VPC or disconnect | | [`metrics`](#metrics), [`logs`](#logs), [`slow-queries`](#slow-queries) | Observe the database | | [`extensions`](#extensions) | PostgreSQL extensions | | [`parameters`](#parameters) | Engine settings in effect | | [`engines`](#engines), [`plans`](#plans) | Engines, versions, and plans | *** ## list ```bash theme={null} raff db list [--output table|json] ``` ## get ```bash theme={null} raff db get <database-id> ``` Shows status, engine with its full version (e.g. `postgres 18.6`), plan, storage, high availability, replicas, hostnames, and price. ## create ```bash theme={null} raff db create [--name <name>] [--engine postgres] [--version <v>] [--plan <plan-id>] [--storage <gb>] [--ha] [--replicas <n>] [--vpc <vpc-id>] [--private] [--extension <name>] [--mode queue|cache] [--no-wait] ``` | Flag | Description | | - | - | | `--name` | Database name. Default: generated, e.g. `postgres-3f9a1c`. | | `--engine` | `postgres` (default), `mysql`, `valkey`, `clickhouse`, or `kafka`. | | `--version` | Engine major version, see [`engines`](#engines). Default: latest. | | `--plan` | Plan ID, see [`plans`](#plans). Default: the engine's free plan (one per account). | | `--storage` | Storage in GB. Default: the plan's included storage. | | `--ha` | High availability: a standby that takes over on failure. | | `--replicas` | Read replicas (PostgreSQL only). | | `--vpc` | VPC ID for the private endpoint. | | `--private` | No public access. Without `--vpc` or `--private`, public access is on (TLS required, generated password); limit sources with [`public enable --allow`](#public). | | `--extension` | PostgreSQL extension to turn on before the database is ready: `vector`, `pg_trgm`, `pg_stat_statements`, `hstore`, `uuid-ossp`, `citext`, `ltree`, `pgcrypto` or `unaccent`. Repeat the flag or separate names with commas. Others can be turned on later with [`extensions`](#extensions). | | `--mode` | Valkey only. `queue` (default) keeps every key and refuses writes when memory is full. `cache` drops the least recently used keys when memory is full. | | `--no-wait` | Return at once instead of waiting until the database runs. | Requires a project: pass `--project-id`, set `RAFF_PROJECT_ID`, or set a default with `raff configure`. ```bash theme={null} raff db create --name ai --extension vector raff db create --name orders --engine mysql raff db create --name sessions --engine valkey --mode cache ``` ## delete ```bash theme={null} raff db delete <database-id> [--force] [--wait] ``` Deletes the database and all its backups. This cannot be undone. `--force` skips the confirmation prompt. ## rename ```bash theme={null} raff db rename <database-id> <new-name> ``` Hostnames are based on the database ID and do not change. ## resize ```bash theme={null} raff db resize <database-id> [--plan <plan-id>] [--storage <gb>] [--ha on|off] [--replicas <n>] ``` Storage only grows. A new plan must be the same engine. ## resume ```bash theme={null} raff db resume <database-id> ``` ## connection ```bash theme={null} raff db connection <database-id> [--reveal] [--ca] ``` Prints the user, database, and the public and private endpoints with their URIs. `--reveal` includes the password. `--ca` prints the CA certificate for `sslmode=verify-full`; for Kafka it is always printed because clients must trust it. ## rotate-password ```bash theme={null} raff db rotate-password <database-id> ``` Open connections keep working until they disconnect. ## query ```bash theme={null} raff db query <database-id> "<statement>" [--write] [--max-rows <n>] ``` Runs one statement as the admin user. Read-only unless `--write` is set. Returns up to 1,000 rows by default (`--max-rows` up to 5,000) and stops after 15 seconds. ```bash theme={null} raff db query a1b2c3d4 "SELECT count(*) FROM users" raff db query a1b2c3d4 --write "CREATE TABLE notes (id serial PRIMARY KEY, body text)" ``` ## browse ```bash theme={null} raff db browse <database-id> [schema [table]] [--limit <n>] [--cursor <c>] [--match <pattern>] ``` No path lists schemas, a schema lists its tables, and a schema plus table prints a page of rows. For Valkey, no path lists keys (filter with `--match user:*`) and a key prints its value. ## users ```bash theme={null} raff db users list <database-id> raff db users create <database-id> <name> [--role readonly|readwrite] raff db users password <database-id> <name> raff db users rotate <database-id> <name> raff db users delete <database-id> <name> [--force] ``` `create` prints the new user's password. Names are 3 to 31 characters: a lowercase letter, then lowercase letters, digits, or underscores. Names starting with `app_` or `fnb_` are reserved for Raff Apps and Functions. ## backups ```bash theme={null} raff db backups list <database-id> raff db backups create <database-id> ``` The list marks which backups can be restored and, for PostgreSQL, the earliest point in time you can restore to. ## restore ```bash theme={null} raff db restore <database-id> [--backup <backup-id> | --time <RFC 3339>] [--name <new-name>] [--ha] raff db restore <database-id> --in-place [--backup <backup-id> | --time <RFC 3339>] [--force] ``` Without `--in-place`, the restore creates a new database and prints its ID. `--in-place` overwrites this database; data written after the restore point is lost. ```bash theme={null} raff db restore a1b2c3d4 --time 2026-10-05T09:30:00Z --name orders-before-migration ``` ## public ```bash theme={null} raff db public enable <database-id> [--allow <cidr>,<cidr>] raff db public disable <database-id> ``` `--allow` limits which sources can connect; leave it out to keep the stored list. PostgreSQL is also reachable on the standard ports 6543 (pooled) and 5432 (direct) of the public hostname. ## vpc ```bash theme={null} raff db vpc connect <database-id> <vpc-id> raff db vpc disconnect <database-id> ``` ## metrics ```bash theme={null} raff db metrics <database-id> ``` CPU, memory, storage, connections, and replication lag, refreshed about every 60 seconds. ## logs ```bash theme={null} raff db logs <database-id> [--tail 200] ``` ## slow-queries ```bash theme={null} raff db slow-queries <database-id> [--limit 20] ``` ## extensions ```bash theme={null} raff db extensions list <database-id> raff db extensions enable <database-id> <extension> raff db extensions disable <database-id> <extension> ``` ## parameters ```bash theme={null} raff db parameters <database-id> ``` ## engines ```bash theme={null} raff db engines ``` ## plans ```bash theme={null} raff db plans [--engine postgres] ``` # Installing raff Source: https://docs.rafftechnologies.com/reference/cli/install Install the raff binary by downloading a release from GitHub or building from source. Single static Go binary; supports macOS, Linux, and Windows. <sub>Updated May 10, 2026</sub> The Raff CLI is a single static binary written in Go. Most users grab a pre-built release from GitHub; if you have a Go toolchain you can build from source. > [card] [View on GitHub](https://github.com/RaffTechnologies/raff-cli) > > github.com/RaffTechnologies/raff-cli — source, releases, issues, and the changelog. ## Downloading a Release from GitHub Visit the [Releases page](https://github.com/RaffTechnologies/raff-cli/releases) for archives matching your OS / architecture. Builds are published for `linux`, `macos`, `windows` × `amd64`, `arm64`. ### Quickest — auto-detect the latest version ```bash theme={null} # Linux x86_64 curl -sL "https://api.github.com/repos/RaffTechnologies/raff-cli/releases/latest" \ | grep "browser_download_url.*linux_x86_64.tar.gz" \ | cut -d'"' -f4 | xargs curl -sL | tar -xzv sudo mv raff /usr/local/bin/ ``` Replace `linux_x86_64` with `linux_arm64`, `macos_x86_64`, or `macos_arm64` as needed. ### Pinning to a specific version Replace `0.6.3` below with the version you want from the [Releases page](https://github.com/RaffTechnologies/raff-cli/releases). ```bash theme={null} # Linux x86_64 curl -sL https://github.com/RaffTechnologies/raff-cli/releases/download/v0.6.3/raff_0.6.3_linux_x86_64.tar.gz | tar -xzv sudo mv raff /usr/local/bin/ # macOS arm64 (Apple Silicon) curl -sL https://github.com/RaffTechnologies/raff-cli/releases/download/v0.6.3/raff_0.6.3_macos_arm64.tar.gz | tar -xzv sudo mv raff /usr/local/bin/ ``` For Windows, download the matching `.zip` from the Releases page in your browser, extract `raff.exe`, then follow [How to: Add Tool Locations to the PATH Environment Variable](https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574\(v=office.14\)) to put it on your `PATH`. Verify the install: ```bash theme={null} raff --version ``` ## Building the Development Version from Source If you have a Go environment configured, you can install the development version of `raff` from the command line: ```bash theme={null} go install github.com/RaffTechnologies/raff-cli/cmd/raff@latest ``` This installs **the CLI** (the `raff` binary) — not the [`raff-go` SDK library](https://github.com/RaffTechnologies/raff-go). The path ends in `cmd/raff` because that's the CLI's `main` package inside the `raff-cli` repo. The binary lands in `$(go env GOPATH)/bin/raff` — make sure that directory is in your `PATH`. While the development version is a good way to take a peek at the latest features before they're released, be aware that it may have bugs. Officially released versions will generally be more stable. Or build from a clone: ```bash theme={null} git clone https://github.com/RaffTechnologies/raff-cli.git cd raff-cli make build # produces ./bin/raff make install # installs into $GOBIN ``` Requires Go 1.25+. ## Next steps > [card] [Configure](/reference/cli/configure) > > Authenticate and set up profiles. > [card] [VM commands](/reference/cli/vm) > > Start using the CLI to manage Virtual Machines. # Raff CLI Source: https://docs.rafftechnologies.com/reference/cli/introduction Manage Raff resources from your terminal — VMs, volumes, snapshots, backups, VPCs, public IPs, firewalls, SSH keys, API keys, and team & access control. The CLI uses the same public API as the dashboard, with the same role-based authorization model. <sub>Updated May 10, 2026</sub> The **Raff CLI** (`raff`) is a single static binary that wraps the Raff public API for terminal use. Same API key auth as the dashboard, same role-based scoping, same resources — just driven from the command line. It's the right tool for one-off operations, scripted workflows, and CI/CD pipelines. For declarative infrastructure (commit your VM and project definitions to git), use [Terraform](/reference/terraform/introduction) instead. CLI is imperative; Terraform is declarative. ## What you can do with the CLI | Resource | Commands | | - | - | | **Configure** | `raff configure` — set API key, base URL, default project | | **Virtual Machines** | [`raff vm`](/reference/cli/vm) — full lifecycle: create, delete, power, reboot, hard-reboot, reinstall, factory-reset, rename, reset-password, resize, resize-disk, save-image, plus IP / firewall / VPC attach-detach, tags, notes, networks | | **Volumes** | [`raff volume`](/reference/cli/volume) — list, get, create, delete, resize, attach, detach | | **Snapshots** | [`raff snapshot`](/reference/cli/snapshot) — list, get, create, rename, restore, delete | | **Backups** | [`raff backup`](/reference/cli/backup) — backups + recurring schedules with retention | | **VPCs** | [`raff vpc`](/reference/cli/vpc) — list, get, create, update, delete, cidr-suggestions | | **Public IPs** | [`raff ip`](/reference/cli/ip) — list, get, reserve, release, change | | **Firewalls** | [`raff security-group`](/reference/cli/security-group) — list, templates, get, create, update, delete | | **SSH Keys** | [`raff ssh-key`](/reference/cli/ssh-key) — register, list, rename, delete | | **API Keys** | [`raff api-key`](/reference/cli/api-key) — create, regenerate, revoke | | **Projects** | [`raff project`](/reference/cli/project) — list, get, create, update, delete + members | | **Members** | [`raff member`](/reference/cli/member) — account-level membership | | **Roles & Permissions** | [`raff role`](/reference/cli/role), [`raff permission`](/reference/cli/permission) — IAM | | **Invitations** | [`raff invitation`](/reference/cli/invitation) — send + cancel | | **Catalog / lookup** | [`raff region`](/reference/cli/region), [`raff template`](/reference/cli/template), [`raff pricing`](/reference/cli/pricing) — discovery for required IDs | Every command supports `--output json` for parseable output (default is human-readable tables). Every command honors the same auth precedence: CLI flag > env var > config file. ## Quick start ```bash theme={null} # Install go install github.com/RaffTechnologies/raff-cli/cmd/raff@latest # Configure (writes to ~/.raff/config.yaml) raff configure # Pick the project you want to work with raff project list # Create a VM raff vm create \ --name web-01 \ --template-id <template-uuid> \ --pricing-id 9 \ --region us-east \ --project-id <project-id> # Watch it come up raff vm list --output json | jq '.[] | {name, status}' # When you're done raff vm delete <vm-id> ``` ## Authentication and configuration The CLI looks for credentials in this order: 1. **CLI flags** (`--api-key`, `--api-url`, `--project-id`) 2. **Environment variables** (`RAFF_API_KEY`, `RAFF_API_URL`, `RAFF_PROJECT_ID`) 3. **Config file** (`~/.raff/config.yaml`) `raff configure` walks you through writing the config file. Multiple profiles are supported with `--profile <name>` so you can keep `prod`, `staging`, and `dev` credentials side-by-side. For CI/CD where there's no interactive shell, set `RAFF_API_KEY` and `RAFF_PROJECT_ID` as secrets and skip the config file entirely. See [Configure](/reference/cli/configure) for the full setup walkthrough. ## Output formats ```bash theme={null} # Default table output — human-readable raff vm list # JSON output — for scripting raff vm list --output json # Pipe through jq for transformations raff vm list --output json | jq '.[] | select(.status == "running") | .id' ``` The JSON shape matches the [public API response schema](/api-reference/endpoints). Anything you can do with `curl` you can do with `raff <command> --output json`. ## Cross-cutting flags | Flag | What it does | | - | - | | `--api-url <url>` | Override the API base URL — defaults to production | | `--api-key <key>` | Override the API key for this command | | `--project-id <uuid>` | Override the default project for this command | | `-o, --output <format>` | `table` (default) or `json` | | `--profile <name>` | Use a named profile from your config file | | `--help` | Show help for any command (`raff vm --help`, `raff vm create --help`, etc.) | ## What's covered The CLI tracks the public API surface — everything in the [API Reference](/api-reference/endpoints) is available through the CLI. Admin-only endpoints (admin-service has its own internal tooling) are not exposed; this is by design. Customer-facing parity is full. ## Where to go next > [card] [Install the CLI](/reference/cli/install) > > Build from source, install via go, or grab a release binary. > [card] [Configure](/reference/cli/configure) > > Set up API key, profiles, and defaults. > [card] [VM commands](/reference/cli/vm) > > The full set of VM commands with examples. > [card] [Volume commands](/reference/cli/volume) > > Block storage management. > [card] [Backup commands](/reference/cli/backup) > > Backups + recurring schedules. > [card] [Project commands](/reference/cli/project) > > Create and manage projects. # raff invitation Source: https://docs.rafftechnologies.com/reference/cli/invitation Send and cancel email invitations from the CLI — for account-level access or project-level access. Pending invites show up via list until accepted, expired, or cancelled. <sub>Updated May 10, 2026</sub> The `raff invitation` command group sends email invitations to grant account or project access, lists pending invitations, and cancels them. Every subcommand supports `--output json` for scripting. Aliases: `raff invitations`, `raff invite`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List pending invitations | | [`create-account`](#create-account) | Invite to the account | | [`create-project`](#create-project) | Invite to the current project | | [`cancel`](#cancel) | Cancel a pending invitation | *** ## list ```bash theme={null} raff invitation list [--project-id <uuid>] [--output table|json] ``` List pending invitations. Without `--project-id`, lists pending account invites; with it, lists pending project invites for that project. Output columns: `INVITATION ID`, `EMAIL`, `ROLE`, `SCOPE`, `EXPIRES`. ```bash theme={null} # Pending account invites raff invitation list # Pending invites for a specific project raff invitation list --project-id <project-uuid> ``` ## create-account ```bash theme={null} raff invitation create-account --email <email> --role-id <account-role-uuid> ``` Send an invitation to join the account. Required: `--email`, `--role-id`. The role must be account-scoped — find via [`raff role list --scope account`](/reference/cli/role#list). ## create-project ```bash theme={null} raff invitation create-project --email <email> --role-id <project-role-uuid> ``` Send an invitation to join the current project (taken from `--project-id` global flag, `RAFF_PROJECT_ID`, or active profile). Required: `--email`, `--role-id`. The role must be project-scoped. ## cancel ```bash theme={null} raff invitation cancel <invitation-id> ``` Cancel a pending invitation. The recipient's accept link stops working immediately. ## Related > [card] [Member commands](/reference/cli/member) > > Account-level members and direct adds. > [card] [Project member commands](/reference/cli/project#member-subcommands) > > Project-scoped members. > [card] [Role commands](/reference/cli/role) > > Get a role-id to invite with. # raff ip Source: https://docs.rafftechnologies.com/reference/cli/ip Manage Public IPs from the CLI — list, get, reserve a static IP ($3/mo IPv4, $1/mo IPv6), release, or swap a reserved IP for a different one from the pool. <sub>Updated May 8, 2026</sub> The `raff ip` command group manages Public IPs. See [Public IPs overview](/products/network/public-ips) for the auto-assigned-vs-reserved model and pricing. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List every public IP in the account | | [`get`](#get) | Show one IP's details | | [`reserve`](#reserve) | Reserve a new static IP | | [`release`](#release) | Release a reserved IP back to the pool | | [`change`](#change) | Swap a reserved IP for a different pool address | To attach an IP to a VM or detach it, use `raff vm ip attach` / `raff vm ip detach` — see [VM commands → ip attach](/reference/cli/vm#ip-attach). *** ## list ```bash theme={null} raff ip list [--output table|json] ``` Lists every IP in the account: auto-assigned (free, attached to VMs), reserved (static, billed), and gateway IPs (Platform Router / Firewall Appliance). ## get ```bash theme={null} raff ip get <ip-id> [--output table|json] ``` ## reserve ```bash theme={null} raff ip reserve \ [--ip-type ipv4|ipv6] \ [--region us-east] \ [--billing-period monthly|yearly|24-month] ``` Reserve a new static IP. **\$3/month for IPv4** or **\$1/month for IPv6**. Yearly and 24-month locks are at the same effective per-month rate (see [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip)). ## release ```bash theme={null} raff ip release <ip-id> ``` **Permanent.** Returns the IP to the pool — billing stops, address can't be reclaimed. Use only when you no longer need the address. To stop using an IP without losing the reservation, **detach it from the VM** instead (`raff vm ip detach`). ## change ```bash theme={null} raff ip change <ip-id> ``` Swap a reserved IP for a different pool address. The subscription stays the same — no extra charge, no refund. Useful when the current address is on a deny-list somewhere and you want a fresh one without releasing-and-re-reserving (which would change billing). ## Related > [card] [VM commands](/reference/cli/vm) > > Attach / detach IPs to specific VMs. > [card] [Public IPs overview](/products/network/public-ips) > > Auto-assigned vs reserved. > [card] [Reserve a static IP](/products/network/public-ips/quickstart-guides/reserve-ip) > > Dashboard walkthrough. # raff kubernetes Source: https://docs.rafftechnologies.com/reference/cli/kubernetes Manage Kubernetes clusters from the CLI — list, get, create, delete, rename, kubeconfig, nodes, node pools, HA upgrade, version upgrades, and maintenance windows. <sub>Updated August 24, 2026</sub> The `raff kubernetes` command group (alias: `raff k8s`) covers every managed Kubernetes operation in the public API. Each subcommand supports `--output json` for scripting. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List all clusters in the project | | [`get`](#get) | Show details for one cluster | | [`create`](#create) | Create a cluster | | [`delete`](#delete) | Delete a cluster and all its infrastructure | | [`rename`](#rename) | Rename a cluster | | [`kubeconfig`](#kubeconfig) | Print or save the cluster's kubeconfig | | [`nodes`](#nodes) | List the cluster's nodes with live status | | [`pool list/add/scale/delete`](#node-pools) | Manage node pools | | [`upgrade-ha`](#upgrade-ha) | Promote to a 3-master HA control plane | | [`upgrade`](#upgrade) | Upgrade the Kubernetes version (rolling, in place) | | [`maintenance`](#maintenance) | Set the upgrade mode and maintenance window | | [`versions`](#versions) | List available Kubernetes versions | | [`plans`](#plans) | List worker node plans with pricing | | [`volumes`](#volumes) | List the cluster's PVC-provisioned volumes | *** ## list ```bash theme={null} raff kubernetes list [--output table|json] ``` ## get ```bash theme={null} raff kubernetes get <cluster-id> [--output table|json] ``` Shows status, version, endpoint, HA, node counts, and pricing for one cluster. ## create ```bash theme={null} raff kubernetes create --name <name> --plan <plan-id> [--nodes 2] [--version <version-id>] [--ha] [--wait] [--idempotency-key <key>] ``` | Flag | Description | | - | - | | `--name` | Cluster name (1–63 lowercase letters, digits or hyphens). Required. | | `--plan` | Worker node plan ID — see [`plans`](#plans). Required. | | `--nodes` | Worker node count for the default pool (2–20; added pools can be 1–20 with their own plan). Default 2. | | `--version` | Kubernetes version ID — see [`versions`](#versions). Default: platform default. | | `--ha` | HA control plane (3 masters, flat monthly fee). | | `--wait` | Block until the cluster is running (10–20 minutes). | | `--idempotency-key` | A retried create with the same key returns the same cluster. | Creates follow the account's billing mode: pay-as-you-go bills hourly; on a subscription account the CLI create charges the saved payment method for the monthly subscription automatically. ```bash theme={null} raff kubernetes create --name prod-cluster --plan 1 --nodes 3 --ha --wait ``` ## delete ```bash theme={null} raff kubernetes delete <cluster-id> [--force] [--wait] ``` Deletes the cluster and all its infrastructure — nodes, gateway, VPC, and floating IP. `--force` skips the confirmation prompt; `--wait` blocks until deletion completes. ## rename ```bash theme={null} raff kubernetes rename <cluster-id> <new-name> ``` The API endpoint and DNS stay the same. ## kubeconfig ```bash theme={null} raff kubernetes kubeconfig <cluster-id> [--save <path>] [--ttl <duration>] [--static] raff kubernetes kubeconfig rotate <cluster-id> ``` Writes a **self-renewing** kubeconfig: the file carries no credential, and `kubectl` calls the Raff CLI for a fresh short-lived token before each request. It never expires, nothing long-lived is stored, and the file is useless to anyone without your API key. `--ttl` sets each token's lifetime (default `1h`). `--static` embeds a token in the file instead, for environments that cannot run the CLI. It expires (7 days by default, `--ttl` to change, 30 days maximum) and must be re-issued afterwards. `kubeconfig rotate` invalidates every kubeconfig and token issued for the cluster, immediately. ```bash theme={null} raff kubernetes kubeconfig zk7x9m --save ~/.kube/raff-zk7x9m.yaml export KUBECONFIG=~/.kube/raff-zk7x9m.yaml kubectl get nodes ``` ## nodes ```bash theme={null} raff kubernetes nodes <cluster-id> ``` Lists every node (gateway, control plane, workers, storage) with role, status, and IP. ## Node pools ```bash theme={null} raff kubernetes pool list <cluster-id> raff kubernetes pool add <cluster-id> --name <name> --plan <plan-id> [--nodes 2] raff kubernetes pool scale <cluster-id> <pool-id> <node-count> raff kubernetes pool delete <cluster-id> <pool-id> [--force] ``` Scale-down and pool deletion drain nodes first — workloads are evicted respecting PodDisruptionBudgets before a node is removed. Each pool has its own worker plan — pass any plan ID from [`plans`](#plans) to mix sizes and tiers (General Purpose / CPU-Optimized) in one cluster. Added pools can have 1–20 nodes; the cluster keeps at least 2 workers overall. ## upgrade-ha ```bash theme={null} raff kubernetes upgrade-ha <cluster-id> [--force] ``` Promotes a single-master cluster to a 3-master HA control plane with a redundant gateway pair. Cannot be reversed. ## upgrade ```bash theme={null} # List available targets raff kubernetes upgrade <cluster-id> # Start an upgrade raff kubernetes upgrade <cluster-id> --version <version-id> [--confirm-single-master] ``` Rolling in-place upgrade: control-plane nodes one at a time, then workers drained one at a time. On a non-HA cluster the Kubernetes API is briefly interrupted — pass `--confirm-single-master` to accept that. Minor versions upgrade sequentially; upgrades cannot be rolled back. Progress appears in the cluster's Activity feed; `raff kubernetes get` shows the version once complete. ## maintenance ```bash theme={null} raff kubernetes maintenance <cluster-id> [--mode manual|auto_patch|auto_minor] [--day 0-6] [--start 0-23] ``` | Flag | Description | | - | - | | `--mode` | `manual` — you start upgrades. `auto_patch` — patches apply automatically in the window. `auto_minor` — minors too, after a stability period. | | `--day` | Maintenance day: 0 (Sunday) to 6 (Saturday). | | `--start` | Window start hour (UTC); the window is 4 hours. | Only the flags you pass change; the rest keep their values. ## versions ```bash theme={null} raff kubernetes versions ``` Lists the Kubernetes versions offered, with the version ID used by `create --version`. Creating on a version newer than the base image works — the cluster upgrades itself to it during creation. ## plans ```bash theme={null} raff kubernetes plans ``` Lists worker node plans with class (General Purpose `shared` / CPU-Optimized `cpu_optimized`), vCPU, memory, and monthly price. Every worker has a 25 GiB root disk. ## volumes ```bash theme={null} raff kubernetes volumes <cluster-id> ``` Lists the cluster's PVC-provisioned persistent volumes (the `raff-block` StorageClass): PV name, size, status, the worker it is attached to, and the hourly price. # raff member Source: https://docs.rafftechnologies.com/reference/cli/member Manage account-level members from the CLI — invite by email, add an existing user, grant API-key access, update roles or status, remove. For project-scoped membership, see raff project member. <sub>Updated May 10, 2026</sub> The `raff member` command group manages account-level membership — users who can sign into the account itself, separate from project-level access. To manage who can act inside a specific project, see [`raff project member`](/reference/cli/project#member-subcommands). Every subcommand supports `--output json` for scripting. Alias: `raff members`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List account members | | [`get`](#get) | Show details for one member | | [`add`](#add) | Add a member (by email, existing user, or API key) | | [`update`](#update) | Update a member's role or status | | [`remove`](#remove) | Remove a member from the account | *** ## list ```bash theme={null} raff member list [--status pending|active|suspended] [--output table|json] ``` List account members. Output columns: `ID`, `EMAIL`, `STATUS`, `ROLE`. Filter by status to find pending invites. ## get ```bash theme={null} raff member get <member-id> ``` ## add ```bash theme={null} raff member add --role-id <uuid> \ ( --email <email> | --target-user-id <uuid> | --api-key-id <uuid> ) ``` Add a member. Required: `--role-id` plus exactly one of: * `--email` — invite a new user; creates a pending member until they accept * `--target-user-id` — add an existing account user directly * `--api-key-id` — grant account-level access to an existing API key The role must be account-scoped (find via [`raff role list --scope account`](/reference/cli/role#list)). ```bash theme={null} # Invite by email raff member add --email alice@example.com --role-id <admin-role-uuid> # Grant a CI API key account-level access raff member add --api-key-id <ci-key-uuid> --role-id <operator-role-uuid> ``` ## update ```bash theme={null} raff member update <member-id> \ [--role-id <uuid>] \ [--status active|suspended] ``` Update a member's role or status. At least one flag must be provided. Suspended members keep their role assignment but cannot sign in. ## remove ```bash theme={null} raff member remove <member-id> [--force] ``` Remove a member from the account. Pass `--force` to skip the confirmation prompt. ## Related > [card] [raff_member (Terraform)](/reference/terraform/raff_member) > > Declarative account-level members. > [card] [Project member commands](/reference/cli/project#member-subcommands) > > Project-scoped membership. > [card] [Invitation commands](/reference/cli/invitation) > > List and cancel pending invitations. # raff permission Source: https://docs.rafftechnologies.com/reference/cli/permission Browse the IAM permission catalog from the CLI — every permission name available to assign to a role, optionally filtered by scope (account or project). <sub>Updated May 10, 2026</sub> The `raff permission` command group is a read-only catalog of every permission available in Raff. Use it to discover permission names when building a custom role with [`raff role create`](/reference/cli/role#create). Output supports `--output json` for scripting. Alias: `raff permissions`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List all permissions | *** ## list ```bash theme={null} raff permission list [--scope account|project] [--output table|json] ``` List the permission catalog. Output columns: `NAME`, `CATEGORY`, `SCOPE`, `DESCRIPTION`. Filter by scope to see only account-domain or project-domain permissions — this is helpful when building a role: account-scoped roles only accept account-domain permissions, project-scoped roles only accept project-domain permissions. ```bash theme={null} # Every permission raff permission list # Just project-domain (for building project roles) raff permission list --scope project # JSON for scripting raff permission list --scope project --output json | jq -r '.[].name' ``` ## Related > [card] [Role commands](/reference/cli/role) > > Build a custom role from the permission catalog. > [card] [raff_role (Terraform)](/reference/terraform/raff_role) > > Declarative role management. > [card] [Member commands](/reference/cli/member) > > Assign roles to members. # raff pricing Source: https://docs.rafftechnologies.com/reference/cli/pricing Browse the public pricing catalog from the CLI — VM plans, volume / backup / snapshot per-GB rates, floating IP family rates. <sub>Updated November 8, 2026</sub> The `raff pricing` command group browses Raff's public pricing catalog. Use it to discover plan IDs (for `raff vm create --pricing-id`), per-GB storage rates (for cost forecasting), and floating IP rates. Output supports `--output json` for scripting. ## Subcommand index | Subcommand | What it does | | - | - | | [`vm`](#vm) | List VM pricing plans | | [`volume`](#volume) | Show per-GB volume pricing | | [`backup`](#backup) | Show per-GB backup storage pricing | | [`snapshot`](#snapshot) | Show per-GB snapshot storage pricing | | [`ip`](#ip) | Show floating IP pricing | *** ## vm ```bash theme={null} raff pricing vm [--region <region>] [--vm-type standard|premium|windows|cost_optimized] [--output table|json] ``` List VM plans. Output columns: `ID`, `TYPE`, `REGION`, `vCPU`, `RAM`, `SSD`, `TRANSFER`, `$/HR`, `$/MO`. The `ID` is what you pass to `raff vm create --pricing-id`. ```bash theme={null} # All standard plans raff pricing vm --vm-type standard # Cost-Optimized plans (local NVMe, from $4.99/mo) raff pricing vm --vm-type cost_optimized # Cheapest plan that meets your minimums raff pricing vm --output json | jq 'sort_by(.monthly_price) | .[0]' ``` ## volume ```bash theme={null} raff pricing volume [--region <region>] [--output table|json] ``` Show per-GB block storage pricing. Output: per-GB hourly + monthly rates for the requested (or default) region. ## backup ```bash theme={null} raff pricing backup [--region <region>] [--output table|json] ``` Show per-GB backup storage pricing. ## snapshot ```bash theme={null} raff pricing snapshot [--region <region>] [--output table|json] ``` Show per-GB snapshot storage pricing. ## ip ```bash theme={null} raff pricing ip [--output table|json] ``` Show floating IP pricing by family (IPv4, IPv6). Output columns: `FAMILY`, `$/HR`, `$/MO`, `$/YR`, `$/24MO`. ## Related > [card] [VM commands](/reference/cli/vm) > > Use --pricing-id with raff vm create. > [card] [Region commands](/reference/cli/region) > > Discover region codes. > [card] [data.raff\_\*\_pricing (Terraform)](/reference/terraform/data-sources) > > Same data, declarative. # raff project Source: https://docs.rafftechnologies.com/reference/cli/project Manage projects from the CLI — list, get, create, update, delete. Projects are the container for VMs, volumes, IPs, VPCs, buckets, and access control. <sub>Updated May 10, 2026</sub> The `raff project` command group manages projects — the access-control unit that owns every resource. See [Team & Projects — Projects](/products/manage/team-projects#projects--the-unit-of-access-control) for the model. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List every project in the account | | [`get`](#get) | Show details for one project | | [`create`](#create) | Create a new project | | [`update`](#update) | Rename or change description | | [`delete`](#delete) | Delete an empty project | | [`member list`](#member-list) / [`get`](#member-get) / [`add`](#member-add) / [`update`](#member-update) / [`remove`](#member-remove) | Manage project-scoped members | *** ## list ```bash theme={null} raff project list [--output table|json] ``` List every project the API key has visibility into. Owner-level keys see all; project-only keys see only their assigned projects. ## get ```bash theme={null} raff project get <project-id> [--output table|json] ``` Show details for one project — name, description, default region, member count, created-at, the `Default` badge if applicable. ## create ```bash theme={null} raff project create \ --name <name> \ [--description <text>] \ [--default-region us-east] ``` Create a new project. Default region is `us-east` if omitted. Project names must be unique per account. ```bash theme={null} raff project create --name "customer-acme" --description "ACME Corp's whitelabel deployment" ``` ## update ```bash theme={null} raff project update <project-id> [--name <new-name>] [--description <text>] ``` Rename or change the description. The project's identifier and slug stay stable; automation referencing the project by UUID is unaffected. ## delete ```bash theme={null} raff project delete <project-id> ``` Delete an empty project. Fails if any resources still belong to it. The `Default` project cannot be deleted, ever — see [Edit or delete a project](/products/manage/team-projects/quickstart-guides/delete-a-project) for the rules. ## Member subcommands `raff project member` manages project-scoped members. The project is taken from `--project-id` (global flag), `RAFF_PROJECT_ID`, or the active profile — same precedence as every other project-scoped command. Account Owners have implicit access via their account-level role and don't need to be added explicitly. Alias: `raff project members`. ### member list ```bash theme={null} raff project member list [--status pending|active|suspended] [--output table|json] ``` List members of the current project. Output columns: `ID`, `EMAIL`, `STATUS`, `ROLE`. ### member get ```bash theme={null} raff project member get <member-id> ``` ### member add ```bash theme={null} raff project member add --role-id <project-role-uuid> \ ( --target-user-id <uuid> | --api-key-id <uuid> ) ``` Add an existing account user (or API key) to the current project. Required: `--role-id` plus one of `--target-user-id` / `--api-key-id` (mutually exclusive). For brand-new users, send an account invitation first via [`raff invitation create-account`](/reference/cli/invitation#create-account), or invite directly to a project via [`raff invitation create-project`](/reference/cli/invitation#create-project). ### member update ```bash theme={null} raff project member update <member-id> \ [--role-id <uuid>] [--status active|suspended] ``` Update a project member's role or status. At least one flag must be provided. ### member remove ```bash theme={null} raff project member remove <member-id> [--force] ``` Remove a member from the current project. Pass `--force` to skip the confirmation prompt. The member's account-level access is unaffected. ## Permission notes | Command | Required permission | | - | - | | `list`, `get` | `account.projects.view` (Owner, Admin, Member all have it) | | `create` | `account.projects.create` (Owner, Admin) | | `update` | `account.projects.manage` (Owner, Admin) | | `delete` | `account.projects.delete` (**Owner only by default**; Admin does NOT include this) | | `member list`, `member get` | `project.members.view` (project-scoped) | | `member add`, `member update`, `member remove` | `project.members.manage` (project-scoped — Project Admin) | If you get `403 Forbidden`, the key's role doesn't include the permission for that action. ## Related > [card] [VM commands](/reference/cli/vm) > > Use --project-id to scope VM operations. > [card] [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) > > Why `delete` may 403 even on Admin keys. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > Which role grants which `account.projects.*` permission. # raff region Source: https://docs.rafftechnologies.com/reference/cli/region List Raff datacenter regions from the CLI. Region codes are required when creating VMs, volumes, VPCs, and reserved IPs. <sub>Updated May 10, 2026</sub> The `raff region` command group lists Raff datacenter regions. Region codes (e.g. `us-east`) are needed for `--region` flags on VMs, volumes, VPCs, and reserved IPs. Output supports `--output json` for scripting. Alias: `raff regions`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List available regions | *** ## list ```bash theme={null} raff region list [--output table|json] ``` List every available datacenter region. Output columns: `CODE`, `NAME`, `COUNTRY`, `DEFAULT`. The `DEFAULT` column flags the project's default region (used when `--region` is omitted on creates). ```bash theme={null} raff region list raff region list --output json | jq -r '.[].code' ``` ## Related > [card] [Template commands](/reference/cli/template) > > OS templates available per region. > [card] [Pricing commands](/reference/cli/pricing) > > Pricing varies by region. > [card] [data.raff_regions (Terraform)](/reference/terraform/data-sources) > > Same data, declarative. # raff role Source: https://docs.rafftechnologies.com/reference/cli/role Manage IAM roles from the CLI — list system + custom roles, create custom roles with a permission set, update, delete. System roles (Owner, Admin, etc.) are immutable. <sub>Updated May 10, 2026</sub> The `raff role` command group manages IAM roles. **System roles** (Owner, Admin, Operator, Member, etc.) are immutable and managed by the platform; only **custom roles** can be created here. Every subcommand supports `--output json` for scripting. Alias: `raff roles`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List roles | | [`get`](#get) | Show details for one role | | [`create`](#create) | Create a custom role | | [`update`](#update) | Update a custom role | | [`delete`](#delete) | Delete a custom role | *** ## list ```bash theme={null} raff role list [--scope account|project] [--output table|json] ``` List roles, optionally filtered by scope. Output columns: `ID`, `NAME`, `SLUG`, `SCOPE`, `SYSTEM`, `PERMISSIONS` (count). ## get ```bash theme={null} raff role get <role-id> ``` Show full role details — name, slug, scope, system flag, description, full permission list. ## create ```bash theme={null} raff role create \ --name <name> \ --slug <slug> \ --scope account|project \ --permission <perm-name> [--permission ...] \ [--description <text>] ``` Create a custom role. Required: `--name`, `--slug`, `--scope`, at least one `--permission`. Pass `--permission` multiple times to add several permissions. Discover permission names via [`raff permission list --scope <scope>`](/reference/cli/permission#list). ```bash theme={null} # Account-scoped read-only role raff role create --name "Auditor" --slug auditor --scope account \ --permission account.audit.read \ --permission billing.read \ --description "Read-only access for compliance" # Project-scoped VM operator raff role create --name "VM Operator" --slug vm-operator --scope project \ --permission vm.read --permission vm.power ``` ## update ```bash theme={null} raff role update <role-id> \ [--name <name>] \ [--description <text>] \ [--permission <perm-name>]... ``` Update a custom role. At least one flag must be provided. Passing `--permission` replaces the entire permission set; omit to keep current permissions. ## delete ```bash theme={null} raff role delete <role-id> [--force] ``` Delete a custom role. System roles cannot be deleted. Pass `--force` to skip the confirmation prompt. ## Related > [card] [Permission commands](/reference/cli/permission) > > Browse the permission catalog. > [card] [raff_role (Terraform)](/reference/terraform/raff_role) > > Declarative role management. > [card] [Member commands](/reference/cli/member) > > Assign roles to members. # raff security-group Source: https://docs.rafftechnologies.com/reference/cli/security-group Manage Firewall Groups (security groups in the API) from the CLI — list, list templates, get, create, delete, and the tags that put a group on servers. Customer-facing label is Firewall; the API path is still security-groups. <sub>Updated November 10, 2026</sub> The `raff security-group` command group manages Firewall Groups. The dashboard product is called **Firewall**; the underlying API path is `security-groups`, which is what the CLI command name reflects. Functionality is the same — see [Firewall overview](/products/network/firewall) for the model. To attach a group to a VM, use `raff vm sg add` (see [VM commands → sg add](/reference/cli/vm#sg-add)). The CLI doesn't yet expose Update Rules — use the [Update Firewall API](/api-reference/endpoint/update-firewall) directly for now. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List Firewall Groups in the project | | [`templates`](#templates) | List the 5 prebuilt templates | | [`get`](#get) | Show one group's full rule set | | [`create`](#create) | Create a new Firewall Group | | [`delete`](#delete) | Delete a Firewall Group | | [`tags get`](#tags-get) | Show the tags a group is linked to and its progress on their servers | | [`tags set`](#tags-set) | Link a group to tags: it goes on their servers in its project | *** ## list ```bash theme={null} raff security-group list [--output table|json] ``` ## templates ```bash theme={null} raff security-group templates [--output table|json] ``` Lists the 5 System templates: `web-server`, `database-server`, `ssh-only`, `allow-all`, `deny-all`. Use the `id` field as `--template-id` on `create` to start from a template. ## get ```bash theme={null} raff security-group get <sg-id> [--output table|json] ``` Show a Firewall Group's full inbound and outbound rule set, plus the VMs it's attached to. ## create ```bash theme={null} raff security-group create \ --name <name> \ [--description <text>] \ [--template-id <template-id>] \ [--rules-file <path-to-json>] ``` Create a Firewall Group. Either start from a template (`--template-id web-server`), pass rules as JSON via `--rules-file`, or both (rules merge with template). Rule format follows the [Create Firewall API](/api-reference/endpoint/create-firewall) schema: ```json theme={null} [ { "protocol": "TCP", "rule_type": "INBOUND", "range": "22", "ip": "0.0.0.0", "size": "0" }, { "protocol": "TCP", "rule_type": "INBOUND", "range": "80,443", "ip": "0.0.0.0", "size": "0" }, { "protocol": "ALL", "rule_type": "OUTBOUND" } ] ``` Maximum **40 inbound rules + 40 outbound rules** per group. The system Default Firewall blocks TCP 135/139/445/5985–5986 and UDP 137–138 — those are stripped from any rule range you submit. ## delete ```bash theme={null} raff security-group delete <sg-id> ``` Delete a Firewall Group. Fails if it's still attached to any VM — detach with `raff vm sg remove` on each VM first. ## tags get ```bash theme={null} raff security-group tags get <sg-id> [--output table|json] ``` Show the tags the Firewall Group is linked to in its project, and how many servers of the last day are pending, running, done, failed, in conflict or skipped. ## tags set ```bash theme={null} raff security-group tags set <sg-id> --tag-ids <tag-id1,tag-id2> ``` Make these the group's tags in its own project. Raff then puts the group on the public IPs of every server of that project with one of the tags, in the background (about 20 seconds per server). Tags left out are unlinked, and their servers keep the group. Pass `--tag-ids ""` to unlink every tag. In a project a tag carries at most one Firewall Group. A server whose tags carry different groups in its project is left as it is (conflict). Get tag IDs with [`raff tag list`](/reference/cli/tag#list). Needs the `account.tags.manage` permission (account Owner and Admin by default). ## When changes apply Changes apply to running VMs with no reboot: saved rules within a few seconds, an attach or detach in about 20 seconds. Connections already open stay open; new connections follow the new rules. See [Update rules](/products/network/firewall/quickstart-guides/update-rules#when-the-new-rules-apply). ## Related > [card] [Tag commands](/reference/cli/tag) > > `raff tag` to create the tags a group goes on. > [card] [VM commands](/reference/cli/vm) > > `raff vm sg add` to attach to a VM. > [card] [Firewall overview](/products/network/firewall) > > The two-layer firewall model. > [card] [Inbound vs outbound](/products/network/firewall/concepts/inbound-vs-outbound) > > Rule format, port ranges, CIDR. # raff snapshot Source: https://docs.rafftechnologies.com/reference/cli/snapshot Manage VM and volume snapshots from the CLI — list, get, create, rename, restore, delete. Snapshots are point-in-time captures of a VM disk or volume; restoring overwrites the source. <sub>Updated May 10, 2026</sub> The `raff snapshot` command group covers point-in-time snapshots of VM disks and volumes. Snapshots are stored separately from the source and can be restored back over the source disk. Every subcommand supports `--output json` for scripting. Aliases: `raff snapshots`, `raff snap`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List snapshots, optionally filtered | | [`get`](#get) | Show details for one snapshot | | [`create`](#create) | Capture a snapshot of a VM or volume | | [`rename`](#rename) | Rename a snapshot | | [`restore`](#restore) | Restore the source from a snapshot | | [`delete`](#delete) | Delete a snapshot | *** ## list ```bash theme={null} raff snapshot list [--vm-id <vm-uuid>] [--volume-id <id>] [--type vm|volume] [--output table|json] ``` List snapshots in the current project. Filter by source VM, source volume, or snapshot type. Output columns: `ID`, `NAME`, `SIZE`, `TYPE`, `SOURCE`, `STATUS`, `CREATED`. ```bash theme={null} # Every snapshot in the project raff snapshot list # Only VM snapshots raff snapshot list --type vm # Snapshots of a specific VM raff snapshot list --vm-id <vm-uuid> ``` ## get ```bash theme={null} raff snapshot get <snapshot-id> [--output table|json] ``` Show full details for one snapshot. ## create ```bash theme={null} raff snapshot create \ --name <name> \ --resource-type vm|volume \ [--resource-id <vm-uuid>] \ [--volume-id <volume-id>] ``` Capture a snapshot. Required: `--name`, `--resource-type`. Pass `--resource-id <vm-uuid>` for VM snapshots, `--volume-id <id>` for volume snapshots. ```bash theme={null} # Snapshot a VM disk raff snapshot create --name "pre-upgrade" \ --resource-type vm --resource-id <vm-uuid> # Snapshot a volume raff snapshot create --name "data-01-2026-05-10" \ --resource-type volume --volume-id 42 ``` ## rename ```bash theme={null} raff snapshot rename <snapshot-id> --name <new-name> ``` ## restore ```bash theme={null} raff snapshot restore <snapshot-id> [--force] ``` Restore the source VM or volume from this snapshot. **The current disk state is overwritten.** Pass `--force` to skip the confirmation prompt. While the source is reverted to a snapshot, that snapshot's status reads `active` and it cannot be deleted. Saved-but-not-in-use snapshots have an empty status. ## delete ```bash theme={null} raff snapshot delete <snapshot-id> [--force] ``` Delete a snapshot. Pass `--force` to skip the confirmation prompt. Cannot delete a snapshot whose status is `active` — the source is currently reverted to it. ## Related > [card] [Backup commands](/reference/cli/backup) > > Managed backups with retention. > [card] [raff_snapshot (Terraform)](/reference/terraform/raff_snapshot) > > Declarative snapshot management. > [card] [API Reference](/api-reference/endpoints) > > The HTTP API behind the CLI. # raff ssh-key Source: https://docs.rafftechnologies.com/reference/cli/ssh-key Manage SSH keys from the CLI — register, rename, and delete public keys used when creating Linux VMs. <sub>Updated October 21, 2026</sub> The `raff ssh-key` command group manages SSH public keys registered on your account. Linux VMs accept these keys at create time via `--ssh-keys`. Every subcommand supports `--output json` for scripting. Alias: `raff ssh-keys`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List SSH keys | | [`get`](#get) | Show details for one SSH key | | [`create`](#create) | Register a new SSH public key | | [`update`](#update) | Rename a key | | [`delete`](#delete) | Delete a key | *** ## list ```bash theme={null} raff ssh-key list [--output table|json] ``` List SSH keys for the account. Output columns: `ID`, `NAME`, `TYPE`, `FINGERPRINT`, `SERVERS` (the servers where Raff last saw the key). To change the keys on a running server, see [`raff vm ssh-keys`](/reference/cli/vm#ssh-keys-list). ## get ```bash theme={null} raff ssh-key get <key-id> ``` Show full key details including the full public key string. ## create ```bash theme={null} raff ssh-key create --name <name> (--public-key "<key-string>" | --public-key-file <path>) ``` Register an SSH public key. Required: `--name`. One of `--public-key` or `--public-key-file` must be provided. ```bash theme={null} # From a file (most common) raff ssh-key create --name "alice@laptop" \ --public-key-file ~/.ssh/id_ed25519.pub # Inline raff ssh-key create --name "ci-deploy" \ --public-key "ssh-ed25519 AAAA... ci@deploy" ``` ## update ```bash theme={null} raff ssh-key update <key-id> --name <new-name> ``` Rename a key. The key material itself is immutable — to rotate, register a new key and delete the old one. ## delete ```bash theme={null} raff ssh-key delete <key-id> [--force] ``` Delete a key. Pass `--force` to skip the confirmation prompt. Existing VMs that already received the key keep it — deleting from the registry removes future use only. ## Related > [card] [raff_ssh_key (Terraform)](/reference/terraform/raff_ssh_key) > > Declarative SSH key management. > [card] [API key commands](/reference/cli/api-key) > > Manage API keys. > [card] [VM commands](/reference/cli/vm) > > Pass keys at VM create with --ssh-keys. # raff tag Source: https://docs.rafftechnologies.com/reference/cli/tag Manage account tags from the CLI: list, create, update and delete the tags shared by your servers, with their colour, priority and the firewalls they carry. <sub>Updated November 10, 2026</sub> The `raff tag` command group manages the account's tags. A tag is shared by every server that has it, so a rename, colour or priority change shows on all of them. Put a tag on a server with [`raff vm tags add`](/reference/cli/vm#tags-add), and link a tag to a firewall with [`raff security-group tags set`](/reference/cli/security-group#tags-set). `create`, `update` and `delete` need the `account.tags.manage` permission (account Owner and Admin by default; it can be added to custom roles). ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List the account's tags | | [`create`](#create) | Create a tag | | [`update`](#update) | Rename, recolour or reprioritise a tag on every server | | [`delete`](#delete) | Delete a tag from the account and every server | *** ## list ```bash theme={null} raff tag list [--output table|json] ``` Lists every tag of the account with its colour, priority, server count and the firewalls it carries (one at most per project). Servers are counted in the projects you can see; set `--project-id` or `RAFF_PROJECT_ID` to count one project. ## create ```bash theme={null} raff tag create --name <name> [--color <color>] [--priority <1-9>] ``` | Flag | Description | | - | - | | `--name` | Required. 1-40 characters, unique in the account ignoring case. | | `--color` | `gray` (default), `red`, `orange`, `amber`, `green`, `blue`, `violet` or `pink`. | | `--priority` | 1-9, 1 highest. Leave it out for none. | ## update ```bash theme={null} raff tag update <tag-id> [--name <name>] [--color <color>] [--priority <0-9>] ``` Change a tag on every server that has it. `--priority 0` removes the priority. ## delete ```bash theme={null} raff tag delete <tag-id> [--force] ``` Delete a tag. It is removed from every server and every firewall link. Firewalls the tag put on servers stay on those servers. Asks for confirmation unless `--force` is set. ## Related > [card] [Security group commands](/reference/cli/security-group) > > `raff security-group tags set` to link a tag to a firewall. > [card] [VM commands](/reference/cli/vm) > > `raff vm tags` to tag a server. > [card] [Tags and organization](/products/build/virtual-machines/concepts/tags-and-organization) > > How tags, colours and priorities work. # raff template Source: https://docs.rafftechnologies.com/reference/cli/template List OS templates available for VM creation from the CLI. Template UUIDs are required for raff vm create --template-id and raff_vm.template_id. <sub>Updated May 10, 2026</sub> The `raff template` command group lists OS templates available for VM creation — Linux distributions (Ubuntu, Debian, CentOS, etc.), Windows Server versions, and pre-built application images. Output supports `--output json` for scripting. Alias: `raff templates`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List OS templates | *** ## list ```bash theme={null} raff template list \ [--category linux|windows|app] \ [--vm-type standard|premium|windows|cost_optimized] \ [--region <region>] \ [--output table|json] ``` List OS templates, optionally filtered. Output columns: `ID`, `NAME`, `VERSION`, `OS`, `CATEGORY`, `REGION`, `MIN CPU/RAM/DISK`. The minimums are the smallest plan that can run the template — pick a `pricing_id` at or above these. ```bash theme={null} # Every Linux template raff template list --category linux # Windows templates (they run on Windows plans only) raff template list --vm-type windows # Templates a Cost-Optimized server can run raff template list --vm-type cost_optimized # Filter to a specific region raff template list --region us-east --output json | jq '.[] | {id, name}' ``` ## Related > [card] [VM commands](/reference/cli/vm) > > Pass template ID via raff vm create --template-id. > [card] [Pricing commands](/reference/cli/pricing) > > Pick a plan that meets the template's minimums. > [card] [data.raff_templates (Terraform)](/reference/terraform/data-sources) > > Same data, declarative. # raff vm Source: https://docs.rafftechnologies.com/reference/cli/vm Manage Virtual Machines from the CLI: list, get, create, update, delete (incl. bulk-delete), power, reboot, hard-reboot, reinstall, factory-reset, rename, reset-password, resize, resize-disk, save-image, plus IP, firewall, VPC, tags, notes, SSH keys and networks subcommands. <sub>Updated November 10, 2026</sub> The `raff vm` command group covers every Virtual Machine operation in the public API. Each subcommand also supports `--output json` for scripting. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List all VMs in the project | | [`get`](#get) | Show details for one VM | | [`create`](#create) | Create a new VM | | [`update`](#update) | Update VM metadata | | [`delete`](#delete) | Delete a VM | | [`bulk-delete`](#bulk-delete) | Delete multiple VMs at once | | [`start`](#start), [`stop`](#stop), [`reboot`](#reboot), [`hard-reboot`](#hard-reboot) | Power state | | [`reinstall`](#reinstall) | Reinstall the OS template | | [`factory-reset`](#factory-reset) | Reset to factory image | | [`rename`](#rename) | Rename a VM | | [`reset-password`](#reset-password) | Reset the root/admin password | | [`resize`](#resize) | Resize compute (vCPU/RAM) | | [`resize-disk`](#resize-disk) | Grow the OS disk | | [`save-image`](#save-image) | Save the OS disk as a Custom Image | | [`ip attach`](#ip-attach) / [`ip detach`](#ip-detach) | Attach / detach a public IP | | [`sg add`](#sg-add) / [`sg remove`](#sg-remove) | Attach / detach a Firewall Group | | [`vpc attach`](#vpc-attach) / [`vpc detach`](#vpc-detach) | Attach / detach a VPC | | [`tags add`](#tags-add) / [`tags update`](#tags-update) / [`tags remove`](#tags-remove) / [`tags list`](#tags-list) | Manage VM tags | | [`notes set`](#notes-set) / [`notes append`](#notes-append) / [`notes get`](#notes-get) | Manage VM notes | | [`ssh-keys list`](#ssh-keys-list) / [`ssh-keys add`](#ssh-keys-add) / [`ssh-keys remove`](#ssh-keys-remove) | See, add and remove root's SSH keys on a running Linux server | | [`networks`](#networks) | List the VM's network attachments | *** ## list ```bash theme={null} raff vm list [--project-id <uuid>] [--output table|json] ``` List every VM in the current project. Output columns: `ID`, `NAME`, `STATUS`, `IP ADDRESS`, `CPU`, `RAM`, `STORAGE`, `REGION`, `CREATED`. ```bash theme={null} # Default table raff vm list # JSON for scripting raff vm list --output json | jq '.[] | {id, name, status}' # In a non-default project raff vm list --project-id <other-project-id> ``` ## get ```bash theme={null} raff vm get <vm-id> [--output table|json] ``` Show full details for one VM — pricing, tags, networks, attached volumes, snapshots, backups. ## create ```bash theme={null} raff vm create \ --name <name> \ --template-id <template-uuid> \ --pricing-id <plan-id> \ --region <region> \ [--password <password> | --auto-generate-password] \ [--ssh-keys <key1,key2>] \ [--extra-storage <gb>] \ [--backup-type none|daily|weekly] \ [--tags <tag1,tag2>] \ [--vpc-id <vpc-uuid> | --vpc-name <name> --vpc-cidr <cidr> | --no-vpc] \ [--skip-public-ip] [--ipv6] \ [--security-group-id <firewall-uuid>] ``` Create a new VM. Required: `--name`, `--template-id`, `--pricing-id`, `--region`. Get template IDs via [List Templates](/api-reference/catalog/list-templates) and pricing IDs via [List VM Pricing](/api-reference/catalog/list-vm-pricing) or the [Pricing](/products/build/virtual-machines/details/pricing) page. With `--auto-generate-password`, Raff makes the root or Administrator password and emails it to the account once the server is created; it is never shown or stored by the CLI. With `--skip-public-ip`, the VM gets no public IPv4 and is reached on its VPC private IP, so it cannot be combined with `--no-vpc`. With `--ipv6`, the VM also gets a public IPv6 address from its node; with both flags, IPv6 is its only public address. With `--security-group-id`, the VM's public IP carries that firewall from the first boot instead of the Raff Default Firewall, so no port it closes is ever open. The firewall must be in the same project as the VM; list firewalls with [`raff security-group list`](/reference/cli/security-group). Change it later with [`raff vm sg add`](#sg-add) and [`raff vm sg remove`](#sg-remove). With `--tags` and no `--security-group-id`, when the tags carry exactly one firewall in the VM's project (see [`raff security-group tags set`](/reference/cli/security-group#tags-set)), the VM gets that firewall from its first boot. Tags that carry different firewalls are refused before any charge. ## update ```bash theme={null} raff vm update <vm-id> [--name <new-name>] ``` Update VM metadata. Currently rename-only. ## delete ```bash theme={null} raff vm delete <vm-id> \ [--volume-action detach|delete] \ [--delete-vpc] \ [--force] ``` Delete the VM. By default, attached volumes detach (preserved) and VPCs are kept — pass `--volume-action delete` to also remove volumes and `--delete-vpc` to remove VPCs (shared VPCs are auto-preserved if other VMs still use them). Pass `--force` to skip the confirmation prompt — required in scripts. The dashboard exposes the same options as a two-step confirmation dialog; see [Delete a VM](/products/build/virtual-machines/quickstart-guides/delete-vm) for the full rules. ## bulk-delete ```bash theme={null} raff vm bulk-delete --ids <id1,id2,id3> \ [--volume-action detach|delete] \ [--delete-vpc] \ [--force] ``` Delete multiple VMs in one call. Required: `--ids`. By default, attached volumes detach (preserved) and VPCs are kept; pass `--volume-action delete` to also remove volumes, and `--delete-vpc` to remove VPCs no longer in use. Shared VPCs are auto-preserved if other VMs still use them — see [Delete a VM](/products/build/virtual-machines/quickstart-guides/delete-vm). ## Power commands ```bash theme={null} raff vm start <vm-id> # Boot up raff vm stop <vm-id> # Graceful shutdown raff vm reboot <vm-id> # Graceful reboot raff vm hard-reboot <vm-id> # Force reboot — no graceful shutdown, data may be lost ``` Use `hard-reboot` only when graceful reboot is hung. The API behavior matches the dashboard — see [Manage power](/products/build/virtual-machines/quickstart-guides/manage-power). ## reinstall ```bash theme={null} raff vm reinstall <vm-id> --template-id <new-template-uuid> [--password <pw>] ``` Reinstall the VM's OS with a different template. Erases the OS disk; preserves attached volumes, IP, VPC, tags, and specs. See [Reinstall](/products/build/virtual-machines/quickstart-guides/reinstall). ## factory-reset ```bash theme={null} raff vm factory-reset <vm-id> ``` Reset to the original template the VM was created with. Same preservation rules as reinstall. ## rename ```bash theme={null} raff vm rename <vm-id> --name <new-name> ``` ## reset-password ```bash theme={null} raff vm reset-password <vm-id> ``` Sets a new root (Linux) or Administrator (Windows) password and emails it to the account owner. A running server gets it at once, without a restart; a server Raff cannot reach that way gets it through its settings (a running Linux server restarts to apply it). See [Reset password](/products/build/virtual-machines/quickstart-guides/reset-password). ## resize ```bash theme={null} raff vm resize <vm-id> --pricing-id <new-plan-id> ``` Change the compute plan (vCPU / RAM / base disk). Triggers a reboot. Pricing pro-rates against the current term. ## resize-disk ```bash theme={null} raff vm resize-disk <vm-id> --size-gb <new-size> ``` Grow the OS disk. Cannot shrink. Filesystem expansion inside the guest is not automatic — see [Resize](/products/build/virtual-machines/quickstart-guides/resize) for the `growpart` / `resize2fs` steps. ## save-image ```bash theme={null} raff vm save-image <vm-id> --name <image-name> ``` Snapshot the OS disk as a reusable Custom Image you can launch other VMs from. See [Custom Images](/products/build/virtual-machines/concepts/custom-images). ## ip attach ```bash theme={null} raff vm ip attach <vm-id> --ip-id <ip-uuid> ``` Attach a reserved public IP to the VM. ## ip detach ```bash theme={null} raff vm ip detach <vm-id> --ip-id <ip-uuid> ``` Detach a public IP. Reserved IPs return to your account; auto-assigned IPs return to the regional pool. ## sg add ```bash theme={null} raff vm sg add <vm-id> --sg-id <firewall-uuid> ``` Attach a Firewall Group to the VM's public IP. It replaces the group the IP had and applies in about 20 seconds, with no reboot. See [Attach a Firewall Group to a VM](/products/network/firewall/quickstart-guides/attach-to-vm). ## sg remove ```bash theme={null} raff vm sg remove <vm-id> --sg-id <firewall-uuid> ``` Detach a Firewall Group. The IP goes back to the Raff Default Firewall in about 20 seconds, with no reboot. ## vpc attach ```bash theme={null} raff vm vpc attach <vm-id> --vpc-id <vpc-uuid> ``` Add a VPC interface to the VM. The VM gets a private IP from the VPC's CIDR. ## vpc detach ```bash theme={null} raff vm vpc detach <vm-id> --vpc-id <vpc-uuid> ``` Remove the VPC interface. Blocked if it would leave the VM with zero interfaces — attach another network first. ## tags add ```bash theme={null} raff vm tags add <vm-id> --name <tag-name> [--priority <1-9>] ``` Add an account tag to the VM. When the account has no tag of this name, it is created with `--priority`. When the tag carries a firewall in the VM's project, Raff puts that firewall on the VM's public IPs about 20 seconds later. Manage the tags themselves with [`raff tag`](/reference/cli/tag). ## tags update ```bash theme={null} raff vm tags update <vm-id> --tag-id <tag-id> --name <new-name> ``` Move the VM from this tag to the tag named `--name`. Priority belongs to the tag: change it for every server with [`raff tag update`](/reference/cli/tag#update). ## tags remove ```bash theme={null} raff vm tags remove <vm-id> --tag-id <tag-id> [--reset-firewall] ``` Remove a tag from the VM. A firewall the tag put on the VM stays on it. With `--reset-firewall`, the VM's public IPs also go back on the Raff Default Firewall. ## tags list ```bash theme={null} raff vm tags list <vm-id> ``` ## notes set ```bash theme={null} raff vm notes set <vm-id> --content "<note text>" ``` Replace the VM's note. See [VM notes](/products/build/virtual-machines/concepts/vm-notes). ## notes append ```bash theme={null} raff vm notes append <vm-id> --content "<additional text>" ``` Append to the existing note (newline-separated). ## notes get ```bash theme={null} raff vm notes get <vm-id> ``` ## ssh-keys list ```bash theme={null} raff vm ssh-keys list <vm-id> ``` The keys in root's `authorized_keys`, read from the running server itself. Output columns: `FINGERPRINT`, `TYPE`, `COMMENT`, `SAVED KEY`, `OPTIONS`. Linux servers only. ## ssh-keys add ```bash theme={null} raff vm ssh-keys add <vm-id> --key <saved-key-id | public-key> [--save-as <name>] raff vm ssh-keys add <vm-id> --key-file ~/.ssh/id_ed25519.pub [--save-as <name>] ``` Add a key to root on a running Linux server, at once and without a restart. `--save-as` also saves a new key to your account. A key the server already has changes nothing. The account owner gets an email. See [Add or remove SSH keys](/products/build/virtual-machines/quickstart-guides/manage-ssh-keys). ## ssh-keys remove ```bash theme={null} raff vm ssh-keys remove <vm-id> --fingerprint <SHA256:...> [--confirm-last] [--force] ``` Remove a key from root, and from the server's settings so it does not come back at the next restart. Root's last key goes only with `--confirm-last`. Asks before removing unless `--force`. ## networks ```bash theme={null} raff vm networks <vm-id> ``` List every network attached to the VM — public IPs, VPCs, with their addresses and statuses. ## Related > [card] [Project commands](/reference/cli/project) > > Manage projects. > [card] [VPC commands](/reference/cli/vpc) > > Private networks. > [card] [API Reference](/api-reference/endpoints) > > The HTTP API behind the CLI. # raff volume Source: https://docs.rafftechnologies.com/reference/cli/volume Manage block storage volumes from the CLI — list, get, create, delete, resize, attach, detach. NVMe SSD volumes attach to one VM at a time and live in a specific region. <sub>Updated May 10, 2026</sub> The `raff volume` command group manages block storage volumes — NVMe SSD volumes you can attach to a VM, detach, resize up, and snapshot. Every subcommand supports `--output json` for scripting. Aliases: `raff volumes`, `raff vol`. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List volumes in the project | | [`get`](#get) | Show details for one volume | | [`create`](#create) | Create a new volume | | [`delete`](#delete) | Delete a volume | | [`resize`](#resize) | Grow a volume | | [`attach`](#attach) | Attach a volume to a VM | | [`detach`](#detach) | Detach a volume from its VM | *** ## list ```bash theme={null} raff volume list [--region <region>] [--vm-id <vm-uuid>] [--output table|json] ``` List volumes in the current project. Output columns: `ID`, `NAME`, `SIZE`, `TYPE`, `STATUS`, `REGION`, `ATTACHED VM`. ```bash theme={null} raff volume list raff volume list --vm-id <vm-uuid> raff volume list --output json | jq '.[] | {id, name, status}' ``` ## get ```bash theme={null} raff volume get <volume-id> [--output table|json] ``` Show full details for one volume — size, type, status, region, attached VM (if any). ## create ```bash theme={null} raff volume create \ --name <name> \ --size <gb> \ --type nvme \ [--region <region>] \ [--filesystem ext4|xfs|btrfs] \ [--vm-id <vm-uuid>] ``` Create a volume. Required: `--name`, `--size`, `--type`. Pass `--vm-id` to attach at create time — the VM must be in the same region. `--filesystem` is the filesystem laid down on first attach (Linux only); defaults to `ext4`. ```bash theme={null} # Standalone — attach later raff volume create --name data-01 --size 100 --type nvme --region us-east # Create and attach to a VM raff volume create --name data-01 --size 100 --type nvme \ --region us-east --vm-id <vm-uuid> ``` ## delete ```bash theme={null} raff volume delete <volume-id> [--force] ``` Delete a volume. Pass `--force` to skip the confirmation prompt — required in scripts. Detach the volume first if it's still attached. ## resize ```bash theme={null} raff volume resize <volume-id> --new-size <gb> ``` Grow a volume. The new size must be larger than the current size — volumes cannot shrink. Filesystem expansion inside the guest is not automatic; see [Resize a volume](/products/store/volumes/quickstart-guides/resize-volume) for the `growpart` / `resize2fs` steps. ## attach ```bash theme={null} raff volume attach <volume-id> --vm-id <vm-uuid> ``` Attach a volume to a VM. Volume and VM must be in the same region. Inside the guest, attached volumes appear as `/dev/vdb`, `/dev/vdc`, etc. (`/dev/vda` is the OS disk). ## detach ```bash theme={null} raff volume detach <volume-id> ``` Detach the volume from its current VM. The volume remains in the project and can be reattached later. ## Related > [card] [Snapshot commands](/reference/cli/snapshot) > > Capture a point-in-time snapshot of a volume. > [card] [raff_volume (Terraform)](/reference/terraform/raff_volume) > > Declarative volume management. > [card] [API Reference](/api-reference/endpoints) > > The HTTP API behind the CLI. # raff vpc Source: https://docs.rafftechnologies.com/reference/cli/vpc Manage VPCs from the CLI — list, get, create, update, delete, and fetch CIDR suggestions. Each VPC is a VXLAN-isolated private network for VMs in the same region. <sub>Updated May 8, 2026</sub> The `raff vpc` command group manages Virtual Private Clouds. See [VPC overview](/products/network/vpc) for the model — VXLAN isolation, opt-in membership, allowed CIDR ranges. ## Subcommand index | Subcommand | What it does | | - | - | | [`list`](#list) | List VPCs in the project | | [`get`](#get) | Show one VPC's details | | [`create`](#create) | Create a new VPC | | [`update`](#update) | Update VPC settings (DNS, name) | | [`delete`](#delete) | Delete an empty VPC | | [`cidr-suggestions`](#cidr-suggestions) | Get suggested non-conflicting CIDRs | *** ## list ```bash theme={null} raff vpc list [--output table|json] ``` ## get ```bash theme={null} raff vpc get <vpc-id> [--output table|json] ``` ## create ```bash theme={null} raff vpc create \ --name <name> \ --cidr <cidr> \ [--region us-east] \ [--dns-primary 8.8.8.8] \ [--dns-secondary 1.1.1.1] ``` Create a VPC with a custom CIDR. Allowed prefixes: `/16` to `/28`. Allowed ranges: RFC 1918 (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) and RFC 6598 (`100.64.0.0/10`). ```bash theme={null} raff vpc create --name "prod-services" --cidr "10.5.0.0/24" ``` ## update ```bash theme={null} raff vpc update <vpc-id> [--name <new-name>] [--dns-primary <ip>] [--dns-secondary <ip>] ``` Update name and/or DNS. CIDR is immutable — recreate to change. ## delete ```bash theme={null} raff vpc delete <vpc-id> ``` Delete an empty VPC. Fails if any VMs are still attached — detach them first via `raff vm vpc detach`. ## cidr-suggestions ```bash theme={null} raff vpc cidr-suggestions [--output table|json] ``` Returns three pre-computed CIDRs (Recommended `/20`, Small `/24`, Large `/16`) chosen to not conflict with your existing VPCs. Pass any of them to `raff vpc create --cidr <cidr>`. ## Related > [card] [VM commands](/reference/cli/vm) > > `raff vm vpc attach` to add a VM to a VPC. > [card] [VPC overview](/products/network/vpc) > > The VXLAN model behind VPCs. > [card] [VXLAN, CIDR, and isolation](/products/network/vpc/concepts/cidr-and-isolation) > > Why CIDR overlap is allowed across VPCs. # Reference Source: https://docs.rafftechnologies.com/reference/introduction Manage Raff resources programmatically with the REST API, the CLI, or Terraform. The public API is in **Beta** (v1.0.0). <sub>Updated May 10, 2026</sub> Drive Raff infrastructure programmatically — REST API, CLI, or Terraform. All three talk to the same public API and use the same `X-API-Key` auth and role-based scoping. > [!NOTE] > > The Raff public API is currently in **Beta** (v1.0.0). The endpoint surface is stable; minor backward-compatible changes may land before GA. Track them in the [API Changelog](/api-reference/changelog). > [card] [REST API](/api-reference/endpoints) > > Full HTTP API with an interactive playground. > [card] [CLI](/reference/cli/introduction) > > Single static `raff` binary — one-off ops, scripts, CI/CD. > [card] [Terraform](/reference/terraform/introduction) > > Declarative IaC for production and code review. # Catalog data sources Source: https://docs.rafftechnologies.com/reference/terraform/data-sources Terraform data sources for Raff catalog/lookup endpoints — regions, OS templates, and pricing for VMs, volumes, backups, snapshots, and floating IPs. <sub>Updated October 19, 2026</sub> Catalog data sources let you discover region codes, OS templates, and pricing dynamically — useful for picking the cheapest plan that meets your minimums, finding the latest Ubuntu LTS template, or driving region selection from data. For resource-specific data sources (`data.raff_vm`, `data.raff_vms`, `data.raff_volume`, `data.raff_volumes`, etc.) see the **Data sources** section at the bottom of each resource page — they pair singular (by ID) and plural (list) lookups. ## raff_regions ```hcl theme={null} data "raff_regions" "all" {} output "default_region" { value = [for r in data.raff_regions.all.regions : r.code if r.is_default][0] } ``` Lists every datacenter region. Each entry has `code`, `name`, `country_code`, `flag`, `is_default`. ## raff_templates ```hcl theme={null} data "raff_templates" "ubuntu" { category = "linux" region = "us-east" } # Pick the latest Ubuntu LTS locals { ubuntu_24 = [ for t in data.raff_templates.ubuntu.templates : t if t.os_type == "ubuntu" && t.version == "24.04" ][0] } resource "raff_vm" "web" { template_id = local.ubuntu_24.id pricing_id = 9 name = "web-01" region = "us-east" } ``` Lists OS templates available for VM creation. Filters: `category` (`linux`, `windows`, `app`), `vm_type` (`standard`, `premium`, `windows`, `cost_optimized`), `region`. Each entry has `id`, `name`, `version`, `os_type`, `category`, `region`, `is_windows`, `licence_price_per_month` (Windows: Raff's monthly licence price), `min_cpu`, `min_ram`, `min_storage`, `description`. The `min_*` fields are the smallest plan that can run the template — pick a `pricing_id` at or above these. ## raff_vm_pricing ```hcl theme={null} data "raff_vm_pricing" "us_east" { region = "us-east" vm_type = "standard" } # Cheapest plan that meets requirements locals { cheapest = [ for p in data.raff_vm_pricing.us_east.plans : p if p.vcpu >= 2 && p.memory_gib >= 4 ][0] } resource "raff_vm" "api" { pricing_id = local.cheapest.id # ... } ``` Lists VM pricing plans. Filters: `region`, `vm_type` (`standard`, `premium`, `windows`, `cost_optimized`). Each plan has `id`, `vm_type`, `region`, `vcpu`, `memory_gib`, `ssd_gib`, `transfer_gib`, `price_per_hour`, `monthly_price`, `yearly_price`, `twenty_four_month_price`. The `id` is the integer to pass as `pricing_id` on `raff_vm`. ## raff_volume_pricing / raff_backup_pricing / raff_snapshot_pricing ```hcl theme={null} data "raff_volume_pricing" "us_east" { region = "us-east" } output "volume_cost_per_month" { # cost for 100 GB value = data.raff_volume_pricing.us_east.price_per_gb_month * 100 } ``` Per-GB storage pricing for volumes, backups, and snapshots respectively. All three share the same schema: | Attribute | Type | | - | - | | `region` (input, optional) | string | | `price_per_gb_hour` | float | | `price_per_gb_month` | float | | `effective_region` | string | `effective_region` is the region the price applies to (matches `region` if you set it, otherwise the project default). ## raff_ip_pricing ```hcl theme={null} data "raff_ip_pricing" "current" {} output "ipv4_monthly" { value = data.raff_ip_pricing.current.ipv4[0].monthly_price } ``` Floating IP pricing by family. Returns `ipv4` and `ipv6` as single-element lists; each has `price_per_hour`, `monthly_price`, `yearly_price`, `twenty_four_month_price`. ## raff_k8s_versions Kubernetes versions offered for new clusters. Use `default_version_id` or a `versions[*].id` as `k8s_version_id` on [`raff_k8s_cluster`](/reference/terraform/raff_k8s_cluster). ```hcl theme={null} data "raff_k8s_versions" "all" {} # .versions[*]: id, version, display_name, is_default # .default_version_id ``` ## raff_k8s_node_plans Worker node plans with sizing and pricing. Use a `plans[*].id` as `plan_id` on the cluster's `default_pool` and on [`raff_k8s_node_pool`](/reference/terraform/raff_k8s_node_pool). ```hcl theme={null} data "raff_k8s_node_plans" "all" {} # .plans[*]: id, name, vcpu, memory_gib, price_per_month ``` ## raff_k8s_cluster Read an existing cluster by its short `cluster_id` — status, version, endpoint, worker count, and the admin `kubeconfig` (sensitive). ```hcl theme={null} data "raff_k8s_cluster" "prod" { cluster_id = "zk7x9m" } ``` ## raff_database_engines Engines and their versions. Use a `versions[*]` value as `engine_version` on [`raff_database`](/reference/terraform/raff_database). ```hcl theme={null} data "raff_database_engines" "all" {} # .engines[*]: engine, display_name, available, versions ``` ## raff_database_plans Database plans with sizing and pricing. Use a `plans[*].id` as `plan_id` on [`raff_database`](/reference/terraform/raff_database). `is_free_tier` marks the free plan. ```hcl theme={null} data "raff_database_plans" "postgres" { engine = "postgres" } # .plans[*]: id, engine, name, vcpu, memory_gib, storage_gib, is_free_tier, max_connections, price_per_month ``` ## raff_database Read an existing database by its short `database_id` or by `name`: status, `server_version` (the full version, e.g. `18.6`), endpoints, and admin credentials (password and URI are sensitive). ```hcl theme={null} data "raff_database" "orders" { name = "orders" } ``` ## raff_app_tiers Raff Apps sizes with their specs and prices. Use a `tiers[*].id` as `tier_id` on [`raff_app_service`](/reference/terraform/raff_app_service). ```hcl theme={null} data "raff_app_tiers" "all" {} # .tiers[*]: id, name, vcpu, memory_mib, ephemeral_gib, price_per_hour, price_per_month, yearly_price, region locals { starter = [for t in data.raff_app_tiers.all.tiers : t.id if t.name == "Starter"][0] } ``` ## raff_app_service Read an existing app by its UUID or its short `service_id` (such as `svc-abc12345`): status, address, size, source, and scaling. ```hcl theme={null} data "raff_app_service" "api" { id = "svc-abc12345" } ``` ## raff_app_services Lists the apps in the provider's project, or in the whole account when no project is set. Each entry has the same attributes as the `raff_app_service` data source. ```hcl theme={null} data "raff_app_services" "all" {} # .services[*]: id, service_id, name, slug, service_type, source_type, status, url, internal_host, tier_id, tier_name, replicas, ... ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Drive pricing_id from raff_vm_pricing. > [card] [raff_volume](/reference/terraform/raff_volume) > > Forecast cost via raff_volume_pricing. > [card] [CLI: raff pricing](/reference/cli/pricing) > > Imperative equivalent. # Install the Raff Terraform Provider Source: https://docs.rafftechnologies.com/reference/terraform/install Install the provider from the Terraform Registry, build from source for local development, or pin a specific version. Works with Terraform 1.0+ and OpenTofu. <sub>Updated May 10, 2026</sub> The Raff Terraform Provider is published on the Terraform Registry. For most users, declaring it in your `required_providers` block is the only "install" step needed — Terraform downloads it on first `terraform init`. > [card] [View on Terraform Registry](https://registry.terraform.io/providers/RaffTechnologies/raff/latest) > > registry.terraform.io/providers/RaffTechnologies/raff/latest — auto-generated schema docs for every resource and data source, plus version history. ## Standard install (Terraform Registry) In any new or existing Terraform module: ```hcl theme={null} terraform { required_providers { raff = { source = "RaffTechnologies/raff" version = "~> 0.1" } } } provider "raff" { api_key = var.raff_api_key } ``` Then: ```bash theme={null} terraform init ``` Terraform fetches the provider from the registry and pins it in `.terraform.lock.hcl`. Re-run `terraform init -upgrade` to pull a newer version that satisfies the version constraint. The same workflow works with OpenTofu (`tofu init`). ## Version constraints | Constraint | What it allows | | - | - | | `version = "0.4.0"` | Exactly 0.4.0 | | `version = "~> 0.1"` | Any 0.x release — recommended while the provider is pre-1.0 | | `version = "~> 0.4.0"` | Any 0.4.x patch: 0.4.1 yes, 0.5.0 no | | `version = ">= 0.4"` | Any version ≥ 0.4 — use only when you actively track changes | Lock-files (`.terraform.lock.hcl`) record the exact version `terraform init` resolved, so collaborators on the same module use the same provider build. Commit the lock file. ## Build from source (local development) Useful when you're contributing to the provider, testing a pre-release fix, or need to debug locally: ```bash theme={null} # Clone git clone https://github.com/RaffTechnologies/terraform-provider-raff.git cd terraform-provider-raff # Build go build -o terraform-provider-raff # Install to local Terraform plugin path mkdir -p ~/.terraform.d/plugins/registry.terraform.io/RaffTechnologies/raff/0.4.0/$(go env GOOS)_$(go env GOARCH) cp terraform-provider-raff ~/.terraform.d/plugins/registry.terraform.io/RaffTechnologies/raff/0.4.0/$(go env GOOS)_$(go env GOARCH)/ ``` Now any Terraform module that requires `RaffTechnologies/raff` 0.4.0 will use your local build instead of the registry version. To switch back to the registry version, delete the local plugin file and re-run `terraform init -upgrade`. ## Verify ```bash theme={null} terraform providers ``` Should list `RaffTechnologies/raff` with the resolved version. ```bash theme={null} terraform plan ``` Against an empty state, this should connect to the API (using the configured key) and report `No changes`. ## Authentication The provider needs an API key. Two ways to provide it: ```hcl theme={null} # Block argument provider "raff" { api_key = var.raff_api_key } ``` Or, more commonly: ```bash theme={null} # Environment variable — keeps the key out of .tf files export RAFF_API_KEY="raff_<your-key>" ``` Block arguments take precedence over env vars when both are set. See [Generate an API key](/products/manage/team-projects/quickstart-guides/generate-api-key) for issuing a scoped key, and [Roles, scopes, and the Owner](/products/manage/team-projects/concepts/roles-and-api-keys) for picking the right role to assign. ## Next steps > [card] [raff_project](/reference/terraform/raff_project) > > The project resource. > [card] [raff_vm](/reference/terraform/raff_vm) > > The VM resource. > [card] [Provider intro](/reference/terraform/introduction) > > Quick start and what the provider covers. # Raff Terraform Provider Source: https://docs.rafftechnologies.com/reference/terraform/introduction Provision and manage Raff resources declaratively with HashiCorp Terraform. 14 resources spanning compute, storage, networking, and IAM, plus 25+ data sources for discovery and pricing. <sub>Updated May 10, 2026</sub> The **Raff Terraform Provider** lets you define your Raff infrastructure as code — versioned in git, reviewed in PRs, applied with `terraform apply`. The provider talks to the same public API as the dashboard and the [CLI](/reference/cli/introduction); the difference is the workflow: declarative state instead of imperative commands. For one-off operations and shell-driven workflows, use the [CLI](/reference/cli/introduction). For everything that should be reproducible and code-reviewable — production VMs, project structure, customer multi-tenancy — use Terraform. > [card] [View on Terraform Registry](https://registry.terraform.io/providers/RaffTechnologies/raff/latest) > > registry.terraform.io/providers/RaffTechnologies/raff/latest — auto-generated schema docs for every resource and data source, plus version history. ## Resources ### Compute | Resource | What it manages | | - | - | | [`raff_vm`](/reference/terraform/raff_vm) | A virtual machine — OS template, plan, networking, backup schedule, tags | | [`raff_volume`](/reference/terraform/raff_volume) | A block storage volume (NVMe SSD), attachable to a VM | | [`raff_snapshot`](/reference/terraform/raff_snapshot) | Point-in-time snapshot of a VM disk or volume | | [`raff_backup`](/reference/terraform/raff_backup) | One-shot VM backup | | [`raff_backup_schedule`](/reference/terraform/raff_backup_schedule) | Recurring backup policy with retention | ### Networking | Resource | What it manages | | - | - | | [`raff_vpc`](/reference/terraform/raff_vpc) | Virtual private cloud — RFC 1918 / RFC 6598, /16–/28 | | [`raff_ip`](/reference/terraform/raff_ip) | Reserved floating IP (IPv4 or IPv6) | | [`raff_security_group`](/reference/terraform/raff_security_group) | Firewall ruleset attached to VM NICs | ### Team & access control | Resource | What it manages | | - | - | | [`raff_project`](/reference/terraform/raff_project) | A project — the access-control container | | [`raff_member`](/reference/terraform/raff_member) | Account-level member (invite by email or add an existing user / API key) | | [`raff_project_member`](/reference/terraform/raff_project_member) | Project-scoped member | | [`raff_role`](/reference/terraform/raff_role) | Custom IAM role with a permission set | | [`raff_ssh_key`](/reference/terraform/raff_ssh_key) | Registered SSH public key | | [`raff_api_key`](/reference/terraform/raff_api_key) | API key (secret returned once at create — lock down state) | ### Data sources Every resource has a singular (by ID) and plural (list) data source — see the **Data sources** section at the bottom of each resource page. Catalog/lookup data sources (regions, OS templates, pricing) live on the [Catalog data sources](/reference/terraform/data-sources) page. ## Quick start ```hcl theme={null} terraform { required_providers { raff = { source = "RaffTechnologies/raff" version = "~> 0.1" } } } provider "raff" { api_key = var.raff_api_key # or set RAFF_API_KEY env var project_id = var.raff_project_id } resource "raff_project" "prod" { name = "production" description = "Production workloads" default_region = "us-east" } resource "raff_ssh_key" "alice" { name = "alice@laptop" public_key = file("~/.ssh/id_ed25519.pub") } resource "raff_vm" "web" { name = "web-01" template_id = "<ubuntu-template-uuid>" pricing_id = 9 # Standard 2 vCPU / 4 GiB / 50 GiB region = "us-east" ssh_keys = [raff_ssh_key.alice.id] tags = ["web", "prod"] } ``` ```bash theme={null} terraform init terraform plan terraform apply ``` ## Authentication The provider takes an API key via either the `api_key` block argument or the `RAFF_API_KEY` environment variable. Same precedence as the [CLI](/reference/cli/configure#authentication-precedence): block argument > env var. ```bash theme={null} export RAFF_API_KEY="raff_<your-key>" export RAFF_PROJECT_ID="<your-default-project-id>" terraform apply ``` API keys carry their own role assignment. To run Terraform with narrower scope than your user account, [generate a Custom-role API key](/products/manage/team-projects/quickstart-guides/generate-api-key) with only the permissions Terraform needs. ## Provider configuration block ```hcl theme={null} provider "raff" { api_key = "raff_<your-key>" # required (or via env) api_url = "https://api.rafftechnologies.com" # optional override project_id = "<default-project-uuid>" # optional default } ``` | Argument | Required | Description | | - | - | - | | `api_key` | Yes (or `RAFF_API_KEY` env) | API key with the role you want Terraform to use | | `api_url` | No | Override the API base URL — defaults to production | | `project_id` | No (or `RAFF_PROJECT_ID` env) | Default project for resources that don't set `project_id` themselves | ## What's covered The provider tracks the customer-facing public API. Every resource group exposed by the API has a Terraform resource and matching data sources today: compute, storage, networking, identity. Kubernetes and Object Storage are still rolling out at the API level and will land in the provider once those endpoints stabilize. ## Versioning and upgrades The provider follows semantic versioning. Major-version bumps may include breaking changes to resource schemas; minor and patch versions are backward-compatible additions and bug fixes. Pin a specific version in your `required_providers` block to control upgrades: ```hcl theme={null} terraform { required_providers { raff = { source = "RaffTechnologies/raff" version = "~> 0.1" } } } ``` ## Where to go next > [card] [Install the provider](/reference/terraform/install) > > Registry installation, local development, and version pinning. > [card] [raff_vm](/reference/terraform/raff_vm) > > Manage Virtual Machines. > [card] [raff_volume](/reference/terraform/raff_volume) > > Block storage volumes. > [card] [raff_vpc](/reference/terraform/raff_vpc) > > Private networks. > [card] [Catalog data sources](/reference/terraform/data-sources) > > Regions, templates, pricing. > [card] [Terraform Registry](https://registry.terraform.io/providers/RaffTechnologies/raff/latest) > > Auto-generated schema docs. > [card] [CLI](/reference/cli/introduction) > > Imperative alternative for non-IaC workflows. # raff_api_key Source: https://docs.rafftechnologies.com/reference/terraform/raff_api_key Create a Raff API key with Terraform. The plaintext secret is returned ONCE on create and stored in the secret attribute (sensitive). Lock down your Terraform state. <sub>Updated May 10, 2026</sub> Creates a Raff **API key**. The plaintext secret is returned **once** on create and stored in the `secret` attribute (sensitive). Anyone with read access to your Terraform state can use the key — store state in a backend with strict access controls (S3 + KMS, Terraform Cloud, etc.) and never commit `terraform.tfstate` to git. ## Example — minimal ```hcl theme={null} resource "raff_api_key" "ci" { name = "ci-deploy" } ``` ## Example — full ```hcl theme={null} resource "raff_api_key" "ci" { name = "ci-deploy" rate_limit_tier = "standard" # or "high" (requires approval) expires_at = "2026-12-31T23:59:59Z" # RFC3339 is_active = true } # Use the secret to drive a downstream provider provider "raff" { alias = "ci" api_key = raff_api_key.ci.secret } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Display name | ### Optional | Argument | Type | Description | | - | - | - | | `rate_limit_tier` | string | `standard` (default, 30 RPS) or `high` (100 RPS, requires support approval) | | `expires_at` | string | Expiration in RFC3339. Omit for never-expires | | `is_active` | bool | Defaults to `true`. Set to `false` to suspend without revoking | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | API key UUID | | `key_prefix` | First 13 characters of the key (e.g. `raff_pub_17d70fcf`) | | `secret` | **Sensitive.** Full plaintext API key. Returned only on create — never re-fetchable | | `created_at` | RFC3339 timestamp | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the key. `secret` is returned once and saved to state | | Change `name`, `rate_limit_tier`, `is_active`, `expires_at` | In-place update | | `terraform destroy` | Permanently revokes the key | There is no managed re-fetch of `secret` after create. If you lose the secret, the only recovery is to revoke and recreate the key. **Note:** the provider does not yet expose `regenerate` as a resource action — use [`raff api-key regenerate`](/reference/cli/api-key#regenerate) when rotation is needed. ## Importing existing keys ```bash theme={null} terraform import raff_api_key.ci <key-uuid> ``` After import, `secret` will be empty in state — the API key works, but Terraform cannot supply the secret to a downstream provider. Use the CLI to rotate and capture the new secret. ## Permissions The API key managing other API keys needs `api_key.create`, `api_key.manage`, and `api_key.delete` at the account level. The system role `Account Admin` grants all of these. ## Data sources ```hcl theme={null} # Single API key by UUID (no secret) data "raff_api_key" "ci" { id = raff_api_key.ci.id } # All API keys (no secrets) data "raff_api_keys" "all" {} ``` ## Related > [card] [raff_role](/reference/terraform/raff_role) > > Custom roles assigned to API keys via raff_member. > [card] [raff_member](/reference/terraform/raff_member) > > Grant the key account-level access. > [card] [CLI: raff api-key](/reference/cli/api-key) > > Imperative equivalent (incl. regenerate). # raff_app_custom_domain Source: https://docs.rafftechnologies.com/reference/terraform/raff_app_custom_domain Add a custom domain to a Raff Apps web app with Terraform and get the CNAME and TXT records to create. Verification and the TLS certificate run automatically. <sub>Updated October 19, 2026</sub> Manages a **custom domain on a web app**. Terraform adds the domain and exports the two DNS records to create at your DNS provider: a CNAME that points the domain at the app, and a TXT record that proves you own it. Once both exist, verification and the TLS certificate run automatically. Terraform does not wait for verification: `status` shows its progress at the next refresh. ## Example ```hcl theme={null} resource "raff_app_custom_domain" "www" { service_id = raff_app_service.web.id domain = "www.example.com" } output "dns_records" { value = { cname = "${raff_app_custom_domain.www.domain} CNAME ${raff_app_custom_domain.www.cname_target}" txt = "${raff_app_custom_domain.www.verification_txt_name} TXT ${raff_app_custom_domain.www.verification_txt_value}" } } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `service_id` | string | Yes | The web app's UUID, `raff_app_service.<name>.id` | | `domain` | string | Yes | The hostname, such as `www.example.com` | Changing any argument replaces the domain. Destroying the resource removes the domain from the app. ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | `<service_id>/<domain id>` | | `cname_target` | Where the domain's CNAME record points | | `verification_txt_name`, `verification_txt_value` | Name and value of the TXT record that proves you own the domain | | `status` | `pending_dns`, `verifying`, `dns_verified`, `issuing_cert`, `active`, or `error` | | `status_message` | Details of the status, such as why it failed | ## Import ```bash theme={null} terraform import raff_app_custom_domain.www <app-uuid>/<domain-id> ``` The domain ID is in [`raff apps domains list <app-id>`](/reference/cli/app#domains). # raff_app_database_link Source: https://docs.rafftechnologies.com/reference/terraform/raff_app_database_link Link a Raff managed PostgreSQL database to a Raff Apps app with Terraform: its own database user and the DATABASE_* variables, over the private network with TLS. <sub>Updated October 19, 2026</sub> Manages a **database link**: it connects an app to a running managed PostgreSQL database. The app gets its own database user and `DATABASE_URL`, `DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USER`, `DATABASE_PASSWORD`, `DATABASE_NAME` and `DATABASE_CA_CERT`, then redeploys. Connections go over Raff's private network with TLS. Destroying the link removes the user and the variables and redeploys the app. `link_database_id` on [`raff_app_service`](/reference/terraform/raff_app_service#link-a-database) does the same when the app is created. Use one of the two per database, not both. ## Example ```hcl theme={null} resource "raff_database" "main" { name = "main" } resource "raff_app_database_link" "main" { service_id = raff_app_service.web.id database_id = raff_database.main.id } output "link_variables" { value = raff_app_database_link.main.injected_keys } ``` A second database needs its own prefix. This link sets `ANALYTICS_URL`, `ANALYTICS_HOST` and so on: ```hcl theme={null} resource "raff_app_database_link" "analytics" { service_id = raff_app_service.web.id database_id = raff_database.analytics.id env_prefix = "ANALYTICS" } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `service_id` | string | Yes | The app's UUID, `raff_app_service.<name>.id` | | `database_id` | string | Yes | A running managed database: `raff_database.<name>.id`, or its UUID | | `env_prefix` | string | No | Prefix of the variables: uppercase letters, digits and underscores, not starting with a digit. Default `DATABASE` | Changing any argument replaces the link. To give the app new database credentials without replacing it, run [`raff apps links rotate <link-id>`](/reference/cli/app#links). The app must not already have a variable with one of the link's names, such as `DATABASE_URL`, or the link is refused. ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | `<service_id>/<link id>` | | `database_name` | Name of the linked database | | `injected_keys` | The variables the link sets | | `status` | `provisioning`, `active`, `rotating`, `error`, or `deleting` | | `status_message` | Details of the status, such as why it failed | ## Import ```bash theme={null} terraform import raff_app_database_link.main <app-uuid>/<link-id> ``` The link ID is in [`raff apps links list <app-id>`](/reference/cli/app#links). After an import, `database_id` holds the database's UUID. If your configuration names the database by its short ID, such as `raff_database.main.id`, list `database_id` in `lifecycle { ignore_changes }`, or Terraform plans to replace the link. # raff_app_service Source: https://docs.rafftechnologies.com/reference/terraform/raff_app_service Manage Raff Apps with Terraform: web services, private services, workers, cron jobs and jobs from a Docker image, GitHub or uploaded source, with environment variables, scaling and settings updated in place. <sub>Updated October 19, 2026</sub> Manages a **Raff Apps app**: a web service, private service, worker, cron job or one-off job. Image and GitHub apps deploy when created. Settings change in place, a new `image_ref` rolls out as a deploy, and scaling changes apply to the running app. An app built from uploaded source (`source_type = "console"`) deploys when you upload it with [`raff apps deploy --dir`](/reference/cli/app#deploy). Terraform does not wait for a deploy to finish: `status` shows its progress at the next refresh. The app is created in the provider's project, so set `project_id` in the provider block or `RAFF_PROJECT_ID`. ## Example ```hcl theme={null} data "raff_app_tiers" "all" {} locals { starter = [for t in data.raff_app_tiers.all.tiers : t.id if t.name == "Starter"][0] } resource "raff_app_service" "web" { name = "web" service_type = "web" source_type = "image" image_ref = "nginx:1.27-alpine" tier_id = local.starter http_port = 80 env = { GREETING = "hello" } secret_env = { API_TOKEN = var.api_token } } output "web_url" { value = raff_app_service.web.url } ``` From GitHub, with a health check and autoscaling. The connection ID comes from [`raff apps github`](/reference/cli/app#github): ```hcl theme={null} resource "raff_app_service" "api" { name = "api" service_type = "web" source_type = "git" github_installation_id = var.github_connection_id repo_full_name = "acme/api" repo_branch = "main" tier_id = local.starter http_port = 8080 health_check_path = "/healthz" autoscaling_enabled = true min_replicas = 1 max_replicas = 4 } ``` > [!NOTE] > > Creating an app from GitHub needs a recent GitHub sign-in by the API key's owner: in the last 7 days they must have pressed **Continue with GitHub** on the dashboard's create page, and their GitHub account must be able to see the repository in that connection. Otherwise the apply is refused with "Continue with GitHub, then choose the repository again. Raff only deploys repositories your GitHub account can see." A cron job: ```hcl theme={null} resource "raff_app_service" "nightly" { name = "nightly-report" service_type = "cron" source_type = "image" image_ref = "ghcr.io/acme/report:1.2.0" tier_id = local.starter cron_schedule = "0 3 * * *" cron_timezone = "Europe/London" cron_concurrency = "forbid" } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `name` | string | Yes | Name, unique within the project. Renames in place; the app's address does not change | | `service_type` | string | Yes | `web`, `private`, `worker`, `cron`, or `job`. Changing it replaces the app | | `tier_id` | int | Yes | Size from [`raff_app_tiers`](/reference/terraform/data-sources#raff_app_tiers). Changes in place and the app restarts on the new size. Apps on a subscription change size through support | | `source_type` | string | Yes | `image` (a public Docker image), `git` (a GitHub repository), or `console` (source uploaded with `raff apps deploy --dir`). Changing it replaces the app | | `description` | string | No | Description | | `builder` | string | No | `buildpacks` (detects the stack; the default for `git` and `console`), `dockerfile`, or `image` (always used for `source_type = "image"`). Changing it replaces the app; leaving it out keeps the one the app has | | `image_ref` | string | No | Image apps: the image, such as `nginx:1.27-alpine`. A change rolls out as a deploy of the new image | | `repo_full_name` | string | No | GitHub apps: the repository as `owner/name`. Changing it replaces the app | | `github_installation_id` | string | No | GitHub apps: the GitHub connection ID from `raff apps github`. Changing it replaces the app | | `repo_branch` | string | No | GitHub apps: branch to deploy. Default `main`. Changes in place, used from the next deploy | | `repo_root_dir` | string | No | Folder inside the source to build from | | `dockerfile_path` | string | No | Dockerfile path, for `builder = "dockerfile"` | | `start_command` | string | No | Command that starts the app, instead of the image's own. A change redeploys a live app | | `http_port` | int | No | Port the app listens on. Web apps default to 8080; private apps need it. Web apps, and private apps that scale to zero, cannot use 8008, 8012, 8013, 8022, 9090 or 9091. A change redeploys a live app | | `health_check_path` | string | No | Path that answers 200 when the app is ready, starting with `/`. A deploy goes live when it answers. A change redeploys a live app | | `region` | string | No | Default `us-east`, the only region. Changing it replaces the app; leaving it out keeps the app's region | | `cron_schedule` | string | No | Cron apps: schedule in five fields, such as `0 3 * * *` | | `cron_timezone` | string | No | Cron apps: time zone, such as `Europe/London`. Default UTC | | `cron_concurrency` | string | No | Cron apps: when a run is due while the last one still runs, `forbid` (skip the new run, the default), `allow` (run both) or `replace` (stop the old run) | | `replicas` | int | No | Fixed number of instances. Default 1. Ignored while autoscaling is on | | `autoscaling_enabled` | bool | No | Autoscale between `min_replicas` and `max_replicas` on requests in progress per instance. Web apps, and private apps that scale to zero | | `min_replicas` | int | No | Autoscaling minimum. Default 1 | | `max_replicas` | int | No | Autoscaling maximum. Default 3 | | `scale_to_zero` | bool | No | Web and private apps: sleep about 15 minutes after the last request and wake on the next one | | `env` | map(string) | No | Environment variables. A change redeploys the app. See [Environment variables](#environment-variables) | | `secret_env` | map(string) | No | Environment variables stored as secrets, masked on the app page (sensitive). A change redeploys the app | | `link_database_id` | string | No | ID of a managed PostgreSQL database (`raff_database.<name>.id`) to link before the first deploy. See [Link a database](#link-a-database). Changing it replaces the app | An app has at most 6 instances and an account at most 20. Scaling arguments (`replicas`, `autoscaling_enabled`, `min_replicas`, `max_replicas`, `scale_to_zero`) change the running app in place. Workers and private apps that stay awake run a fixed count. Destroying the resource deletes the app. Usage up to deletion is billed, and linked databases are not deleted. ## Environment variables `env` and `secret_env` track only the keys you set in them. Variables a database link sets, and ones added in the dashboard or with the CLI, are left alone and never show as changes. Removing a key from either map deletes the variable. New and changed keys are set together in one call, so they redeploy the app once. The variables reach the running app (runtime scope). For build-time variables, use [`raff apps env set --scope build`](/reference/cli/app#env). Do not set the names a database link uses, such as `DATABASE_URL`: a link is refused when the app already has a variable with one of its names. ## Link a database There are two ways to link a managed PostgreSQL database. They do the same thing, so use one per database: * **`link_database_id`** links it when the app is created. The app waits until the database runs, then deploys with `DATABASE_URL` and the other `DATABASE_*` variables set from its first deploy. If the database is not running within 30 minutes, the app deploys without it. * **[`raff_app_database_link`](/reference/terraform/raff_app_database_link)** links a database to an app that already exists and redeploys it. Both take `raff_database.<name>.id`: ```hcl theme={null} resource "raff_database" "main" { name = "main" } resource "raff_app_database_link" "main" { service_id = raff_app_service.web.id database_id = raff_database.main.id } ``` ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | The app's UUID | | `service_id` | Short app ID, such as `svc-abc12345`, used by the CLI | | `project_id` | Project the app belongs to | | `slug` | Address name made from the app's name | | `tier_name` | Name of the size | | `url` | Public https address (web apps). Set once the app is live, so it can be empty right after the first apply until the next refresh | | `internal_host` | Address your other apps in the project use to reach a private app, on its port. Set once the app is live | | `status`, `status_message` | App status and, when something failed, why | | `billing_type` | `payg` or `subscription` | | `created_at`, `updated_at` | Timestamps | ## Import ```bash theme={null} terraform import raff_app_service.web <app-uuid> ``` The UUID is the `id` that `raff apps get <app-id> --output json` prints. An import does not read back `github_installation_id` or `link_database_id`. Leave them out of an imported app's configuration, or list them in `lifecycle { ignore_changes }`, or Terraform plans to replace the app. `env` and `secret_env` start empty after an import, so the next apply sets the keys in your configuration and redeploys the app once. # raff_backup Source: https://docs.rafftechnologies.com/reference/terraform/raff_backup Take an on-demand backup of a Raff VM with Terraform. Async — the resource returns once the backup record exists. For recurring backups, use raff_backup_schedule. <sub>Updated May 10, 2026</sub> Captures a single **on-demand backup** of a VM. The source VM is immutable — backups cannot move between VMs. The call is async: the resource returns as soon as the backup record exists. For recurring policies use [`raff_backup_schedule`](/reference/terraform/raff_backup_schedule) instead — schedule-managed backups are auto-pruned and **must not** be managed via `raff_backup`. ## Example ```hcl theme={null} resource "raff_backup" "pre_release" { vm_id = raff_vm.api.id name = "api-pre-v3.0-release" } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `vm_id` | string (UUID) | Source VM. ForceNew — backup the new VM instead of moving | ### Optional | Argument | Type | Description | | - | - | - | | `name` | string | Display name. Defaults to a timestamped name set by the API. ForceNew | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Backup UUID | | `status` | Lifecycle status — `pending`, `creating`, `ready`, `restoring`, `failed` | | `storage_size` | Backup size in GB | | `region` | Region | | `expire_date` | Expiration timestamp (when the backup is auto-deleted) | | `account_id` / `project_id` | Owning account / project UUIDs | | `created_at` | RFC3339 timestamp | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Queues a backup. Returns immediately with the backup record | | Change any input | **Replacement** — backups are immutable | | `terraform destroy` | Deletes the backup | The `status` field starts at `pending` / `creating` and progresses to `ready` asynchronously. If you need to wait for `ready` before continuing, poll the [data source](#data-sources) or use the CLI. ## Importing existing backups ```bash theme={null} terraform import raff_backup.pre_release <backup-uuid> ``` ## Permissions The API key needs `vm.backup` in the project (covers create, manage, delete on backups). The system role `Project Admin` grants this. ## Data sources ```hcl theme={null} # Single backup by UUID data "raff_backup" "pre_release" { id = "<backup-uuid>" } # All backups in the current project, optionally filtered by VM data "raff_backups" "for_api" { vm_id = raff_vm.api.id } ``` ## Related > [card] [raff_backup_schedule](/reference/terraform/raff_backup_schedule) > > Recurring backups with retention. > [card] [raff_snapshot](/reference/terraform/raff_snapshot) > > Lighter-weight point-in-time snapshots. > [card] [CLI: raff backup](/reference/cli/backup) > > Imperative equivalent. # raff_backup_schedule Source: https://docs.rafftechnologies.com/reference/terraform/raff_backup_schedule Recurring backup policy for a Raff VM with Terraform — daily or weekly, with retention. The schedule auto-prunes old backups; never manage them via raff_backup. <sub>Updated May 10, 2026</sub> Manages a **recurring backup schedule** for a VM. The schedule auto-prunes backups older than `keep_count`, so backups it creates **must not** be managed via [`raff_backup`](/reference/terraform/raff_backup) — that fights the retention engine. For one-shot backups, use `raff_backup`. ## Example — daily ```hcl theme={null} resource "raff_backup_schedule" "api_nightly" { vm_id = raff_vm.api.id frequency = "daily" time = "03:00" keep_count = 14 } ``` ## Example — weekly ```hcl theme={null} resource "raff_backup_schedule" "web_weekly" { vm_id = raff_vm.web.id frequency = "weekly" day_of_week = "Saturday" time = "04:00" keep_count = 4 } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `vm_id` | string (UUID) | Source VM. ForceNew — point at a different schedule's VM by replacing the resource | | `frequency` | string | `daily` or `weekly` | | `time` | string | Time of day, e.g. `08:00` or `8am` | | `keep_count` | int | Number of backups to retain before auto-pruning (2-100) | ### Optional | Argument | Type | Description | | - | - | - | | `day_of_week` | string | Day of week (Monday–Sunday). Required when `frequency = "weekly"` | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Schedule ID | | `name` | Auto-generated schedule name | | `runtime` | Next scheduled run time | | `region` | Region (mirrors the source VM's region) | | `price_per_hour` | Hourly price in USD for the storage the schedule's backups consume | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the schedule. The first backup runs at the next `time` slot | | Change `frequency`, `time`, `day_of_week`, `keep_count` | In-place update | | Change `vm_id` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the schedule. Existing backups it created remain — delete via `raff backup delete` if no longer needed | ## Importing existing schedules ```bash theme={null} terraform import raff_backup_schedule.api_nightly <schedule-id> ``` ## Permissions The API key needs `vm.backup` in the project. The system role `Project Admin` grants this. ## Data sources ```hcl theme={null} # Single schedule by ID data "raff_backup_schedule" "api_nightly" { id = 9 } # All schedules in the current project data "raff_backup_schedules" "all" {} ``` ## Related > [card] [raff_backup](/reference/terraform/raff_backup) > > One-shot backup (don't combine with schedule-created backups). > [card] [raff_vm](/reference/terraform/raff_vm) > > Compute resource the schedule is attached to. > [card] [CLI: raff backup schedule](/reference/cli/backup) > > Imperative equivalent. # raff_database Source: https://docs.rafftechnologies.com/reference/terraform/raff_database Manage Raff managed databases with Terraform: PostgreSQL, MySQL, Valkey, ClickHouse, and Kafka, with resizing, high availability, VPC, and public access in place. <sub>Updated October 5, 2026</sub> Manages a **managed database**. The resource waits until the database is running (create timeout 20 minutes). Without `plan_id`, the database is created on the engine's free plan (one per account). ## Example ```hcl theme={null} data "raff_database_plans" "postgres" { engine = "postgres" } resource "raff_database" "orders" { name = "orders" engine = "postgres" plan_id = data.raff_database_plans.postgres.plans[1].id storage_gb = 50 ha_enabled = true public_access = true public_allowlist = ["203.0.113.0/24"] } output "orders_url" { value = raff_database.orders.public_connection_uri sensitive = true } ``` A free PostgreSQL database needs only a name: ```hcl theme={null} resource "raff_database" "dev" { name = "dev" } ``` PostgreSQL with vector on from the start, and a Valkey cache: ```hcl theme={null} resource "raff_database" "ai" { name = "ai" extensions = ["vector"] } resource "raff_database" "cache" { name = "cache" engine = "valkey" valkey_mode = "cache" } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `name` | string | Yes | Display name, unique within the account. Renames in place | | `engine` | string | No | `postgres` (default), `mysql`, `valkey`, `clickhouse`, or `kafka`. Changing it replaces the database | | `engine_version` | string | No | Major version from [`raff_database_engines`](/reference/terraform/data-sources#raff_database_engines). Defaults to the latest. Changing it replaces the database | | `plan_id` | int | No | Plan from [`raff_database_plans`](/reference/terraform/data-sources#raff_database_plans). Defaults to the free plan. Changing it resizes in place | | `storage_gb` | int | No | Storage in GB. Defaults to the plan's included storage. Grows in place; cannot shrink | | `ha_enabled` | bool | No | High availability: a standby that takes over on failure. Toggles in place | | `replica_count` | int | No | Read replicas (PostgreSQL only) | | `vpc_id` | string | No | VPC for the private endpoint. Connects or disconnects in place | | `public_access` | bool | No | Public access. Toggles in place | | `public_allowlist` | list(string) | No | Source IPv4 CIDRs allowed on the public endpoint, written with the network address (`203.0.113.0/24`, `198.51.100.7/32`), at most 20. Empty allows all; `0.0.0.0/0` is not accepted | | `extensions` | set(string) | No | PostgreSQL only: `vector`, `pg_trgm`, `pg_stat_statements`, `hstore`, `uuid-ossp`, `citext`, `ltree`, `pgcrypto`, or `unaccent`. On before the database is running; adding one later turns it on in place. Removing one stops managing it, it is never dropped | | `valkey_mode` | string | No | Valkey only, set at create: `queue` (default) keeps every key and refuses writes when memory is full, `cache` drops the least recently used keys. A later change is refused (the database is never replaced for it) | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id`, `database_id` | Short database ID used in hostnames and the API | | `status` | Database status | | `server_version` | Full version the running server reports, e.g. `18.6`. Empty until the first reading after creation | | `is_free` | True on the free plan. Free databases pause after 7 days without connections | | `host`, `port` | Private endpoint, reachable inside the VPC | | `public_host`, `public_port` | Public endpoint. For PostgreSQL, `public_port` is pooled and `public_port + 1` is direct; ports 6543 and 5432 also work on `public_host` | | `username`, `password`, `database_name` | Admin credentials (password is sensitive) | | `connection_uri` | Private URI including the password, reachable inside the VPC (sensitive) | | `public_connection_uri` | Public URI including the password, empty while public access is off (sensitive) | | `ca_cert` | CA that signs the database's certificate. Kafka clients must trust it; PostgreSQL can use it with `sslmode=verify-full` | | `monthly_price` | Monthly price in USD | ## Import ```bash theme={null} terraform import raff_database.orders <database-id> ``` # raff_database_user Source: https://docs.rafftechnologies.com/reference/terraform/raff_database_user Manage users inside a Raff managed database with Terraform, with read-only or read-write access. <sub>Updated October 5, 2026</sub> Manages a **user inside a managed database**. Use one per app or person instead of sharing the admin user. ## Example ```hcl theme={null} resource "raff_database_user" "reporting" { database_id = raff_database.orders.database_id name = "reporting" role = "readonly" } output "reporting_password" { value = raff_database_user.reporting.password sensitive = true } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `database_id` | string | Yes | Short ID of the database | | `name` | string | Yes | 3 to 31 characters: a lowercase letter, then lowercase letters, digits, or underscores. Names starting with `app_` or `fnb_` are reserved for Raff Apps and Functions | | `role` | string | No | `readonly` (default) or `readwrite` | Changing any argument replaces the user. ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | `<database_id>/<name>` | | `password` | The user's password (sensitive) | | `scope` | The database, schema, or keyspace the access applies to | ## Import ```bash theme={null} terraform import raff_database_user.reporting <database-id>/<name> ``` # raff_ip Source: https://docs.rafftechnologies.com/reference/terraform/raff_ip Reserve a Raff floating IP with Terraform — IPv4 or IPv6, region-pinned. The IP is held by the project until the resource is destroyed. <sub>Updated May 10, 2026</sub> Reserves a Raff **floating IP** — a public IP that's held by the project and can be attached/detached/swapped between VMs. The IP is reserved until the resource is destroyed. To attach a reserved IP to a VM, use [`raff vm ip attach`](/reference/cli/vm#ip-attach) (the public API supports attach/detach but not via a Terraform attachment resource yet). ## Example — minimal ```hcl theme={null} resource "raff_ip" "web" {} ``` That's enough — defaults to IPv4 in the project's default region. ## Example — explicit ```hcl theme={null} resource "raff_ip" "web" { type = "ipv4" region = "us-east" billing_period = "monthly" } ``` ## Argument reference All arguments are optional. All are ForceNew — change one and Terraform releases the old IP and reserves a new one (which will be a different IP address). | Argument | Type | Description | | - | - | - | | `type` | string | IP family — `ipv4` (default) or `ipv6` | | `region` | string | Region. Defaults to the project's default region | | `billing_period` | string | Subscription billing period. Ignored for PAYG accounts | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Floating IP UUID | | `ip_address` | The reserved IP address | | `status` | `free` (not attached) or `in-use` (attached to a VM) | | `reserved` | `true` while held by the project | | `account_id` / `project_id` | Owning account / project UUIDs | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Reserves a new IP from the regional pool | | Change any input | **Replacement** — release + reserve (the IP address changes) | | `terraform destroy` | Releases the IP back to the regional pool | ## Importing existing IPs ```bash theme={null} terraform import raff_ip.web <ip-uuid> ``` ## Permissions The API key needs `ip.reserve`, `ip.manage`, and `ip.release` in the project. The system role `Project Admin` grants all of these. ## Data sources ```hcl theme={null} # Single floating IP by UUID data "raff_ip" "web" { id = raff_ip.web.id } # All floating IPs in the current project data "raff_ips" "all" { type = "ipv4" status = "free" } ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Compute the IP can be attached to. > [card] [CLI: raff ip](/reference/cli/ip) > > Imperative equivalent (incl. attach/detach/swap). > [card] [CLI: raff vm ip attach](/reference/cli/vm#ip-attach) > > Attach a reserved IP to a VM. # raff_k8s_cluster Source: https://docs.rafftechnologies.com/reference/terraform/raff_k8s_cluster Manage Raff managed Kubernetes clusters with Terraform — default node pool, HA control plane, add-ons, kubeconfig output. <sub>Updated August 25, 2026</sub> Manages a managed **Kubernetes cluster**. Provisioning takes 10–20 minutes; the resource waits until the cluster is running (create timeout 30 minutes, delete 20). The cluster's first pool is defined inline as `default_pool`; additional pools use [`raff_k8s_node_pool`](/reference/terraform/raff_k8s_node_pool). On a subscription account the create charges the saved payment method for the monthly subscription automatically; pay-as-you-go accounts bill hourly. ## Example ```hcl theme={null} data "raff_k8s_node_plans" "all" {} data "raff_k8s_versions" "all" {} resource "raff_k8s_cluster" "prod" { name = "prod-cluster" ha_enabled = true default_pool { name = "default-pool" plan_id = data.raff_k8s_node_plans.all.plans[0].id node_count = 3 } traefik_enabled = true } # Write the kubeconfig for kubectl / the kubernetes and helm providers resource "local_sensitive_file" "kubeconfig" { content = raff_k8s_cluster.prod.kubeconfig filename = "${path.module}/kubeconfig.yaml" file_permission = "0600" } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `name` | string | Yes | Cluster name (1–63 lowercase letters, digits or hyphens, unique per account). Renames in place | | `default_pool` | block | Yes | The cluster's first node pool: `name`, `plan_id` (from [`raff_k8s_node_plans`](/reference/terraform/data-sources#raff_k8s_node_plans)), `node_count` (2–20) | | `version_id` | int | No | Kubernetes version ID from [`raff_k8s_versions`](/reference/terraform/data-sources#raff_k8s_versions). Defaults to the platform default. A version newer than the base image is reached automatically during creation. **Changing it triggers a rolling in-place upgrade** (sequential minors, not reversible) — the apply waits for completion | | `upgrade_mode` | string | No | `manual` (default), `auto_patch`, or `auto_minor` — see [Supported versions](/products/build/kubernetes/details/supported-versions) | | `maintenance_day` | int | No | Maintenance window day, 0 (Sunday) – 6 (Saturday); 4-hour window | | `maintenance_start` | int | No | Window start hour (0–23, UTC) | | `ha_enabled` | bool | No | HA control plane (3 masters + redundant gateway, flat \$30/month). Upgradable in place `false` → `true`; downgrading is not supported | | `traefik_enabled` | bool | No | Install the Traefik ingress controller | | `metallb_enabled` | bool | No | Install MetalLB for `LoadBalancer` services | | `storage_node_count` | int | No | **Deprecated (removed August 26, 2026)** — every cluster includes the `raff-block` default StorageClass; PVCs are provisioned as Volumes and billed per GB. Any value other than 0 is rejected | | `storage_node_disk_gb` | int | No | **Deprecated** — removed together with `storage_node_count` | | `cluster_cidr` | string | No | Pod network CIDR. Defaults to `10.42.0.0/16` | | `service_cidr` | string | No | Service network CIDR. Defaults to `10.43.0.0/16` | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Cluster UUID | | `cluster_id` | Short cluster ID used in URLs, the API endpoint hostname, and `raff_k8s_node_pool.cluster_id` | | `api_endpoint` | `https://<cluster-id>.k8s.raffusercloud.com:6443` | | `kubeconfig` | Admin kubeconfig YAML (sensitive) — feed it to the `kubernetes`/`helm` providers or write it to a file | | `k8s_version` | The running Kubernetes version (full, e.g. `v1.35.7+rke2r1`) | | `status` | Cluster status | | `price_per_month` | Monthly price of the committed node set | ## Import ```bash theme={null} terraform import raff_k8s_cluster.prod <cluster-id> ``` # raff_k8s_node_pool Source: https://docs.rafftechnologies.com/reference/terraform/raff_k8s_node_pool Manage additional Kubernetes node pools with Terraform — node count, autoscaling bounds, labels and taints. <sub>Updated August 25, 2026</sub> Manages an **additional node pool** on a Raff Kubernetes cluster. The cluster's first pool is defined on [`raff_k8s_cluster`](/reference/terraform/raff_k8s_cluster) (`default_pool`). Each pool has its own `plan_id`, so pools in one cluster can use different plans and tiers. Scale-down drains nodes first, honouring PodDisruptionBudgets — a node that can't be emptied stops the operation. On a subscription cluster, growing a pool via Terraform charges the pro-rated difference to the saved payment method and raises the monthly price. ## Example ```hcl theme={null} resource "raff_k8s_node_pool" "batch" { cluster_id = raff_k8s_cluster.prod.cluster_id name = "batch" plan_id = data.raff_k8s_node_plans.all.plans[0].id node_count = 2 autoscale_enabled = true min_nodes = 2 max_nodes = 6 labels = jsonencode({ workload = "batch" }) taints = jsonencode([{ key = "batch", value = "true", effect = "NoSchedule" }]) } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `cluster_id` | string | Yes | Short cluster ID (`raff_k8s_cluster.x.cluster_id`) | | `name` | string | Yes | Pool name, unique in the cluster | | `plan_id` | int | Yes | Worker node plan ID for this pool — pools may use different plans | | `node_count` | int | Yes | Node count (1–20; the cluster keeps ≥2 workers overall) | | `autoscale_enabled` | bool | No | Enable autoscaling between `min_nodes` and `max_nodes` | | `min_nodes` | int | No | Autoscale lower bound | | `max_nodes` | int | No | Autoscale upper bound | | `labels` | string | No | JSON object of Kubernetes labels applied to every node, e.g. `{"tier":"db"}` | | `taints` | string | No | JSON array of taints, e.g. `[{"key":"gpu","value":"true","effect":"NoSchedule"}]` | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Pool ID | | `actual_node_count` | Nodes that currently exist — differs from `node_count` briefly while scaling, and when the autoscaler has added nodes above the base | ## Import ```bash theme={null} terraform import raff_k8s_node_pool.batch <cluster-id>/<pool-id> ``` # raff_member Source: https://docs.rafftechnologies.com/reference/terraform/raff_member Manage an account-level Raff member with Terraform — invite by email, add an existing user, or grant API-key access. The three identifiers are mutually exclusive. <sub>Updated May 10, 2026</sub> Manages an **account-level member**. Use exactly one of `email`, `target_user_id`, or `api_key_id` to identify the member at create time — they are mutually exclusive (`ExactlyOneOf` is enforced at plan time). Inviting by email creates a pending member that becomes active when the recipient accepts the invitation. ## Example — invite by email ```hcl theme={null} resource "raff_member" "alice" { email = "alice@example.com" role_id = data.raff_roles.account.roles[0].id # e.g. "Admin" } ``` ## Example — add an existing user ```hcl theme={null} resource "raff_member" "bob" { target_user_id = "<bob-user-uuid>" role_id = "<operator-role-uuid>" } ``` ## Example — grant CI key account-level access ```hcl theme={null} resource "raff_member" "ci" { api_key_id = raff_api_key.ci.id role_id = raff_role.vm_operator.id } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `role_id` | string (UUID) | Role to assign. Must be account-scoped | ### One of (mutually exclusive) | Argument | Type | Description | | - | - | - | | `email` | string | Email to invite. Creates a pending member. ForceNew | | `target_user_id` | string (UUID) | Existing account user. ForceNew | | `api_key_id` | string (UUID) | API key to grant account access. ForceNew | ### Optional | Argument | Type | Description | | - | - | - | | `status` | string | `active` or `suspended`. `pending` is set automatically for invited members until they accept | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Member UUID | | `role_name` | Display name of the assigned role | | `created_at` | RFC3339 timestamp | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Adds (or invites) the member | | Change `role_id`, `status` | In-place update | | Change `email`, `target_user_id`, `api_key_id` | **Replacement** — destroy + recreate | | `terraform destroy` | Removes the member from the account | ## Importing existing members ```bash theme={null} terraform import raff_member.alice <member-uuid> ``` ## Permissions The API key needs `members.manage` at the account level. The system role `Account Admin` grants this. ## Data sources ```hcl theme={null} # Single account member by UUID data "raff_member" "alice" { id = raff_member.alice.id } # All account members data "raff_members" "all" {} ``` ## Related > [card] [raff_project_member](/reference/terraform/raff_project_member) > > Project-scoped membership. > [card] [raff_role](/reference/terraform/raff_role) > > Roles assigned via role_id. > [card] [CLI: raff member](/reference/cli/member) > > Imperative equivalent. # raff_project Source: https://docs.rafftechnologies.com/reference/terraform/raff_project Manage Raff projects with Terraform — the access-control container for VMs, volumes, IPs, VPCs, and Object Storage buckets. Required attribute is name; optional are description and default_region. <sub>Updated May 8, 2026</sub> Manages a Raff **project** — the access-control unit that owns every resource. See [Team & Projects — Projects](/products/manage/team-projects#projects--the-unit-of-access-control) for the model. Every account starts with a `Default` project that cannot be deleted. ## Example ```hcl theme={null} resource "raff_project" "production" { name = "production" description = "Production workloads — customer-facing services" default_region = "us-east" } resource "raff_project" "customer_acme" { name = "customer-acme" description = "ACME Corp's whitelabel deployment" default_region = "us-east" } ``` ## Argument reference | Argument | Type | Required? | Description | | - | - | - | - | | `name` | string | Yes | Project name. Must be unique across the account | | `description` | string | No | Free-form description. Surfaces in the dashboard's project list and in audit-log entries | | `default_region` | string | No | Default region for resources created in this project. Currently `us-east` is the only available region | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Project UUID — use as `project_id` on `raff_vm` and other project-scoped resources | | `account_id` | The account this project belongs to | | `slug` | URL-friendly identifier (lowercase, hyphenated) — derived from `name` | | `is_default` | Whether this is the account's `Default` project | | `is_active` | Whether the project is active (deleted projects show as inactive briefly before disappearing) | | `created_by` | User who created the project | | `created_at` | Creation timestamp | | `updated_at` | Last modification timestamp | ## Permissions The API key used by the provider needs: * **`account.projects.create`** — to create new projects (Owner, Admin) * **`account.projects.manage`** — to update existing projects (Owner, Admin) * **`account.projects.delete`** — to delete projects (**Owner only by default**; Admin does NOT include this — needs a Custom role) If `terraform apply` fails with `403 Forbidden` on a project resource, the key's role is missing the relevant permission. ## Importing existing projects If you have a project that was created via the dashboard or CLI and want to bring it under Terraform management: ```bash theme={null} terraform import raff_project.production <project-uuid> ``` Then add a matching `resource "raff_project" "production"` block to your `.tf` file. Run `terraform plan` to confirm Terraform's view matches the existing state. ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | New project created, gets a fresh UUID | | `terraform apply` (rename / update description) | Updates in-place; UUID unchanged | | `terraform apply` (region change) | In-place if supported by the API | | `terraform destroy` | Deletes the project. **Fails** if any resources still belong to it (VMs, volumes, IPs, etc.). Move or destroy those first | | Trying to destroy the `Default` project | **Always fails** — the Default project is platform-protected | ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > VMs reference projects via project_id. > [card] [Projects](/products/manage/team-projects#projects--the-unit-of-access-control) > > The model behind project-scoped access. > [card] [Permissions matrix](/products/manage/team-projects/details/permissions-matrix) > > Which role grants `account.projects.delete`. # raff_project_member Source: https://docs.rafftechnologies.com/reference/terraform/raff_project_member Add an account user or API key to a Raff project with Terraform. Project-scoped roles only. ID is composite — <project_id>/<member_id>. <sub>Updated May 10, 2026</sub> Adds an **existing account user (or API key) to a project** with a project-scoped role. For account-level invitations use [`raff_member`](/reference/terraform/raff_member) instead. Account Owners have implicit access to every project — don't manage them via this resource. ## Example — add a user to a project ```hcl theme={null} resource "raff_project_member" "alice_in_prod" { project_id = raff_project.prod.id target_user_id = "<alice-user-uuid>" role_id = raff_role.vm_operator.id } ``` ## Example — add a CI key to a project ```hcl theme={null} resource "raff_project_member" "ci_in_prod" { project_id = raff_project.prod.id api_key_id = raff_api_key.ci.id role_id = raff_role.vm_operator.id } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `project_id` | string (UUID) | Project to add to. ForceNew | | `role_id` | string (UUID) | Role to assign. Must be project-scoped | ### One of (mutually exclusive) | Argument | Type | Description | | - | - | - | | `target_user_id` | string (UUID) | Existing account user. ForceNew | | `api_key_id` | string (UUID) | API key to grant project access. ForceNew | ### Optional | Argument | Type | Description | | - | - | - | | `status` | string | `active` or `suspended` | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Composite ID — `<project_id>/<member_id>` | | `email` | Member's email | | `role_name` | Display name of the assigned role | | `created_at` | RFC3339 timestamp | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Adds the member to the project | | Change `role_id`, `status` | In-place update | | Change `project_id`, `target_user_id`, `api_key_id` | **Replacement** — destroy + recreate | | `terraform destroy` | Removes the member from the project (account-level access unaffected) | ## Importing existing project members ```bash theme={null} terraform import raff_project_member.alice_in_prod <project-uuid>/<member-uuid> ``` ## Permissions The API key needs `project.members.manage` in the target project. The system role `Project Admin` grants this. ## Data sources ```hcl theme={null} # All members of a project, optionally filtered data "raff_project_members" "prod" { project_id = raff_project.prod.id status = "active" } ``` ## Related > [card] [raff_member](/reference/terraform/raff_member) > > Account-level membership. > [card] [raff_project](/reference/terraform/raff_project) > > The project to add into. > [card] [CLI: raff project member](/reference/cli/project#member-subcommands) > > Imperative equivalent. # raff_role Source: https://docs.rafftechnologies.com/reference/terraform/raff_role Manage custom IAM roles with Terraform. System roles (Owner, Admin, etc.) are immutable; only custom roles can be created. Permissions are diffed as a set. <sub>Updated May 10, 2026</sub> Manages a **custom IAM role**. System roles (Owner, Admin, Operator, Member) are immutable and managed by the platform — they cannot be created, updated, or deleted via Terraform. The `permissions` attribute is a set; reordering does not produce a diff. ## Example — account-scoped read-only ```hcl theme={null} resource "raff_role" "auditor" { name = "Auditor" slug = "auditor" scope = "account" description = "Read-only access for compliance reviews" permissions = [ "account.audit.read", "billing.read", "members.read", ] } ``` ## Example — project-scoped VM operator ```hcl theme={null} resource "raff_role" "vm_operator" { name = "VM Operator" slug = "vm-operator" scope = "project" permissions = [ "vm.read", "vm.power", ] } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Display name. Updates rename in place | | `slug` | string | URL-safe identifier. ForceNew | | `scope` | string | `account` or `project`. ForceNew | | `permissions` | set(string) | Permission names. Browse via [`raff permission list --scope <scope>`](/reference/cli/permission#list) | ### Optional | Argument | Type | Description | | - | - | - | | `description` | string | Free-form description | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Role UUID | | `is_system` | `true` for system roles, `false` for custom | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the custom role | | Change `name`, `description`, `permissions` | In-place update | | Change `slug`, `scope` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the role. Members assigned to it must be reassigned first | ## Importing existing roles ```bash theme={null} terraform import raff_role.auditor <role-uuid> ``` ## Permissions The API key managing roles needs `role.create`, `role.manage`, and `role.delete` at the account level. The system role `Account Admin` grants all of these. ## Data sources ```hcl theme={null} # Single role by UUID data "raff_role" "owner" { id = "<role-uuid>" } # All roles, optionally filtered by scope data "raff_roles" "account" { scope = "account" } ``` ## Related > [card] [raff_member](/reference/terraform/raff_member) > > Account-scoped members get account-scoped roles. > [card] [raff_project_member](/reference/terraform/raff_project_member) > > Project-scoped members get project-scoped roles. > [card] [CLI: raff permission list](/reference/cli/permission) > > Browse the permission catalog. # raff_security_group Source: https://docs.rafftechnologies.com/reference/terraform/raff_security_group Manage Raff security groups (firewalls) with Terraform: named inbound/outbound rule sets you attach to VM NICs. Updates replace the entire rule set and reach attached VMs within seconds, with no reboot. <sub>Updated November 10, 2026</sub> Manages a Raff **security group**: a named set of inbound/outbound rules that attach to VM NICs. Rule changes reach every attached VM within a few seconds, with no reboot. Rules are nested blocks; updating the rule list replaces the entire set on the API side. ## Example — built from scratch ```hcl theme={null} resource "raff_security_group" "web" { name = "web-public" description = "HTTP/HTTPS open to the world, SSH from office" rule { rule_type = "inbound" protocol = "TCP" range = "80" } rule { rule_type = "inbound" protocol = "TCP" range = "443" } rule { rule_type = "inbound" protocol = "TCP" range = "22" ip = "203.0.113.0" size = 24 } # Default-allow outbound (all) rule { rule_type = "outbound" protocol = "ALL" } } ``` ## Example — seeded from a template ```hcl theme={null} resource "raff_security_group" "web" { name = "web-public" template_id = "<web-server-template-uuid>" } ``` Templates copy a curated rule set at create time; you can then add explicit `rule` blocks to merge in extras. Get template IDs via [`raff security-group templates`](/reference/cli/security-group#templates). ## Example: Put It on Servers by Tag ```hcl theme={null} resource "raff_tag" "web" { name = "web" } resource "raff_security_group" "web" { name = "web-public" template_id = "<web-server-template-uuid>" tag_ids = [raff_tag.web.id] } ``` Raff puts the security group on the public IPs of every server in its project with the `web` tag, in the background (about 20 seconds per server), and on servers that get the tag later. See [`raff_tag`](/reference/terraform/raff_tag). ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Security group name. Updates rename in place | ### Optional | Argument | Type | Description | | - | - | - | | `description` | string | Free-form description | | `template_id` | string (UUID) | Seed from a template at create time. Template rules are copied, then merged with any explicit `rule` blocks. ForceNew | | `rule` | list of blocks | Inbound/outbound rules. Updates replace the entire set | | `tag_ids` | set of strings (UUID) | [`raff_tag`](/reference/terraform/raff_tag) IDs linked to this security group in its project. In a project a tag carries at most one security group. Changes apply in place; a removed tag is unlinked and its servers keep the security group. Terraform reads the links back only while this is set. Needs `account.tags.manage` | ### `rule` block | Argument | Type | Description | | - | - | - | | `rule_type` | string (required) | Direction — `inbound` or `outbound` | | `protocol` | string (required) | `TCP`, `UDP`, `ICMP`, `ICMPV6`, or `ALL` | | `range` | string | Port or port range — single (`80`) or range (`8000:9000`). Empty for ICMP/ALL | | `ip` | string | Source/destination IP. Empty means any | | `size` | int | CIDR block size paired with `ip` (e.g. `24` for `/24`) | | `icmp_type` | int | ICMP message type (only for `ICMP` / `ICMPV6`) | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Security group UUID | | `project_id` | Owning project UUID | | `vm_count` | Number of VM NICs currently using this security group | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the security group | | Change `name`, `description`, `rule` | In-place update. Attached VMs get the new rules within a few seconds, with no reboot | | Change `tag_ids` | In-place update. Servers with a newly linked tag get the security group in the background | | Change `template_id` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the security group. Detach from VMs first | ## Importing existing security groups ```bash theme={null} terraform import raff_security_group.web <sg-uuid> ``` ## Permissions The API key needs `security_group.create`, `security_group.manage`, and `security_group.delete` in the project. The system role `Project Admin` grants all of these. ## Data sources ```hcl theme={null} # Single security group by UUID data "raff_security_group" "web" { id = raff_security_group.web.id } # All security groups in the current project data "raff_security_groups" "all" {} ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Attach security groups via the CLI or dashboard. > [card] [raff_vpc](/reference/terraform/raff_vpc) > > Private networks the rules apply to. > [card] [CLI: raff security-group](/reference/cli/security-group) > > Imperative equivalent (incl. templates). # raff_snapshot Source: https://docs.rafftechnologies.com/reference/terraform/raff_snapshot Capture point-in-time snapshots of VMs or volumes with Terraform. Once taken, the source binding is immutable — only the name can be updated. Restore is imperative; use the CLI. <sub>Updated May 10, 2026</sub> Manages a Raff **snapshot** — a point-in-time capture of a VM disk or a volume. Once taken, the source binding (`resource_type`, `vm_id`, `volume_id`) is immutable — Terraform owns the snapshot's lifecycle (rename, delete). Restore is an imperative operation; use [`raff snapshot restore`](/reference/cli/snapshot#restore) when you need it. ## Example — VM snapshot ```hcl theme={null} resource "raff_snapshot" "pre_upgrade" { name = "web-01-pre-upgrade" resource_type = "vm" vm_id = raff_vm.web.id } ``` ## Example — volume snapshot ```hcl theme={null} resource "raff_snapshot" "data_weekly" { name = "data-01-2026-05-10" resource_type = "volume" volume_id = raff_volume.data.id } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Snapshot name. Updates trigger a rename | | `resource_type` | string | Source type: `vm` or `volume`. ForceNew | ### Optional (one required, depending on `resource_type`) | Argument | Type | Description | | - | - | - | | `vm_id` | string (UUID) | Source VM UUID. Required when `resource_type = "vm"`. ForceNew | | `volume_id` | int | Source volume ID. Required when `resource_type = "volume"`. ForceNew | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Snapshot ID | | `size` | Snapshot size (string, e.g. `"50 GB"`) | | `status` | Empty when saved-but-not-in-use; `active` when the source is currently reverted to this snapshot (cannot be deleted in this state) | | `created_at` | RFC3339 timestamp | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Captures a new snapshot | | Change `name` | In-place rename | | Change `resource_type` / `vm_id` / `volume_id` | **Replacement** — snapshots are immutable; Terraform destroys and recreates | | `terraform destroy` | Deletes the snapshot. Fails if `status = "active"` — restore the source elsewhere first | ## Importing existing snapshots ```bash theme={null} terraform import raff_snapshot.pre_upgrade <snapshot-id> ``` ## Permissions The API key needs `snapshot.create`, `snapshot.manage`, and `snapshot.delete` in the project. The system role `Project Admin` grants all of these. ## Data sources ```hcl theme={null} # Single snapshot by ID data "raff_snapshot" "pre_upgrade" { id = 17 } # All snapshots in the current project data "raff_snapshots" "all" {} ``` ## Related > [card] [raff_backup](/reference/terraform/raff_backup) > > Heavier-weight backup with retention. > [card] [raff_volume](/reference/terraform/raff_volume) > > Block storage volumes. > [card] [CLI: raff snapshot](/reference/cli/snapshot) > > Imperative equivalent. # raff_ssh_key Source: https://docs.rafftechnologies.com/reference/terraform/raff_ssh_key Register an SSH public key on a Raff account with Terraform. The key material is immutable; rename in place. Linux VMs accept these via raff_vm.ssh_keys. <sub>Updated May 10, 2026</sub> Registers an **SSH public key** for use when creating Linux VMs. The key string itself is immutable; rename in place. The detected algorithm is exposed as `key_type`. ## Example — from a file ```hcl theme={null} resource "raff_ssh_key" "alice" { name = "alice@laptop" public_key = file("~/.ssh/id_ed25519.pub") } ``` ## Example — inline ```hcl theme={null} resource "raff_ssh_key" "ci" { name = "ci-deploy" public_key = "ssh-ed25519 AAAAC3Nz... ci@deploy" } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Display name. Updates rename in place | | `public_key` | string | Full SSH public key string. ForceNew | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | SSH key UUID | | `key_type` | Detected algorithm — `ed25519`, `rsa`, etc. | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Registers the key | | Change `name` | In-place rename | | Change `public_key` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the key from the registry. Existing VMs that already received the key keep it on disk | ## Importing existing keys ```bash theme={null} terraform import raff_ssh_key.alice <key-uuid> ``` ## Permissions The API key needs `ssh_key.create`, `ssh_key.manage`, and `ssh_key.delete` at the account level. The system role `Account Admin` grants all of these. ## Data sources ```hcl theme={null} # Single key by UUID data "raff_ssh_key" "alice" { id = raff_ssh_key.alice.id } # All keys, optionally filtered by name substring data "raff_ssh_keys" "team" { name = "team-" } ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Reference key IDs in raff_vm.ssh_keys. > [card] [raff_api_key](/reference/terraform/raff_api_key) > > API keys for programmatic access. > [card] [CLI: raff ssh-key](/reference/cli/ssh-key) > > Imperative equivalent. # raff_tag Source: https://docs.rafftechnologies.com/reference/terraform/raff_tag Manage Raff account tags with Terraform: name, colour and priority shared by every server with the tag. Link a tag to a firewall with tag_ids on raff_security_group. <sub>Updated November 10, 2026</sub> Manages an account **tag**. A tag is shared by every server that has it, so a rename, colour or priority change shows on all of them. Link tags to a firewall with `tag_ids` on [`raff_security_group`](/reference/terraform/raff_security_group): Raff then puts the firewall on every server of its project with one of the tags. ## Example ```hcl theme={null} resource "raff_tag" "web" { name = "web" color = "blue" priority = 1 } resource "raff_security_group" "web" { name = "web-public" tag_ids = [raff_tag.web.id] rule { rule_type = "inbound" protocol = "TCP" range = "443" } } resource "raff_vm" "web" { # ... tags = [raff_tag.web.name] } ``` A server created with the tag starts with the firewall from its first boot, unless `security_group_id` is set on the `raff_vm`. ## Argument Reference | Argument | Type | Description | | - | - | - | | `name` | string (required) | Tag name, 1-40 characters, unique in the account ignoring case. Updates rename in place on every server | | `color` | string | `gray` (default), `red`, `orange`, `amber`, `green`, `blue`, `violet` or `pink` | | `priority` | int | 1-9, 1 highest. Leave it out for none; removing it clears the priority | ## Attribute Reference | Attribute | Description | | - | - | | `id` | Tag UUID | | `server_count` | Servers with this tag, in the projects the API key can see | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the tag | | Change `name`, `color`, `priority` | In-place update on every server with the tag | | `terraform destroy` | Deletes the tag from the account, every server and every firewall link. Firewalls the tag put on servers stay on them | ## Importing Existing Tags ```bash theme={null} terraform import raff_tag.web <tag-uuid> ``` Get tag IDs with [`raff tag list`](/reference/cli/tag#list). ## Permissions Creating, changing and deleting tags needs `account.tags.manage` (account Owner and Admin by default; it can be added to custom roles). Reading needs `vm.view`. ## Related > [card] [raff_security_group](/reference/terraform/raff_security_group) > > `tag_ids` links tags to a firewall. > [card] [raff_vm](/reference/terraform/raff_vm) > > `tags` puts tags on a server. > [card] [CLI: raff tag](/reference/cli/tag) > > Imperative equivalent. # raff_vm Source: https://docs.rafftechnologies.com/reference/terraform/raff_vm Manage Raff Virtual Machines with Terraform — pick template, plan, region, SSH keys, optional VPC and backup schedule. Required: name, template_id, pricing_id, region. Resizing is in-place via pricing_id change. <sub>Updated November 10, 2026</sub> Manages a Raff **Virtual Machine** — Linux or Windows, with NVMe SSD disks, optional SSH keys / password, optional VPC attachment, and optional backup schedule. Pricing plans range from $3.99/mo (Premium 1 vCPU / 1 GiB) to $511.99/mo (Premium 32 vCPU / 128 GiB) — see the [Pricing page](/products/build/virtual-machines/details/pricing) for the full list. ## Example — minimal ```hcl theme={null} resource "raff_vm" "web" { name = "web-01" template_id = "<ubuntu-2404-template-uuid>" pricing_id = 80 # Standard 2 vCPU / 4 GiB / 80 GiB ($17.99/mo) region = "us-east" ssh_keys = ["<ssh-key-id>"] } ``` ## Example — full ```hcl theme={null} resource "raff_vm" "api" { name = "api-prod-01" template_id = "<ubuntu-2404-template-uuid>" pricing_id = 82 # Standard 4 vCPU / 8 GiB / 160 GiB ($33.99/mo) region = "us-east" # Auth — pick one ssh_keys = ["<ssh-key-id-alice>", "<ssh-key-id-ci>"] # password = var.vm_root_password # alternative # Extra block storage (in addition to the plan's base disk) extra_storage = 100 # GiB extra_storage_type = "ext4" # Backups backup_type = "daily" backup_time = "3am" # backup_date = "Saturday" # only used when backup_type = "weekly" # Networking — opt into a shared VPC vpc_id = raff_vpc.prod.id # if vpc resource is added later # Or create a VPC inline at the same time # vpc_name = "prod-services" # vpc_cidr = "10.7.0.0/24" # Firewall on the public IP from the first boot (same project as the VM) security_group_id = raff_security_group.web.id # Tags tags = ["api", "prod", "team-platform"] # Cleanup behavior on destroy volume_action = "detach" # "detach" (preserves volumes) or "delete" delete_vpc = false # whether to delete attached VPC on destroy } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | VM name. Changing this renames the VM in place | | `template_id` | string (UUID) | OS template to install. Get from [List Templates](/api-reference/catalog/list-templates) | | `pricing_id` | int | Plan ID (1–13). Changing this **resizes** the VM (compute and storage). See [Pricing](/products/build/virtual-machines/details/pricing) for the full plan list | | `region` | string | Data center region — currently `us-east` only | ### Optional — auth | Argument | Type | Description | | - | - | - | | `ssh_keys` | list(string) | SSH keys for root: saved key IDs (`raff_ssh_key.<name>.id`) or public keys. Changing the list adds and removes keys on the running Linux VM, without recreating it; the last key goes only when the list is empty. Keys added on the server itself are left alone and are not read back | | `password` | string | Root (Linux) or Administrator (Windows) password. Mutually exclusive with `ssh_keys` for some templates. Kept in the Terraform state; `auto_generate_password` keeps it out | | `auto_generate_password` | bool | Raff makes the root or Administrator password and emails it to the account once the server is created. The password never reaches Terraform or its state. Not with `password` | ### Optional — storage | Argument | Type | Description | | - | - | - | | `extra_storage` | int | Extra block storage in GB, attached as a separate volume | | `extra_storage_type` | string | Filesystem for the extra volume — `ext4`, `xfs`, or `btrfs` (Linux) | ### Optional — backups | Argument | Type | Description | | - | - | - | | `backup_type` | string | `none` (default), `daily`, or `weekly` | | `backup_time` | string | When the backup runs, e.g. `3am`, `8pm` (UTC) | | `backup_date` | string | Day of the week for weekly backups, e.g. `Saturday` | ### Optional — networking | Argument | Type | Description | | - | - | - | | `vpc_id` | string (UUID) | Attach the VM to an existing VPC | | `vpc_name` | string | Create a new VPC inline at the same time as the VM (requires `vpc_cidr`) | | `vpc_cidr` | string | CIDR for the inline-created VPC. Allowed prefixes `/16`–`/28`, RFC 1918 + RFC 6598 ranges | | `security_group_id` | string (UUID) | Firewall (`raff_security_group.<name>.id`) for the VM's public IPv4. Set at create, the VM carries it from the first boot instead of the Raff Default Firewall, so no port it closes is ever open. Must be in the same project as the VM. Terraform reads the IP's firewall back only while this is set | ### Optional — tags and lifecycle | Argument | Type | Description | | - | - | - | | `tags` | list(string) | Tags applied to the VM | | `volume_action` | string | On `terraform destroy`: `detach` (keep volumes, default) or `delete` (remove with the VM) | | `delete_vpc` | bool | On `terraform destroy`: also delete attached VPCs (subject to shared-VPC safety — see [Delete a VM](/products/build/virtual-machines/quickstart-guides/delete-vm)) | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | VM UUID | | `status` | Lifecycle state (`active`, `passive`, `provisioning`, etc.) | | `cpu` | Number of vCPUs (mirrors the chosen `pricing_id`) | | `ram` | RAM in GB | | `storage` | Base disk size in GB | | `added_storage` | Extra storage in GB (mirrors `extra_storage`) | | `total_storage` | Sum of base + added | | `template_name` | OS template name | | `template_version` | OS version (e.g. `24.04`) | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates VM, waits for `active` status, returns the UUID | | Change `name` | In-place rename | | Change `pricing_id` | **In-place resize** — VM reboots once. Plan compares old vs new, charge prorates against the current term | | Change `template_id` | **Reinstall** — wipes the OS disk, preserves attached volumes / IP / VPC / tags. See [Reinstall](/products/build/virtual-machines/quickstart-guides/reinstall) | | Change `region` | **Replacement** — Terraform destroys and recreates (regions are immutable on a VM) | | Change `tags`, `backup_*` | In-place updates | | Change `security_group_id` | In-place: the new firewall is attached to the primary public IPv4 and replaces the old one. Removing it detaches the firewall, which leaves the Raff Default Firewall | | `terraform destroy` | Deletes the VM. Volumes preserved by default (`volume_action = "detach"`); set to `"delete"` to also remove. VPCs preserved unless `delete_vpc = true` | ## Importing existing VMs ```bash theme={null} terraform import raff_vm.web <vm-uuid> ``` Then write a matching `resource` block. Run `terraform plan` to confirm. ## Permissions The API key used by Terraform needs `vm.create`, `vm.manage`, `vm.power`, and (for destroy) `vm.delete` in the project where the VM lives. The System role `Project Admin` grants all of these. For tighter-scoped automation, build a [Custom role](/products/manage/team-projects/concepts/roles-and-api-keys#custom-roles--when-to-build-one) with just the project-domain VM permissions you need. ## Related > [card] [raff_project](/reference/terraform/raff_project) > > Project resource — set on raff_vm via project_id. > [card] [VM Pricing](/products/build/virtual-machines/details/pricing) > > The full Standard / Premium plan list with pricing IDs. > [card] [Create a VM](/products/build/virtual-machines/quickstart-guides/create-a-vm) > > Dashboard equivalent — useful for understanding fields. # raff_volume Source: https://docs.rafftechnologies.com/reference/terraform/raff_volume Manage Raff block storage volumes with Terraform. NVMe SSD volumes, sized in GB, attached to a single VM at a time. Resize is in-place; reattach is in-place. <sub>Updated May 10, 2026</sub> Manages a Raff **block storage volume** — NVMe SSD, sized in GB, region-pinned, attached to one VM at a time. Volumes can be created standalone and attached later, or attached at create time. ## Example — minimal ```hcl theme={null} resource "raff_volume" "data" { name = "data-01" size = 100 volume_type = "nvme" region = "us-east" } ``` ## Example — attached to a VM ```hcl theme={null} resource "raff_volume" "data" { name = "data-01" size = 250 volume_type = "nvme" region = "us-east" filesystem_type = "ext4" # only used on first attach vm_id = raff_vm.api.id } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | Volume display name. Updates rename in place | | `size` | int | Size in GB. Updates trigger an in-place resize (must be larger than current — volumes cannot shrink) | | `volume_type` | string | Storage class. Currently `nvme` | ### Optional | Argument | Type | Description | | - | - | - | | `region` | string | Region. Defaults to the project's default region. ForceNew | | `filesystem_type` | string | Filesystem laid down on first attach (Linux only) — `ext4`, `xfs`, or `btrfs`. Defaults to `ext4`. ForceNew | | `vm_id` | string (UUID) | VM to attach the volume to. Updating triggers detach-then-reattach (volume and VM must be in the same region) | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | Volume ID | | `status` | Lifecycle state | | `price_per_hour` | Hourly price in USD | | `account_id` | Owning account UUID | | `project_id` | Owning project UUID | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates volume, optionally attaches to `vm_id` | | Change `name` | In-place rename | | Change `size` | **In-place resize** — must grow, never shrink | | Change `vm_id` | In-place detach (from old) then attach (to new) | | Change `region`, `volume_type`, `filesystem_type` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the volume. Detach the VM first if still attached | ## Importing existing volumes ```bash theme={null} terraform import raff_volume.data <volume-id> ``` ## Permissions The API key needs `volume.create`, `volume.manage`, and `volume.delete` in the project. The system role `Project Admin` grants all of these. ## Data sources ```hcl theme={null} # Single volume by ID data "raff_volume" "data" { id = 42 } # All volumes in the current project data "raff_volumes" "all" {} output "volume_count" { value = length(data.raff_volumes.all.volumes) } ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Compute resource volumes attach to. > [card] [raff_snapshot](/reference/terraform/raff_snapshot) > > Point-in-time volume snapshots. > [card] [CLI: raff volume](/reference/cli/volume) > > Imperative equivalent. # raff_vpc Source: https://docs.rafftechnologies.com/reference/terraform/raff_vpc Manage Raff VPCs (Virtual Private Clouds) with Terraform — RFC 1918 / RFC 6598 ranges, /16–/28 prefixes, region-pinned. CIDR is immutable; rename and description update in place. <sub>Updated May 10, 2026</sub> Manages a Raff **VPC** — a private network that VMs in the same project and region can attach to and reach each other on internal IPs. CIDR is immutable once created; rename and description update in place. ## Example — minimal ```hcl theme={null} resource "raff_vpc" "prod" { name = "prod-services" cidr = "10.7.0.0/24" region = "us-east" } ``` ## Example — with description ```hcl theme={null} resource "raff_vpc" "prod" { name = "prod-services" cidr = "10.7.0.0/16" region = "us-east" description = "Shared private network for the production tier" } ``` ## Argument reference ### Required | Argument | Type | Description | | - | - | - | | `name` | string | VPC name. Updates rename in place | | `cidr` | string | CIDR block. RFC 1918 (`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) or RFC 6598 (`100.64.0.0/10`). Allowed prefix lengths: `/16` to `/28`. ForceNew | ### Optional | Argument | Type | Description | | - | - | - | | `region` | string | Region. Defaults to `us-east`. ForceNew | | `description` | string | Free-form description | ## Attribute reference (computed) | Attribute | Description | | - | - | | `id` | VPC UUID | | `account_id` / `project_id` | Owning account / project UUIDs | | `gateway` | Gateway IP for the VPC | | `gateway_type` | Gateway type | | `dns` | DNS server IP | | `router_public_ip` | Public IP of the VPC router (for outbound traffic) | | `router_status` | Router lifecycle status | | `status` | VPC lifecycle status | | `total_ips` | Total addressable IPs in the CIDR | | `used_ips` | IPs currently in use | | `created_at` / `updated_at` | RFC3339 timestamps | ## Lifecycle | Operation | Behavior | | - | - | | `terraform apply` (create) | Creates the VPC and its router | | Change `name`, `description` | In-place update | | Change `cidr`, `region` | **Replacement** — destroy + recreate | | `terraform destroy` | Deletes the VPC. Fails if VMs are still attached — detach them first | ## Importing existing VPCs ```bash theme={null} terraform import raff_vpc.prod <vpc-uuid> ``` ## Permissions The API key needs `vpc.create`, `vpc.manage`, and `vpc.delete` in the project. The system role `Project Admin` grants all of these. ## Data sources ```hcl theme={null} # Single VPC by UUID data "raff_vpc" "prod" { id = "<vpc-uuid>" } # All VPCs in the current project data "raff_vpcs" "all" {} ``` ## Related > [card] [raff_vm](/reference/terraform/raff_vm) > > Attach VMs via vpc_id. > [card] [raff_security_group](/reference/terraform/raff_security_group) > > Firewall rules for VPC traffic. > [card] [CLI: raff vpc](/reference/cli/vpc) > > Imperative equivalent.