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

Cosmos hosting on a Swiss VPS.

Sizing, ports, setup, backups and limits.

Runs here
  • Go
  • MongoDB
  • Docker

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

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

Deploy VPS Starter
  • 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/05

What Cosmos is and who maintains it.

Cosmos is a reverse proxy and a container manager in one program, built for people who self-host. It terminates HTTPS with Let's Encrypt certificates it obtains and renews itself (HTTP challenge, or DNS challenge for wildcards), puts a login with MFA and an OpenID provider in front of any container, and throttles or bans abusive clients through a rate-limiting layer it calls SmartShield. It also runs a mesh VPN, Constellation, based on Nebula. Around that sit an app market, compose import, monitoring with alerts, a cron scheduler and a backup module that drives restic. The applications it manages remain ordinary Docker containers, so walking away from Cosmos later means removing one container rather than migrating every app.

The code is on GitHub under azukaar/Cosmos-Server, led by its original author, azukaar; the website and the paid Cosmos Pro tier are run by Beyond Cloud ltd. When we wrote this page (4 November 2026) the current stable release was 0.23.4, published on 30 August 2026, with 0.24 in beta. Read the licence before you plan anything commercial: it is Apache 2.0 with the Commons Clause 1.0. You may run Cosmos for any purpose, a business website included, but you may not sell Cosmos, a derivative of it, or a hosted service based on it. Reselling "managed Cosmos" to clients is excluded by the licence, whichever host you pick.

02/05

Requirements and sizing.

Cosmos publishes no CPU or RAM minimum. Its hard requirements are structural: a 64-bit OS on amd64 or arm64, the Docker socket mounted into the container, root (in practice --privileged, which Constellation needs), ports 80 and 443 over TCP for the proxy, 4242 over UDP for the VPN, and a MongoDB database.

NeedCosmosCloud VPS Starter
CPUAVX required by MongoDB ≥ 5.0 on x86-642 vCPU; check AVX with grep -m1 -o avx /proc/cpuinfo before installing
RAMno published minimum2 GB
Diskimage ≈ 411 MB compressed (amd64, Docker Hub) + MongoDB data + your apps80 GB NVMe
Network80/tcp, 443/tcp, 4242/udp on a public address1 Gbps, one IPv4, 10 TB transfer per month

Memory is where a 2 GB guest gets tight. By MongoDB's documented default, its WiredTiger cache takes the larger of 50 % of (RAM − 1 GB) or 256 MB; on this plan that is, in theory, max(0.5 × 1 GB, 256 MB) = 512 MB, assuming the container sees the whole guest. That leaves roughly 1.5 GB for the kernel, Docker, Cosmos and whatever you put behind it. A lighthouse-and-gateway setup with nothing else on the box uses a fraction of that. Cosmos plus a password manager, an uptime monitor, a small wiki or a static site fits. Nextcloud with an office suite, Immich with its machine-learning container, or Jellyfin transcoding video on two vCPUs will not be pleasant; start those on Cloud VPS Standard (4 vCPU, 4 GB, 160 GB, 15 TB, $12.99) or Cloud VPS Pro (6 vCPU, 8 GB, 320 GB, 20 TB, $22.99) from the cloud VPS range, and see our Plex and Jellyfin guide for media servers specifically.

Cosmos's disk tools (SnapRAID parity, MergerFS pools) solve a home-NAS problem and do nothing useful on a single virtual disk. If you need more room for media than 80 GB, add an S3 bucket from our object storage and attach it through Cosmos's rclone-based remote storage. That works for a read-mostly media library; never put MongoDB or any other database on an rclone mount.

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/05

How to deploy it with us.

Order a Cloud VPS Starter with Debian 13 from this link: deploy Cloud VPS Starter for Cosmos. Registration is no-KYC: an email address is enough, and payment is in crypto. Then, as root on the new server, check the two things that most often break a first install:

bash
grep -m1 -ow avx /proc/cpuinfo # must print "avx", or MongoDB will not start ls -l /run/dbus/system_bus_socket || apt install -y dbus

