New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Websites, APIs and internal tools

Flagsmith hosting on a Swiss VPS.

Flagsmith hosting on a Swiss VPS in ALP1: 4 vCPU, 4 GB. Flags-only Docker Compose, sizing, TLS, backups and the limits to know.

Runs here
  • Django
  • PostgreSQL
  • Docker

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Small appsStandard · 4 vCPU · 4 GB RAM$12.99/mo160 GB NVMe · 15 TB transfer · 1 Gbps
  • 1 Gbps port15 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$12.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less

Deploy VPS Standard
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 4 vCPU, 4 GB RAM
  • 160 GB NVMe local storage
  • 15 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. The plan we recommend is VPS Standard (4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB monthly transfer, $12.99 a month) in ALP1, our facility in the Swiss Alps, running Flagsmith's flags-only stack: PostgreSQL, the combined API and dashboard container, and the task processor. The decision that matters most is which Compose file you download. Since v2.287.0 (October 2026), Flagsmith's default docker-compose.yml also starts Kafka, ClickHouse and two event services for its experimentation feature, and Flagsmith's own sizing guide puts ClickHouse alone at 2 vCPU and 8 GB in its smallest tier, twice the memory of the whole plan. Take docker-compose.flags-only.yml, and move to a larger machine only if you actually intend to run experiments.

02/06

What Flagsmith is and who runs it.

Flagsmith is a feature-flag and remote-configuration server. Your applications ask it which features are on for a given environment, user or segment, and receive flags and config values back, so a release can go to 5 % of users, or be switched off in the middle of an incident, without a redeploy. The backend is a Django REST API; the React dashboard ships in the same image and is served on the same port, 8000. All state lives in PostgreSQL, and a second container built from the same image runs the task processor, which handles webhooks, audit-log writes and scheduled flag changes outside the request path.

SDKs talk to it in one of two ways, and the difference decides your sizing. In remote evaluation, each client or user session asks the API for its flags. In local evaluation, a server-side SDK downloads the whole environment document, every 60 seconds by default in most SDKs, and evaluates flags in-process. Flagsmith's documentation describes that poll as the heaviest request it serves, because building the document takes many database joins.

The project is developed by Bullet Train Ltd in the UK. Most of the code is BSD-3-Clause; role-based access control, SAML/SSO, audit logs and change requests are Enterprise features that need a licence even when you host it yourself. Flagsmith's self-hosting FAQ says the open-source build gives unlimited seats and one project, while marketing copy on the same page speaks of unlimited projects, so confirm the behaviour of the version you deploy before you plan a multi-project layout. Flagsmith also publishes a case study on Vontobel, the Zurich investment bank, which self-hosts it because its compliance constraints make cloud tools awkward. The reasoning scales down: a flag server ends up holding user identifiers and traits, and some teams would rather that data stay on a machine they control.

flags.example.com
Flagsmith's Features view: the feature flags and remote-config values of a demo project, each with its on/off toggle
Flagsmith, from the project's README on GitHub (Flagsmith/flagsmith, BSD licence).

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

Requirements and sizing.

Flagsmith publishes sizing tiers keyed to request rate. Its Small tier, described as entry-level production, covers up to 10 requests per second from logged-in users, up to 1 per second of local-evaluation polling, or up to 50 per second of flag checks without a user identity. For that tier it suggests two API workers at 1 vCPU / 2 GB each, a database at 2 vCPU / 8 GB with 1,000 provisioned IOPS, and one task-processor worker at 1 vCPU / 2 GB. Added up, that is 5 vCPU and 14 GB (our arithmetic, theoretical), and it is written for clouds where each component is a separate instance with its own memory reservation and the database is a managed service.

On a single VM the containers share one kernel and one page cache, and the working set of a small installation is far smaller than an 8 GB database instance. We recommend VPS Standard for a team running Flagsmith for its own product at modest traffic, and VPS Power if you want to follow Flagsmith's Small tier as written.

What you runPlanCPU / RAM / NVMe / trafficPrice per month
Flags-only, modest trafficVPS Standard (vps-standard)4 vCPU / 4 GB / 160 GB / 15 TB, 1 Gbps$12.99
Flags-only, Flagsmith's Small tier as writtenVPS Power12 vCPU / 16 GB / 640 GB / 40 TB, 2 Gbps$42.99
Flags plus experimentationDedicated PilatusEPYC 4344P 8C/16T / 64 GB / 2 TB / unmetered under fair use, 10 Gbps$84.99

The last row is arithmetic, not a test. Flagsmith's smallest experimentation tier, with Kafka cut to the single broker the Compose file runs, adds about 7 vCPU and 18 GB to the flag services, 12 vCPU and 32 GB in total (theoretical). A 32 GB machine would have no headroom left, so we point you at 64 GB.

