X-Road Security Server hardware requirements and sizing

An X-Road Security Server needs at least 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk, but real sizing depends on message volume, log retention and database placement. This page explains how to size each part and what to confirm before you provision.

On this page

X-Road Security Server requirements: what to provision before installing

The documented floor for an X-Road Security Server is 3 GB of RAM (4 GB with monitoring add-ons) and 3 GB of free disk space, on Ubuntu Server 22.04 or 24.04 LTS on x86-64, or on Red Hat Enterprise Linux 8 or 9. That floor is a minimum, and it says nothing about the load a production server will carry. Treat it as the lowest specification the host can have before the installer runs, and provision above it from the start. Before you order hardware, confirm the operating system version against the Security Server installation guide and the release you plan to run. The current supported versions are 7.8.3, 7.7.4 and 7.6.5. Record the host OS, architecture, memory and disk in your build sheet so the security and platform teams review the same numbers.

The floor is only the start. The message log is the main driver of storage growth, so the real disk size depends on how many messages your members exchange, how large those messages are, and how long your retention policy keeps them. Ask your compliance or records team for the retention period before you size the volume, because the message log keeps growing for as long as messages are retained. Database placement changes the picture too. The Security Server requires PostgreSQL, either on the host or on a remote or managed service such as AWS RDS or Azure Database for PostgreSQL. A local database draws on the same memory and disk as X-Road, so budget for it explicitly and confirm with your database team how much headroom it needs. Decide placement now, because moving an existing server off its local database is separate work with its own risks.

Make three decisions before the host is built. First, decide whether you will run the monitoring add-ons, since that choice moves the memory floor from 3 GB to 4 GB. Second, decide whether signing keys will sit on a hardware security module through a PKCS#11 driver installed with the xroad-addon-hwtokens package, which supports RSA and EC keys. Confirm with your HSM vendor that its driver runs on your chosen operating system and version before you commit to that platform. Third, decide how many Security Servers you need from day one, because adding servers later changes the design and the operating model. Ask your partner or vendor for a written storage estimate based on your expected message volume and retention period, and keep that estimate with the build record so it can be checked after go-live.

Sizing decisions and when each option fits

This table compares the main sizing choices for a Security Server: the baseline host, monitoring add-ons, where PostgreSQL runs and how many servers you deploy. Read each row for the documented fact, its effect on the host, and the situation where it fits. The main takeaway is that the documented minimums are a floor, so confirm your own message log growth and availability needs before choosing.

OptionWhat it does to the hostWhen it fits
Baseline hostMinimum of 3 GB RAM and 3 GB free disk on a supported OS. Message logs grow beyond this minimum over time.Deployments without monitoring add-ons, with disk headroom you plan to watch as message logs grow.
Host with monitoring add-onsThe documented minimum rises to 4 GB RAM. Confirm whether the add-ons also need more disk.Teams that run the monitoring add-ons and want the documented RAM headroom for them.
PostgreSQL local to the hostDatabase files and processes share the host's RAM and disk with the Security Server.Single-host setups where your team already operates PostgreSQL and wants fewer components to manage.
PostgreSQL remote or managedDatabase storage and memory move off the host, adding a network path and credentials to manage.Organizations with existing managed PostgreSQL practices, such as AWS RDS or Azure Database for PostgreSQL.
Single Security ServerAll exchange traffic and sizing concerns sit on one host, with one set of resources to plan.Lower availability needs where one host meets the load and recovery expectations you confirm.
Additional Security ServersEach server needs its own host sized to the documented minimums, and each must reach its database.Higher availability needs or planned redundancy. Check the high availability topic for design limits.

What fills the disk on a Security Server

Four components share the disk on a Security Server, and they grow at different rates. The message log grows with traffic, the monitoring and configuration databases grow with services and retention, and the operating system grows with logs and packages. The published minimum of 3 GB free disk space is a starting point, so sizing should begin with measurements from your own environment.

Message log

The message log records every message the Security Server exchanges, so it is the main driver of disk growth. Its size follows traffic: estimate messages per day across your services, multiply by the average stored size per message, then multiply by the retention period your policy requires. Check the logging mode and retention settings in your configuration before you estimate, because they decide what is kept and for how long. Measure the log after a representative week of traffic.

Operational monitoring data