Close the setup wizard to the world before you start Cosmos. The wizard answers on plain HTTP at the server's IP and has no login in front of it until its last step creates the admin account. On a home LAN that is harmless; on a public IPv4, an internet scanner can reach it before you do. Allow SSH and the VPN port, and allow 80/443 from your own address only (replace 203.0.113.10):

bash
apt install -y ufw ufw allow 22/tcp ufw allow 4242/udp ufw allow proto tcp from 203.0.113.10 to any port 80,443 ufw enable

Because Cosmos runs on the host network, these rules apply to it. They do not protect ports that other containers publish with -p, since Docker writes its own iptables rules ahead of ufw, which is one more reason to let Cosmos reach your apps over its isolated Docker networks rather than publishing their ports.

Upstream now recommends running Cosmos as a standalone systemd service and keeps the Docker container as the simpler option. On a VPS we prefer the container: the standalone installer adds Avahi, Samba, SnapRAID and MergerFS for local-network and disk features that have no use here, while the container is upgraded by changing one tag. Install Docker with the script the Cosmos documentation points to, then create /opt/cosmos/compose.yaml:

yaml
services: cosmos-server: image: azukaar/cosmos-server:0.23.4 # pin the version; bump it deliberately container_name: cosmos-server restart: always privileged: true network_mode: host volumes: - /var/run/docker.sock:/var/run/docker.sock - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket - /var/lib/cosmos:/config # - /:/mnt/host # optional: lets the UI browse and create host folders
bash
curl -fsSL https://get.docker.com | sh cd /opt/cosmos && docker compose up -d

We left /:/mnt/host commented out on purpose: it hands the web UI the entire filesystem, and you only need it if you want Cosmos to create bind-mount folders for you. Even without it, a privileged container holding the Docker socket is root on this VPS, so the admin account deserves MFA from day one.

Open http://<your-VPS-IP> and walk through the wizard. The Docker step should already be green. At the database step, "create secure database" pulls and starts a MongoDB container in 20–30 seconds; if it fails on a fresh VPS, look at the AVX check first. At the HTTPS step, Let's Encrypt over HTTP needs an A record for every hostname pointing at the VPS and the Cloudflare proxy switched off; the DNS challenge avoids both and gives you wildcards. Create the admin account with an email address, or you lose password reset. Cosmos only applies its HTTPS settings after it restarts, so if you chose the HTTP challenge, open the web ports with ufw allow 80/tcp && ufw allow 443/tcp before that restart, then turn on MFA in the user settings.

Backups come next. Cosmos's backup module runs restic against any rclone remote, so add your bucket under Storage → External storage as an S3 remote (endpoint and access key from our client panel, secret key from the ticket we send at delivery) and pick it as the repository; it appears as rclone:<remote>:<bucket>/cosmos. Back up /var/lib/cosmos, which includes the single export file of all your container definitions, and the MongoDB data volume with "automatically stop containers" ticked so the database is copied in a consistent state. The restic repository password lives in the Cosmos config file, which is inside the backup it encrypts: keep a copy somewhere other than this server.

Using the VPS as a lighthouse for a home server

This is where a small Swiss VPS earns its keep. Create the Constellation network on your home Cosmos, add a device of type "Cosmos Server (agent)" with the VPS's public IP as its hostname and relaying enabled, then upload the resulting constellation.yml on the VPS's Cosmos. Phones and laptops can then reach the home server from anywhere, and URLs you tunnel through the VPS are served from an ALP1 address, so the public never sees your home connection. The documentation warns that the server's outbound IP must match the public IP Nebula announces; with one IPv4 per VPS, it does.

As a theoretical reference, 10 TB a month is about 30 Mbit/s sustained around the clock, and a 10 Mbit/s stream tunnelled for four hours is 18 GB in each direction.

04/05

Cost.