If any of your services use local evaluation, set CACHE_ENVIRONMENT_DOCUMENT_SECONDS=60 from the first day. It is off by default, and Flagsmith reports that it cuts database load for polling traffic by roughly a factor of ten; on a 4 GB machine it is the single setting that buys you the most room.

Only 443, plus 80 for certificate issuance, needs to face the internet, through a reverse proxy. The Compose file publishes 8000 for the API and dashboard and maps the task processor to 8001; neither should be reachable from outside, and PostgreSQL on 5432 stays on the Docker network. Disk is not the constraint: Flagsmith's Small tier allows 30 GB for the database, and raw flag analytics stored in Postgres are kept 30 days by default (RAW_ANALYTICS_DATA_RETENTION_DAYS). Transfer is not the constraint either. VPS traffic is metered rather than unmetered, but identity-less flag responses run 1–5 KB, so even 50 requests per second around the clock at 5 KB each comes to about 648 GB a month (theoretical), roughly 4 % of the 15 TB included.

04/06

How to deploy it with us.

Flagsmith's documentation presents the Compose file as the way to run a complete environment on one machine, and recommends Kubernetes for larger estates. A single VPS is a reasonable production home for a small team, with one honest downside: there is no second node. Give every SDK a default-flag handler, so that when the VM is down your application falls back to behaviour you chose rather than to whatever the code does without a response.

  1. 01

    1. Order the VPS

    Order VPS Standard with Debian 13 from the deploy link. Payment is in crypto, and the account is no-KYC: an email address is enough. While it boots, point an A record for a hostname such as flags.example.com at the VPS address.

  2. 02

    2. Install Docker

    Install Docker Engine and the Compose plugin from Docker's own apt repository, which lists Debian 13 (trixie) as supported. Read the firewall note on Docker's Debian page as well: ports that Docker publishes are inserted ahead of ufw or firewalld rules, so a host firewall alone does not hide a container. Binding the port to 127.0.0.1 does.

  3. 03

    3. Fetch and edit the flags-only Compose file

    bash
    mkdir -p /opt/flagsmith && cd /opt/flagsmith curl -o docker-compose.yml \ https://raw.githubusercontent.com/Flagsmith/flagsmith/main/docker-compose.flags-only.yml openssl rand -hex 32 # value for DJANGO_SECRET_KEY openssl rand -hex 24 # value for the Postgres password

    Change these lines before the first start. This is an excerpt, not a complete file; keep the other keys as shipped.

    yaml
    x-flagsmith-env: &flagsmith-env DATABASE_URL: postgresql://postgres:<pg-password>@postgres:5432/flagsmith DJANGO_SECRET_KEY: <64-hex-secret> CACHE_ENVIRONMENT_DOCUMENT_SECONDS: '60' # leave DJANGO_ALLOWED_HOSTS and FLAGSMITH_DOMAIN as shipped until step 4 services: postgres: environment: POSTGRES_PASSWORD: <pg-password> migrate-db: image: docker.flagsmith.com/flagsmith/flagsmith:2.287.0 flagsmith: image: docker.flagsmith.com/flagsmith/flagsmith:2.287.0 ports: - 127.0.0.1:8000:8000 flagsmith-task-processor: image: docker.flagsmith.com/flagsmith/flagsmith:2.287.0 # delete this service's ports: block; nothing outside needs 8001

    Set the database password now. The Postgres image reads POSTGRES_PASSWORD only when it initialises an empty data volume; change it later and the database keeps the old password while Flagsmith presents the new one. Pinning 2.287.0 instead of latest means a docker compose pull cannot move you onto a release with new schema migrations by accident.

  4. 04

    4. Create the admin account through an SSH tunnel

    bash
    docker compose up -d # then, from your workstation: ssh -L 8000:127.0.0.1:8000 root@<vps-ip>

    Open http://localhost:8000. A fresh install shows a "Welcome to Flagsmith" screen, and Get Started creates the first account as a superuser together with your first organisation. Whoever reaches that screen first owns the instance, which is why it should happen before anything is published. Then set the real hostname and close registration in the x-flagsmith-env block:

    yaml
    DJANGO_ALLOWED_HOSTS: flags.example.com FLAGSMITH_DOMAIN: flags.example.com PREVENT_SIGNUP: 'true' # alone; for a team use ALLOW_REGISTRATION_WITHOUT_INVITE: 'false'

    Run docker compose up -d again. The tunnel address stops working at this point, which is expected.

  5. 05

    5. Put TLS in front

    bash
    apt install caddy cat > /etc/caddy/Caddyfile <<'EOF' flags.example.com { reverse_proxy 127.0.0.1:8000 } EOF systemctl reload caddy

    Caddy obtains a certificate on the first request; if you run a host firewall, allow 80 and 443 inbound. Your SDKs then point at https://flags.example.com/api/v1/. For invitation and password-reset mail, fill in the EMAIL_* variables in the Compose file. Outbound port 25 is open on every VPS, but a fresh IP has no sending reputation, so a relay on port 587 is the more reliable choice.

  6. 06

    6. Back up Postgres off the machine

    bash
    docker compose exec -T postgres pg_dump -U postgres -Fc flagsmith \ > /var/backups/flagsmith-$(date +%F).dump restic -r s3:https://<bucket-endpoint>/<bucket-name> backup /var/backups

    restic takes the bucket keys from AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and the repository password from RESTIC_PASSWORD; run restic init once first. Our object storage is S3-compatible buckets used through the S3 API as shown, not a disk to mount under a database. Take a dump before every upgrade too: the migrate-db service applies schema migrations before the new API starts, and the practical way back from a bad migration is restoring that dump.

