PocketBase fits in one file: SQLite database, authentication, files and a dashboard. On a Debian 12 VPS you run it yourself with systemd and an automatic HTTPS certificate.
PocketBase is not installed automatically and has not reached version 1.0 yet: the documentation warns that compatibility between versions is not ensured. Read the notes before every upgrade.
Choose the resources of your VPS
PocketBase runs on all our Linux VPS plans: you only pay for the VPS.
With your consent, we measure which ads bring us customers and how the site is used. Without it, nothing is measured and the site works exactly the same. You can change your mind at any time. Cookie policy.
Install PocketBase on a Debian 12 VPS: one executable, automatic Let's Encrypt HTTPS and a systemd service. SQLite database, auth and files.
PocketBase fits in one file: SQLite database, authentication, files and a dashboard. On a Debian 12 VPS you run it yourself with systemd and an automatic HTTPS certificate.
Step-by-step procedure
Order the VPS and connect
Order a VPS Mini running Debian 12, add your SSH key, then log in as root using the IPv4 address you receive.
Download PocketBase
Install wget and unzip, create the /root/pb folder, then download the linux_amd64 archive linked on the official site and extract it into that folder.
Point your domain
Create an A record (for example api.yourdomain.com) pointing to the VPS IPv4. It must resolve before the first start so the certificate can be issued.
Create the superuser
Create the admin account, replacing EMAIL and PASS with your credentials. You will use it to open the dashboard under /_/.
Run PocketBase with systemd
Create /lib/systemd/system/pocketbase.service from the documentation example, with ExecStart = /root/pb/pocketbase serve followed by your domain, then enable and start the service.
Choose the resources of your VPS
PocketBase runs on all our Linux VPS plans: you only pay for the VPS.
Recommended base: Debian 12
VPS Mini: €3.99 per month incl. VAT with a 1-year term (or €4.99 per month with no commitment) · 2 vCPU · 8 GB RAM · 40 GB storage
VPS Essentiel: €7.99 per month incl. VAT with a 1-year term (or €9.99 per month with no commitment) · 4 vCPU · 16 GB RAM · 80 GB storage
VPS Performance: €17.59 per month incl. VAT with a 1-year term (or €21.99 per month with no commitment) · 8 vCPU · 48 GB RAM · 150 GB storage
VPS Pro: €27.99 per month incl. VAT with a 1-year term (or €34.99 per month with no commitment) · 12 vCPU · 64 GB RAM · 250 GB storage
Why run PocketBase on a VPS?
PocketBase is an open source backend written in Go. A single executable provides a SQLite database with realtime subscriptions, user management, file storage, a REST API and an admin dashboard under /_/. It can also be used as a Go or JavaScript framework to add your own logic.
On a VPS, PocketBase needs neither Docker nor an external database: you copy the file, run it, and it creates its pb_data folder next to it. Given a domain name, it obtains a Let's Encrypt certificate by itself. It is a lean option for a prototype, an internal app or a small SaaS.
Automatic HTTPS on 80 and 443
On a bare Debian 12 the web ports are free. Started with your domain, PocketBase listens on 80 and 443 and fetches its own Let's Encrypt certificate.
Root and systemd
Root SSH access lets you place the executable, write the systemd service recommended by the documentation and raise the open-file limit for realtime.
Reserved resources
The vCPUs and RAM of VPS Mini belong to PocketBase alone. SQLite queries and realtime connections do not share the machine with other customers.
Backups of pb_data
All data lives in the pb_data folder. A VPS backup from the panel, before each upgrade, protects it in full.
Before you start
Good to know: PocketBase is not installed automatically and has not reached version 1.0 yet: the documentation warns that compatibility between versions is not ensured. Read the notes before every upgrade.
VPS running Debian 12 (bare system)
PocketBase is lightweight: VPS Mini leaves plenty of headroom
A domain name with an A record pointing to the VPS IPv4
Ports 80 and 443 open for HTTP and the certificate
An external SMTP service (port 587) for verification emails
Install PocketBase on your VPS
The main steps, to follow over SSH. The official documentation is the reference for the details.
Order the VPS and connect: Order a VPS Mini running Debian 12, add your SSH key, then log in as root using the IPv4 address you receive.
Download PocketBase: Install wget and unzip, create the /root/pb folder, then download the linux_amd64 archive linked on the official site and extract it into that folder.
Point your domain: Create an A record (for example api.yourdomain.com) pointing to the VPS IPv4. It must resolve before the first start so the certificate can be issued.
Create the superuser: Create the admin account, replacing EMAIL and PASS with your credentials. You will use it to open the dashboard under /_/.
Run PocketBase with systemd: Create /lib/systemd/system/pocketbase.service from the documentation example, with ExecStart = /root/pb/pocketbase serve followed by your domain, then enable and start the service.
For which projects?
Prototype backend
Internal application
Lightweight mobile app
Small SaaS
The essentials, included in every plan
No hidden extras for the essentials: protection, an IP address, a recovery console and support from real people are included from the first plan.
Anti-DDoS: Network protection is included on every service, with no paid option.
Dedicated IPv4: Each VPS has its own public address and full root access.
Recovery console: Take back control of your VPS with the noVNC console, even without SSH.
Support 7 days a week: By ticket and on Discord, from a team that knows your services.
No commitment: Monthly, cancellable at any time, or yearly to pay less.
Run PocketBase on your own VPS.
Choose your resources, install, stay in control. No commitment.
Frequently asked questions
How do I install PocketBase on a VPS?
On a Debian 12 VPS, download the Linux archive from the official site and extract it into /root/pb. Point your domain to the VPS, create a superuser, then run PocketBase with a systemd service whose command is pocketbase serve followed by your domain. It obtains its HTTPS certificate and the dashboard opens under /_/.
Which plan should I choose for PocketBase?
The documentation sets no hardware minimum. PocketBase is a single Go executable with SQLite, so VPS Mini (2 vCPU, 8 GB RAM, 40 GB) is a very good fit. Think about storage if your users upload many files: VPS Essential doubles the available space.
Is PocketBase free?
Yes. PocketBase is open source under the MIT licence, with no paid account or licence. You only pay for the VPS it runs on. There is no official cloud offering: self-hosting is the normal way to use it.
Do I need Docker or a reverse proxy?
No. PocketBase serves HTTP and HTTPS itself when you pass it a domain name, and handles the Let's Encrypt certificate. Docker is still an option, as the documentation shows, but on a bare Debian 12 a systemd service is enough and easier to follow.
How do I avoid the too many open files error?
With many realtime connections, PocketBase can hit the open-file limit. The documentation recommends setting LimitNOFILE = 4096 in the systemd service, or using ulimit -n 4096. If memory is tight, the GOMEMLIMIT variable also lets you set a soft limit.