Bare metal

On this page 7

Bare metal refers to a physical server whose operating system or hypervisor runs directly on the hardware, with no virtualization layer shared with other tenants underneath. In server fundamentals and the wider field of servers, the term distinguishes such machines from virtual machines and containers, and it is used both for owned hardware and for bare metal cloud instances that a provider rents out by the hour or month.

The defining property is exclusive, direct access to CPUs, memory, storage and network interfaces. This gives predictable performance and full control over firmware and configuration, at the price of slower provisioning and responsibility for capacity planning that virtualization would otherwise soften.

What runs on a bare metal server

A bare metal server boots its firmware, typically UEFI, and then loads either a general-purpose operating system such as a Linux distribution or Windows Server, or a type 1 hypervisor that will host virtual machines. In both cases, the first software layer controls the hardware directly, which is what makes the server bare metal.

Out-of-band management is a standard part of such machines. A baseboard management controller (BMC), reachable through interfaces such as IPMI or Redfish, lets administrators power the server on and off, view the console and mount installation images remotely, even when the operating system is down. This capability makes automated bare metal provisioning possible at scale.

StackFirst layer on hardwareTypical purpose
Single operating systemLinux or Windows ServerDatabases, high-performance applications
Virtualization hostType 1 hypervisorRunning many VPS or private cloud VMs
Container hostMinimal Linux with a container runtimeKubernetes worker nodes
Specialized applianceVendor operating systemStorage, firewall or backup systems
Typical software stacks on bare metal

Bare metal compared with virtual servers

Bare metal and virtual servers differ mainly in isolation, performance consistency and elasticity. The comparison below includes the neighboring concepts of dedicated server and VPS, which overlap with bare metal but are not identical.

PropertyBare metalDedicated serverVPS
Hardware sharingNoneNoneShared host with other tenants
Virtualization overheadNone unless added by the userNonePresent, usually small
Provisioning timeMinutes to hours via API, longer for owned hardwareHours to daysSeconds to minutes
Billing modelHourly or monthlyUsually monthly or yearlyHourly or monthly
Noisy neighbor riskNoneNonePossible
Live migration on failureNot availableNot availableOften available
Bare metal and related server models

A dedicated server is one specific form of bare metal, rented as a fixed machine, while bare metal cloud adds API-driven provisioning that behaves more like cloud instances. A VPS is the opposite case: a virtual slice of a shared physical host.

When bare metal is the right choice

Bare metal is the right choice when a workload needs consistent low latency, direct hardware access or very high sustained utilization. In those situations, the overhead and variability of a shared virtual host cost more than the flexibility is worth.

WorkloadSuggested platformReason
Large transactional databaseBare metalStable latency, full NVMe performance
GPU training or renderingBare metalDirect accelerator access, no sharing
Software licensed per physical coreBare metalClear licensing boundary
Bursty web applicationVirtual machines or containersFast scaling up and down
Small business websiteVPS or managed hostingLower cost, less administration
Private cloud foundationBare metal with a hypervisorFull control over the virtualization layer
Workloads and suitable platforms

Cost comparisons should use sustained utilization rather than list prices. A server busy around the clock is often cheaper on bare metal, whereas a workload that is idle most of the day usually costs less on elastic virtual capacity.

Operating bare metal servers

Operating bare metal well depends on automation of the full server lifecycle, because a physical machine cannot be recreated from a snapshot in seconds. Server provisioning tools use network boot, the BMC and configuration management to install and configure machines repeatably.

  • PXE or HTTP boot installs the operating system from a network image without manual media.
  • Firmware and BIOS updates must be planned, because they require reboots and occasionally change performance settings.
  • Hardware monitoring through the BMC reports failing disks, memory errors, fans and power supplies early.
  • Spare capacity or a second server is needed for maintenance, since workloads cannot migrate live to another host.
  • Secure erase procedures are required before a machine is reused or returned to a provider.

Limitations and misconceptions

The most common misconception is that bare metal is automatically faster. Modern hypervisors add only a small overhead for most workloads; the real gains are in consistency, tail latency and access to special hardware, not in raw average speed for typical web applications.

The main limitations are slower scaling, single points of hardware failure and the operational burden of drivers, firmware and spare parts. Teams that move to bare metal for cost reasons sometimes underestimate this work. Designing the application for redundancy across at least two machines is therefore a prerequisite rather than an option.

Explained without jargon

A bare metal server is a whole physical computer reserved for one customer. Nothing sits between the customer’s software and the hardware. It is like renting an entire house instead of one apartment in a large building.

With a whole house, nobody else uses the water or the heating, so everything works the same every day. The owner can also change things as they wish. The downside is that moving in takes longer, and repairs are the tenant’s problem. An apartment, which is like a virtual server, is quicker to get and easier to swap.

A typical use case

An online retailer runs its order database on large virtual machines in a public cloud. During seasonal sales, query latency becomes erratic, with occasional spikes of several hundred milliseconds that slow down checkout. Monitoring shows the cause is storage and CPU contention on the shared hosts rather than the database configuration.

The team moves the database to two bare metal servers with local NVMe drives, configured as a primary and a synchronous replica, while the web tier stays on elastic virtual machines. Provisioning is automated through the provider’s API and the BMC. During the next sales peak, query latency stays consistently low, and the monthly cost of the database tier is lower than the virtual machines it replaced because the servers run near full utilization around the clock.