Installing OpenMetadata on bare metal

A practical guide to installing OpenMetadata on virtual machines without Kubernetes, covering prerequisites, configuration files, sizing, security and running ingestion alongside the server.

On this page

When installing OpenMetadata on bare metal fits your environment

Bare metal means running the OpenMetadata Java server, its database and its search service directly on virtual machines you control, with no container orchestrator in between, as the official bare metal deployment documentation describes. This fits a platform team that must keep the catalog inside its own network, has VM capacity and configuration management in place, and has no Kubernetes cluster available or wanted. The install gives you full control over the operating system, the Java runtime, the database and search versions, and the file-based configuration, so changes follow the patching and change processes you already run for other servers.

Bare metal is usually preferable to Kubernetes when the team already operates VMs well, when a single cluster would be the only reason to adopt Kubernetes, or when the organization's standards require a fixed, auditable host inventory. Docker suits local trials, and the Kubernetes Helm route suits teams with an existing cluster and the people to run it. Bare metal shifts more work to you: you own the Java 21 runtime, database and search upgrades, service restarts, backups and capacity decisions. Ask your team who will carry those duties for the life of the catalog before choosing this path.

Before committing, confirm three things in your own environment: that your VMs meet the documented minimum sizing for the server, database and search hosts, that your chosen database and search versions appear in the current version matrix, and that you can run ingestion on a host that can reach your data sources. Your security team should also confirm how the catalog will be reached, since SSO and access settings are configured on these same hosts. Written answers to these questions will show whether bare metal is a good fit or whether a different deployment path will lower the operating effort.

Prerequisites to check before installing OpenMetadata on VMs

Bare metal installs put every prerequisite on a machine you manage, so the runtime, database, search engine and sizing have to be settled before the first package is installed. The cards below cover the documented minimums and the checks that should happen before you commit to a VM plan.

Java 21 runtime

OpenMetadata's bare metal path requires Java 21 on the server that runs the application. Install a Java 21 build your operations team can patch, and confirm the JVM your operating system package manager provides matches what the release notes for your target version expect. Mixing Java versions across servers in the same environment is a common source of failed starts, so pin the version in your configuration management and record it in the install runbook.

Bare metal docs

Database version floor

The metadata store can run on MySQL 8.0.42 or later, or PostgreSQL 15 or later. Choose one engine before building the server, because the schema and backup tooling follow that choice. If you plan to use a managed database service, confirm that its offered version meets the floor and that its patch cadence will not push you below it later. Ask your database team who owns backups and restore tests for this instance.

Search engine choice

Search runs on Elasticsearch 9.x or OpenSearch 3.x. Pick one before you size the VM, since the two products have different licensing, managed service options and operating habits in your environment. Confirm the exact minor version against the current release notes for the OpenMetadata version you plan to install, because search compatibility is one of the first things to break during an upgrade. Note any known engine bugs listed for your chosen line before you commit.

Search major versions
9.x or 3.x

Server sizing minimums

The OpenMetadata application server has a documented floor of 2 vCPUs, 4 GB RAM and 20 GB storage. This is the minimum to start the service, not a production size. Treat it as the lower bound when you request capacity from your virtualization or cloud team, and plan separate headroom for ingestion runs, which compete for the same CPU and memory when they run on the same host.

Bare metal docs

Database and search sizing

The database and the search service each have a documented minimum of at least 2 vCPUs, 2 GB RAM and 30 GB storage. Search index growth and database size both depend on how many assets you ingest and how much profiling you enable, so the storage floor will be reached quickly in a large catalog. Ask your platform team to set storage alerts and to confirm whether volumes can be expanded online before go-live.

Confirm versions and size for production

Treat the minimums above as a starting point for a test install, not a production plan. Before go-live, check the version matrix in the current release notes for the OpenMetadata version you will deploy, confirm the search and database versions it supports, and size each tier from your expected asset count, ingestion schedule and user load. Record the chosen versions in the runbook so that the upgrade path is planned from day one.

2.0 release notes

Choosing the database, search engine and host layout

This table compares the documented database and search options for a bare metal OpenMetadata install, and the choice to co-locate services or split them across hosts. Read each row against your backup tooling, patch window and on-call model. The main takeaway is that the database and search choices matter less than how many hosts you run and who patches each one.

