Skip to main content

What are you looking for?

Explore our services and discover how we can help you achieve your goals

Client Workspace

Cloud portability without building for every cloud: where abstraction pays and where it is wasted

Cloud portability pays when you keep data, application packaging and infrastructure code open, and is wasted when you wrap every provider service so the product could run anywhere. Netbase plans portability layer by layer: accept managed services where they save real work, price the exit for each one, and rehearse a single move.

Book a solution review See the related solution

By Netbase Commerce and Platform Engineering Desk · Reviewed by David (CEO) · Updated · 10 min read

star

This guide is for CTOs, founders and platform leads who have been told to "stay cloud-agnostic" and need to know what that should cost. It belongs to Netbase's cloud platform engineering work; moving an existing system between environments is covered by cloud migration and modernization.

In this guide

Why does "cloud-agnostic by default" usually cost more than the lock-in it avoids?

Avoiding lock-in is itself an investment, and most of the bill is complexity. A team that hides every provider service behind its own interface writes and tests code for clouds it never runs on, gives up the managed features it is paying for, and still ends up tied to its own abstraction layer.

Gregor Hohpe's article Don't get locked up into avoiding lock-in frames the trade-off in two questions: how much would switching cost, and how likely is the switch? He separates vendor, product, version, architecture, platform, skills, legal and mental lock-in, and notes that open-source software does not remove lock-in on its own. Spending to lower a switching cost that will never be paid is waste.

So the useful question is not "can we run on any cloud?" but "which parts would hurt to move, how likely is a move, and what is the cheapest insurance for those parts?"

Which layers should stay portable, and which managed services can you accept?

Decide per layer, not per product. The matrix below is the worksheet Netbase uses in architecture planning.

Layer Keep it portable when Accept the managed service when Cheap insurance
Data and storage formats Always: data is the hardest and slowest part to move The engine speaks an open protocol, such as PostgreSQL or S3-compatible storage Regular exports in open formats, restored somewhere else at least once
Compute packaging The product may run for a client on another provider or on premises Only one provider will ever host it and the team is small Container images and twelve-factor configuration, even on a managed runtime
Infrastructure code Almost always: rebuilding by hand is the real exit cost Never skip it; choose the tool, not whether to use one One tool for every environment, with no console-only changes
Identity and access Customers bring their own identity provider Internal users only, on one provider Standard protocols such as OpenID Connect and SAML at the application edge
Messaging and events Events cross company or provider boundaries Events stay inside one product on one provider Your own event schema, independent of the queue product
Observability You may change monitoring vendor or run in several places One provider's native tools cover every signal Vendor-neutral instrumentation in the code
Differentiating managed services (analytics, AI, search) Rarely worth it The service saves months of work and is central to the product A thin adapter at the one place the product calls it, plus an exit note

Two of these layers have mature open standards. Kubernetes describes itself as a portable, extensible, open-source platform for containerized workloads, and OpenTelemetry is a vendor- and tool-agnostic observability framework. Using a standard costs little; building your own equivalent costs a lot.

The managed Postgres comparison shows the same trade-off for one service: a provider-specific storage engine may be worth accepting, as long as the data can still leave through standard PostgreSQL tools.

Where is abstraction usually wasted?

Some portability work looks responsible but rarely pays back. Each item comes with the signal that shows the effort is not earning anything.

  • A home-made wrapper over every provider API

    Why it rarely pays
    You maintain a second interface for a cloud you never test
    The signal
    Only one implementation of the wrapper exists
  • Lowest-common-denominator design

    Why it rarely pays
    You give up managed features you already pay for
    The signal
    The team rebuilds what the provider offers as a service
  • Two clouds in production for negotiating leverage

    Why it rarely pays
    Every release, alert and runbook doubles
    The signal
    No outage, regulation or customer requires the second cloud
  • Self-managed Kubernetes only for portability

    Why it rarely pays
    Operating effort lands on a small team
    The signal
    The workload would fit a managed container service
  • Portable serverless frameworks across providers

    Why it rarely pays
    Triggers, permissions and limits still differ
    The signal
    Functions are short and cheap to rewrite anyway

The serverless or containers guide covers the compute choice itself; this page only asks how much of that choice you need to keep reversible.

What does a cloud exit actually cost, and how do you price it?

An exit is priced in data transfer, rewrite effort and time, not in theory. Price it per layer once, at design time, and update it when the architecture changes.

Data transfer has become a smaller part of the bill. AWS announced in its post on free data transfer out when moving out of AWS that customers leaving can ask support for credits on the data being migrated, and linked the waiver to the direction of the European Data Act. The European Commission's Data Act page describes new rules for customers to switch between providers of data-processing services; the Act has applied since 12 September 2025.

That leaves rewrite effort and time as the main exit cost: code tied to provider services, infrastructure definitions, identity integration, and the skills of the team. Those are the parts the worksheet below makes visible.

How do you plan portability without building for every cloud?

  1. List the realistic triggers

    A regulator, a customer contract that names a provider or on-premises hosting, a provider price or policy change, an acquisition. If none applies within the product's planned life, keep portability at the cheap-insurance level.

  2. Inventory the services in use

    For each one, note the layer, how deeply the code depends on it, and the open standard it speaks, if any.

  3. Score switching cost and likelihood

    High cost with a likely trigger needs real work now; high cost with an unlikely trigger needs an exit note; low cost needs nothing.

  4. Buy the cheap insurance first

    Open data exports, container images, infrastructure as code and standard identity protocols cover most of the risk. The Terraform state and modules guide shows a layout that can be rebuilt in a new account.

  5. Write a one-page exit note per differentiating service

    What it does for the product, what would replace it, and the effort in plain words.

  6. Rehearse one move

    Restore a production data export in another environment, or rebuild one service from code in a clean account. An exit plan that has never run is a guess.

  7. Review at architecture changes

    Revisit the scores whenever a new managed service, region or customer requirement arrives.

