Contributed"> The Cloud Native Landscape: Platforms Explained - The New Stack
Modal Title
Cloud Native Ecosystem / Kubernetes

The Cloud Native Landscape: Platforms Explained

Platforms bundle different tools from different layers together, solving a larger problem. If you don't have the required bandwidth and/or know-how, your team is likely better off with a platform.
Mar 17th, 2021 12:08pm by and
Featued image for: The Cloud Native Landscape: Platforms Explained
Image par kalhh de Pixabay

This post is part of an ongoing series from the Cloud Native Computing Foundation’s Business Value Subcommittee co-chairs Catherine Paganini and Jason Morgan that focuses on explaining each category of the cloud native landscape to a non-technical audience as well as engineers just getting started with cloud native. See also installments on the layers for application definition development, the runtime, the orchestration and management, and the provisioning.

Catherine Paganini
Catherine is head of marketing at Buoyant, the creator of Linkerd. A marketing leader turned cloud native evangelist, Catherine is passionate about educating business leaders on the new stack and the critical flexibility it provides.

In our previous articles, we discussed each layer of the Cloud Native Computing Foundation’s cloud native landscape. First, by providing an overview of the entire landscape and then dedicated articles for the provisioning, runtime, orchestration and management, and the application definition and development layer. Today, we’ll focus on the platform “column.”

As we’ve seen throughout this series, each of the categories solves a particular problem. Storage alone does not provide all you need to manage your app. You’ll need an orchestration tool, container runtime, service discovery, networking, API gateway, etc. Platforms bundle different tools from different layers together, solving a larger problem. 

Jason Morgan
Jason Morgan is a developer evangelist for Linkerd at Buoyant. He’s responsible for helping to educate engineers on Linkerd, the original service mesh.

There isn’t anything inherently new in these platforms. Everything they do can be done by one of the tools in these layers or the observability and analysis column. You could certainly build your own platform, and in fact, many organizations do. However, configuring and fine-tuning the different modules reliably and securely while ensuring that all technologies are always updated and vulnerabilities patched is no easy task—you’ll need a dedicated team to build and maintain it. If you don’t have the required bandwidth and/or know-how, your team is likely better off with a platform. For some organizations, especially those with small engineering teams, platforms are the only way to adopt a cloud native approach. 

You’ll probably notice, all platforms revolve around Kubernetes. That’s because Kubernetes, is at the core of the cloud native stack.  

Sidenote

When looking at the Cloud Native Landscape, you’ll note a few distinctions:

  • Projects in large boxes are Cloud Native Computing Foundation-hosted open source projects. Some are still in the incubation phase (light blue/purple frame), while others are graduated projects (dark blue frame).
  • Projects in small white boxes are open source projects.
  • Products in gray boxes are proprietary.

Please note that even during the time of this writing, we saw new projects becoming part of the Cloud Native Computing Foundation (CNCF) so always refer to the actual landscape — things are moving fast!

Kubernetes Distributions 

What It Is

A distribution, or distro, is when a vendor takes core Kubernetes — that’s the unmodified, open source code (although some modify it) — and packages it for redistribution. Usually, that entails finding and validating the Kubernetes software and providing a mechanism handling cluster installation and upgrades. Many Kubernetes distributions include other proprietary or open source applications. 

What’s the Problem They Solve

Open source Kubernetes doesn’t specify a particular installation tool and leaves many setup configuration choices to the user. Additionally, there is limited support for issues as they arise beyond community resources like Community Forums, StackOverflow, Slack or Discord.

While using Kubernetes has gotten easier over time, it can be challenging to find and use the open source installers. Users need to understand what versions to use, where to get them, and if a particular component is compatible with another. They also need to decide what software will be deployed to their clusters and what settings to use to ensure their platforms are secure, stable, and performant. All this requires deep Kubernetes expertise that may not be readily available in-house. 

How It Helps

Kubernetes distributions provide a trusted and reliable way to install Kubernetes and provide opinionated defaults that create a better and more secure operating environment. A Kubernetes distribution gives vendors and projects the control and predictability they need to provide support for a customer as they go through the lifecycle of deploying, maintaining, and upgrading their Kubernetes clusters. 

