Rocky Linux 9 VPS
Rocky Linux 9 is the RHEL 9 compatible release that most enterprise software still certifies against. With updates planned until 2032 it is a safe, well documented base for servers you want to leave alone for years.
Image facts
- Image
- Rocky Linux 9
- 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
Why is Rocky Linux 9 still a common choice?
Rocky 9 has the widest vendor support in the RHEL family today, because RHEL 9 has been out since May 2022 and most commercial packages have had years to certify on it. Rocky 9.0 followed in July 2022, and the project publishes May 2032 as the end of updates for the 9 series. Each minor release, from 9.0 onwards, arrives through ordinary dnf upgrade runs about twice a year.
In late 2026 the 9 series is in Red Hat's maintenance phase, which means security and important bug fixes rather than new features. For a server that should behave the same in 2030 as it does now, that is exactly the point. Configuration written today will still be valid on the last 9.x minor release.
How do module streams pick software versions on Rocky 9?
Rocky 9 ships a default version of each runtime and offers newer ones as module streams you select. The base system has kernel 5.14, Python 3.9, PHP 8.0, PostgreSQL 13 and Nginx 1.20, and AppStream adds later versions:
dnf module list php postgresql nginx
dnf module reset -y php
dnf module enable -y php:8.2
dnf install -y php-fpm php-mysqlnd php-cliPython 3.11 and 3.12 are separate packages (python3.11, python3.12) that install next to the system Python rather than replacing it. Check the stream end dates in the Red Hat application streams life cycle before you build on one, since some streams retire before the operating system does.
What should I know about SELinux on Rocky 9?
SELinux runs in enforcing mode, and learning three commands avoids almost every problem. When a service cannot read a file or open a port that looks correct, check the audit log and the label:
ausearch -m AVC -ts today
ls -Z /var/www/app
semanage port -a -t http_port_t -p tcp 8081
setsebool -P httpd_can_network_connect onContent you move into place with mv keeps its old label, so run restorecon -Rv /var/www after deploying. The setroubleshoot-server package writes plain-language suggestions into the journal. Rocky 9 also applies the DEFAULT system crypto policy, which rejects SHA-1 signatures, so very old SSH clients or certificates may need updating rather than weakening the policy.
How do I open ports and keep Rocky 9 updated?
Use firewalld zones for ports and dnf-automatic for patches. A typical web server needs:
firewall-cmd --permanent --add-service={http,https}
firewall-cmd --reload
dnf install -y dnf-automatic
systemctl enable --now dnf-automatic-install.timerThe dnf-automatic-install.timer unit downloads and applies updates each day. Kernel updates still wait for a reboot; dnf needs-restarting -r tells you when one is required. Add EPEL with dnf install epel-release and crb enable for tools like fail2ban.
How much RAM does a Rocky 9 server need?
A minimal Rocky 9 install idles at roughly 250~350 MB, slightly below Rocky 10 because of older, smaller components. That fits P1 for a single service, though firewalld and dnf metadata downloads can briefly push memory up during updates, so a 1 GB swap file is a sensible addition there.
For MariaDB or PostgreSQL with an application, use P2 or S4. Control panels and Java application servers are happiest from S8 (4 vCPU, 8 GB RAM, 80 GB NVMe) upwards.
When is Rocky 9 the better pick than Rocky 10?
Choose 9 when compatibility outweighs freshness. A vendor's support matrix that stops at RHEL 9, an Ansible role tested only on EL9, modules you depend on, or a need to run the same disk on older x86-64-v2 hardware all point to 9. Rocky 9 also has a larger stock of answered questions and blog posts, since it has been in production use for longer.
If nothing ties you to 9, Rocky Linux 10 gives you three extra years before the next migration.
How do I move from Rocky 9 to Rocky 10?
Rocky Linux recommends a fresh installation for major version changes, so plan a rebuild rather than an in-place upgrade. Export databases, archive /etc and your application directories, and copy them to another machine. Then use the console Rebuild action with Rocky Linux 10: the disk is wiped and reinstalled, while the server keeps the same IPv4 and IPv6 addresses, so DNS does not change.
If you want a safety net, enable daily backups first ($0.85 a month on S4); support can restore a copy by date if the move goes wrong. Alternatively, order a second server, migrate at your own pace and delete the old one; our moving guide shows the rsync steps.
Rocky Linux 9 questions
How long is Rocky Linux 9 supported?
The project publishes May 2032 as the end of life for the 9 series.
Which PHP version does Rocky 9 install?
PHP 8.0 by default. Enable a newer stream with dnf module enable php:8.2 before installing.
Should I disable SELinux to make my app work?
No. Read the AVC denial with ausearch, then fix the file label or set the matching boolean. Keeping SELinux on protects the server if the app is compromised.
Can Rocky 9 run on Arm plans?
Yes, Rocky 9 has an aarch64 build that runs on A4 and larger Arm plans.
Why does my old SSH client fail against Rocky 9?
The DEFAULT crypto policy rejects SHA-1 based keys and signatures. Update the client or switch to an ed25519 key rather than lowering the server policy.
Is Rocky Linux 9 the same as RHEL 9?
It is built from the same sources and aims for full compatibility, without Red Hat branding or a subscription.
Other images
Ubuntu 24.04 LTS
Ubuntu 22.04 LTS
Debian 13
Debian 12
Rocky Linux 10
AlmaLinux 10
AlmaLinux 9
CentOS Stream 10
Fedora 43
openSUSE Leap 15.6
Docker CE on Ubuntu 24.04
WordPress on Ubuntu 24.04
Coolify on Ubuntu 24.04
Nextcloud on Ubuntu 24.04
WireGuard on Ubuntu 24.04
GitLab CE on Ubuntu 24.04
Prometheus and Grafana on Ubuntu 24.04
Start a Rocky Linux server
Choose Rocky Linux 9 when you create the server, or rebuild an existing one with it.