beuke.org

A personal blog exploring computer science and theoretical physics

K8s on Hetzner vs. AWS Fargate
Total Cost of Ownership Analysis for IT-departments
Posted on Sep 28 2025 ~ 10 min read
#cloud engineering  #AWS  #hetzner  #kubernetes  #fargate 

Introduction

This comparison evaluates self-managed Kubernetes clusters deployed on Hetzner Cloud or dedicated servers against AWS ECS Fargate as a fully managed container platform. The analysis considers the total cost of ownership (TCO) over a three-year period[7], factoring in infrastructure pricing, staffing needs, operational complexity, and scalability.

For simplicity, the cost calculations include only compute usage and exclude storage, bandwidth, and other components. We assume that fewer employees are needed to operate and maintain a highly managed service compared to a traditional setup, with the least operational effort required for SaaS offerings. The following illustration highlights the different levels of management.

The more self-management is required (blue), the more working hours you need to invest in the system and the more staff you will likely require.

A Kubernetes cluster on Hetzner is considered to fall somewhere between traditional IT and IaaS. Hetzner provides the physical servers, storage, and networking, but everything beyond that is managed by the customer. AWS ECS Fargate, on the other hand, is a PaaS solution; you only need to manage your application and its data[8]. Please note that unless your Docker image is built entirely from scratch, you will typically need to maintain or at least support developers in updating their Dockerfile.

Cost structure and Scenarios

Category Hetzner Kubernetes AWS ECS Fargate
VM/Compute (monthly) 2 vCPU + 4 GB: ~$6
4 vCPU + 8 GB: ~$17
8 vCPU + 16 GB: ~$33
2 vCPU + 4 GB: ~$55
4 vCPU + 8 GB: ~$110
8 vCPU + 16 GB: ~$210
Staffing (annual) 5-10 DevOps engineers, ~$500k-1,000k per year 1-3 Cloud engineers, ~$100k-300k per year
3-Year Staffing TCO ~$1.5M-3.0M ~$300k-900k

In addition to cloud VMs, Hetzner also offers dedicated servers. These provide substantially more compute at a lower per-vCPU cost but demand a much higher level of self-management and therefore more staff, as they lack even basic functionality such as snapshotting, backups, automatic provisioning through a CLI, or Kubernetes plugins.

We assume a baseline of $100k for one DevOps/Cloud Engineer per year[5]. This number can vary greatly across different countries. It’s possible to adjust the given numbers and do a recalculation with the interactive TCO calculator.

The choice between Hetzner Kubernetes and AWS ECS Fargate depends heavily on your team size, operational expertise, and scale. Here are three representative scenarios:

Scenario 1: AWS ECS Fargate Wins

Small to Medium Applications (< 700 vCPUs)

Example Setup: 2 Hetzner DevOps engineers vs. 1 AWS Cloud engineer at $100k salary
Break-even point: ~700 vCPUs
AWS advantage: Below 700 vCPUs, significantly lower total cost

Real-world applications:

  • Early-stage SaaS companies with 10-50k users running web applications, APIs, and databases
  • Digital agencies managing multiple client websites and applications
  • E-commerce startups with moderate traffic (< 1M monthly visitors)
  • Development and staging environments for larger companies
  • Microservice architectures with 10-20 small services

Why AWS wins: The operational simplicity means you can run lean teams focused on product development rather than infrastructure management. The higher per-vCPU cost is offset by dramatically reduced staffing needs.

Scenario 2: It’s a Close Call

Medium to Large Applications (700-2,500 vCPUs)

Example Setup: 5 Hetzner DevOps engineers vs. 3 AWS Cloud engineers at $100k salary
Break-even point: ~1,333 vCPUs
Decision factors: Team expertise, growth trajectory, compliance requirements

Real-world applications:

  • Growing SaaS platforms with 100k-1M users experiencing rapid scaling
  • Financial services companies with moderate compute needs but strict compliance requirements
  • Media companies running content management systems with variable traffic
  • Healthcare platforms balancing cost with regulatory compliance
  • Mid-size enterprises modernizing legacy applications

Key considerations: In this range, factors beyond pure cost become crucial - team expertise, security requirements, compliance needs, and growth predictability often determine the winner.

Scenario 3: Hetzner Kubernetes Wins

Large-scale Applications (> 2,500 vCPUs)

Example Setup: 8 Hetzner DevOps engineers vs. 4 AWS Cloud engineers at $100k salary
Break-even point: ~2,000 vCPUs
Hetzner advantage: Above 2,000 vCPUs, substantial cost savings despite larger teams

Real-world applications:

  • Large e-commerce platforms (Amazon, Shopify scale) with millions of daily transactions
  • Data processing companies running analytics, ETL pipelines, and machine learning workloads
  • Gaming companies with massive multiplayer online games requiring high compute
  • Enterprise software vendors serving thousands of corporate clients
  • Research institutions running computational simulations and scientific computing
  • Media streaming services handling video transcoding and content delivery