The opmonitor database holds operational monitoring records for the service calls that pass through the server, so it grows with call volume, the number of services and how long records are kept. Find the retention setting for monitoring data in your configuration and confirm its effect in the Security Server documentation. Monitoring add-ons also raise the memory minimum to 4 GB, so plan memory and disk together. Measure how much the opmonitor database gains per day under production call volume, then multiply by your retention window.

Configuration database

The serverconf database holds the Security Server's configuration: members, subsystems, services, access rights, clients, and the key and certificate references tied to them. It grows with the number of services and clients you publish and changes mainly when you register or reconfigure, so it usually stays small next to the message log. Record its size after registration and again after each new subsystem, and back it up before changes. Compare sizes before and after each batch of service changes so the growth rate is known.

Operating system and packages

The operating system, the X-Road packages and their logs share one disk, and it fills slowly from log files, package caches left by upgrades and any local backups kept on the host. If PostgreSQL runs on the same host, its data directory adds to the total, so moving the databases off the host changes the picture. Treat the published 3 GB free disk minimum as a starting floor, and set your own alert threshold from readings taken after a clean install and again after a package upgrade.

Installation guide

When to add Security Servers or move databases off the host

Keep one Security Server with a local PostgreSQL database while the exchange is a lab, a pilot or a limited production service, and the organization can accept a restart or restore window without disrupting partners. Plan the move when message volume grows, when partners expect the service to stay up through maintenance, or when a separate database team must own the serverconf, messagelog and opmonitor databases under its own change process. Write these triggers down before go-live, with a named owner for each, so the decision is made from measured load and agreed requirements.

A remote or managed PostgreSQL service takes database patching, backups and failover planning off the Security Server host, and it lets a team that already runs databases apply its own standards. The cost is a network path that must stay available, a database credential to rotate and a second system in every incident. Before you commit, confirm in the X-Road Security Server installation guide which PostgreSQL deployments are supported and how connections to the database are secured. Also confirm which team owns recovery objectives for the message log, because its growth is the main storage concern.

Adding a second Security Server removes the single point of failure, but it adds hosts to patch, back up and monitor, plus a load balancer and configuration that both servers must agree on. Each node needs its own alerts, or an outage on one server can hide behind a healthy neighbor. Decide the database placement first, since it sets the failure domain for every server that depends on it. Treat extra servers as a design change that needs its own review. The design limits of clustered Security Servers, including how they share a database and behave behind a load balancer, are covered in the high availability and load balancing content, and you should read that before you size the cluster.

How the Security Server, its databases and its network connections fit together

Read the diagram from left to right. Other member Security Servers reach the server on TCP 5500 for message exchange and TCP 5577 for OCSP, while information systems and administrators connect from the internal side on TCP 8080 or 8443 and TCP 4000. Everything inside the host boundary uses the host's memory and disk. The server keeps its three databases, serverconf, messagelog and opmonitor, in a PostgreSQL service that can run locally on the host or as a remote or managed service. The arrow leaving the database boundary is where database traffic crosses the network, so check which side of that line your database sits on before you size disk and network paths.

Security Server with its three databases, its ports and the database network crossing.

How to size a Security Server step by step

