Research & Articles

Building AI From Bare Metal

We built a fully automated cloud deployment first, then moved our AI workloads onto a server we own in a colocation facility. Here is why, what it cost, what went wrong, and how to run the comparison for your own workloads.

Bartosz Solowiej · 4 November 2026 · 12 min read

Anominal AI runs on a server we own, in a colocation facility in Portland, Oregon. We did not start there. We started in the cloud, and we did the cloud properly. The move to our own hardware was not a reaction to a cloud we had built badly. It was the result of running the numbers on a cloud we had built well, and of what the cloud could not give us at a price we could pay.

First, the cloud done right

For more than a year, Anominal AI ran on AWS. Every environment was defined as code in CloudFormation templates, and every change went through a CI/CD pipeline: committed, reviewed, tested and deployed by the pipeline, never by hand. Deleting and recreating a service’s stack took about ten minutes. Nothing in production existed that was not described in the repository.

The workloads were AI workloads of the ordinary kind: data pipelines that collect and process every day, model training and retraining, and evaluation that scores every forecast against what actually happened. Small on-demand instances ran collection and the website. Spot autoscaling groups ran processing, training and forecasting, on compute-optimized and memory-optimized instances. Around them sat S3, the container registry, CloudWatch, SNS, IAM and Systems Manager, and a scheduled function that shut the fleet down every weekend to save money. The database was a managed service on a separate bill.

One detail matters for everything that follows. Every model we trained on AWS was trained on CPUs. We never ran a GPU instance. GPUs were part of our plans for a long time and never part of our budget.

That discipline paid for itself many times over. There were no snowflake servers that only one person understood, and when something failed we could see exactly what had changed. The automation also made the next decision possible. Because we knew exactly what we ran, how often and for how long, we could price it precisely, and we could price the alternative.

Then, the bill and the interruptions

AI workloads are not ordinary web workloads. A website idles most of the day and spikes when visitors arrive. Training runs hard for a day or two and needs to finish. Evaluation re-scores everything we produce; in one recertification in August 2026, we re-scored 1.46 million forecasts.

We paid for compute in two ways.

  • On-demand pricing gave us complete flexibility and the highest hourly rate. We kept it for the small, always-on pieces.
  • Spot capacity was the cheapest per hour, when we could keep it. That turned out to be the problem.

Spot instances can be reclaimed with little warning. On one day in February 2026, our training group cycled through seven instances in eighteen hours, with six interruptions. Instances lasted about twenty-five minutes on average, and a training cycle needed twenty-four to forty-eight hours uninterrupted. No training cycle completed until we built checkpointing and resume, which took real engineering time. Capacity also failed outright: a redeploy stalled for lack of spot capacity, a spot request for our build runner was never filled, and an interruption killed builds midway. All of this was on CPU instances. We never had to compete for GPU spot capacity, because we never ran any.

AWS also offers reserved capacity and savings plans, which lower the hourly rate in exchange for a one- or three-year commitment. We never bought either. We considered a savings plan once, late in the migration, and decided against it. For AI workloads, the catch is that the commitment ties you to an instance generation at a price set the day you sign.

As the work grew, so did the bill. Our compute spend rose from roughly $250 a month in late 2025 to roughly $550 a month in early 2026, and the managed database added roughly $150 to $200 a month on top. Storage and the smaller services held at similar peak levels. That bill bought a CPU-only fleet that shut down every weekend and could not finish a training run without engineering around interruptions.

The move

We bought a Dell PowerEdge R740xd and built it out for the work: two Xeon Platinum 8268 processors with 48 cores and 96 threads, 1.5 terabytes of memory, two NVIDIA V100 GPUs with 32 gigabytes each, and two 6.4-terabyte NVMe drives. The GPUs are the PCIe version. These are previous-generation parts, bought for what they do per dollar, not for a benchmark. All in, the server cost about $25,000.

We ordered it in April 2026. It was built and tested at home by 10 April and racked in Portland the same week. Collection, processing, training and forecasting switched their deployment from CloudFormation to the new server on 11 April, and by 14 April it was carrying production. The database moved off the managed service later that month, and in mid-May we replaced it with columnar files on the server’s own drives. After that, only the website, the container registry and the build runner stayed on AWS, at well under a hundred dollars a month in compute.

Our AWS compute bill, by monthEC2 compute only, October 2025 to October 2026, rounded to the nearest $25.

From June, only the website and the build runner stayed on AWS: about $40 to $70 a month, shown as $50. The managed database, about $150 to $200 a month, is not included.

Show the numbers
MonthAWS compute, rounded
October 2025$250
November 2025$250
December 2025$325
January 2026$575
February 2026$575
March 2026$475
April 2026$225
May 2026$50
June 2026$50
July 2026$50
August 2026$50
September 2026$50
October 2026$50