DecisionOptionWhen it fitsWhat it changes for backups, patching and effort
DatabaseMySQL 8.0.42 or laterYour team already runs MySQL 8.x with tested backup and restore toolingConfirm the exact minor version against the bare metal prerequisites before install. Backups and point-in-time recovery follow your existing MySQL runbook.
DatabasePostgreSQL 15 or laterYour team standardizes on PostgreSQL and has tested recovery for itConfirm the supported major versions in the OpenMetadata docs. Plan major upgrades as a separate change with its own rollback point.
SearchElasticsearch 9.xYour organization already licenses and operates Elasticsearch 9.x under a supported policyCheck the license terms for your use and the supported minor versions. Snapshot and restore must be tested against this cluster.
SearchOpenSearch 3.xYou want an Apache-licensed search engine or already run OpenSearch 3.xConfirm the exact supported 3.x versions with the OpenMetadata docs, since some 3.x releases have known issues in this area. Plan snapshot repositories and reindexing after upgrades.
Host layoutAll services on one VMTrial, proof of concept or a small internal catalog with a short recovery targetLowest number of machines to patch, but one failure takes down the server, database and search together. Minimum sizing in the docs is 2 vCPUs and 4 GB RAM for the server, so budget more for real use.
Host layoutSplit across separate hostsProduction use where the database or search must be patched, restarted or restored without stopping the serverMore machines, OS patching, certificates and firewall rules to maintain. Each database and search host needs at least 2 vCPUs, 2 GB RAM and 30 GB storage per the docs.
Host layoutServer and ingestion on separate hostsHeavy or frequent ingestion that could starve the API server of CPU or memoryIngestion runs need their own sizing and credentials. Confirm the ingestion runner requirements in the bare metal docs before placing it beside the server.
Operating effortCo-located vs splitDepends on your patch cadence and recovery targetsAsk your partner to quote backup testing, upgrade rehearsal and monitoring for each host you add, since those recur on every release.

How to install OpenMetadata on bare metal step by step

This sequence takes a set of virtual machines from bare operating systems to a running OpenMetadata server that answers health checks and accepts a first login. Each step ends with a check you can run before moving on, so faults surface where they are cheapest to fix.

  1. Prepare the virtual machines and network paths

    Provision one VM for the OpenMetadata server and separate VMs or managed services for the database and search engine, sized at or above the documented minimums of 2 vCPUs, 4 GB RAM and 20 GB storage for the server, and 2 vCPUs, 2 GB RAM and 30 GB storage for each of the database and search services. Confirm the server can reach the database and search ports, and that users reach the server port through your load balancer or firewall. Done means you can open a TCP connection from the server to both backing services and the operating system is patched and time-synchronized.

  2. Install Java 21 on the server

    Install a Java 21 runtime on the OpenMetadata server VM using your operating system's package source or your approved JDK distribution, and set JAVA_HOME for the service account. Run the Java version command as the account that will start the service, not only as root, because the two can resolve to different installations. Done means the reported version is 21 for that account.

  3. Provision the database

    Create a MySQL 8.0.42 or later, or PostgreSQL 15 or later, instance on a VM or managed service, then create an OpenMetadata database and a dedicated user with only the privileges the installer and server need. Record the host, port, database name and credentials in your secrets store, not in shell history. Done means a client connection as that user succeeds and the database version matches the documented minimum. Confirm with your DBA how backups and point-in-time recovery will run before go-live.

  4. Provision the search service

    Install Elasticsearch 9.x or OpenSearch 3.x on its own VM, enable TLS and authentication, and create a service user with the access OpenMetadata needs to manage its indexes. Check that the cluster reports green or an acceptable yellow state with the health endpoint, and that the node has the storage and memory required for the index volume you expect. Done means an authenticated request to the cluster health endpoint returns a healthy status from the server VM.

  5. Obtain the OpenMetadata release

    Download the OpenMetadata release package that matches the version you have chosen from the project's releases page, and verify its checksum or signature against the value published with that release. Unpack it into the directory your service manager expects, and keep the version recorded for your upgrade log. Check the 2.0 release notes before selecting a 2.x version, since they list breaking changes for custom ingestion images and connector credentials. Done means the package unpacks cleanly and the version number matches your selection.

  6. Edit the configuration files

    Set the database connection, search connection, authentication provider and server settings in the configuration file shipped with the release, typically by pointing values at your database and search hosts and supplying credentials through environment variables. For SSO, select one provider only, since OpenMetadata does not run SSO and basic authentication together. Set the public URL that users will type, because login redirects depend on it. Done means the file parses without errors and every key you changed is documented in your change record.

  7. Run the database migration and start the service

    Run the bundled migration step so the schema is created or upgraded before the server starts, then start OpenMetadata under a service manager such as systemd with a dedicated non-root account, restart on failure enabled, and logs directed to your central collector. Ingestion can be installed on the same VM or a separate runner, but keep its credentials separate from the server configuration. Done means the migration reports success and the service is active with no fatal errors in the first startup log.

  8. Verify health and first login

    Query the server health endpoint from the server and from a client network, confirm the database and search connections are reported healthy, then sign in with the first administrator account through the chosen authentication method. Run one small test ingestion from a known source to confirm that metadata reaches the search index and appears in the UI. Done means health reports healthy from both networks, the administrator can sign in, and the test entity is searchable. Record these results as your baseline before connecting production sources.