That predictability enables distribution providers to support users when they have production issues. Distributions also often provide a tested and supported upgrade path that allows users to keep their Kubernetes clusters up to date. Additionally, distributions often provide software to deploy on top of Kubernetes that makes it easier to use.  

Distributions significantly ease and speed up Kubernetes adoption. Since the expertise needed to configure and fine-tune the clusters is coded into the platform, organizations can get up and running with cloud native tools without having to hire additional engineers with specialized expertise. 

Technical 101

If you’ve installed Kubernetes, you’ve likely used something like kubeadm to get your cluster up and running. Even then, you probably had to decide on a CNI (Container Network Interface), install, and configure it. Then, you might have added some storage classes, a tool to handle log messages, maybe an ingress controller, and the list goes on. A Kubernetes distribution will automate some, or all, of that setup. It will also ship with configuration settings based on its own interpretation of best practice or an intelligent default. Additionally, most distributions will come with some extensions or add-ons bundled and tested to ensure you can get going with your new cluster as quickly as possible.

Let’s take Kublr as an example. With Kubernetes at its core, this platform bundles technologies from mainly three layers: provisioning, runtime, orchestration and management, and observability and analysis. All modules are preconfigured with a few options to choose from and ready to go.  Different platforms have different focal points. In the case of Kublr, the focus is more on the operations side, while other platforms may focus more on developer tooling.

There are a lot of options in this category. As of this writing, k3s is the only CNCF project. There are a lot of great open source and commercial options available, including, Microk8s from Canonical, k3s, Tanzu Kubernetes Grid from VMware, Docker Enterprise from Mirantis, Rancher from Suse, and of course Red Hat’s Openshift. We didn’t have time to mention even close to half the Kubernetes distributions, and we encourage you to think carefully about your needs when you begin evaluating distributions.

Kubernetes distributions

Hosted Kubernetes 

What It Is

Hosted Kubernetes is a service offered by infrastructure providers like Amazon Web Services (AWS), DigitalOcean, Azure, or Google, allowing customers to spin up a Kubernetes cluster on-demand. The cloud provider takes responsibility for managing part of the Kubernetes cluster, usually called the control plane. They are similar to distributions but managed by the cloud provider on their infrastructure.

What’s the Problem They Solve

Hosted Kubernetes allows teams to get started with Kubernetes without knowing or doing anything beyond setting up an account with a cloud vendor. It solves four of the five Ws of getting started with Kubernetes. Who (manages it): your cloud provider; what: their hosted Kubernetes offering; when: now; and where: on the cloud providers infrastructure. The why is up to you.

How It Helps

Since the provider takes care of all management details, hosted Kubernetes is the easiest way to get started with cloud native. All users have to do, is develop their apps and deploy them on the hosted Kubernetes services — it’s incredibly convenient. The hosted offering allows users to spin up a Kubernetes cluster and get started right away,* while taking some responsibility for the cluster availability. It’s worth noting that with the extra convenience of these services comes some reduced flexibility. The offering is bound to the cloud provider, and Kubernetes users don’t have access to the Kubernetes control plane, so some configuration options are limited.

* Slight exception for EKS from AWS as it also requires users to take some additional steps to prepare their clusters.

Technical 101

Hosted Kubernetes are on-demand Kubernetes clusters provided by a vendor, usually an infrastructure hosting provider. The vendor takes responsibility for provisioning the cluster and managing the Kubernetes control plane. Again, the notable exception is EKS, where individual node provisioning is left up to the client. 

Hosted Kubernetes allows an organization to quickly provision new clusters and reduce their operational risk by outsourcing infrastructure component management to another organization. The main trade-offs are that you’ll likely be charged for the control plane management (GKE ran into a bit of controversy around price changes last year) and that you’ll be limited in what you can do. Managed clusters provide stricter limits on configuring your Kubernetes cluster than DIY Kubernetes clusters. 

There are numerous vendors and projects in this space and, at the time of this writing, no CNCF projects.

Hosted Kubernetes

Kubernetes Installer

What It Is

Kubernetes installers help install Kubernetes on a machine. They automate the Kubernetes installation and configuration process and may even help with upgrades. Kubernetes installers are often coupled with or used by Kubernetes distributions or hosted Kubernetes offerings. 

