Debian 12 (bookworm) VPS

Debian 12, bookworm, is the previous Debian stable release. It is now in its Debian LTS phase, which the project plans to run until mid 2028, and it is the right image when your software or your other servers are built for bookworm.

Image facts

Image
Debian 12
Type
Linux distribution, minimal install
Architectures
x86-64 and Arm64 (all four families)
Price
Free on every plan
Login
root over SSH with your key, or a one-time root password
Locations
All 15

Sizes that suit it

PlanWhySizePer monthOrder from
P1Single bookworm service matching your fleet1 vCPU, 1 GB RAM, 20 GB NVMe$3.95$47.40 for 12 months
P2Nginx, PHP 8.2 and MariaDB 10.11 together1 vCPU, 2 GB RAM, 40 GB NVMe$6.95$41.70 for 6 months
S4Upgrade rehearsal or a mid-size database2 vCPU, 4 GB RAM, 40 GB NVMe$4.25$51.00 for 12 months

Where is Debian 12 in its life cycle?

Debian 12 came out in June 2023 and became oldstable when trixie was released in August 2025. The Debian security team covers an oldstable release for about one more year, after which the Debian LTS team takes over a large set of packages. That handover is the stage bookworm reaches in 2026, and the LTS team publishes June 2028 as its planned end. An extended, commercially funded program can carry some packages further; the Debian wiki LTS and Extended LTS pages give the current details.

LTS updates come from the same security.debian.org source you already use, so no configuration changes are needed on your side, and apt upgrade keeps working as before. A few rarely used packages fall outside LTS coverage; run apt install debian-security-support and then check-support-status to see if anything you have installed is on that list.

What does bookworm ship that matters on a server?

Bookworm is built around 2023 versions, one generation behind trixie. The ones teams most often pin to:

ComponentDebian 12Debian 13
Kernel6.16.12
Python3.113.13
PHP8.28.4
PostgreSQL1517
MariaDB10.1111.8
OpenSSL3.03.5

MariaDB 10.11 and PostgreSQL 15 are both long-term upstream branches, which is one reason database admins stay on bookworm until a planned migration window. The bookworm-backports repository offers newer builds of selected packages if you need one newer tool without leaving the release.

Who should pick Debian 12 instead of 13?

Pick bookworm when you are matching something that already exists. Typical reasons:

  • You run a fleet of Debian 12 machines and want this server identical for configuration management with Ansible or Salt.
  • A vendor .deb, a hardware monitoring agent or a backup client lists bookworm and not trixie yet.
  • An application relies on PHP 8.2 or Python 3.11 behaviour and the code owner has not tested newer versions.
  • You want to rehearse the 12 to 13 upgrade on a copy before doing it in production.

For a server with no such tie, use Debian 13; it simply has more road ahead.

How do I set up and keep Debian 12 patched?

Bookworm uses the classic one-line sources file and needs a few packages added before daily work:

apt update && apt upgrade -y
apt install -y sudo ufw unattended-upgrades debian-security-support
grep -h ^deb /etc/apt/sources.list
check-support-status

The sources should list bookworm, bookworm-updates and bookworm-security. Keep the security line, since LTS fixes arrive there. Enable automatic installs with dpkg-reconfigure -plow unattended-upgrades, and set firewall rules through ufw or nftables as shown in our firewall guide.

How much RAM does Debian 12 need?

Bookworm is as light as trixie at idle, around 100~150 MB, and it keeps /tmp on disk rather than in memory. That last detail makes it slightly more forgiving on P1 for jobs that write large temporary files. A Debian 12 server with Nginx, PHP 8.2 FPM and MariaDB 10.11 runs well on P2 (1 vCPU, 2 GB RAM, 40 GB NVMe); a busy MariaDB with a big buffer pool belongs on S4 or larger.

Because nothing on bookworm will change version during LTS, memory use stays predictable for the life of the server, which helps when you size tight plans.

What runs well on a bookworm server?

Bookworm is a steady home for services whose configuration you already know by heart. Typical examples are Postfix and Dovecot mail relays set up years ago (ask support about outgoing port 25 and reverse DNS before moving mail), BIND or PowerDNS name servers, Nextcloud instances pinned to PHP 8.2, and MariaDB 10.11 replicas that must match the primary exactly. Replication between different MariaDB major versions works, but identical versions remove one variable when something goes wrong.

Debian 12 is also handy as a build target: if you ship .deb packages for customers still on bookworm, build them on a bookworm server so the library versions in the package match theirs.

How do I upgrade Debian 12 to Debian 13?

The 12 to 13 path is supported and documented in the trixie release notes. The short version, after a backup:

apt update && apt full-upgrade -y
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
apt update
apt upgrade --without-new-pkgs -y
apt full-upgrade -y
reboot

Disable third party repositories first and re-enable them with trixie entries afterwards. Plan for PHP 8.2 to 8.4 and a PostgreSQL 15 to 17 cluster upgrade with pg_upgradecluster. Turning on daily backups ($1.39 a month on P2) before you begin gives you a copy support can roll back to. If you would rather start clean, Rebuild installs Debian 13 directly and keeps the server's IP addresses.

Debian 12 questions

Is Debian 12 still getting security updates?

Yes, through Debian LTS, which the project plans to continue until June 2028. The updates arrive from the normal security repository.

Why does check-support-status list some packages?

A small number of packages are excluded from LTS or have limited support. The tool lists those you have installed so you can replace or isolate them.

Can I use bookworm-backports for newer software?

Yes. Add the backports line and install with apt install -t bookworm-backports <package>; only that package comes from backports.

Does Debian 12 run on Arm64 plans?

Yes, bookworm has an official Arm64 port and works on A4 and the other Arm plans.

Should I upgrade to Debian 13 before 2028?

Yes, well before. Upgrading while bookworm is still in LTS gives you time to fix anything the new versions break.

Start a Debian server

Choose Debian 12 when you create the server, or rebuild an existing one with it.