---
title: "AFFiNE workspace, self-hosted on a VPS · CloudSat"
description: "Self-host AFFiNE on a CloudSat VPS: docs, an edgeless whiteboard and databases in one open-source workspace, with real-time sync for your team."
url: https://cloudsat.io/apps/deploy-affine
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

# AFFiNE on a VPS

AFFiNE is an open-source workspace that merges docs, an edgeless whiteboard and databases, with real-time collaboration on a server you run.

[Deploy AFFiNE](https://dash.cloudsat.io/console/deploy?image=app%3Aaffine&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About AFFiNE

AFFiNE is a local-first workspace in the territory of Notion and Miro. Docs and whiteboard share one canvas, where rich text, sticky notes, embeds, multi-view databases, shapes and slides sit side by side.

Self-hosting the Community Edition carries no license fee, and its code is released under the MIT license. On a CloudSat VPS it becomes a shared workspace with real-time sync for your team, while every page stays on your server.

After deploy the web app listens on port 3010, and the first visit asks you to create the initial administrator account.

## What you get with AFFiNE

- Docs and an edgeless whiteboard on one canvas
- Multi-view databases inside pages
- Real-time sync across web and desktop clients
- Local-first storage on each device
- AI assistant for summaries, mind maps and slides

## AFFiNE use cases

- Plan a project with notes and diagrams in one place
- Keep team wikis and meeting notes on your own server
- Sketch product flows on a shared whiteboard

## After you deploy AFFiNE

1. When the console marks the server **Running**, open `http://<server IP>:3010`.
2. Create the initial administrator account straight away, before anyone else finds the page.
3. Point a domain at the server, add HTTPS and set it as AFFiNE's external URL so shared links use it.
4. In the desktop app, add your server address to sync workspaces with it.

## AFFiNE ports

Open these in your firewall if you use one: `3010/tcp AFFiNE web app`.

## AFFiNE FAQ

### Is self-hosted AFFiNE free?

Yes, the Community Edition costs nothing to run on your own server and is licensed under MIT. An Enterprise Edition is planned separately; AFFiNE's pricing page covers its terms.

### Where does AFFiNE keep its data?

On the server: PostgreSQL holds the database, while uploads and configuration live in their own folders. A snapshot before each upgrade keeps a full copy.

**Disclaimer.** The AFFiNE project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like AFFiNE

[All apps in Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

- [Docmost](https://cloudsat.io/apps/deploy-docmost): Collaboration Docmost is an open-source wiki with real-time editing, spaces, permissions, comments, page history and built-in diagrams, hosted on your own server.
- [HedgeDoc](https://cloudsat.io/apps/deploy-hedgedoc): Collaboration HedgeDoc lets several people write the same Markdown document at once in the browser, with diagrams, math and slide mode. Host it for your team's notes.
- [Trilium](https://cloudsat.io/apps/deploy-trilium): Self-hosted Trilium Notes is an open-source, hierarchical note-taking app for big personal knowledge bases, with a rich editor, note cloning, versions and per-note encryption.
- [Excalidraw](https://cloudsat.io/apps/deploy-excalidraw): Self-hosted Excalidraw is an open-source whiteboard with a hand-drawn look. Host your own copy so the editor loads from a domain and server you control.
- [9Router](https://cloudsat.io/apps/deploy-9router): Self-hosted 9Router is a self-hosted AI request router: coding tools talk to one endpoint and it translates formats, tracks quotas and falls back across providers.
- [aider](https://cloudsat.io/apps/deploy-aider): Self-hosted aider is an open-source AI pair programmer for the terminal: it edits files across your git repo with the model you choose and commits every change.