What’s the Problem They Solve

Similar to Kubernetes distributions, Kubernetes installers simplify getting started with Kubernetes. Open source Kubernetes relies on installers like kubeadm, which, as of this writing, is part of the Certified Kubernetes Administrator certification test to get Kubernetes clusters up and running.

How It Helps

Kubernetes installers ease the Kubernetes installation process. Like distributions, they provide a vetted source for the source code and version. They also often ship with opinionated Kubernetes environment configurations. Kubernetes installers like-kind (Kubernetes in Docker) allow you to get a Kubernetes cluster with a single command.

Technical 101

Whether you’re installing Kubernetes locally on Docker, spinning up and provisioning new virtual machines, or preparing new physical servers, you’re going to need a tool to handle all the preparation of various Kubernetes components (unless you’re looking to do it the hard way). 

Kubernetes installers simplify that process. Some handle spinning up nodes and others merely configure nodes you’ve already provisioned. They all offer various levels of automation and are each suited for different use cases. When getting started with an installer, start by understanding your needs, then pick an installer that addresses them. At the time of this writing, kubeadm is considered so fundamental to the Kubernetes ecosystem that it’s included as part of the CKA, certified Kubernetes administrator exam. Minikube, kind, kops, and kubespray are all CNCF-owned Kubernetes installer projects.

Kubernetes installer

PaaS / Container Service

What It Is

A platform as a service, or PaaS, is an environment that allows users to run applications without necessarily understanding or knowing about the underlying compute resources. PaaS and container services in this category are mechanisms to either host a PaaS for developers or host services they can use. 

What’s the Problem They Solve

In this series, we’ve talked a lot about the tools and technologies around “cloud native.” A PaaS attempts to connect many of the technologies found in this landscape in a way that provides direct value to developers. It answers the following questions: how will I run applications in various environments and, once running, how will my team and users interact with them?

How It Helps

PaaS provides opinions and choices around how to piece together the various open and closed source tools needed to run applications. Many offerings include tools that handle PaaS installation and upgrades and the mechanisms to convert application code into a running application. Additionally, PaaS handle the runtime needs of application instances, including on-demand scaling of individual components and visibility into performance and log messages of individual apps.

Technical 101

Organizations are adopting cloud native technologies to achieve specific business or organizational objectives. A PaaS provides a quicker path to value than building a custom application platform. Tools like Heroku or Cloud Foundry Application Runtime help organizations get up and running with new applications quickly. They excel at providing the tools needed to run 12 factor or cloud native applications.

Any PaaS comes with its own set of trade-offs and restrictions. Most only work with a subset of languages or application types and the opinions and decisions baked into them may or may not be a good fit for your needs. Stateless applications tend to do very well in a PaaS but stateful applications like databases usually don’t. There are currently no CNCF projects in this space but most of the offerings are open source and Cloud Foundry is managed by the Cloud Foundry Foundation.

Kubernetes PaaS / Container as a Service

Conclusion 

As we’ve seen there are multiple tools that help ease Kubernetes adoption. From Kubernetes distributions and hosted Kubernetes to more barebones installers or PaaS, they all take some of the installation and configuration burden and pre-package it for you. Each solution comes with its own “flavor.” Vendor opinions about what’s important and appropriate are built into the solution. 

Before adopting any of these, you’ll need to do some research to identify the best solution for your particular use case. Will you likely encounter advanced Kubernetes scenarios where you’ll need control over the control plane? Then, hosted solutions are likely not a good fit. Do you have a small team that manages “standard” workloads and need to offload as many operational tasks as possible? Then, hosted solutions may be a great fit. Is portability important? What about production-readiness? There are multiple aspects to consider. There is no “one best tool,” but there certainly is an optimal tool for your use case. Hopefully, this article will help you narrow your search down to the right “bucket.” 

This concludes the platform “column” of the CNCF landscape. Next, we’ll tackle the last article of this series, the observability and analysis “column.” 

As always, a very special thanks to Ihor Dvoretskyi from the CNCF who was so kind as to review the article making sure it’s all accurate.

Group Created with Sketch.
TNS owner Insight Partners is an investor in: Mirantis, Docker.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.