How Companies Are Saving Millions by Migrating Away from AWS to Bare Metal Servers?
Tags: aws, cloud, devops, startup
Published: 2023-12-07 13:46:18

---
title: How Companies Are Saving Millions by Migrating Away from AWS to Bare Metal Servers?
published: true
tags: AWS, Cloud, DevOps, Startup
canonical_url: https://firstfinger.in/migrating-aws-cloud-bare-metal-servers/
---

 ![How Companies Are Saving Millions by Migrating Away from AWS to Bare Metal Servers?](https://firstfinger.in/content/images/2023/12/Migrating-Away-from-AWS-to-Bare-Metal-Servers.png)

These two Companies **OneUptime** and **Prerender** are finding that migrating from Amazon Web Services (AWS) to bare metal servers hosted in colocation data centres can lead to substantial cost savings. They have cut costs by over 50% by taking control of their infrastructure while maintaining performance and reliability.

- [**OneUptime**](https://oneuptime.com) was spending $456K+ annually on a 28-node AWS Kubernetes cluster.
- [**Prerender**](https://prerender.io) projected over $1M per year on AWS services and data transfer.

## 📈 The Hidden Costs of Cloud

For many startups and tech companies, [AWS seems like an easy choice.](https://firstfinger.in/top-aws-services-for-cloud-to-know-2023/) It allows you to spin up servers and scale rapidly without investing in your hardware upfront. But as these companies grow, the operating costs on AWS start to add up:

- Monthly bills for instances, storage, data transfer, load balancing services, etc. can exceed $100,000+
- Data transfer costs in particular can be astronomical - $0.08+/GB in some regions
- No control over hardware - "noisy neighbour" problems can affect performance
- Vendor lock-in reduces infrastructure flexibility

## 📟 Why Does Bare Metal Make Sense?

[Bare metal servers refer to physical servers](https://firstfinger.in/bare-metal-vs-virtual-machines-vs-containers/) that are dedicated to a single tenant. In contrast, virtual machines (VMs) are virtualized compute instances that run on shared hardware.

> **Recommend Post** : [Bare Metal vs Virtual Machines vs Containers](https://firstfinger.in/bare-metal-vs-virtual-machines-vs-containers/)

### ➕ Benefits of Bare Metal Servers

- **Cost -** Bare metal eliminates the hidden fees and unpredictable billing associated with the cloud. You pay for the resources you use, with no additional charges for [things like egress traffic or API calls.](https://firstfinger.in/most-popular-apis-rest-soap-graphql-and-grpc/)
- **Performance**  - Bare metal allows full access to resources for more consistent high workload performance like high I/O requirements
- **Control**  - Bare metal provides granular hardware control and customization
- **Isolation**  - Dedicated single-tenant resources, so no "noisy neighbour" problems
- **Scalability**  - VMs allow fast automated scaling, bare metal has more limited flexibility


| System | Pros | Cons |
| :-------- | :--------- | :--------- |
| Bare Metal| <ul><li>Maximum performance and consistency</li><li>High IOPS for intensive workloads</li><li>Hardware customization and control</li><li>Better security and isolation</li></ul> | <ul><li>Higher upfront costs</li><li>Manual server management</li><li>Limited flexibility for scaling</li></ul> |
| Virtual Machines | <ul><li>Rapid deployment and scaling</li><li>Pay only for resources used</li><li>Hardware abstraction and flexibility</li></ul> | <ul><li>"Noisy neighbour" performance issues</li><li>Limited performance and IOPS</li><li>Hardware abstraction overhead</li></ul> |

* * *

## 🔜 Migration to Bare Metal Infrastructure

To slash costs, both companies planned and executed systematic migrations from AWS onto the bare metal servers in colocation facilities and both companies have [direct access to hardware instead of virtualized instances](https://firstfinger.in/how-to-connect-to-aws-ec2-instance-using-ssh/).

### 🚴 OneUptime's Phased Migration

Prerender chose to use [JavaScript everywhere to build](https://firstfinger.in/file-transfer-project-javascript-html-css-firebase/) expertise in solving the issues caused by JavaScript rendering. They also took advantage of CloudFlare’s [distributed system for fast response and global scalability](https://firstfinger.in/content-delivery-aws-lambda-edge-vs-aws-cloudfront/), while their uptime guarantees were supported by Digital Ocean’s cloud platform.

1. [Set up and tested MicroK8s Kubernetes on bare metal](https://firstfinger.in/create-kubernetes-clusters-on-aws/) for a subset of traffic
2. Gradually shifted more workloads onto new servers over weeks
3. Carefully monitored performance and made adjustments
4. Once stable, routed all traffic to the bare metal cluster
5. Reduced annual costs by 55%+ (saving over $230,000 per year)

### 🪜Prerender's Step-by-Step Process

1. Provisioned bare metal servers and benchmarked performance
2. Moved [caching](https://firstfinger.in/why-redis-is-fast/) and [storage services (S3)](https://firstfinger.in/ec2-vs-s3/) from AWS services
3. Systematically [redirected traffic and shut down AWS resources](https://firstfinger.in/blue-green-deployment-kubernetes/)
4. Continually stress-tested environment for robustness
5. Cut monthly infrastructure costs by 80% (saving $800K+ per year)

💵

Substantial cost savings resulted from careful migrations, as OneUptime achieved an annual cost reduction exceeding 55% (saving over $230K), while Prerender significantly reduced infrastructure costs by 80% (saving over $800K annually).

* * *

## 👨🏻‍💻 Which Technologies Have Been Used for the Migration from AWS Cloud to Bare Metal Servers?

Technologies like [**Kubernetes, Docker**](https://firstfinger.in/kubernetes-vs-docker-swarm/), **Docker** and **Helm** enabled frictionless migrations off AWS by providing:

- Kubernetes - automated container deployment & scaling
- Docker - portable, containerized applications
- Helm - simplified Kubernetes application packaging

Together, these enabled flexibility beyond the public cloud vendors.

* * *

## 🛠️ So, What Are the Tradeoffs of Moving Away from the AWS or Public Cloud?

Managing your bare metal servers requires significant investments in skilled staff compared to leveraging AWS's services. Transitioning to bare metal means you now need [specialized DevOps engineers](https://firstfinger.in/devops-vs-sre-vs-platform-engineering/) to handle it.

- Server provisioning, setup, and management
- Network architecture and storage configuration
- Containerization and orchestration
- Migration execution and testing
- Security hardening and access controls

This likely requires adding several additional experienced engineers with skillsets like Kubernetes, Docker, database admin, storage/SAN management etc.

At average salaries of $120-160K per engineer, those human resource costs add up rapidly. Plus server hardware expenses. Plus the loss of [integrated AWS services like S3, Cognito, and many others](https://firstfinger.in/top-aws-services-for-cloud-to-know-2023/) accelerated development.

So you need to hire more backend developers to replicate all that useful functionality you're losing from the cloud provider. Adding 4-6 or more engineers can mean $500K+ in additional annual developer salaries.

In total, you might be spending an extra $2M+ per year in human resources to match what AWS provides out of the box. That's in addition to physical server costs in the range of $200K+.

So while bare metal hosting fees are lower, the human labor tradeoff is real. The efficiency and integrated services of the public cloud should not be discounted when comparing the total cost of ownership. [Relying on AWS or any public cloud](https://firstfinger.in/how-to-install-nextcloud-azure-ubuntu-ec2/) means less specialized in-house staff is needed. The male labour costs can rapidly diminish potential bare metal shavings.

> **Recommend Post** : [DevOps vs SRE vs Platform Engineering - Explained](https://firstfinger.in/devops-vs-sre-vs-platform-engineering/)

* * *

## ✴️ Takeaway — Re-evaluate Public Cloud Costs

For fast-scaling startups, public clouds can end up being far more expensive than bare metal hosting in the long term. The journeys of Prerender and OneUptime highlight how companies can realize major cost savings by moving off AWS onto their bare metal servers.

Their systematic and careful transitions to owned bare metal servers enabled over 50% expense reductions without performance sacrifices or major client impacts. **This showcases that while AWS provides power and flexibility, it doesn't always fit every business' needs or long-term budgets.** Their experiences prove that companies should continually reassess if public cloud services align with their changing business requirements over time.

* * *

> In the last I want to ask you, Does managing your own infrastructure make sense from a technical and financial perspective? Why or why not?

* * *

**Based on the Following Resources:**

1. [_How moving from AWS to Bare-Metal saved us $230,000 /yr._](https://blog.oneuptime.com/moving-from-aws-to-bare-metal/)
2. [_How we reduced our annual server costs by 80% — from $1M to $200k — by moving away from AWS_](https://levelup.gitconnected.com/how-we-reduced-our-annual-server-costs-by-80-from-1m-to-200k-by-moving-away-from-aws-2b98cbd21b46)
3. [Shocking Cloud Costs: How AWS Charged $800,000 for Egress Data Transfer in a Single Month](https://medium.com/@cloudmize/shocking-cloud-costs-how-aws-charged-809-000-for-egress-data-transfer-15306b9b0aa3)