The Definition
"Bare metal" means the operating system is installed directly on the hardware. The term is used for two overlapping things: a classic dedicated server, rented by the month, and a bare metal cloud server, which is a dedicated machine that can be ordered, installed, and released through an API or a control panel, in the same way as a virtual server. In both cases, no other customer runs on the same machine.
Bare Metal vs VPS
| Bare metal | VPS | |
|---|---|---|
| Hardware | One physical machine | A share of a host |
| Hypervisor | None, or your own | Run by the provider |
| CPU | All cores and threads | vCPUs |
| Disks | Physical drives | Virtual disks |
| Setup time | Minutes to hours | Minutes |
| Resize | New hardware | Change the plan |
| Snapshots | Your own tools | Platform feature |
| Hardware faults | Yours to watch | Watched by the provider |
A longer comparison is in VPS vs dedicated server, and how virtual processors work in what is a vCPU.
What You Get with the Hardware
- Direct device access: the RAID controller, the drives, and the network cards appear to the system as they are.
- Firmware settings: processor options, boot order, and virtualization extensions, reached through the remote console.
- Out-of-band management: a BMC for console, power, and virtual media, described in what is IPMI.
- Predictable performance: no steal time, because no other customer's system competes for the processor.
Typical Uses
- Large databases: they benefit from all the memory and from direct, fast disk access.
- Your own virtualization: run Proxmox VE or KVM and split the machine into your own virtual servers.
- Steady heavy workloads: build servers, video encoding, data processing, and analytics that use all cores for long periods.
- Specific hardware: a given processor family, many drives, or extra network ports.
- Isolation rules: policies that call for hardware no one else uses.
How Bare Metal Servers Are Provisioned
A data center installs an operating system on a bare metal server in one of two ways. Network boot, explained in what is PXE boot, loads an installer over the network and applies a prepared configuration, which allows installs without anyone at the machine. Virtual media through the BMC attaches an ISO file to the server's remote console, which is how you install a system the provider's templates do not offer. Bare metal clouds often run cloud-init on first boot as well, as described in what is cloud-init.
What You Manage Yourself
- Disk health: check drives with
smartctlfrom thesmartmontoolspackage and watch the RAID state. - Hardware events: read the BMC event log with
ipmitool sel list. - Firmware: keep the BIOS and BMC firmware current, after reading the release notes.
- Backups: there is no platform snapshot, so plan backups to separate storage from day one.
Choosing a RAID level for the drives is covered in RAID levels explained.
Which One Fits You?
Choose bare metal when your workload uses most of a machine all the time, needs specific hardware, or should not share a host. Choose a VPS when you want to start small, resize often, or rely on snapshots and quick rebuilds. Many setups use both: bare metal for the database and virtual servers for the application layer.