This sequence takes you from a supported operating system to a sized and verified Security Server. Each step names who decides, what to confirm, and the check that shows it is done. The output is a written sizing record that your infrastructure and integration teams can review before installation.

  1. Confirm the supported operating system and release line

    Choose Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9, and fix the X-Road release line before anything else is sized. The current release is 7.8.3, and the supported versions are 7.8.3, 7.7.4 and 7.6.5. Use 8.0.0 Beta 2 only for testing, since its production release is scheduled for December 2026. Your platform team owns this decision. Check it with cat /etc/os-release and uname -m, and record the output in the sizing record before you order capacity.

  2. Decide monitoring add-ons and plan memory

    Decide whether the monitoring add-ons will run on the Security Server. The minimum memory is 3 GB RAM without them and 4 GB with them, so plan from 4 GB when the add-ons run. Platform and operations owners should make this call together, based on the monitoring tools your organization already operates. Confirm the figures against the installation guide for your chosen release. Check after installation with free -h that total memory meets the figure you recorded.

  3. Estimate message volume and retention with owners

    Meet the owners of each service consumer and provider to estimate how many messages each Security Server will exchange and how long the message log must keep them. Message log growth is the main storage driver, so retention period and volume per service matter more than the base install footprint. Ask owners for peak and average request counts, average message size and their retention obligations. The output is a written volume and retention figure per server that feeds the disk calculation in the next step. Check it by confirming that each owner has signed off on the numbers.

  4. Size disk for the message log and databases

    Calculate disk for the message log and the other databases on the server, starting from the 3 GB free disk minimum and adding growth from the volume figure. The message log is the largest driver, so multiply the estimated message volume by the retention period, then add headroom agreed with operations. Size the serverconf and opmonitor databases separately from the message log. Confirm how the message log is archived before you rely on the estimate. Check with df -h on the mount points that hold the data, and confirm that free space exceeds the minimum with margin.

  5. Choose local or remote PostgreSQL and confirm backups

    Decide whether PostgreSQL runs on the Security Server host or on a separate server, including managed services such as AWS RDS or Azure Database for PostgreSQL. A remote database moves message log and database storage off the server but adds a network path that must stay available. Confirm with the database owner the storage capacity, backup schedule and restore test before installation. The output is a written database decision with storage and backup owners named. Check connectivity from the Security Server host with psql against the host and port you recorded.

  6. Decide how many Security Servers to run

    Set the number of Security Servers by weighing how many information systems and member subsystems each server will serve, and how much availability your organization needs. A single server is the simplest design, while additional servers need a load balancer and a clear plan for who maintains each one. Ask the platform team which outage your services can tolerate. The output is a named server count with the systems each server serves. Check it by mapping every planned service to a server and confirming that no service is left unassigned.

  7. Run post-install checks on memory, disk and ports

    After installation, run the checks that confirm the server matches the sizing record. Compare total and normal-load memory use with free -h against the floor you set. Check free space on every data mount with df -h, and confirm that the server reaches the database. Test reachability of TCP 5500 and 5577 from a host on the external network, and TCP 4000 and 8080 or 8443 from a host on the internal network, using nc -vz. The step is done when every check passes and the results are filed with the sizing record.

How X-Road Security Server sizing changes by deployment situation

A lab or test host exists to learn how the Security Server behaves, build integrations and rehearse configuration. The minimum requirements still apply to a package-based install on Ubuntu Server 22.04 or 24.04 LTS on x86-64, or on Red Hat Enterprise Linux 8 or 9, with at least 3 GB RAM and 3 GB free disk. The standalone Docker test image is not a production sizing reference. It is meant for trying X-Road and developing against services, so its resource use says little about how a production host will behave.

  • Requirements that apply: the 3 GB RAM and 3 GB free disk minimums for a package install, plus PostgreSQL, local or remote, because the server cannot run without a database.
  • Decisions that matter most: whether the host is disposable and kept out of any production trust configuration, and whether test certificates and identities stay separate from production ones.
  • Keep the test image in its place: do not size a production host from Docker Desktop or standalone image results. Use that environment for functional checks only.
  • What to measure: message log growth under your own test traffic, the steps that fail during registration, and any manual step you will need to script for production.

Before the production design is frozen, confirm that the lab results you carry forward came from a package-based install on the same operating system you plan to run in production.

Security considerations for host and storage sizing

Storage, database, key and access choices all decide what a Security Server holds and who can reach it, so settle them before you size the host. The four cards below cover one control each: backups of the message log, the database connection, hardware keys and admin access. Each one affects disk, memory, availability or the audit trail, so review them alongside the sizing estimate.

Protect message log backups

The message log records every exchange that passes through the Security Server, so its backups are evidence as well as data. Set the backup scope before sizing disk, since the log is the main driver of storage growth. Encrypt backup copies, restrict who can read or restore them, and keep them off the Security Server host. Test a restore into a clean environment and confirm that the archive keeps the records you need for dispute handling.

Secure remote PostgreSQL credentials

When the serverconf, messagelog and opmonitor databases run on a separate PostgreSQL server or a managed service, the network path and database credentials become part of the Security Server's attack surface. Allow only the Security Server host to reach the database port, and encrypt the connection in transit. Give the server its own database role with rights limited to its databases, store the password where only the service account can read it, and rotate it on a schedule you define. Confirm which TLS options your PostgreSQL version supports.

Check hardware security module support