What the configuration files control and where they go wrong

The configuration files on a bare metal OpenMetadata install decide how the server finds its backing services, how users reach it and how it handles credentials, so most first-start failures trace back to a few settings. The main areas are the database connection, the search endpoint, the server base URL, authentication and secrets. Confirm the exact file names, section names and keys against the OpenMetadata bare metal deployment docs for the release you install, because the documented structure is what the server reads. Do not rely on keys copied from older blog posts or forum answers.

The database and search settings are the most common cause of a failed start. The server must point at the same MySQL or PostgreSQL instance and the same Elasticsearch or OpenSearch cluster that the installer prepared, with matching host, port, database name and credentials. A host that resolves differently from the server than from the shell used during setup, a search endpoint using the wrong scheme, or a database user without rights on the OpenMetadata schema will each stop the service before it serves any page. Check each connection from the server host with the same credentials before editing the server configuration, and keep one record of the values so the database, search and server files stay in step.

The server base URL and authentication settings cause the second group of problems. The base URL must match the address users type in the browser, including protocol and port, or redirects and SSO callbacks fail after login. Authentication must also match the identity provider's registered redirect and client details, and OpenMetadata does not support combining SSO with basic authentication, so pick one mechanism before go-live. Store secrets such as database passwords, OIDC client secrets and search credentials outside the plain configuration where the documentation allows it, restrict file permissions to the service account, and record which file holds each value so a rotation does not leave the server with an old password.

How the server, database, search and ingestion runner fit together

The diagram starts with users reaching the OpenMetadata server through a reverse proxy or load balancer in the user network. The server reads and writes its state in the database and indexes metadata in the search service, both on the server network. The ingestion runner sits on its own VM, pulls metadata from data sources across a separate boundary, and writes results back to the server. Check that each arrow crosses only the boundary you have approved, and that the runner's credentials can reach the sources but not the database directly.

Trust boundaries between user, server and data source networks for a bare metal install.

Running ingestion alongside the bare metal server

Can I run OpenMetadata ingestion on the same VM as the server?

Yes, the ingestion package can run on the server VM, but it competes with the server, database and search services for CPU and memory. The documented minimum server sizing is 2 vCPUs, 4 GB RAM and 20 GB storage, with the database and search services each needing at least 2 vCPUs, 2 GB RAM and 30 GB storage, so those minimums cover the platform alone, not extraction jobs. Most teams place ingestion on a separate VM or runner so a heavy metadata pull cannot slow the UI or API. Confirm your own sizing against your source volume before deciding.

What Python version does the ingestion package need on a bare metal VM?

Check the ingestion package requirements for the exact Python version that matches your OpenMetadata release before installing. OpenMetadata 2.0 moved its ingestion images to Python 3.12 with Apache Airflow 3.3.0, so teams building custom ingestion images must rebuild them for Python 3.12. Use an isolated virtual environment per ingestion host so connector dependencies do not conflict with system Python. Pin the ingestion package to the same release as the server, because version drift between the two is a common source of failed runs.

How do I schedule ingestion runs on a bare metal host?

Scheduling is outside the server itself, so you choose a mechanism on the ingestion host. Options include a cron entry or systemd timer that runs the ingestion workflow from a YAML configuration, or a separate orchestrator. Whichever you pick, record each run's exit status and log location, and alert on failures rather than relying on the UI. For the orchestration trade-offs, including Airflow, Kubernetes and external schedulers, read the sibling ingestion topics, which compare them in depth.

Where should database and connector credentials be stored for ingestion?

