Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
AI & Machine Learning

Choosing Between a Cloud ML Platform and a Custom Stack

Last updated:

The platform demo is always impressive

Every cloud provider's machine learning platform demo follows the same arc: notebooks, one-click training, a model registry, an endpoint, a monitoring dashboard, all in one console. It looks like the answer to every MLOps problem at once.

For a large data science team, it often is. For a 90-person business with one data analyst and a churn model, it can be a lot of expensive machinery around a job that a scheduled Python script would do. The decision deserves more thought than which console looked nicest.

What each option actually means

Managed cloud ML platformCustom stack
ExamplesSageMaker, Vertex AI, Azure Machine Learning, DatabricksPython, scikit-learn, MLflow, a scheduler, PostgreSQL, containers
Set-up effortLower for the platform's happy pathHigher at first, you assemble the pieces
Running costPlatform fees and managed compute, endpoints can add upMostly your existing hosting plus engineering time
FlexibilityGood within the platform's patterns, awkward outside themWhatever you build
Skills neededPlatform-specific knowledgeGeneral Python and DevOps skills
Lock-inSignificant, pipelines and tooling are provider-specificLow, apart from any cloud services you choose

Neither column is the right answer in general. The right answer depends on a few facts about your organisation, and those are easy to establish.

When a managed platform is the better choice

  • Several data scientists or teams building and deploying models independently
  • Ten or more models in production, or a clear plan to get there
  • Heavy training workloads needing GPUs on demand
  • A company already committed to one cloud, with engineers who know it well
  • Regulated environments where the platform's built-in audit and access controls save real work
  • No appetite to maintain infrastructure, and budget to pay someone else to

In those situations the shared tooling, permissions and standardisation are worth the fees and the lock-in. Rebuilding them yourself would cost more.

When a custom stack is the better choice

  • One to five models, mostly tabular data, mostly batch predictions
  • A small team, often one or two people who also do other work
  • Low or irregular prediction traffic, where always-on endpoints waste money
  • An existing, well-run application stack the models can slot into
  • A desire to keep the option of moving providers

A typical small custom stack is not exotic: training code in a Git repository, MLflow or a simple table for tracking models, a scheduled job for batch scoring, predictions written to your main database, and monitoring through your existing tools. Our post on choosing an MLOps stack covers the components in more detail.

The costs people miss on each side

Platforms hide some costs in their convenience. Endpoints left running, notebook instances nobody shut down, storage of every experiment and data egress all turn up on the bill. The learning curve is real too; platform concepts do not transfer between providers.

Custom stacks hide costs in people. Someone has to patch servers, upgrade libraries, keep the scheduler running and document it all. If that person leaves, the stack can become a mystery quickly. We have inherited a few custom set-ups that were elegant and completely undocumented, which is its own kind of lock-in.

Platforms lock you into a vendor. Undocumented custom stacks lock you into a person. Pick the dependency you can manage.

A decision checklist

  1. Count your production models today and realistically in two years.
  2. List who will maintain them and what they already know.
  3. Note your prediction pattern: batch, real-time, or both, and at what volume.
  4. Check which cloud you are already on and how deep that commitment is.
  5. Estimate a year of platform fees at your expected usage, including endpoints.
  6. Estimate the engineering days to build and maintain a lean custom equivalent.
  7. Weigh any compliance or audit requirement the platform would satisfy for you.

If you are comparing providers specifically, Azure ML versus AWS machine learning sets out the differences between two of them.

Questions to ask before signing up to a platform

Platform sales conversations tend to focus on features. The questions that decide whether you will be happy a year later are more mundane.

  • What does an idle endpoint cost per month, and can it scale to zero?
  • Which parts of our pipeline would be written in platform-specific formats?
  • Can we export trained models in a standard format and run them elsewhere?
  • How are permissions, secrets and audit logs handled, and does that match how we already work?
  • What happens to our bill if prediction volume grows tenfold?

If the answers are vague, run a small pilot with one model and watch the invoice for two months before committing the rest.

A hybrid is often sensible

It is not all or nothing. Many businesses use managed services for the parts that are painful to run, such as GPU training jobs or a data warehouse, while keeping model code, tracking and batch scoring portable and simple. Writing training code as plain Python rather than platform-specific pipelines keeps the exit door open.

SpiderHunts has built both. For most SME machine learning projects we start lean and portable on the client's existing cloud, and recommend a platform when team size or model count makes shared tooling worth the fees. We would rather tell you that up front than migrate you later.

Frequently asked questions

Is SageMaker or Vertex AI worth it for a small business?

Sometimes, particularly if you are already deep in that cloud and need on-demand training compute. For a small business with a few batch models, the fees, learning curve and lock-in often outweigh the benefit compared with a lean stack on existing infrastructure.

What is a custom MLOps stack?

It is a set of general-purpose tools assembled to train, track, deploy and monitor models, such as Python libraries, MLflow, a job scheduler, a database and containers. It avoids platform fees and lock-in but needs engineering time to build and maintain.

How hard is it to move off a cloud ML platform?

It depends on how much of the platform's proprietary tooling you used. Plain training code and standard model formats move easily; platform-specific pipelines, feature stores and endpoints take real rework. Keeping core code portable from the start reduces the pain.

Can we start custom and move to a platform later?

Yes. If code is organised well, with tracked models and reproducible training, moving onto a platform later is a manageable migration. It is often the more sensible path than adopting a platform before you know what you need.

Keep reading

Weighing up a platform for your models?

Tell us how many models you run, who maintains them and which cloud you already use. We will give you a straight view on whether a platform would pay for itself.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

AI AgentsMachine LearningAI Integration