Why Hetzner wins: At scale, the infrastructure cost difference becomes so significant that even larger DevOps teams are justified. Companies at this level typically already have strong internal platform capabilities.

Total Cost of Ownership Calculator

In order to do your own calculation, please use the TCO calculator below.

The interactive calculator above shows the 3-year TCO compared to the average monthly vCPUs. You can adjust the staffing levels and salary to match your specific situation and immediately see how the break-even point changes.

Operational Complexity

To understand why the staffing ratios differ so dramatically, consider what each approach entails. AWS ECS Fargate requires defining task definitions, configuring basic networking (VPC, subnets, security groups), and connecting services to load balancers - typically manageable by 1-3 cloud engineers using tools like Terraform. The complexity is largely abstracted away by AWS.

Hetzner Kubernetes, in contrast, demands building a production-grade platform from the ground up. Teams must orchestrate server provisioning, install and configure Kubernetes itself (kubeadm, Cluster API), then deploy approximately 20+ critical[6] supporting systems: networking solutions (Calico, Cilium), DNS resolution (CoreDNS), monitoring stack (Prometheus, Grafana), ingress controllers (NGINX, Traefik), certificate management (cert-manager), backup systems (Velero), GitOps tools (Argo CD, Flux), storage integration (CSI drivers, Ceph), security frameworks (RBAC, Falco), and service mesh options (Istio, Linkerd). Each component requires expertise in configuration, integration, updates, and troubleshooting.

This operational complexity difference - managing a complete platform ecosystem versus consuming managed services - explains why Hetzner typically requires more engineers compared to AWS. The learning curve alone can span months or years, particularly for complex distributed systems like Ceph storage clusters[9].

Conclusion

The choice between Hetzner Kubernetes and AWS ECS Fargate is fundamentally about trade-offs: infrastructure cost versus operational complexity, team size versus expertise requirements, and control versus convenience.

Our analysis reveals three distinct cost zones. Below approximately 700 vCPUs, AWS ECS Fargate typically delivers superior TCO due to its minimal operational overhead, allowing lean teams to focus on product development rather than infrastructure management. This makes it ideal for startups, digital agencies, and development environments where time-to-market and team efficiency are paramount.

In the middle zone (700-2,500 vCPUs), the decision becomes more nuanced. Factors beyond pure cost - such as compliance requirements, existing team expertise, and growth predictability - often determine the optimal choice. Companies in this range should carefully evaluate their specific circumstances using the interactive calculator provided in this analysis.

Above 2,000-2,500 vCPUs, Hetzner Kubernetes can deliver substantial cost savings despite requiring larger DevOps teams. However, this advantage only materializes for organizations with strong internal platform capabilities and predictable, high-volume workloads.

For most organizations, especially those prioritizing predictability, scalability, and reduced operational risk, AWS ECS Fargate represents the more pragmatic choice. The premium for managed services is often justified by reduced complexity, faster feature delivery, and lower overall risk. Hetzner Kubernetes should primarily be considered by large-scale operations with mature platform engineering capabilities and consistent, high-volume compute requirements where the infrastructure cost differential can offset the substantial operational overhead.

Ultimately, the decision should align with your organization’s core competencies: if infrastructure management enhances your competitive advantage, Hetzner may be worth the investment. If it’s merely a necessary cost center, AWS Fargate’s operational simplicity typically delivers superior business value.

References


  1. 1.Hetzner Cloud Pricing. Hetzner Cloud. Accessed September 2025. https://www.hetzner.com/cloud
  2. 2.AWS Fargate Pricing. Amazon Web Services. Accessed September 2025. https://aws.amazon.com/fargate/pricing/
  3. 3.DevOps Engineer Salary Survey 2024. Stack Overflow. Annual Developer Survey, 2024. https://survey.stackoverflow.co/2024/
  4. 4.Technology Salary Guide 2026. Robert Half. Technology and IT Compensation Trends, 2026. https://www.roberthalf.com/us/en/insights/salary-guide/technology
  5. 5.DevOps Engineer Salary Guide. Indeed. Career Guide, 2024. https://www.indeed.com/career-advice/pay-salary/devops-engineer-salary
  6. 6.Kubernetes Production Best Practices. Cloud Native Computing Foundation (CNCF). Kubernetes Documentation, 2024. https://kubernetes.io/docs/setup/production-environment/
  7. 7.Total Cost of Ownership (TCO) Analysis Framework. Gartner Research. IT Cost Optimization Strategies, 2024.
  8. 8.AWS ECS Fargate Documentation. Amazon Web Services. Container Services Documentation, 2024. https://docs.aws.amazon.com/AmazonECS/latest/userguide/what-is-fargate.html
  9. 9.Ceph Storage Cluster Administration Guide. Red Hat Ceph Storage. Documentation, 2024. https://docs.ceph.com/en/latest/