How to compare: total cost of ownership

Comparing a cloud invoice with a server quote is misleading. A fair comparison counts everything each option costs over the life of the hardware, including the people who run it. This is the framework we used, and the one we now run for clients before recommending either path.

Cost lineCloud (AWS)Bare metal in colocation
ComputeHourly rate by pricing model: on-demand, reserved or spotServer and GPU purchase, spread over the useful life
StoragePer gigabyte per month, plus snapshots and requestsDrives purchased, plus backup
NetworkData transfer out, inter-zone trafficBandwidth included in or added to the colocation fee
FacilityIncluded in the hourly rateRack space, power, cooling, cross-connects
Hands-on supportIncludedRemote hands, spare parts, someone who can reach the machine
Engineering timeTemplates, pipelines, interruption handling, cost managementProvisioning, monitoring, drivers, repairs
Managed servicesDatabase and other service feesRun yourself, or not at all
Interruption and riskSpot reclaims, capacity shortages, price changesHardware failure, single-site risk
End of lifeNoneRefresh or resale value

The calculation itself is simple. Cloud total cost is the monthly bill multiplied by the months of use. Bare metal total cost is the hardware price, less any resale value, plus the monthly cost of colocation, support and engineering, multiplied by the same months. The break-even point is the month in which the two lines cross.

Two comparisons, not one

When we ran our own numbers, we found two different questions hiding in one.

Our old bill against our new one. At its peak, our AWS compute and database cost roughly $700 to $800 a month, with storage and the smaller services on top. Colocation costs us about $670 a month, all in: rack space, power and bandwidth in one price. The server cost about $25,000. Spread over three years with no resale value, that is about $700 a month, so owning costs us about $1,350 a month in total, or about $1,100 a month if the server lasts five years. On this comparison, owning costs more than we used to pay. For the difference, we run all week instead of weekdays, on far more capacity, with GPUs we never had.

The same capacity on AWS. That is the fairer question, and the answer is very different. No single AWS instance matches our server, so we priced the two closest V100 instances, one smaller and one larger, running all month, at the Linux prices AWS published for US East (N. Virginia) on 4 November 2026. Spot prices move, so treat those as a snapshot.

Nearest AWS equivalentPer month, running all monthMonths for our server to pay for itself
p3.8xlarge: four 16 GB V100s, 32 vCPUs, 244 GB memory. Same GPU memory as ours, a third of the processors, a sixth of the memoryAbout $8,900 on demand; about $3,600 on spot; no one-year savings plan offeredAbout 3 on demand; about 9 on spot
p3dn.24xlarge: eight 32 GB V100s, 96 vCPUs, 768 GB memory. Our processor count, four times the GPUs, half the memoryAbout $22,800 on demand; about $14,000 with a one-year savings plan; about $8,900 on spotAbout 1 on demand; about 2 with the savings plan; about 3 on spot

The break-even month is the server’s price divided by what it saves each month against the AWS option, after the colocation fee. Storage is left out on both sides; our two 6.4-terabyte NVMe drives add to every AWS figure.

What each option costs a monthRunning all month. AWS options are the nearest equivalents to our server, at the prices AWS published on 4 November 2026.Owning our serverAWS

The old fleet figure is the midpoint of roughly $700 to $800 for compute and database, before storage. Owning includes the colocation fee (about $670 a month, all in) and the server (about $25,000) spread over its life with no resale value.

Show the numbers
OptionPer month, about
Our old AWS fleet at its peak (CPU only, weekdays)$750
Owning our server, over five years$1,100
Owning our server, over three years$1,350
p3.8xlarge on spot$3,617
p3dn.24xlarge on spot$8,899
p3.8xlarge on demand$8,935
p3dn.24xlarge with a one-year savings plan$14,027
p3dn.24xlarge on demand$22,785

Against on-demand capacity or a one-year savings plan, the server pays for itself in weeks to a few months. Even against spot, the cheapest way to rent, it pays for itself within about nine months, and that is before counting the interruptions that cost us training runs.

Total spent in the first yearOwning starts $25,000 behind, then grows by the colocation fee. Renting the smaller equivalent grows by its monthly price.Owning our serverp3.8xlarge on demandp3.8xlarge on spot

Storage is left out on both sides. The larger p3dn.24xlarge pays back faster still: about 1 month on demand, 2 with a savings plan and 3 on spot.

Show the numbers
Months after buying the serverOwning our serverp3.8xlarge on demandp3.8xlarge on spot
Month 0$25,000$0$0
Month 3$27,010$26,806$10,851
Month 6$29,020$53,611$21,701
Month 9$31,030$80,417$32,552
Month 12$33,040$107,222$43,402