Do not place source passwords directly in YAML files checked into a repository or left readable on the VM. Keep credentials in a secrets manager you already operate, inject them as environment variables at run time, and restrict the file permissions of any configuration file that must exist on disk. Use a read-only metadata role for each source, scoped to the schemas you intend to catalog. Rotate these credentials on the same schedule as other service accounts, and confirm how your chosen secrets tool integrates with the ingestion host.

Does running ingestion beside the server create a security boundary issue?

It can. An ingestion host holds source credentials and network paths into your warehouses and databases, so it needs its own access policy, separate from the people who administer the OpenMetadata server. Restrict outbound connectivity to the sources it reads and to the OpenMetadata API it writes to. Review the trust model in the security documentation before deciding which hosts can reach which services, since placing both roles on one VM widens the blast radius of any compromise.

What are the trade-offs of running ingestion on a separate VM instead?

A separate ingestion VM isolates heavy extraction, makes resource use easier to size, and limits which hosts hold source credentials. The costs are an extra machine to patch, monitor and back up, a second Python environment to keep aligned with the server release, and more network rules to maintain. A single-VM setup is simpler to start with but couples ingestion failures and load to the server. Ask your team which operating effort they can sustain before choosing.

Can DeployOpen set up and document the ingestion host for us?

DeployOpen implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, so setting up the ingestion host, its credential handling and its scheduling can be written into a fixed scope. The scope, deliverables and timeline are agreed in writing before work starts, and the quote follows from that scope. Ask for the ingestion host, source list and scheduling method to be named explicitly in the scope document.

Securing the VM deployment before wider access

A bare metal OpenMetadata install holds metadata about your whole data estate, and the server, database and search service each need protection before more people sign in. The cards below cover the host, the TLS edge, where the backing services sit, how secrets reach configuration files, and how authentication is chosen. Work through them in order before opening the catalog to the wider company.

Harden the host operating system

The OpenMetadata server, MySQL or PostgreSQL, and Elasticsearch or OpenSearch are often installed on the same type of virtual machine, and each one widens the attack surface. Apply your organization's baseline for the operating system, restrict local accounts, enable host firewall rules that allow only the ports each service needs, and keep the Java 21 runtime patched. Ask your security team which hardening benchmark they already apply to Linux servers and confirm it covers all three hosts.

Security docs

Terminate TLS in front of the server

Users and browsers should reach OpenMetadata only over HTTPS, so decide where certificates are installed and renewed before go-live. Many teams terminate TLS on a load balancer or reverse proxy in front of the server, which keeps certificate handling in one place. Confirm which certificate authority your organization uses, who owns renewal, and how internal clients will trust the chain.

Place the database and search service

Only the OpenMetadata server should talk to the database and the search service, so put both on a private network segment with no public address. Allow inbound connections from the server's address only, and block direct access from user workstations. Confirm with your network team that ingestion runners and connector sources can still reach the services they need, because those paths are often forgotten during placement.

Keep secrets out of plain configuration

Database passwords, search credentials and OAuth client secrets typically start in the server configuration file, where anyone with read access to the host can see them. Restrict file permissions so only the service account can read the configuration, and avoid copying it into tickets, shared drives or backups without encryption. Ask your team how these values will be rotated and whether they can be injected from your existing secrets tool instead of stored on disk.

Bare metal docs

Choose one authentication mechanism

OpenMetadata does not support combining SSO with basic authentication, so you must pick one mode for the deployment. Choosing SSO early avoids creating local accounts that later need to be migrated or removed. Plan your identity provider integration before the first user signs in, and confirm that administrator access works through the chosen provider.

Security docs

Pick a supported SSO provider

The security docs list SSO with Auth0, Azure, Google, Okta, Amazon Cognito, OneLogin, Keycloak and custom OIDC providers. Choose the provider your workforce already uses, then confirm the client registration, redirect addresses and group claims with the identity team. Test one administrator and one standard user before opening access, since a misconfigured redirect is a common cause of lockouts.

SSO provider list

How much effort does a bare metal OpenMetadata install take?

Can our own team install OpenMetadata on bare metal without outside help?

Yes, if you have people comfortable running Java services, a supported relational database and a search cluster on virtual machines. The documented bare metal path requires Java 21, MySQL 8.0.42 or later or PostgreSQL 15 or later, and Elasticsearch 9.x or OpenSearch 3.x, plus configuration of the server and its connections. The effort rises sharply if nobody on the team has operated those components before, because installation is only the start. Upgrades, backups, search reindexing and authentication troubleshooting recur, so ask whether the team can own those tasks after go-live.

What drives the effort of a bare metal OpenMetadata install?

