Log inSign up

Alpine Linux VPS: the smallest footprint we offer

Alpine Linux is built from musl libc and BusyBox and boots into a few dozen megabytes of RAM. On a 1 GB plan it leaves almost everything for your own service, which is why people deploy it for proxies, relays and tiny APIs.

Alpine Linux 3.20 on BitcoinVPS

ItemValue
ImageAlpine Linux 3.20
TypeOperating system, clean 64-bit install
PriceIncluded with every plan
PlansAll 34 plans in all 32 cities
Accessroot over SSH, with your SSH keys or the root password shown in the console
Switch laterReinstall from the server Settings tab (erases the disk)

What is Alpine 3.20 and how is each release supported?

Alpine publishes a stable branch twice a year, in spring and late autumn. Each branch receives main repository fixes for two years; the community repository is maintained until the next stable release. Alpine 3.20 was released in May 2024, so by that plan its main repository support ended in spring 2026. Upgrading is quick: change the version in /etc/apk/repositories to a current branch listed on the Alpine releases page, then run apk upgrade --available and reboot. Do it right after deploy, before data lands on the server.

What are the first commands on Alpine?

apk update
apk upgrade
apk add bash curl nano htop
apk search -v nginx
cat /etc/alpine-release

The package manager is apk, and it is fast: installs complete in seconds. Repositories are listed in /etc/apk/repositories; uncomment the community line if a package you need lives there. Default shell is BusyBox ash, so install bash if your scripts depend on it.

How does OpenRC differ from systemd?

Alpine uses OpenRC, not systemd. Commands are short and readable:

rc-update add nginx default
rc-service nginx start
rc-service nginx status
rc-status

Service scripts live in /etc/init.d/ and settings in /etc/conf.d/. Logs usually go to syslog in /var/log/messages instead of a journal. If you follow a guide that says systemctl enable, translate it to rc-update add.

How do I firewall an Alpine server?

Install nftables or iptables and save the rules so they load at boot. With nftables:

apk add nftables
rc-update add nftables boot
nano /etc/nftables.nft
rc-service nftables start

Alpine also has awall, a policy front end that writes iptables rules from JSON files, which some admins find easier to version in Git. As on every image, there is no network firewall in front of the instance, so these rules are what protects it.

Plans that suit Alpine Linux

PlanWhySizeMonthlyOrder from
F1-1Edge proxy or relay on one fast core1 vCPU, 1 GB RAM, 32 GB NVMe$3.60/mo$43.20 for 12 months
A1-1Relay or VPN endpoint with extra transfer1 vCPU, 1 GB RAM, 25 GB NVMe$3.60/mo$43.20 for 12 months
I1-2Go or Rust API with a small database1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months
A2-2Two cores and 4 TB for busy proxy traffic2 vCPU, 2 GB RAM, 60 GB NVMe$10.80/mo$64.80 for 6 months

How much memory does Alpine use, and which plan?

A fresh Alpine instance with SSH, a cron daemon and syslog uses well under 100 MB, often around 50 to 70 MB. That makes the 1 GB plans unusually capable: F1-1 runs an HAProxy or Nginx edge, a Tor relay or a Shadowsocks endpoint with room to spare; A1-1 adds 2 TB of monthly transfer for relay traffic. For a Go or Rust API with a small database, 2 GB on I1-2 is plenty.

What should I watch out for with musl?

musl is a different C library from the glibc used by nearly every other distribution. Programs built for glibc, including many prebuilt binaries downloaded from project release pages, may not run on Alpine. Prefer packages from apk, statically linked binaries (common for Go projects), or build from source. Python wheels for musl are now widely published, but large scientific packages sometimes still compile from source, which takes time and memory. If a vendor only ships glibc binaries, deploy Debian instead.

What runs best on Alpine?

  • Edge proxies: Nginx, HAProxy, Caddy as reverse proxies with automatic HTTPS.
  • VPN and relay endpoints: WireGuard tools with apk add wireguard-tools, Tor relays, SOCKS proxies.
  • Static Go or Rust services such as webhook receivers or price feeds.
  • DNS: Unbound or dnsmasq on a server that does nothing else.

How do I add a user, and where should an Alpine relay live?

Alpine keeps user management minimal. Create a user with adduser yourname, install doas (a small sudo alternative) or sudo with apk, and add a rule such as permit persist :wheel in /etc/doas.d/doas.conf after adding the user to the wheel group with addgroup yourname wheel. Copy your public key into /home/yourname/.ssh/authorized_keys, set the folder to mode 700 and the file to 600, then turn off password login in /etc/ssh/sshd_config and run rc-service sshd restart. Keep the original root session open until the new login works.

Relays and VPN endpoints are about location. Put one where your traffic should appear to come from or where your users are: Amsterdam and Stockholm for northern Europe, Singapore for South East Asia, Miami for Latin American routes, or Santiago for the Pacific coast of South America. The 1 GB plans sell on a single 12 months invoice of $43.20, paid in BTC, LTC, USDT or any other listed coin.

Before you deploy Alpine Linux 3.20

Does Alpine use systemd?

No. Alpine uses OpenRC. Use rc-update and rc-service instead of systemctl.

Why will a downloaded binary not run on Alpine?

It is probably built for glibc. Install the package with apk, use a static build, or deploy a glibc distribution such as Debian.

Is Alpine 3.20 still supported?

Its main repository support was planned for two years from May 2024. Change the branch in /etc/apk/repositories to a current release and run apk upgrade --available.

How small is Alpine in memory?

Usually well under 100 MB after boot, the lowest of all our images.

Can I run Docker on Alpine?

Yes: apk add docker, rc-update add docker default, rc-service docker start. For a ready Docker setup on Ubuntu, use the Docker image.

Where are the Alpine logs?

Most services log through syslog to /var/log/messages. Some daemons write their own files under /var/log.