The comparison also runs the other way. At about $1,350 a month, our server costs the same as about 110 hours a month of the smaller instance on demand, under four hours a day. If you need this capacity for less than a few hours a day, rent it. If you need it all day, own it.

Rent or own: monthly cost by hours of use a dayRenting the smaller equivalent on demand costs by the hour. Owning costs the same whether the server works or waits.Owning our server (three-year life)p3.8xlarge on demand

Below the break-even, rent. Above it, own. Our server runs production around the clock.

Show the numbers
Hours a day the capacity is neededOwning our server (three-year life)p3.8xlarge on demand
0 hours a day$1,350$0
4 hours a day$1,350$1,489
8 hours a day$1,350$2,978
12 hours a day$1,350$4,468
16 hours a day$1,350$5,957
20 hours a day$1,350$7,446
24 hours a day$1,350$8,935

The variables that decide it

Four variables move the answer more than any other.

  • Utilization. The cloud wins when hardware sits idle most of the time, because you stop paying when you stop running. Owned hardware wins when it stays busy, because its cost is the same whether it works or waits. Our server runs production around the clock, and research work fills it in bursts. We have not yet kept a long utilization history, so the comparison above assumes the capacity is needed all month.
  • Useful life. Every extra year a server stays productive lowers its monthly cost. We assume three years with no resale value for previous-generation parts; at five years, our monthly cost falls from about $1,350 to about $1,100.
  • Power. Power is often the largest running cost of owned GPUs. Our server draws up to about 1,600 watts at the wall, and our colocation fee includes power in one all-in price. Facilities that meter power separately change the arithmetic, so ask before you sign.
  • People. Bare metal needs someone who can run it, and someone who can reach it. In our case, engineering was the constant: we ran both platforms full time with whatever hands we had, so it does not tip our comparison either way. If you have to hire a team to manage one server, it does.

What went wrong

Owning the hardware moves responsibilities from the cloud provider to you, and we learned that quickly.

During the build, a firewall change locked us out of our own machine. The out-of-band management controller sat on a shared port we could not reach. The container network’s name resolution broke the database connection, the system resolver failed behind the firewall, and the management controller refused forwarded access until we worked around its host check.

After launch, the lessons kept coming. An unattended system upgrade broke the GPU driver; the same fault returned in October, and a reboot cleared it. A storage mount came up read-only. A missing library made GPU training fail without an error. Old container images filled the root disk, twice, until we moved container storage to the NVMe drives. A GPU hang stalled forecasting. Our website’s node dropped off our private network, and expired network keys blocked deploys. Research jobs, sharing the machine, slowed production processing. We fixed each of these ourselves, quickly, and none had lasting consequences.

The honest lesson of colocation: remote hands are part of the cost, whether you pay for them or drive there yourself.

Automation, carried over

In the cloud, everything was code. On bare metal, we kept automation where it mattered most and fell short elsewhere. Our CI pipeline still builds container images and deploys them to the server over a private mesh network, and Docker Compose runs the services. But the server itself was provisioned from a hand-run runbook, its service definitions live on the host rather than in the repository, and its firewall and watchdog were set up by hand. That is the next piece we are bringing under code. The cloud taught us to automate. Bare metal reminded us how much of that discipline the cloud had been doing for us.

Score everything

A system you cannot measure is a system you cannot trust, wherever it runs. Models on our platform earn their place on scored evidence, and they lose it the same way. We retired one after 331,528 scored forecasts showed no lasting improvement. Nothing serves on reputation, including our own.

Owning the hardware made this practice cheaper, and therefore more thorough. With a fixed cost, nobody rations evaluation to save on a bill.

When the cloud is still the right answer

We still use the cloud, and we recommend it often. It is the right choice for a team still learning what its workload looks like, for work that bursts and then stops, for services that need to run close to users around the world, and for organizations without the people or partner to run hardware. Our own website still runs there. Many organizations land on a hybrid: owned hardware for the steady baseline, cloud capacity for peaks and public services.

The point is not that bare metal always wins. The point is to know, with your own numbers, which one wins for you, and to count the people as carefully as the hardware.

What this means for clients

When a client asks whether to rent or own its AI infrastructure, we start with the same analysis: measure the workload, price both paths over the full life of the hardware, separate "what we pay now" from "what this capacity costs", and find the break-even point. When owning wins, Anominal AI runs on dedicated infrastructure inside the client’s environment, operated by us and governed by them, with the same automation, scored evaluation and, now, a clear-eyed list of what goes wrong.

Which decision is difficult to make with the information you have today?

Begin a conversation →