Self-hosted app·Documents, notes and projects
Memos hosting on a Swiss VPS.
Sizing, compose file, HTTPS, S3 attachments and backups.
- Go
- SQLite
- Docker
- Caddy
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
What Memos is, and who maintains it.
Memos is a self-hosted server for short, dated notes written in Markdown. It sits closer to a private microblog than to a wiki: there are no folders or mandatory titles, and you find things again by tag, date or search. The usememos project develops it in public on GitHub under the MIT licence. It ships as a single Go binary with the web interface built in, and stores its data in SQLite unless you point it at MySQL or PostgreSQL.
The current stable release is 26.11.0, published on 1 November 2026. Since 26.10 the project numbers releases by calendar (YY.MM.N) rather than 0.x, and the Docker tags follow suit: an exact tag such as 26.11.0, a monthly tag 26.11, and stable. Two recent changes matter if you are moving an existing instance. Version 0.31 removed the built-in RSS feeds, and 26.10 moved the API from /api/v1/ to /api/, so older third-party clients and scripts stop working until they are updated.
Each memo carries one of four visibility levels: private, protected (any signed-in user), public, or Space (members of a shared Space). A new instance starts in private access mode, which sends visitors who are not signed in to the sign-in page. For a notes server that is the right default, and you should change it only when you actually intend to publish.
02/06
Requirements and sizing.
| Resource | What Memos needs | VPS Starter provides |
|---|---|---|
| CPU | Any x86_64 or ARM64 core | 2 vCPU |
| RAM | 512 MB minimum (upstream). | 2 GB |
| Disk | The database stays small; attachments set the size | 80 GB NVMe |
| Network | One HTTPS endpoint; outbound HTTP for link previews | 1 Gbps, 10 TB/month included |
| Ports | 80 and 443 public (reverse proxy); 5230 on loopback only | Full root, your firewall |
Text barely registers on disk. With the default cap of 8 KiB per memo, 10,000 memos written to the maximum length come to about 80 MB (theoretical). What fills the 80 GB is attachments, which default to a 32 MiB limit per file, and whatever backups you keep locally. SQLite serialises writes through a single writer with a 10-second busy timeout, upstream puts its practical ceiling near 100 GB of database, and they recommend MySQL or PostgreSQL only for heavy concurrent writes or several servers writing at once. People typing notes do not produce that load.
Move up to VPS Standard ($12.99, 4 vCPU, 4 GB) if you want PostgreSQL alongside Memos or plan to share the machine with other services. Nothing about Memos itself justifies a dedicated server. Keep in mind that VPS transfer is metered rather than unmetered: Starter includes 10 TB a month, roughly 333 GB a day (theoretical), and a notes instance will not come near it unless you turn it into a public file host.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Deploying Memos on our VPS.
Order VPS Starter with Debian 13 from the deploy link: the deploy page. Ordering is no-KYC: an email address is enough. While the server is provisioned, create an A record such as memos.example.com pointing to its IPv4 address.
Install Docker Engine and the Compose plugin from Docker's own apt repository, which supports Debian 13 (set up the repository as described on docs.docker.com first), then Caddy and the SQLite shell from Debian:
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt install caddy sqlite3Create /opt/memos/compose.yaml:
services:
memos:
image: neosmemo/memos:26.11.0
container_name: memos
restart: unless-stopped
ports:
- "127.0.0.1:5230:5230"
volumes:
- ./data:/var/opt/memos
environment:
MEMOS_PORT: "5230"
MEMOS_DRIVER: sqlite
MEMOS_INSTANCE_URL: https://memos.example.comTwo lines in that file are deliberate. The image is pinned to 26.11.0 rather than stable, because stable upgrades the instance on whatever day you next run docker compose pull, and Memos does not support downgrading after a migration. The port is bound to 127.0.0.1 because Docker writes its own iptables rules, and Docker's documentation warns that published ports bypass ufw and firewalld; a loopback binding keeps 5230 private whatever your firewall says. The container runs as UID 10001, so if the log complains that the data directory is not writable, run chown -R 10001:10001 /opt/memos/data.
Start the container and claim the administrator account through an SSH tunnel before anything is public:
cd /opt/memos && sudo docker compose up -d
# then, on your workstation:
ssh -L 5230:127.0.0.1:5230 root@<vps-ipv4>Open http://localhost:5230 and register; that account becomes the administrator. In the settings, disable user registration unless you mean to open it. Then put Caddy in front, in /etc/caddy/Caddyfile:
memos.example.com {
reverse_proxy 127.0.0.1:5230
}After sudo systemctl reload caddy, Caddy obtains a certificate over ports 80 and 443 and sets X-Forwarded-For and X-Forwarded-Proto on its own. MEMOS_INSTANCE_URL has to match the public address exactly, otherwise generated links and cookies misbehave.
- 01
Attachments in object storage
For an instance with many photos or PDFs, move attachments out of SQLite into a bucket. Our object storage starts at 250 GB for $1.99 a month, billed by size with no request fees. In Settings → Storage, add an S3 configuration with the endpoint, bucket and access key from the client panel and the secret key from the ticket we send at delivery, and make it the default for new uploads.
Since 0.31, Memos serves S3 attachments through its own authenticated routes instead of handing out presigned bucket URLs. The bucket can stay private, which is what you want, but every attachment a reader opens leaves through the VPS and counts against its monthly transfer. What you should not do is mount the bucket with rclone and point
/var/opt/memosat it. A bucket is not a block device, and a SQLite database on a FUSE mount of object storage is a corruption report waiting to be filed. - 02
Backups
SQLite runs in WAL mode, so copying
memos_prod.dbwhile Memos writes can capture a torn state. Use SQLite's own.backupcommand, then ship the result off the machine; restic talks to S3 buckets directly.#!/bin/sh # /usr/local/bin/memos-backup.sh, run daily from root's crontab set -eu . /root/.restic-env # RESTIC_REPOSITORY, RESTIC_PASSWORD, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY DATA=/opt/memos/data OUT=/var/backups/memos mkdir -p "$OUT" sqlite3 "$DATA/memos_prod.db" ".backup '$OUT/memos_prod.db'" if [ -d "$DATA/assets" ]; then tar -czf "$OUT/assets.tar.gz" -C "$DATA" assets fi restic backup "$OUT" /opt/memos/compose.yaml restic forget --keep-daily 7 --keep-weekly 4 --pruneThe daily-backup option (+20 %) snapshots the whole VPS and is the quickest way back after a bad upgrade. The restic copy is the one you can restore onto a different machine, and you should restore it once before you need it. A longer walkthrough: object storage.
- 03
Upgrades and moving an existing instance
Memos applies database migrations at startup and cannot be downgraded afterwards, so the backup is your rollback. An instance on 0.22 to 0.30 must run 0.31.0 once before 26.11; anything older than 0.22 goes through 0.25.3 and then 0.31.0 first. To move an instance from another host, stop it there, copy the data directory (
memos_prod.db, plusassets/if you used local storage), start the same version here, check it, and only then upgrade. If your old deployment kept settings as JSON files in/etc/secrets, convert them to declarative configuration in/etc/memos/configbefore upgrading: 26.10 and later ignore the old files, and S3 or SSO settings fall back silently to whatever the database holds.
04/06
What it costs.
| Item | Per month |
|---|---|
| VPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 |
| Daily backups (+20 %) | ≈ $1.40 |
| Object storage, 250 GB (optional) | $1.99 |
| Total with both options | ≈ $10.38 |
Yearly billing takes about 25 % off the VPS, which works out to roughly $5.25 a month for Starter alone (theoretical). The plan includes full root, one IPv4 address (extra ones are $2 a month) and open outbound port 25. Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. The smallest top-up, $25, covers about three and a half months of Starter (theoretical). Top-ups earn a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. The full grid is on the pricing page.
05/06
Where your notes live, legally.
The server sits in ALP1 in the Swiss Alps and is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland). The revised Federal Act on Data Protection has been in force since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so an EU company can keep notes containing personal data here without additional transfer safeguards. As of 31 October 2026, the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That tells you which treaties exist; it does not mean a foreign request can never reach a Swiss host, and the offshore hosting page goes through the detail.
Data residency covers what Memos stores, and a few features reach beyond it. Link previews are fetched by the server from the linked site. If you configure an AI provider for transcription, audio goes to OpenAI or Gemini; Switzerland has recognised US companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024, so check your provider's certification before relying on that. The Map view loads OpenStreetMap tiles. The Web Clipper can connect through usememos.com or directly with your instance URL and a personal access token; take the direct route.
06/06
Acceptable use and your obligations.
You are the operator of your instance. If you open registration or publish public memos with attachments, you host other people's content and answer for it. Swiss law allows downloading a work for private use (software excepted) but not making it available online without permission, so a public Memos full of someone else's films or books is a problem for you before it is one for us. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Since 1 April 2020, CopA art. 39d adds a stay-down duty for hosts only when the work was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement.
Keep the instance patched; 0.31 alone added rate limits and tighter validation of remote fetches, and an exposed instance several releases behind is your responsibility. If you enable SMTP notifications, outbound port 25 is open, but mail from a fresh IP arrives more reliably through a relay on port 587 with SPF and DKIM in place, and what you send is yours to answer for. For anything this page does not cover, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run Memos without Docker?
Yes. Upstream publishes binaries for Linux, macOS and Windows, and a systemd unit is all a Linux install needs. The binary listens on port 8081 by default, not 5230, so adjust the Caddyfile accordingly. Docker remains the simpler way to pin and replace versions.
Is VPS Starter enough for a team?
For text, yes in theory: since 0.31 SQLite queues concurrent writers instead of failing, and people produce a few writes a minute at most.
Can I keep the whole Memos data directory in a bucket?
No. Our buckets are S3-compatible object storage reached through an endpoint and access keys, not a disk you attach. Keep SQLite on the VPS NVMe, use Memos' S3 backend for attachments, and send backups to the bucket with restic or rclone.
Does private mode hide the instance from the internet?
It hides the content. Visitors who are not signed in are sent to the sign-in page, and without a session the API answers only setup, authentication, registration when allowed, and explicit share links, which stay valid until you revoke them or they expire. The sign-in page itself is reachable, so use a strong password or SSO, or restrict access by IP in Caddy.
Do I need to send identification to order?
No. An email address is enough, payment is in crypto, and business customers paying in crypto are accepted. Billing and account questions are answered in the FAQ.
Sources
Every fact on this page, with its source
Accessed 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection, RS 235.1, in force since 1 September 2023fedlex.admin.ch
- Federal Office of Justice, recognition of the Swiss-U.S. Data Privacy Framework (since 15 September 2024)bj.admin.ch
- Federal Act on Copyright, art. 39d (RO 2020 1003, in force since 1 April 2020), checked 31 October 2026fedlex.admin.ch · checked 31 Oct 2026
- Swiss Federal Institute of Intellectual Property, copyright on the internet (private download vs. making available)ige.ch
EU and other countries
- European Commission, adequacy decisions (Switzerland confirmed on 15 January 2024)commission.europa.eu
- US Department of Justice, CLOUD Act resources (agreements with the UK and Australia only), checked 31 October 2026justice.gov · checked 31 Oct 2026
Industry, providers and software
- Memos releases on GitHub (0.31.0 of 19 September 2026: Spaces, RSS removal, rate limits, authenticated S3 delivery; 26.10 calendar versioning and /api/ paths), accessed 4 November 2026github.com
- Docker, Install Docker Engine on Debian (Debian 13 support, firewall warning), accessed 4 November 2026docs.docker.com
Other references
- Memos 26.11.0 release notes (stable release, upgrade path, /etc/secrets change), published 1 November 2026, accessed 4 November 2026usememos.com
- Memos homepage (MIT licence; SQLite, MySQL or PostgreSQL), accessed 4 November 2026usememos.com
- Memos docs, Getting Started (first user becomes admin, private access by default, visibility levels, binary port 8081), accessed 4 November 2026usememos.com
- Memos docs, Installation (512 MB minimum RAM; supported platforms), accessed 4 November 2026usememos.com
- Memos docs, Docker Compose and Reverse Proxy (MEMOS_INSTANCE_URL, forwarded headers), accessed 4 November 2026usememos.com
- Memos docs, Environment Variables (defaults, private-mode API scope), accessed 4 November 2026usememos.com
- Memos docs, Declarative Configuration (container UID 10001, /etc/memos/config, S3 storage fields), accessed 4 November 2026usememos.com
- Memos docs, Storage (named storage configurations, authenticated S3 delivery), accessed 4 November 2026usememos.com
- Memos docs, Backup & Restore (data layout, SQLite .backup), accessed 4 November 2026usememos.com
- Memos docs, Upgrade (required upgrade path, no downgrade, 8 KiB / 32 MiB defaults, version tags), accessed 4 November 2026usememos.com
- Memos docs, Performance Tuning (SQLite WAL, busy timeout, ~100 GB practical size), accessed 4 November 2026usememos.com
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