X-Road supports hardware security modules through PKCS#11 drivers using the xroad-addon-hwtokens package, with RSA and EC keys. Before you order or repurpose a host, confirm that the vendor provides a PKCS#11 library for your operating system version and that the module is reachable from the Security Server as your design requires. Test signing with a non-production key before registration, because a faulty token setup delays certificate work. Check the installation guide for the supported package steps.

Installation guide

Restrict admin access by role

The Security Server defines five roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Give each admin account one role that matches its duties on that host, and keep system administration apart from the roles that approve configuration changes. Admin users authenticate through PAM. If you connect LDAP through SSSD, map LDAP groups to X-Road roles and review any local accounts that sit outside those groups. Apply the hardening guide's lockout and password guidance to both PAM and LDAP accounts.

Minimum password length
16 characters
Hardening guidelines

How much does X-Road Security Server sizing cost and what does it take?

How much does X-Road Security Server sizing cost?

DeployOpen does not publish a price list, so the cost comes from a written quote built on scope. The main cost drivers are how many Security Servers are in scope, whether the serverconf, messagelog and opmonitor databases run on a local PostgreSQL instance or a managed service, whether monitoring add-ons are included, and whether volume testing against your expected traffic is part of the work. Each extra server adds configuration and measurement effort, and each database choice changes who operates backups and patching. The sizing study is one-time work, while upgrades and continuous testing are recurring retainers. Your own costs for hosts, storage and database services are separate from the quote.

How long does X-Road Security Server sizing take to complete?

No duration applies until the written scope is agreed, because the timeline depends on what is measured. The main factors are the number of servers, whether traffic and retention data already exist, how many database layouts are compared, and how many volume test rounds the scope includes. Delays usually come from waiting on data, environment access, firewall changes or decisions about database ownership, so those dependencies should carry dates in the plan. Ask the quote for milestones with dependencies named, the test window, and what happens to the schedule if your team's inputs arrive late. Most engagements are fixed-scope, so the timeline is set in writing before work starts.

What data and access must our team provide for sizing?

Your team provides the traffic, retention and platform data that the sizing depends on, plus access to the test environment. In practice that means:

  • Expected message volume per Security Server, with peak periods, taken from existing service logs or forecasts.
  • Planned message log retention, since message log growth is the main storage driver.
  • OS and network standards, such as Ubuntu 22.04 or 24.04 LTS, or RHEL 8 or 9, plus firewall and monitoring rules.
  • Database ownership: who runs PostgreSQL, who handles backups and patching, and whether it is local or managed.

Confirm these owners before kickoff, because the sizing results depend directly on these inputs.

Can our internal team size an X-Road Security Server alone?

Yes, if the team has Linux administration and PostgreSQL skills, can run controlled load tests, and has time to repeat them after changes. The team needs to understand the minimum memory and disk figures in the installation guide, how message log and monitoring data grow over time, how the serverconf, messagelog and opmonitor databases are used, and how to read operational metrics under load. It also needs a repeatable test method that matches your traffic pattern. Plan for a second round of measurements after you add subsystems, raise volume or change the database layout. One option is an internal lead with outside review of the first baseline, and the right split depends on your staffing and timeline.

Are 3 GB and 4 GB RAM enough for production X-Road?

They are the published minimums to install and run the Security Server, and they are a starting floor rather than a sizing result for production. The Security Server installation guide lists a minimum of 3 GB RAM, or 4 GB with monitoring add-ons, and 3 GB free disk space on supported Ubuntu and RHEL systems. These figures do not account for your message volume, peak concurrency, message log retention or database placement. Use them as the floor for a test build, then measure memory use and disk growth under expected load before setting production capacity. Ask the sizing report to show measured headroom for memory, disk and database connections, along with the test profile that produced those numbers.

When should a Security Server move its database off the host?

Move the database off the host when backups, patching or availability needs outgrow the server it shares with the Security Server. The Security Server runs PostgreSQL either locally or remotely, including managed services such as AWS RDS and Azure Database for PostgreSQL, so the choice is an operations decision as much as a capacity one. A remote database lets a database team own backups and upgrades, but it adds network paths, credentials, connection settings and a migration step. Add a second Security Server when throughput or availability requires it, and treat load balancing and shared database design as a separate design task. Confirm supported PostgreSQL versions and connection settings in the installation guide before you decide.

