Workload

Hosting a SaaS Product on Your Own Metal

A software product with paying customers needs steady speed and a predictable bill. Bare metal gives both, starting from a single S4 at $87.52 a month.

Why do SaaS teams move to dedicated hardware?

For cost and consistency. A busy SaaS app on usage-billed cloud services tends to grow its bill faster than its revenue, mostly through egress, managed databases and idle capacity. A flat monthly price per machine, with outgoing traffic of 15 TB included, turns infrastructure into a fixed line in the budget. Single-tenant hardware also removes the jitter that shared hosts add to response times, which customers notice before they notice anything else.

What does a sensible first layout look like?

Start with one strong box and a backup target, then split as load demands. Early on, the web app, background workers, cache and database can share one machine such as S8 with 128 GB DDR4 and Intel Xeon E-2388G. Containers or plain systemd units keep the pieces separate. A small second machine in another city takes nightly database dumps and file copies.

The usual growth path has three steps:

  • Stage one: everything on one box, with a second box for backups.
  • Stage two: database on its own machine, app and workers on another, so a heavy report cannot slow the API.
  • Stage three: two or more app machines behind DNS or a proxy pair, the database with a replica, workers scaled by queue length.

How do I give every customer their own domain with HTTPS?

Use a reverse proxy that issues certificates on demand. Caddy's on-demand TLS, or Traefik with an ACME resolver, can request a certificate the first time a customer's domain arrives, after your app confirms the domain belongs to a tenant. Every site shares the machine's single IPv4 address, because SNI lets one address serve thousands of certificates.

# Caddyfile excerpt: certificates only for domains your app approves
{
    on_demand_tls {
        ask http://127.0.0.1:9180/tls-allowed
    }
}
https:// {
    tls { on_demand }
    reverse_proxy unix//run/saas/app.sock
}

Without the ask check, anyone could point a domain at your address and make the proxy request certificates, which would hit the certificate authority's rate limits.

How should tenants be isolated?

Most SaaS products keep all tenants in one database with a tenant id on every row, and enforce it in code or with PostgreSQL row-level security. Larger customers sometimes want their own schema or database; both patterns run fine on one machine. True hardware isolation, a whole box per customer, is also easy to offer here: a premium tier can live on its own S4, billed to that customer at a margin.

Which models fit which stage?

StageRolePick
LaunchAll-in-oneS4 or S8
GrowthApp and workersS11, 24 cores
GrowthDatabaseD2 or D6
Scale, arm64 imagesStateless app tierA1, 80 cores

If your containers already build for arm64, the A1 offers 80 Ampere cores for stateless app servers at one of the best prices per core in the catalog.

What about compliance questions from customers?

Be precise about what you control. On a dedicated machine you control encryption at rest, access logging, patching, backups and who holds the root password. Document those controls in your security page. Do not claim certifications for the data center itself unless you hold written proof for that exact facility; answer instead with what you run and how you run it.

How do I keep deploys safe?

Ship with a blue-green pattern on one box: run the new release on a second port, check it, then flip the proxy. Keep migrations backward compatible for one release so rollback is a proxy change, not a database restore. Store deploy scripts in the same repository as the app so every machine is rebuilt the same way.

Machines That Fit a SaaS Stack

Monthly prices are the same in all six cities. The smallest order is the shortest term that reaches the $40 minimum.

ServerProcessorCores / threadsMemoryStorageNetworkPer monthSmallest order
S4Intel Xeon E-2388G8 / 1664 GB DDR41x 1 TB NVMe2x 10 Gbps$87.52$87.52 (1 month)
S8Intel Xeon E-2388G8 / 16128 GB DDR41x 1 TB NVMe2x 10 Gbps$103.13$103.13 (1 month)
S11Intel Core i9-14900K24 / 32128 GB DDR52x 2 TB NVMe2x 10 Gbps$149.39$149.39 (1 month)
D22x Intel Xeon Gold 531724 / 48128 GB DDR42x 1 TB NVMe2x 25 Gbps$223.57$223.57 (1 month)
D62x Intel Xeon Gold 531724 / 48256 GB DDR42x 2 TB NVMe2x 25 Gbps$325.96$325.96 (1 month)
A1Ampere Altra Q80-3080 / 80256 GB DDR42x 2 TB NVMe2x 25 Gbps$252.11$252.11 (1 month)

Compare all 68 servers »

Keep Reading

Kubernetes clusters

Run k3s or kubeadm on single-tenant nodes with NVMe for etcd and one public address per node behind an ingress.

Open

Database servers

PostgreSQL, MongoDB, ClickHouse and other engines on machines picked by working set, write rate and core count.

Open

High availability

Keep a service up through a dead machine using two cities, DNS failover, replicated data and tested runbooks.

Open

Dedicated servers from $100 to $250

Nine machines from about $100 to $250 a month, including Core i9, the first AMD EPYC and dual-socket Xeon Gold.

Open

FAQ

Quick Answers

Yes. SNI lets one IPv4 address serve thousands of HTTPS sites, and an on-demand TLS proxy issues certificates as domains arrive.

No. An API is not offered; machines are ordered and managed in the panel. Most SaaS teams add machines rarely, so this is seldom a blocker.

Fully. Each machine has a fixed monthly price with 15 TB of outgoing traffic included (5 TB in Singapore), and no overage packages are sold.

Once background jobs or reports start slowing the app, yes. Splitting the database off is usually the first scaling step.

Yes. Order a machine for that customer and run their instance alone on it.