When should you not invest in portability?

Before product-market fit, speed beats optionality: use the managed services that let a small team ship, keep the data exportable, and stop there.

Short-lived workloads, such as a campaign site or a one-year pilot, rarely justify more than infrastructure as code. And if no realistic trigger exists, a second cloud in production adds cost and failure modes without reducing any risk you face.

Do invest when a customer or regulator requires a specific hosting location, when the product is sold for installation in client environments, or when one provider service sits under the whole business with no export path.

Where AI fits

AI helps with the inventory and the paperwork, not with the decision. An assistant can read infrastructure code and application code, list every provider-specific service call, draft the first version of each exit note and flag configuration that exists only in a console. Netbase works with the major commercial and open-source AI tools and models, chosen per project.

Engineers confirm every dependency the assistant reports, score the switching cost and likelihood, and own the exit notes. An AI-generated inventory that nobody checked against the running system is not evidence.

What delivery record exists, and what does not

Netbase works as offshore development partner on a multi-tenant cloud ERP for a US client, not named, delivered as SaaS to small and mid-sized businesses, and builds and runs its own SaaS products, such as Cloodo Workspace. The cloud providers Netbase uses are AWS, Google Cloud, DigitalOcean and Cloudflare; no partner tier or cloud certification is claimed.

Delivery follows a six-step lifecycle, from discovery and architecture planning to ongoing support, with weekly reviews and KPI dashboards. Most Netbase projects are delivered on fixed-price contracts.

No published Netbase record describes a client's move between cloud providers, and no migration duration, cost saving or uptime figure is claimed. This guide explains a method, not a case study.

Alternatives: which portability strategy fits, and how do you choose?

Strategy Fits when Watch for
One cloud, managed services, cheap insurance Most products, most of the time Exit notes drift unless reviewed at architecture changes
One primary cloud, portable core Data-heavy or long-lived products, or products sold into regulated buyers Keep the portable core small and tested, or it becomes a second product
Product installable in client environments Customers host it themselves or on their own provider Every supported environment needs its own test pipeline
Active multi-cloud Regulation, residency or resilience targets one provider cannot meet Operating effort, skills and incident handling roughly double

Choose by three criteria: whether a realistic trigger to move exists within the product's planned life, how much of the value sits in data versus in provider features, and whether the team can operate what it builds. The Google Cloud hybrid and multicloud patterns start from the same point: each workload portfolio has its own requirements and constraints, so choose a pattern per workload rather than for the whole estate.

Limits of this guide

  • It does not compare cloud providers or rank their services.
  • Provider programmes and regulations change; check the cited sources before relying on an exit assumption.

Plan the next step with a Netbase consultant

Frequently asked questions

It makes the compute packaging portable. Data, identity, managed databases, networking and the provider services the application calls still tie it to one cloud, so Kubernetes alone is not an exit plan.

Rarely on its own. Running two clouds in production doubles operating work and often creates a new lock-in to your own abstraction layer; keep data and infrastructure code portable and add a second cloud only when regulation, a customer or a resilience target requires it.

Revisit them whenever a new managed service, region or customer requirement enters the architecture, and rehearse at least one exit step on a regular schedule so the plan stays real.

Next step

If you want the portability worksheet filled in for your own architecture before the next platform decision, book a solution review with Netbase.

AI-ready cloud platform engineering for SaaS and commerce workloads AI-ready cloud platform engineering for SaaS and commerce workloads

Netbase provides cloud platform engineering for SaaS and commerce teams that need a secure, repeatable home for their software and its AI features, on AWS, Google Cloud, DigitalOcean or Cloudflare. We design the architecture, write the environments as code, connect managed and AI services and hand over a platform your team can run, built the way we run ours.

Learn More
line
AI-assisted cloud migration with a cut-over plan and a way back AI-assisted cloud migration with a cut-over plan and a way back

Netbase provides cloud migration services for companies running business applications on ageing servers or hosting to move them to AWS, Google Cloud, DigitalOcean or Cloudflare without losing data or control. AI speeds up the code and dependency assessment; every migration still has an inventory, a rehearsed cut-over, cost controls from day one and a tested rollback point.

Learn More
line
AI-assisted DevOps and platform engineering for routine releases AI-assisted DevOps and platform engineering for routine releases

Netbase provides DevOps and platform engineering for SaaS and commerce teams to make releases routine instead of risky. We set up CI/CD pipelines, repeatable environments and observability on AWS, Google Cloud, DigitalOcean or Cloudflare, with AI assistance for tests, reviews and incident triage, so every change ships the same way and problems surface before customers notice.

Learn More
line
SaaS product accelerator: launch an AI-ready SaaS on proven Netbase modules SaaS product accelerator: launch an AI-ready SaaS on proven Netbase modules

A SaaS product accelerator is a set of reusable Netbase modules for accounts, billing, roles and integrations that helps founders and product teams launch subscription software faster, with room for in-product AI from the first release. Reusing these modules can shorten development time, and the approach is proven on Printcart, Netbase's own web-to-print SaaS.

Learn More
line

Work with Netbase remotely

Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.

Contact Netbase

Discuss a project

Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.
Project enquiries

project@netbasejsc.com

WhatsApp

+84 937 869 689

Office address

91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam

Get in touch

Tell us what you want to build, modernize, or operate.

Tell us what you want to build, modernize, or operate.

Contact Netbase