ItemPer monthNote
Cloud VPS Starter$6.992 vCPU, 2 GB, 80 GB NVMe, 10 TB transfer, 1 Gbps
Daily backups of the VPS+$1.40+20 %; theoretical total $8.39
Object storage, 250 GB$1.99restic repository; billed by size, no request or traffic fees
Cosmos Pronot neededclustering, managed PostgreSQL, CI/CD; from $16/mo for 16 GB RAM and 20 users, sold by Beyond Cloud ltd
Typical setup (VPS + 250 GB bucket)$8.98

Yearly billing on VPS plans is about 25 % cheaper, which puts the Starter at $62.99 a year. Prices and balances are in US dollars and paid in crypto (Monero, Bitcoin, USDT, Ethereum, Litecoin and others); top-ups run from $25 to $5,000, with a 5 % bonus from $50, so a $50 top-up becomes $52.50 of credit, a little over seven months of Starter. The unused paid part of a top-up is refundable within 14 days. The full list is on pricing. On a single 2 GB VPS the free edition of Cosmos covers everything this page describes.

05/05

Limits and acceptable use.

You are root on this VPS and we do not administer it. Keeping Cosmos, its MongoDB container and every app behind it patched is your job, and so is MFA on the admin account. SmartShield limits requests at the application layer; it does nothing against a volumetric flood. Every VPS and every dedicated server includes network DDoS protection at no extra cost; a service that draws frequent attacks still does better on a dedicated machine, with a 10 Gbps port and no other customer on the host.

Copyright is where Cosmos users most often get into trouble, because publishing a container under a public URL takes two clicks. In Switzerland, downloading a work for private use is permitted (software excepted), but making it available online without permission is not, and a Jellyfin or Plex library reachable through a public Cosmos URL is making it available. Since 1 April 2020, CopA art. 39d can also oblige a host to keep a work from reappearing when it was already made available unlawfully through the same service, the provider was notified, and the service creates a particular risk of infringement. 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).

Constellation can turn the VPS into an exit node, which sends client traffic out from our IP under your name. Abuse complaints about traffic leaving your IP are forwarded to you. Outbound port 25 is open on every VPS, which helps if you want Cosmos to send invitations and password resets through your own mail server; spam is not acceptable use. The Commons Clause restriction on reselling Cosmos applies here as anywhere else.

On jurisdiction, the facts are narrower than most hosting pages suggest. The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed Switzerland's adequacy, so EU users' personal data can reach a server in ALP1 without extra safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, and the revised Swiss surveillance ordinance (VÜPF/OSCPT) consulted on in January 2025 is not in force, with a second consultation announced. None of this puts a server beyond the reach of Swiss authorities, whose decisions we follow; the longer version is on our offshore hosting page.

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
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
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
How do I upgrade Cosmos?

Back up /var/lib/cosmos and the MongoDB volume, change the image tag in compose.yaml to the new release, then run docker compose pull && docker compose up -d. The documentation states that the container can be deleted and recreated without losing data, because everything lives in the config folder and the database. Avoid the latest tag; you want to choose when an upgrade happens.

The database step fails. What now?

Run grep -ow avx /proc/cpuinfo. If it prints nothing, the MongoDB image Cosmos pulls cannot run on that CPU. The wizard also accepts a connection string to a remote MongoDB, but a database across the internet adds latency to every login, so fixing the local one is better.

Can I put Cosmos behind Cloudflare's proxy?

Only with the DNS challenge, since Let's Encrypt's HTTP challenge fails behind the orange cloud. Think about why you are self-hosting, though: the proxy decrypts your traffic at Cloudflare's edge, which the Cosmos README itself points out.

Some visitors, or I, get blocked by country

Cosmos blocks a default list of countries based on attack statistics, among them India, Brazil, Romania, Turkey and Vietnam. Adjust the geo-blocking rules if your users are there; if you administer the server from one of them, the documentation's COSMOS_SERVER_COUNTRY variable stops Cosmos from blocking you.

Sources

Every fact on this page, with its source

Checked 4 Nov 2026 unless noted.

Swiss law and authorities

EU and other countries

Other references

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.