Self-hosted app·Developer tools, backends and AI
Appwrite hosting
on a Panama VPS.
Appwrite hosting in Panama City: self-host Appwrite 2.7 with Docker on a 4 vCPU / 4 GB VPS. Sizing, deploy steps, limits.
- Appwrite
- PostgreSQL
- Redis
- Docker
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 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: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/06
Short answer.
You can run Appwrite on our Cloud VPS in PTY1, Panama City, with the vendor's own Docker installer and nothing patched or repackaged. The plan to start on is Cloud VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe and 15 TB of monthly transfer for $12.99 a month. That meets Appwrite's documented memory floor exactly and doubles its CPU floor. If you will build Sites or run busy functions, go straight to Cloud VPS Pro with 8 GB.
What matters more than the plan is the version you run. Appwrite's function executor drives Docker on the host through the Docker socket, and on 4 November 2026 upstream released 2.7.1 to close a flaw that let deployed code read the executor's secret. Install 2.7.1 or later, and give deploy rights for functions and sites only to people you would trust with root.
02/06
What Appwrite is
and who runs it.
Appwrite is an open-source backend server under the BSD 3-Clause licence, created by Eldad Fux and developed by the company of the same name, which also sells a hosted service, Appwrite Cloud. One instance bundles authentication, databases, file storage, serverless functions, messaging, realtime subscriptions and Sites, its front-end hosting. Version 2.0 reached self-hosters in September 2026: it made PostgreSQL the default database, kept MariaDB and MongoDB as installer options, and added a "combined" worker topology that brings a default install down from 33 containers to 16. The current release is 2.7.1, published 4 November 2026.
The people who self-host it are mostly small teams building a web, Flutter or mobile app who want Firebase-style services without tying their users' data to a vendor's region. Appwrite's own documentation is candid that self-hosting often costs more than Cloud once you count the hours, and for a team with nobody who reads release notes we would agree. A self-hosted instance also allows exactly one organization: colleagues join it by invitation, and signing up does not give anyone a separate workspace.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
The installation guide asks for 2 CPU cores, 4 GB RAM, 2 GB of swap and Docker Compose v2. The default stack puts Traefik, the API, the console, realtime, an MQTT broker, one combined worker, three schedulers, PostgreSQL, Redis, ClickHouse for usage metrics, the Open Runtimes executor and orchestrator, and a handful of helper services (geo lookup, EXIF handling, image focal points, a headless browser for screenshots) on one machine.
| Appwrite minimum | Cloud VPS Standard | Cloud VPS Pro | |
|---|---|---|---|
| CPU | 2 cores | 4 vCPU | 6 vCPU |
| RAM | 4 GB | 4 GB | 8 GB |
| Swap | 2 GB | add a swap file | add a swap file |
| Disk | not specified | 160 GB NVMe | 320 GB NVMe |
| Monthly transfer | — | 15 TB at 1 Gbps | 20 TB at 1 Gbps |
| Price | — | $12.99/mo | $22.99/mo |
On 4 GB the stack fits with little slack, so remove what you do not use. The embeddings container ships disabled and upstream describes it as resource heavy; leave it off unless you need vector search. The compose generator lets you drop the AutoGravity container if you have no use for focal-point image crops. Since 2.7.0 the bundled PostgreSQL starts with max_connections=500, and upstream's upgrade notes themselves say to set _APP_DB_MAX_CONNECTIONS lower on small hosts. Redis is capped at 512 MB in the shipped compose file and each PHP process gets a 512 MB limit through _APP_MEMORY_LIMIT; both are ceilings, not reservations.
Sites builds are where 4 GB runs out, because a framework build runs npm install and a bundler inside a runtime container on the same host as everything else. If that is your use, Cloud VPS Pro is the plan we would buy. Past that point, an Iron dedicated server (EPYC 4244P, 32 GB, 1 TB NVMe, $64.99) adds a 10 Gbps port with unmetered traffic under fair use.
VPS transfer is an allowance, not unmetered. As a theoretical figure, 15 TB spread over a 30-day month is about 46 Mbit/s sustained. Appwrite serves file downloads and image previews through its own API, so those bytes leave through the VPS whether the files sit on local disk or in a bucket.
| Port | Purpose | Open to the internet |
|---|---|---|
| 22 | SSH | yes, key-only |
| 80 | HTTP and ACME challenges | yes |
| 443 | API, console, realtime over WSS | yes |
| 8883 | MQTT over TLS | only if your clients use it |
| 8084 | MQTT over WebSocket (TLS) | only if your clients use it |
| 20080 | setup wizard | no; tunnel it (below) |
One trap catches most people once. Docker routes published ports through the FORWARD chain, so ufw's input rules never see them and ufw deny 8883 does not close a port the compose file publishes. Filter in the DOCKER-USER chain, or delete the mapping from docker-compose.yml.
04/06
How to deploy it
with us.
- 01
1. Order the VPS and point DNS
Order Cloud VPS Standard with Debian 13 and create an A record such as
appwrite.example.comfor its IPv4 before you install, so the certificate for the console domain can be issued as soon as the stack starts. If you will use Sites, add a wildcard such as*.sites.example.comas well. Appwrite does not obtain wildcard certificates on its own: you either rundocker compose exec appwrite ssl --domain=<site-domain>for each site, or configure Traefik's DNS-01 challenge for your DNS provider. - 02
2. Swap and Docker
# 2 GB swap, as Appwrite requires (skip if `swapon --show` already lists one) fallocate -l 2G /swapfile && chmod 600 /swapfile mkswap /swapfile && swapon /swapfile echo '/swapfile none swap sw 0 0' >> /etc/fstab # Docker Engine and the Compose v2 plugin from Docker's own repository apt-get update && apt-get install -y ca-certificates curl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] \ https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" \ > /etc/apt/sources.list.d/docker.list apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin - 03
3. Run the installer through an SSH tunnel
Upstream's guide tells you to open port 20080 for the web wizard. We would rather not leave a setup page on a public address even for ten minutes, so bind it to loopback and reach it through SSH:
# on your workstation ssh -L 20080:127.0.0.1:20080 root@<vps-ip> # on the VPS, from /root docker run -it --rm \ --publish 127.0.0.1:20080:20080 \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ appwrite/appwrite:2.7.1Open
http://localhost:20080on your workstation. Enter your domain as the hostname with HTTPS on, keep PostgreSQL and keep the combined topology. The database choice is permanent, because upgrades keep the engine an instance was installed with. The wizard shows the generated secret key once; it encrypts sensitive data and ends up in.envas_APP_OPENSSL_KEY_V1, and a restore without it gives you data you cannot read. Leave the directory namedappwrite, since the upgrade tooling expects that name. - 04
4. Settings to check before anyone else signs up
Edit
appwrite/.envand apply withdocker compose up -d;docker compose restartkeeps the old environment._APP_CONSOLE_WHITELIST_ROOT=enabledis the default and lets only the first account sign up. Leave it._APP_CONSOLE_WHITELIST_IPSnarrows console access further if your team has fixed addresses._APP_OPTIONS_FORCE_HTTPS=enabled._APP_DB_MAX_CONNECTIONS: well under 500 on 4 GB; 100 is a sane starting point for a single-node install._APP_FUNCTIONS_RUNTIMESand_APP_SITES_RUNTIMES: list only the runtimes you deploy, because each one is another image on disk._APP_SMTP_HOSTand the other SMTP variables: an empty host disables mail. Appwrite recommends a third-party relay on port 587, and so do we. Outbound port 25 is open on every VPS here, so your own MTA is possible, but a fresh IP without reputation or reverse DNS lands in spam folders.
- 05
5. Files and backups on object storage
Appwrite can keep uploads in any S3-compatible bucket, and since 2.0 it also writes function and site build output there when the storage device is not local. Our object storage works as that backend, billed by size with no request fees:
_APP_STORAGE_DEVICE=s3 _APP_STORAGE_S3_ENDPOINT=<endpoint from your client panel> _APP_STORAGE_S3_REGION=<region from your client panel> _APP_STORAGE_S3_BUCKET=appwrite-files _APP_STORAGE_S3_ACCESS_KEY=<access key> _APP_STORAGE_S3_SECRET=<secret key>The default upload limit is 30 MB per file, set by
_APP_STORAGE_LIMIT.Backups on self-hosted Appwrite are your job. What you need is a logical dump of PostgreSQL, the
.envfile and any volumes still on local disk. Our daily VPS backup option (+20 %) is a sensible second layer, but a copy of a running database taken from outside the VM is at best crash-consistent, so keep a dump you know you can restore:mkdir -p /root/backup && cd /root/appwrite docker compose exec -T postgresql sh -c 'pg_dump -U "$POSTGRES_USER" -Fc "$POSTGRES_DB"' \ > /root/backup/appwrite.pgdump cp .env /root/backup/env.$(date +%F) restic -r s3:<endpoint>/appwrite-backups backup /root/backupTalk to the bucket through restic, rclone or Appwrite's S3 adapter, as above. Never put PostgreSQL's volume on an
rclone mount. - 06
6. Keep it patched
An upgrade runs the same image with a different entrypoint, followed by a migration:
cd /root docker run -it --rm \ --publish 127.0.0.1:20080:20080 \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="upgrade" \ appwrite/appwrite:2.7.1 cd appwrite && docker compose exec appwrite migratePin a version tag; upstream advises against
latestin production. 2.7.1 upgrades in one step from 1.9.6 or later. It replaces the Open Runtimes executor (1.1.2 to 1.3.1) because the old one followed symlinks planted by a deployment and could expose_APP_EXECUTOR_SECRET, and with that secret, function code can call the executor directly, which controls Docker on the host. If anyone outside your own team can deploy functions or sites, rotate that secret after upgrading.
05/06
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB, 1 Gbps) | $12.99 |
| Daily backups (+20 %) | $2.60 |
| Object storage, 250 GB bucket for files and restic | $1.99 |
| Total (theoretical) | $17.58 |
The VPS price includes full root, outbound port 25 and the 15 TB transfer allowance; extra IPv4 addresses are $2 a month and priority support is $10. Yearly billing takes roughly 25 % off, which puts Cloud VPS Standard at about $9.75 a month (theoretical). Swap in Cloud VPS Pro at $22.99 if you build Sites. Everything else is on the pricing page.
Payment is in cryptocurrency only (AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT, XMR), with prices and balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; as a theoretical example, a $100 top-up becomes a $110 balance, about eight and a half months of Cloud VPS Standard. The unused paid part of a top-up is refundable within 14 days. Ordering is no-KYC: an email address is enough.
06/06
Limits, acceptable use
and your obligations.
An Appwrite instance holds personal data by design: email addresses, password hashes, sessions with IP-derived location. On our servers that data sits in Panama, where Law 81 of 2019, implemented by Executive Decree 285 of 2021, governs personal data protection, and you are the party collecting it. If your users are in the EU, note that Panama has no EU adequacy decision, so the transfer needs safeguards such as the 2021 standard contractual clauses. As of 31 October 2026 the US Department of Justice lists CLOUD Act agreements only with the United Kingdom and Australia, none with Panama; US authorities still have a formal route through the mutual legal assistance treaty signed in 1991 and in force since 1995. Whether the six-month retention duty in Law 51 of 2009 reaches a hosting provider is a question for Panamanian counsel. The longer treatment is on our offshore hosting page.
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. On an Appwrite box the realistic cases are a Site serving a phishing page or a login form imitating a bank, and a public bucket handing out malware; those are manifestly unlawful and we act on them.
We run the hypervisor and the network; Docker, Appwrite, PostgreSQL and their patches inside the VM are yours to operate. That makes three things your responsibility: answering the complaints we forward, keeping the instance on a supported release, and deciding who gets deploy rights, remembering that on a single-host install those rights reach the Docker socket.
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 |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall 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 |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
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 PTY1. If yours is not here, open a ticket from your panel.
Can I skip the wizard and write the compose file myself?
Yes. Appwrite's installation guide has a generator that outputs docker-compose.yml, .env and two ClickHouse files for the database and topology you pick. Put them in a directory named appwrite, replace _APP_OPENSSL_KEY_V1, _APP_EXECUTOR_SECRET and _APP_JOBS_SECRET with unique values (2.6.2 and later refuse a placeholder jobs secret), then run docker compose up -d --remove-orphans.
Is 4 GB of RAM enough for production?
It is Appwrite's documented minimum, and it carries auth, databases, storage and light functions once you remove the services you do not use. It is not enough for comfortable Sites builds. For those, or for functions under steady load, take Cloud VPS Pro with 8 GB.
Can I move an existing MariaDB instance to PostgreSQL?
Not in place. Upgrades keep the database an instance was installed with, so the route is a fresh PostgreSQL install on a second VPS and Appwrite's project migration feature to copy projects across. Test the result before you move DNS.
Did the November 2026 Appwrite incident affect self-hosted instances?
The incident happened on Appwrite Cloud's Frankfurt compute. The runtime flaw behind it also existed in the self-hosted executor, which is why 2.7.1 ships the same root-cause fix. Upgrade, and rotate _APP_EXECUTOR_SECRET if people outside your team can deploy code.
Do I need an Appwrite account or licence?
No. The server is BSD 3-Clause and runs without contacting Appwrite's cloud. Some newer features reach Appwrite Cloud before self-hosted releases (the Firewall product is Cloud-only at the time of writing), so check the changelog before you plan around one.
Do I have to identify myself to order?
No-KYC: an email address is enough. You pay in cryptocurrency from a US-dollar balance and can open a support ticket from the client panel for anything about the VPS itself.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Panamanian law and authorities
- Panama, Law 81 of 26 March 2019 on personal data protection, Gaceta Oficial 28743-Agacetaoficial.gob.pa
- Panama, Law 51 of 2009, art. 6 (six-month data retention), Gaceta Oficial 26374gacetaoficial.gob.pa
- Constitution of Panama, art. 29, G.O. 25176s3-legispan.asamblea.gob.pa
EU and other countries
- US Department of Justice, CLOUD Act resources (executive agreements with the UK and Australia only)justice.gov · verified 31 Oct 2026
- GDPR, art. 46eur-lex.europa.eu
Industry, providers and software
Other references
- Appwrite, Installation (system requirements, installer, generated compose)appwrite.io
- Appwrite, Updates and migrations (2.7.1 executor fix, max_connections=500, _APP_DB_MAX_CONNECTIONS, upgrade path, no latest)appwrite.io
- Appwrite changelog, Announcing Appwrite 2.7.1 for self-hosted deployments, 4 November 2026appwrite.io
- Appwrite, Incident report: Sites & Functions runtime vulnerability, November 1st, 2026, published 4 November 2026appwrite.io
- Appwrite, Appwrite 2.0 is now available for self-hosting (PostgreSQL default, 33 → 16 containers, one organization), 7 September 2026appwrite.io
- Appwrite, Introducing Postgres to self-hosted Appwrite (database choice kept on upgrade)appwrite.io
- Appwrite changelog, 2.6.2 and 1.9.10 (_APP_MEMORY_LIMIT 512M, jobs secret check), 24 October 2026appwrite.io
- Appwrite docs: Self-hosting overview (cost of self-hosting vs Cloud), Storage (adapters, 30 MB default), Email delivery, Security (console whitelists, _APP_OPENSSL_KEY_V1), Backups, Sites (wildcard certificates)appwrite.io
- US Department of State, Panama–US mutual legal assistance treaty (signed 1991, in force 6 September 1995)state.gov
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.