SaaS, PaaS, IaaS: Which One Should We Choose, and When?

A colleague from the finance team asked during a meeting: "are we in the cloud right now or on our own servers? I'm confused; going by the invoice, it looks split three ways." Fair question, because our platform really does run on three different models across three different layers at the same time. That day, when I drew our actual infrastructure on the whiteboard and explained "this is SaaS, this is PaaS, and this is IaaS," things clicked for everyone. Let me walk through the same drawing here, because these three are concepts that usually get used interchangeably, yet in architectural decisions they draw completely different lines of responsibility.

IaaS: we build the walls, we rent the foundation

Infrastructure as a Service rents you virtual machines, networking, and storage; everything from the operating system up is yours. The worker nodes our Kubernetes cluster runs on are exactly this layer for us: the provider gives us CPU, memory, and networking, and we set up everything else — container orchestration, scaling rules, security patches, monitoring. The price is responsibility: when a node's kernel turns out to have a security vulnerability, the patch schedule is our schedule; when a node crashes at 3 a.m., the on-call engineer is our on-call engineer. What we get in return is flexibility: we can shape the unusual network topology, the custom disk configuration, and the inter-service mTLS setup that our microservice architecture requires exactly the way we want. Where we choose IaaS follows a simple rule: we prefer IaaS wherever architectural control turns into a competitive advantage.

PaaS: the foundation and the walls are ready, you arrange the furniture

Platform as a Service also takes over management of the operating system and the runtime; you just bring your code and your data. Our managed database service sits exactly in this layer: replication, backups, failover, and version upgrades are the provider's job. We chose this deliberately, because we have no scenario in which we need to customize the inner workings of the database engine — what we want is a data layer with a tight SLA whose maintenance doesn't wake us up. Part of our messaging infrastructure is PaaS too: we run our own Kafka cluster because configuration details (partitioning strategy, retention policy) are critical for us, but the build environment of our CI/CD pipeline runs entirely on a managed PaaS — we don't want to think about who patches the infrastructure for which Node.js or PHP version; we'd rather spend that time on product development. Where we choose PaaS can also be summed up in a rule: we move to PaaS wherever customizing the layer below brings us no competitive advantage.

SaaS: the furniture is ready too, you just pick up the keys

Software as a Service means using a ready-made, end-to-end product; your job is just to configure it and feed it data. We use some of our Grafana dashboards, our email delivery infrastructure, and our customer support ticketing system as SaaS. There's a clear principle here too: every supporting function that isn't at the core of our business model but that we can't do without is a candidate for SaaS. Writing our own email delivery engine and building SPF/DKIM reputation from scratch adds no value for us, and there's no point in competing with players who have years of accumulated reputation and infrastructure in this space. By contrast, the parts at the heart of the platform, such as the order engine, the recommendation system, and the payment flow, will never be SaaS — because that's exactly where our competitive advantage lives.

The SaaS, PaaS, and IaaS layers stacked on top of each other; control and responsibility increase as you go down.
The further down you go, the more both control and responsibility increase.

We chose wrong once, and we learned

In the early years we got our search engine from a SaaS service; it was set up quickly, the integration was done in a day, and the team was happy. As our catalog grew, two things started to bother us: the settings the service offered fell short for Turkish character normalization (matching Turkish letters to their plain Latin counterparts, such as "ı" to "i" and "ş" to "s"), and search latency began to fluctuate beyond our control as traffic increased. The speed SaaS gave us turned into a constraint the moment our need for customization became a real competitive advantage. We moved to our own search cluster; the setup took two weeks, but the quality of Turkish search showed up directly in the conversion rate. The lesson we took from this: you should choose SaaS not "because it's easy" but "because we will never need to specialize in this layer"; choose it for the first reason and growth will punish you.

A before-and-after comparison of moving the search engine from a SaaS service to our own cluster.
Once customization became a real advantage, the speed of SaaS turned into a constraint.

Price in lock-in risk from the start

All three models have a cost that tends to get overlooked: the exit cost. With IaaS, moving is relatively easy, because you already have control at the operating system level. PaaS carries a medium level of risk; leaving a managed database requires data migration and compatibility testing, but it's not impossible. With SaaS the risk is highest — the data format, the workflow, even the team's habits get shaped around that service. Before adopting a new SaaS service, we now ask a standard question: "if we ever have to leave this service, how long will it take us to get our data and business logic out?" If the answer isn't clear, we place that service at the edge of the platform, not at its core.

The decision framework: the question is always the same

What separates the three models isn't technical detail but a single question: "does customizing this layer really give us an advantage, or does it just add maintenance burden?" If the answer is "it gives us an advantage," we go down — more control, more responsibility, toward IaaS. If the answer is "it just adds burden," we go up — less control, less responsibility, toward SaaS. When we add a new component, the team doesn't even debate these three-letter acronyms anymore; we go straight to "what would customizing this gain us," and the answer tells us on its own which layer it belongs to. There's also an often-forgotten truth: these three layers aren't fixed. It's perfectly possible to move a service we use as PaaS today down to IaaS once scale grows and the need for customization turns into a real advantage — in fact, that's exactly what we did with our messaging infrastructure. The right question isn't "which model is more modern" but "which one serves us today"; the answer can change over time, and the architecture should change along with it.

Decision flow: a single question is asked about a new component, and depending on the answer you head toward IaaS or toward SaaS.
The right question isn't which one is modern, but which one serves us today.

The three-way split our finance colleague saw on the invoice wasn't actually a sign of confusion; it was the natural look of a well-designed architecture. I always enjoy talking about infrastructure decisions; my contact page is open.