The main drivers are the number of virtual machines, the database and search choices, the identity integration and the ingestion design. Each additional server role, such as a separate ingestion runner, adds configuration, patching and monitoring work. A managed database or managed search service removes some operating tasks but adds network and permission setup. SSO requires an identity provider you control or can register an application with, and OpenMetadata does not run SSO and basic authentication at the same time, so that decision should be made early. Ingestion scheduling, source credentials and the number of connectors also change the work.

What does the work need from our environment before installation starts?

Plan for access and inputs before any software is installed:

  • Virtual machine access, including operating system versions, sudo or root rights for the install, and network rules between the server, database, search cluster and ingestion runner.
  • DNS records for the public hostname and certificates that your browsers trust.
  • Identity provider access, such as an application registration in your SSO product and the group or claim mappings that decide who is an administrator.
  • Source credentials for each warehouse, BI tool or pipeline system, created with read permissions that your data owners approve.

Missing any of these typically stalls the schedule more than the installation itself, so confirm them in writing before work begins.

What does a fixed-scope DeployOpen engagement cover for bare metal?

A fixed-scope engagement covers work agreed in writing before it starts: the target architecture, installation on the virtual machines you provide, configuration files, database and search connection setup, SSO integration for the identity provider you name, and running ingestion alongside the server. Deliverables, timelines and acceptance checks are set in the scope document, and a quote follows from that scope. Ongoing upgrades, backups and continuous testing are separate retainer work. Ask for the list of excluded items, such as connector development or custom ingestion images, so you can compare the scope with your own plan.

What does a bare metal install cost, and what is one-time versus recurring?

Costs fall into four groups: the virtual machines and storage, the database and search services, the labor to install and configure them, and the labor to operate them afterward. Infrastructure costs recur monthly or annually depending on your provider, and the labor to upgrade and patch recurs with each OpenMetadata release. Installation labor is largely one-time. Ask any vendor or partner for a quote that lists each component, who pays for it, and which items recur. DeployOpen does not publish a price list, so the quote follows from the written scope.

Does bare metal take less effort than Kubernetes for OpenMetadata?

It depends on your existing skills and infrastructure. Bare metal avoids a cluster layer, so teams that already run virtual machines and have database administrators may find fewer moving parts to learn. Kubernetes brings its own operating effort, including cluster upgrades and ingress, so it is not automatically the heavier path. Compare the two by listing the skills your team already has and the tasks each option adds to your on-call rota. The documented minimum server sizing is 2 vCPUs, 4 GB RAM and 20 GB storage, with the database and search services each needing at least 2 vCPUs, 2 GB RAM and 30 GB storage, but production sizing should be checked against your data volume.

What goes wrong most often during a bare metal OpenMetadata install?

The most common problems are version mismatches, network rules that block the server from reaching the database or search cluster, and identity configuration errors. Confirm that Java 21 is installed, the database and search versions meet the documented minimums, and both services are reachable from the server before editing configuration files. Test SSO with a single account before opening access to the company. Also confirm that ingestion can reach each source with its own credentials, since failures there often appear after the server looks healthy. Check the documented version notes before any upgrade, because release notes list breaking changes between major versions.

How DeployOpen delivers a bare metal OpenMetadata install

DeployOpen plans, installs, configures and documents self-hosted OpenMetadata inside your own virtual machines, databases and search clusters. Each engagement starts with a written scope that names the hosts, prerequisites, identity setup and ingestion plan before any installation work begins.

How we scope

  • Inventory the target VMs, network paths, operating system and Java 21 runtime before anything is installed.
  • Confirm the MySQL or PostgreSQL and Elasticsearch or OpenSearch versions against the documented prerequisites.
  • Agree in writing which connectors, SSO provider and ingestion runner are in scope, with deliverables and timelines.

How we build

  • Install OpenMetadata, its database and search services, and set configuration files for your environment.
  • Wire SSO to your identity provider, and run ingestion alongside the server on the agreed hosts.
  • Test sign-in, connector runs, search indexing and backup restores, then record each result for your review.

How we hand over

  • Provide runbooks covering installation steps, configuration file settings, service start order and ownership.
  • Document versions, credentials locations, network rules and the evidence needed for your security review.
  • Walk your platform and security teams through the running system and the open items that remain.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, scoped in writing.
  • Plan upgrade reviews against the release notes, including any breaking changes before each version move.
  • Confirm with us which support level, response expectations and maintenance windows your retainer includes.

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.