Skip to content

Managed Kubernetes vs self-managed: cloud services or your own data center

B2Bnetwork team · · 5 min

Integrations, data and cloud

In brief

Managed Kubernetes (Azure AKS, Amazon EKS, Google GKE) takes the control plane off your team: the API servers, the etcd database, their high availability and upgrades. A self-managed cluster in your own data center gives full control over hardware, network and data location, but needs people who upgrade it every few months and respond to outages at night. In both cases, worker nodes, application networking, security and deployments remain your job.

What the provider takes and what stays with you

Kubernetes consists of a control plane, which decides what runs where, and worker nodes, on which applications run. A managed service mainly takes over the first part.

ComponentManaged KubernetesSelf-managed cluster
API servers, etcd, schedulerthe provider, with an availability SLA in paid tiersyour team, including etcd backups and restores
control plane upgradesstarted by you or the provider's automation, carried out by the providerplanned and carried out by you
nodes and their OSyou, helped by ready images and node poolsyou, from hardware or virtualization upwards
cluster networking, ingress, certificatesyou, integrated with the cloud networkyou, integrated with the data center network
persistent storagedrivers for cloud disksyour own storage array or distributed file system
access controlintegration with cloud identityintegration with the corporate directory
image security, policies, secretsyouyou
application deployments, monitoring, data backupsyouyou

The last three rows are the same in both columns, and they take the most work. Managed Kubernetes is therefore not "Kubernetes without a team", but Kubernetes without the hardest part of operations. What else has to be built around a cluster is covered in Kubernetes in the enterprise, and securing it in Container and Kubernetes security.

The upgrade cycle you cannot avoid

The Kubernetes project supports the three most recent minor versions, and each receives patches for roughly a year. A new version arrives on average every four months. A cluster nobody upgrades stops receiving security patches after a year, regardless of who runs it.

Cloud providers stretch this cycle but do not remove it:

  • Amazon EKS supports a version under standard support for 14 months after it becomes available, then for another 12 months under extended support, at an extra charge per cluster hour. After that, the control plane is upgraded automatically.
  • Azure AKS has three tiers: Free (no availability SLA, meant for test environments), Standard (with an SLA for the API server) and Premium, which adds 24 months of long-term support (LTS) for a single version.

For the team, this means a steady rhythm: every few months, review the changes in the new version, test it in a non-production environment, upgrade the control plane, then the nodes and add-ons. A self-managed cluster adds upgrades of the node OS, network and storage drivers. If the cluster and application configuration is described as code and deployed through GitOps, every upgrade is repeatable, as covered in GitOps.

What drives the cost

Comparing "a control plane fee versus nothing" is misleading. The bill has more items:

  • the cluster fee in a tier with an availability SLA, or for extended support of an older version;
  • nodes: virtual machines in the cloud, or hardware and virtualization in a data center, with depreciation, power and space;
  • network traffic leaving the cloud and crossing zones, which can be significant for integrations with systems in your data center;
  • people: a 24/7 on-call rota needs several people, and running your own control plane adds knowledge you do not need with a managed service;
  • time to start: a managed cluster is created from code without buying hardware, while your own needs hardware, network and design before the first application runs on it.

How to measure and control cloud costs on an ongoing basis is covered in FinOps.

When your own cluster in a data center makes sense

  • Data cannot leave the data center because of a contract, sector rules or the security policy for critical infrastructure. Which clouds have a region in Poland and what the rules require is covered in Cloud regions in Poland.
  • Applications talk heavily to systems that stay on site: a mainframe, a core banking system, a telecom network. Latency and traffic costs to the cloud outweigh the benefits.
  • A steady, predictable load for many years, where your own hardware costs less than cloud virtual machines.
  • Specific hardware: GPUs, network accelerators, industrial devices.
  • The team already has the skills and tools to run a platform and an on-call rota.

In other cases, managed Kubernetes usually wins on time to start and lower operational risk. Many companies combine both: production with sensitive data in their own data center, development and test environments in the cloud, one way of deploying and the same templates. What matters is that applications do not depend on one provider's features where there is no need, because then moving between environments is realistic.

B2Bnetwork engineers build Kubernetes platforms in Azure, AWS and in clients' own data centers as part of our Platform and DevOps service. Examples include a Kubernetes platform in a telecom operator's own data centers, where critical infrastructure rules limited the use of public cloud, and a cloud platform for a payments fintech.

Questions and answers

Is managed Kubernetes more expensive than running our own?

On the infrastructure invoice alone it can be; in total cost it is often cheaper. Your own cluster needs hardware, virtualization, people who understand the control plane, and on-call duty. Compare the full cost over several years, including people and upgrades, not the price of a virtual machine against the price of a server.

How many people does it take to run our own cluster?

It depends on the number of clusters, availability requirements and whether the company already has a platform for monitoring and deployment. A 24/7 on-call rota alone needs several people, so nobody is on call every week. One administrator doing it "on the side" is a risk, not a saving.

Can we start in the cloud and move to our data center later, or the other way round?

Yes, if you describe infrastructure and applications as code from the start, use standard Kubernetes mechanisms and limit dependence on one provider's services. Data, networking and identity are the hardest to move, so design those with a move in mind.

Do we need Kubernetes at all?

Not always. For a few applications with steady traffic, a container service without cluster management, or plain virtual machines with automated deployment, is often simpler. Kubernetes pays off when there are many teams and services, and a shared platform saves each of them from building the same thing.

What it looks like in a project

Connecting systems or moving them to the cloud? Talk to an architect.

Let's talk

Read more: Integrations, data and cloud

All in Integrations, data and cloud →