Cloud-native

On this page 7

Cloud-native is an approach to building and running software that treats the platform as elastic, programmable infrastructure: applications are split into loosely coupled services, packaged in containers, deployed through automated pipelines and operated with declarative APIs. Among the Cloud fundamentals, it describes how software is designed rather than where it runs, so a cloud-native system can operate in a public cloud, a private cloud or a hybrid cloud.

The term contrasts with lift-and-shift workloads, which are moved to rented servers without changing their architecture. A cloud-native application expects instances to fail, scale out and be replaced at any moment, and it is built so that this constant change does not interrupt service.

Core principles of cloud-native design

Cloud-native design rests on a small set of principles that together make software resilient, scalable and fast to change. The Cloud Native Computing Foundation summarizes them as containers, service meshes, microservices, immutable infrastructure and declarative APIs, but the underlying ideas matter more than any single tool.

The most important idea is disposability. Instances are treated as interchangeable units, often described as cattle rather than pets: when one misbehaves, the platform replaces it instead of repairing it. This only works when application state lives outside the instance, in managed databases, object storage or distributed caches.

The following table lists the core principles, what each one means in practice and the main benefit it delivers.

PrincipleWhat it means in practiceMain benefit
MicroservicesSmall services own one business capabilityIndependent deployment and scaling
ContainerizationCode and dependencies ship as one imageIdentical behavior across environments
Immutable infrastructureServers are replaced, never patched in placeNo configuration drift
Declarative configurationDesired state is described, not scriptedAutomatic reconciliation by the platform
StatelessnessSession data is kept in external storesAny instance can serve any request
ObservabilityMetrics, logs and traces are built inFast diagnosis in distributed systems
Principles behind cloud-native applications

The cloud-native technology stack

A cloud-native platform is a layered stack in which each layer exposes an API to the layer above. At the base sit compute, network and storage from an IaaS provider or an on-premises data center; above them run a container orchestrator, a delivery pipeline and an observability layer.

Kubernetes has become the de facto orchestrator. It continuously compares the desired state declared in manifests with the actual state of the cluster and reconciles the difference, restarting failed containers, rescheduling them on healthy nodes and adjusting replica counts. Serverless functions and managed container services follow the same model with less operational work for the customer.

This table maps the typical layers of the stack to their purpose and to representative technologies.

LayerPurposeRepresentative technologies
PackagingBuild portable, versioned artifactsOCI container images, Helm charts
OrchestrationSchedule, heal and scale workloadsKubernetes, managed container services
Service networkingRoute, secure and observe service trafficService mesh, API gateway, ingress
DeliveryAutomate build, test and releaseCI/CD pipelines, GitOps controllers
ObservabilityCollect and correlate telemetryOpenTelemetry, Prometheus, tracing backends
Infrastructure as codeProvision resources declarativelyTerraform, cloud provider templates
Layers of a typical cloud-native platform

GitOps extends the declarative model to delivery: the Git repository becomes the single source of truth, and a controller in the cluster applies every committed change. Rollback then means reverting a commit, which gives teams an auditable change history without manual server access.

Cloud-native compared with other deployment models

Cloud-native differs from older models mainly in how failure, scaling and change are handled. A traditional monolith on virtual machines can run well in the cloud, but it scales as one unit and usually depends on careful, infrequent releases.

The comparison below contrasts cloud-native systems with monolithic on-premises software and with lift-and-shift migration, the most common starting point of a cloud migration.

AspectTraditional monolithLift-and-shiftCloud-native
Unit of deploymentWhole applicationWhole virtual machineIndividual service or function
ScalingVertical, manualVertical or VM-levelHorizontal and automatic
Release frequencyMonthly or quarterlyUnchanged from beforeDaily or on demand
Failure handlingPrevent failure at all costsRelies on VM recoveryDesign for failure
Use of cloud elasticityNoneLimitedFull
Operational modelSeparate operations teamMostly unchangedDevOps and platform teams
Cloud-native versus traditional and migrated workloads

Cloud-native is also distinct from SaaS and PaaS. SaaS is a delivery model for finished applications and PaaS is a service category; cloud-native is an architectural style that a SaaS vendor or a PaaS customer may or may not follow.

When a cloud-native architecture makes sense

A cloud-native architecture pays off when demand varies, change is frequent and several teams work in parallel. It is less suitable for small, stable applications, where the overhead of orchestration, pipelines and distributed tracing exceeds the benefit.

The decision table below matches common situations with a recommended approach and the reasoning behind it.

SituationRecommended approachReason
Highly variable trafficCloud-native with autoscalingPays only for capacity in use
Many teams on one productMicroservices on a shared platformTeams release independently
Small internal toolModular monolith or PaaSLower operational complexity
Strict latency at the edgeContainers combined with edge computingProcessing close to users
Legacy system with deadlineLift-and-shift, then refactorFast exit from the data center
Choosing an architecture for a workload

A practical path is incremental modernization, often called the strangler fig pattern: new features are built as services around the legacy core, which shrinks until it can be retired. This lowers risk compared with a full rewrite, which frequently overruns.

Limitations, costs and common mistakes

The main trade-off of cloud-native design is operational complexity in exchange for agility. A system of fifty services has fifty deployment pipelines, many network hops and failure modes that do not exist inside a single process, such as partial outages, retries that amplify load and inconsistent data across services.

  • Distributed monolith: services are split but still deployed together because they share databases or tightly coupled APIs.
  • Uncontrolled cost: autoscaling without limits, idle clusters and verbose telemetry can raise the cloud bill sharply.
  • Missing observability: without distributed tracing, a slow request across ten services is very hard to diagnose.
  • Security gaps: every container image, API and service account widens the attack surface under the shared responsibility model.
  • Vendor lock-in: heavy use of proprietary managed services reduces portability between providers.

Careful teams mitigate these risks with platform engineering, which offers developers a paved road of templates and guardrails, and with FinOps practices that make costs visible per service. Starting with a modular monolith and extracting services only when a clear boundary appears is often the most pragmatic route.

Stripped to the essentials

Cloud-native software is built for the cloud from the start rather than simply moved there. Instead of one big program on one big server, it is made of many small parts that each do one job. Each part runs in a standard package, so it behaves the same everywhere.

Think of a restaurant kitchen with many stations instead of one cook. If the grill station gets busy, the kitchen adds another grill cook, and if one cook leaves, a replacement steps in without closing the restaurant. The key idea is simple: expect parts to fail and replace them automatically, so customers never notice.

Where it is applied

A mid-sized online retailer runs its shop as about thirty containerized services on a managed Kubernetes cluster spread across three availability zones. Catalog, cart, payment and search are separate services, each owned by a small team that ships changes several times a day through an automated pipeline.

On a typical weekday the cluster runs around 40 nodes. During a seasonal sale, traffic rises roughly eightfold, and the horizontal autoscaler raises the checkout service from 6 to 60 replicas within minutes while the catalog service barely changes. When one availability zone suffers a network outage, the orchestrator reschedules affected pods into the other two zones. The result is no customer-visible downtime during the peak and a compute bill that falls back to normal as soon as the sale ends.