05/06

Cost.

LinePer month
VPS Standard, 4 vCPU / 4 GB / 160 GB NVMe / 15 TB, 1 Gbps$12.99
Daily VPS backups (+20 %)$2.60
Object storage, 250 GB bucket for the restic repository$1.99
Total (theoretical, from the catalogue)$17.58

Yearly billing takes roughly 25 % off the VPS line, about $9.75 a month equivalent. Daily backups give you a whole-VM restore point; the restic dumps give you a consistent database you can restore onto any machine. For a flag service either alone is defensible, and if we had to drop one we would keep the dumps. The plan includes its listed resources and outbound port 25; an extra IPv4 address is $2 a month, which Flagsmith does not need. The full catalogue is on the pricing page.

Payment is in crypto (Monero, Bitcoin, Tether, Ethereum, Litecoin and other coins) against a US-dollar balance, and business customers can pay the same way. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part of a top-up is refundable within 14 days.

For comparison, Flagsmith's own Start-Up plan is $45 a month for 1 million requests and three team members, and the governance features arrive with Scale-Up at $300 a month (Flagsmith pricing page, 4 November 2026). Self-hosting removes the request meter, since Flagsmith states the open-source version has no API limits. It does not give you the Enterprise features, and it moves patching, backups and upgrades onto you.

06/06

Limits and acceptable use.

Running Flagsmith needs no special permission from us; it is ordinary infrastructure software. What passes through it is your responsibility. Identities and traits often carry personal data such as email addresses, countries or plan names, and for that data you are the controller under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023, while Hosta AG operates the machine. If your users are in the EU, the European Commission confirmed on 15 January 2024 that Switzerland still provides an adequate level of protection, so that data can come to ALP1 without additional safeguards. Flagsmith's analytics and APM integrations send data onward to those vendors; for a US vendor, check whether it is certified under the Swiss-U.S. Data Privacy Framework, which Switzerland has recognised since 15 September 2024.

The service is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). 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 is a statement about treaties, not a promise that nobody can obtain your data: a request for data held by a Swiss company goes through Swiss procedure. Our offshore hosting page covers the jurisdiction question in more depth.

Remote-config values are free-form strings and JSON, and the public flags endpoint serves them to anyone holding the client-side environment key. Do not use it to distribute material you have no right to make available. 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). VPS transfer is metered at 15 TB a month on this plan.

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.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy 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

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Will Flagsmith run on VPS Starter with 2 GB?

We do not recommend it. Flagsmith sizes each API worker at 2 GB, and the flags-only stack runs PostgreSQL, the API and the task processor side by side on the same memory.

Can I use the default docker-compose.yml?

Only on a machine sized for experimentation. Since 2.287.0 it starts Kafka, ClickHouse, an ingestion server on port 8080 and a warehouse-delivery worker next to the flag services. On VPS Standard use docker-compose.flags-only.yml, which Flagsmith ships for that case.

Do I need Redis?

Not for the flags-only stack. The environment-document cache defaults to a database-backed cache, which Flagsmith rates as fine up to its Medium tier, and it recommends Redis or Memcached from its Large tier upward. Turning on CACHE_ENVIRONMENT_DOCUMENT_SECONDS=60 matters far more than where the cache lives.

What does the open-source build leave out?

Role-based access control, SAML/SSO, audit logs and change requests, which need an Enterprise licence. There are no API request limits. Check seat and project limits on the version you run, because Flagsmith's own pages disagree on the number of projects.

Can I keep EU users' flag data here?

From a transfer point of view, yes: the Commission's 15 January 2024 review kept Switzerland's adequacy decision in force, so EU personal data can be stored in ALP1 without extra safeguards. Your duties as controller under the Swiss FADP and, for EU users, the GDPR still apply.

How do I pay, and do you need ID?

You pay in crypto against a US-dollar balance, and no-KYC applies: an email address is enough. Questions go through a support ticket from the client panel; there is more in our FAQ.

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.