What should a written X-Road sizing quote include?

Ask for a fixed-scope quote that lists each server, database, test and deliverable, with your responsibilities written beside DeployOpen's. Include:

  • Servers in scope, with their OS, role and location in your infrastructure.
  • Database layout, local or managed PostgreSQL, and who operates backups.
  • Monitoring add-ons included or excluded, and who maintains them.
  • Volume test scope: traffic profile, number of rounds, and the environment used.
  • Deliverables such as the sizing report, configuration baseline and retest.
  • Your team's dependencies with dates, and the change process if they slip.
  • Which costs are one-time and which are recurring retainers for support or upgrades.

Limits and what to confirm in your environment

These four checks sit between the documented minimums and a production server. Each one changes how much hardware you need, how long data stays on disk, or which version the plan must target. Confirm them in writing with your platform team, governance owner and archive owner before the sizing is signed off.

Documented minimums are floors

The installation guide's memory and disk figures set the floor for a Security Server that can start. Sizing for your traffic comes from volume-based sizing: message counts, payload sizes and the retention period. Estimate peak and average exchange rates for each service, then add headroom for monitoring add-ons, backups and log growth before you choose a virtual machine size or disk.

Installation guide

Check sizing against your 7.x version

The 7.x line is closing for new features. 7.8.0 is the last new-feature release of 7, released at the beginning of February 2026, and NIIS intends to keep issuing bug fixes and security patches beyond 2026. The length of that maintenance period has not been decided. Current supported versions are 7.8.3, 7.7.4 and 7.6.5, so confirm which one each server runs and check its sizing notes against that version. Track NIIS release notes before you commit to a hardware plan that must last several years.

X-Road releases

Do not reuse 7.x numbers for X-Road 8

X-Road 8 "Spaceship" is available as 8.0.0 Beta 2, with production scheduled for December 2026. It is positioned as a data space solution with its own platform and deployment model, including Kubernetes deployment and OpenBao for secrets. 7.x memory, disk and database figures do not carry over, so treat any sizing taken from the beta as provisional. Ask for the production hardware requirements before you order capacity.

X-Road GitHub repository

Confirm retention, logging and backups

The message log grows with every exchange, so message log retention and the logging mode set your storage budget more than most other settings. Ask your governance owner which retention period applies to exchanged messages and whether the logging mode meets your evidence needs. Ask your archive owner where older logs move. Database backups for the serverconf, messagelog and opmonitor databases also need a window that fits your change calendar and recovery targets. Record these answers in the sizing file before disks are provisioned, since changing them later means resizing storage.

How DeployOpen scopes and delivers X-Road sizing

DeployOpen plans X-Road Security Server hardware requirements and sizing as part of a fixed-scope engagement, starting from the platform, memory, disk and database choices your environment requires. The written scope sets out which servers are sized, whether monitoring add-ons are included and how the result is verified before go-live. Every design is built and documented inside your own infrastructure, so your team can review it against its capacity plan.

How we scope

  • The written scope names each Security Server and its Ubuntu 22.04 or 24.04 or RHEL 8 or 9 host.
  • Scope records whether monitoring add-ons are in use, since they raise the minimum memory from 3 GB to 4 GB.
  • Fixed-scope terms are agreed in writing before work starts, and a quote follows from that scope.

How we build

  • Confirm the PostgreSQL location, local or remote, including managed services such as AWS RDS or Azure Database for PostgreSQL.
  • Size disk for message log growth first, because message logging is the main storage driver on a Security Server.
  • Plan HSM access through PKCS#11 drivers and the xroad-addon-hwtokens package if keys live on hardware.

How we hand over

  • The handover can include a sizing record covering host specs, disk allocation, database location and open ports.
  • Port exposure is documented against the 5500, 5577, 4000, 8080 and 8443 listeners so firewall reviews can follow.
  • Your team receives configuration notes and runbook steps for reviewing capacity as message volumes change.

How we support

  • Retainers can cover upgrades, monitoring checks and capacity reviews as the Security Server grows.
  • Ask whether a retainer covers upgrades to supported 7.x releases, currently 7.8.3, 7.7.4 and 7.6.5.
  • Revisit sizing when adding servers or moving databases off the host, and agree that change in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.