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

code-server hosting on a Swiss VPS.

code-server hosting in ALP1, Swiss Alps: Standard VPS (4 vCPU, 4 GB RAM) for $12.99/mo, Docker Compose, Caddy TLS, sizing and the rules that matter.

Runs here
  • Debian
  • Docker
  • Caddy

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. code-server runs on any of our Cloud VPS plans in ALP1, and for one developer we recommend Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe and 15 TB of monthly transfer for $12.99 a month. Starter will run it, but 2 GB leaves little headroom once a language server and a build are busy at the same time. Sizing is the smaller question. code-server gives whoever logs in a terminal on your server, so it has to stay bound to 127.0.0.1 and be reached through an SSH tunnel or a reverse proxy with TLS. Coder's own setup guide is explicit that an instance exposed without authentication and encryption lets someone take over the machine through that terminal.

02/06

What code-server is, and who runs it.

code-server is VS Code running on a server and used from a browser tab. Coder Technologies maintains it under the MIT licence. It pulls the open-source VS Code core in as a submodule and carries its own patch set on top, which is the main difference from OpenVSCode Server, a direct fork. The current stable release is 4.141.0, published on 8 October 2026 and built on Code 1.141.0; since August there has been roughly one release a week, tracking upstream. The patches are what a self-hoster cares about: password authentication, hosting under a sub-path, a built-in proxy for ports on the server, and web views that do not call out to Microsoft's servers.

Not being Microsoft's build has two practical consequences. Extensions come from Open VSX, because the Visual Studio Marketplace terms limit its extensions to Microsoft's own products; most open-source extensions are available, Live Share and the Remote (SSH, Containers, WSL) extensions are not. Authentication is a single password for the whole instance, rate-limited to two attempts a minute plus twelve more per hour, with no user accounts behind it. For several people Coder recommends one VM per user, and we agree.

People put code-server on a VPS to keep one development environment off the laptop. It looks the same from a work machine, a tablet or a borrowed computer, and the source stays on the server when the laptop goes missing. Microsoft's own browser route, Remote Tunnels, needs a GitHub or Microsoft account on both ends and relays through a service hosted in Azure. With code-server the path is your browser, your domain and your VPS in the Swiss Alps.

That server is operated by Hosta AG (IDE CHE-107.875.655), a Swiss société anonyme in Riehen, so the frame is Swiss law. The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of protection, so copying a database extract from an EU production system to a dev box in ALP1 needs no extra transfer mechanism. The US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That is a narrower fact than "outside US jurisdiction", which we do not promise; the offshore hosting page sets out what Swiss jurisdiction does and does not cover.

code-server's welcome page in a browser tab at localhost:8080: Get Started with VS Code for the Web, with the colour-theme picker
code-server, from the project's README on GitHub (coder/code-server, MIT 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.

Coder's stated minimum is 1 GB of RAM, 2 CPU cores and working WebSockets. That covers the editor. The memory that decides your plan belongs to what the editor starts for you: tsserver on a large TypeScript project, rust-analyzer indexing a workspace, a Python language server, and whatever runs in the integrated terminal, from a test suite to docker compose up. On 4 GB those coexist for one developer and a couple of repositories. On 2 GB the kernel's OOM killer eventually picks a victim, usually the largest process, which tends to be the language server you were relying on.

PlanvCPU / RAM / NVMeTransfer / portPriceSuits
Starter2 / 2 GB / 80 GB10 TB / 1 Gbps$6.99/moScripts, one small project, no container builds
Standard4 / 4 GB / 160 GB15 TB / 1 Gbps$12.99/moOne developer, a few repos, a Compose dev stack
Pro6 / 8 GB / 320 GB20 TB / 1 Gbps$22.99/moRust, C++ or a large monorepo, several containers
Power12 / 16 GB / 640 GB40 TB / 2 Gbps$42.99/moLong parallel builds, CI-style workloads

Whatever the plan, a 2 GB swap file on the NVMe disk is cheap insurance; it turns an OOM kill into a slow minute.

Only three ports need to be open: 22 for SSH, and 80 and 443 if Caddy fetches a Let's Encrypt certificate. code-server itself listens on 127.0.0.1:8080 and should never be published. An editing session moves very little data, and VPS transfer is metered per plan rather than unmetered, but you would have to re-pull images and package caches with real dedication to approach 15 TB in a month.

Distance matters less than people expect.

04/06

How to deploy it with us.

There are two reasonable installs. The Debian package with its systemd unit runs code-server as your own user, sees every toolchain you install on the host, and upgrades with one dpkg -i; for a personal box it is the one we would choose. Docker pins the version and makes the IDE disposable, but the official image is a minimal Debian, so you end up maintaining a Dockerfile with your compilers in it.

  1. 01Deploy Standard with Debian 13: deploy Cloud VPS Standard.
  2. 02Create a normal user (adduser dev, then usermod -aG sudo dev), install your SSH key for it and set PasswordAuthentication no in sshd_config (more in cloud VPS).
  3. 03Install the package and start the service:
bash
VERSION=4.141.0 curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_amd64.deb sudo dpkg -i code-server_${VERSION}_amd64.deb sudo systemctl enable --now code-server@dev
  1. 04The first start writes ~/.config/code-server/config.yaml with bind-addr: 127.0.0.1:8080, auth: password and a random password. Replace the plain password with an argon2 hash (sudo apt install argon2, then echo -n 'your passphrase' | argon2 "$(head -c 12 /dev/urandom | base64)" -e), put the result in quotes under hashed-password:, delete the password: line and restart the service.
  2. 05Choose how you reach it. The SSH tunnel is Coder's own first recommendation and needs nothing else on the server: ssh -N -L 8080:127.0.0.1:8080 dev@<your-ip>, then open http://127.0.0.1:8080. For a tablet or a machine without SSH, point a domain at the VPS, install Caddy from its Debian repository and use this /etc/caddy/Caddyfile:
text
code.example.com { reverse_proxy 127.0.0.1:8080 }

Caddy obtains the certificate and passes WebSocket upgrades without extra configuration. A real certificate also matters for the editor itself: web views rely on service workers, which browsers only allow in a secure context, so a bare IP over plain HTTP breaks them.

  1. 06Allow only 22, 80 and 443 in nftables or ufw.
  1. 01

    code-server with Docker Compose

    yaml
    services: code-server: image: codercom/code-server:4.141.0 restart: unless-stopped user: "1000:1000" environment: DOCKER_USER: dev # every $ in the argon2 hash must be written as $$ HASHED_PASSWORD: "$$argon2i$$v=19$$m=4096,t=3,p=1$$REPLACE$$REPLACE" volumes: - ./config:/home/coder/.config - ./local:/home/coder/.local - ./project:/home/coder/project ports: - "127.0.0.1:8080:8080"

    Create the three directories as the dev user (UID 1000 on a fresh Debian) before the first docker compose up -d, and keep Caddy on the host as above. The 127.0.0.1: prefix on the port is not optional: Docker writes its own firewall rules for published ports, and a plain 8080:8080 would reach the internet regardless of what ufw says. Coder's FAQ suggests mounting /var/run/docker.sock to use Docker from inside the container; that socket is root on the host, so anyone who gets past the password gets the whole VPS.

05/06

Cost.

code-server costs nothing; you pay for the VPS. Standard is $12.99 a month with 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of transfer on a 1 Gbps port, and outbound port 25 open as on every VPS.

ItemPrice
Cloud VPS Standard$12.99/mo
Daily backups+20 % (theoretical total $15.59/mo)
Extra IPv4$2/mo
Priority support$10/mo
Yearly billingabout −25 % ($116.99/year)

Payment is in crypto only (Monero, Bitcoin, USDT, Ethereum, Litecoin and other coins), with prices and balances in US dollars, and business customers can pay the same way. 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; the unused part you paid for is refundable within 14 days. As a theoretical example, a $100 top-up becomes a $110 balance, about eight and a half months of Standard. No-KYC: an email address is enough to open an account, as described on the no-KYC hosting page. All plans are on the pricing page.

Some downsides are ours to state. We have one location, ALP1, so a developer in Singapore will feel every terminal round trip. Crypto-only billing suits some finance departments less than others. A team needs one VPS per person, because code-server has no user separation.

06/06

Limits and acceptable use.

You are the administrator of this box, and code-server is a shell in a browser. A leaked password or a proxy that forwards to the wrong address is a compromised server, and what a compromised server does, whether port scans, mail through the open port 25 or someone else's miner, is traffic from your VPS and your responsibility under our terms. Mining itself is permitted on our servers, so nobody will flag a miner as abuse on your behalf; one you did not start is the usual sign of an instance left listening on 0.0.0.0.

Third-party code in your repositories stays under its licence. Swiss law allows downloading a work for private use but excludes software from that rule, so a cracked SDK in your home directory is not covered, and making other people's work available online without permission is not allowed either. 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 the Copyright Act requires a host to prevent a work from reappearing only when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement.

If what you build here is a crypto-asset service, Swiss sanctions in force since 26 February 2026 prohibit providing it to Russian nationals, to people residing in Russia and to entities established there, subject to the exceptions in the ordinance; keeping those users out is your obligation. If the box holds production extracts with personal data, you remain the controller under the FADP. For anything not covered here, 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.

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
Can I use extensions from the Microsoft marketplace?

Not legitimately. The marketplace terms restrict its extensions to Microsoft's products, so code-server uses Open VSX. An extension that is missing there can usually be installed from a .vsix file with code-server --install-extension. If you depend on the official marketplace, Microsoft's own code serve-web is the better fit, under Microsoft's terms.

Will it feel slow from outside Switzerland?

Typing in the editor is local to your browser. From most of Europe the difference from a local editor is small; from another continent the terminal is where you notice it.

Can several people share one instance?

They can share the password, but they would share one Unix user, one home directory and one terminal history, with no way to tell who did what. Give each person a separate VPS; for larger teams the maintainers point to Coder, their product for provisioning per-user workspaces.

Can I run Docker from inside code-server?

With the Debian package, yes: install Docker on the VPS and add your user to the docker group, accepting that this group is equivalent to root. In the container setup you would mount the host's Docker socket, with the same consequence. Either way the password in front of code-server is now the password to the whole server.

How do I back up my workspace?

For the rest, such as the home directory, dotfiles and local databases, use the daily VPS backup option or send restic snapshots to an S3-compatible bucket on our object storage, which starts at $1.99 a month for 250 GB. Use restic or rclone against the S3 API; do not mount the bucket as a working directory.

How do I upgrade code-server?

Download the new .deb, run sudo dpkg -i and restart code-server@dev; with Compose, change the image tag and run docker compose up -d. Releases follow VS Code closely, so read the changelog for the occasional behaviour change.

Sources

Every fact on this page, with its source

Checked 4 Nov 2026 unless noted.

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.