IaaS, PaaS and SaaS Compared
See what the three cloud service models give you, what you still manage in each, and how to pick the right level for a project.
Key takeaways
- IaaS gives you virtual hardware and leaves the operating system, runtime and application in your hands.
- PaaS runs your application on a managed platform, so you focus on code and data rather than servers.
- SaaS is a complete product you configure and use, with the provider handling nearly all of the technology.
- Responsibility for your data and user access stays with you in all three models.
- Most organizations use all three at once, picking a level for each job.
IaaS, PaaS and SaaS describe how much of the technology stack a provider runs for you. With infrastructure as a service (IaaS) you rent raw building blocks such as virtual machines and disks. With platform as a service (PaaS) you bring your code and the provider runs it. With software as a service (SaaS) you simply use a finished application.
The further you move from IaaS toward SaaS, the less you have to maintain and the less you can change. Choosing well means deciding which chores are worth keeping because you need the control that comes with them.
The stack that gets divided up
Any running application depends on a pile of layers. At the bottom are buildings, power and cabling. Above them sit physical servers, storage and network gear, then virtualization that slices the hardware, then an operating system, then a runtime (the language environment and libraries your program needs), then the application, and finally the data and the people who use it.
When you run everything yourself, every layer is your job. Each cloud model draws a line somewhere in that pile. Below the line belongs to the provider. Above it belongs to you.
Infrastructure as a service
IaaS is the closest thing to having your own servers without owning them. You choose a virtual machine size, attach disks, define networks and firewall rules, and install whatever you like. The provider keeps the physical equipment alive and isolates your virtual machines from other customers.
You'd pick IaaS when you need a specific operating system version, unusual software, full administrator access or a straightforward move of existing servers. It's also the usual choice for people who want to learn how systems fit together.
The cost is labor. You apply security patches, harden the remote login, set up backups, watch disk space and plan for failure. An unpatched virtual machine exposed to the internet gets probed within a short time, just like a physical one. If you're comparing this with traditional hosting plans, shared vs. VPS vs. dedicated vs. cloud hosting puts the options side by side.
Platform as a service
PaaS removes the server from view. You hand the platform your code, often by pushing it from a version control system, and it builds the application, runs it, routes web traffic to it and restarts it if it crashes. Managed databases, queues and caches usually fit in this category as well.
The gain is speed. A small team can run a reasonably robust web application without anyone who specializes in operating systems. Scaling is often a setting: more instances, or automatic scaling based on load.
The price of that convenience is a set of rules. The platform supports particular languages and versions. The local file system may be temporary, so uploaded files have to go to separate storage. Long-running background jobs may need a different service. When something misbehaves underneath, you can read logs and metrics but you generally can't log into the machine and poke around.
Serverless computing is a close relative. Your code runs as short functions triggered by requests or events, and you're billed by use. It suits bursty, event-driven work and fits less well with long computations or programs that need to keep state in memory.
Software as a service
SaaS is what most people use without naming it: webmail, shared documents, video meetings, customer databases, accounting and design tools in a browser. You create accounts, adjust settings and put in your content. The provider handles servers, code, updates and uptime.
SaaS is usually the right answer for functions that aren't what makes your organization distinctive. Building your own email system or payroll software rarely pays off.
Still, some work remains yours, and it's easy to forget:
- Deciding who has access, and removing it when people leave.
- Turning on multi-factor sign-in and, where available, single sign-on.
- Reviewing sharing settings so files aren't public by accident.
- Keeping your own copy of records you can't afford to lose.
- Checking how you would export everything if you left.
That last pair matters because a SaaS provider's redundancy protects against its hardware failing. It may not help if a user deletes a folder and the retention window has passed.
A worked example
Say a community sports league wants online registration, a public website and a members' database. Here is how each level would look.
With SaaS, the league signs up for a registration product, configures the form and takes payments through it. It could be live in an afternoon. It's limited to the fields and workflows the product offers.
With PaaS, a volunteer developer writes a small application and deploys it to a managed platform with a managed database. The league gets exactly the workflow it wants, and someone has to maintain the code and update its libraries.
With IaaS, the volunteer rents a virtual machine, installs a web server and database, configures certificates, firewall and backups, and keeps all of it patched. It offers the most control and creates the most ongoing work, which becomes a problem if that volunteer moves away.
For most leagues SaaS wins, unless the registration rules are unusual enough that no product handles them.
How cost behaves at each level
IaaS charges mostly for resources reserved or running: machine hours, disk capacity and traffic. An idle virtual machine costs the same as a busy one. PaaS charges for instances, database tiers or usage, often at a higher rate per unit of computing in exchange for managed operations. SaaS commonly charges per user per month or by feature tier.
Compare total cost, including people's time. A cheaper virtual machine that needs several hours of maintenance each month may cost more than a platform with a larger invoice. As usage grows, the balance can shift, because per-unit premiums add up. Read the metering details before committing, and watch for charges for moving data out.
Lock-in and portability
Each model locks you in differently. IaaS virtual machines and containers are comparatively portable, though networking and permissions setups don't transfer directly. PaaS ties you to the platform's build process and managed services, more so if you use proprietary ones instead of common open technologies. SaaS lock-in lives in your data and habits: years of records in one product's structure, plus staff trained on it.
You can't eliminate this, but you can plan. Before adopting a service, export a sample of your data and look at what comes out. A spreadsheet of contacts is easy to move; comments, version history and automations often aren't.
Moving between levels
Your choice isn't permanent, and projects often move as their needs become clearer. A prototype might start on a platform because it's quick, then shift part of its work to virtual machines when it needs software the platform can't run. Just as often the move goes the other way: a team tired of patching servers shifts a plain web application onto a managed platform.
A few habits make any later move less painful. Keep configuration, such as database addresses and feature switches, outside your code so it can be supplied differently on each platform. Store uploaded files in a storage service rather than on one machine's local disk. Use widely supported database engines when you have a free choice. Write down every scheduled job and integration, since these are the pieces people forget until they stop running.
Moving toward SaaS is mainly a data and process exercise. Plan how records will be cleaned and imported, which custom behaviors you're willing to give up and how long the old system stays available for checking. Run both side by side for a short period if the cost allows, and decide in advance which one is the source of truth during the overlap, so staff don't enter changes in two places.
Questions to settle before you sign up
Whatever the level, a short review before adoption prevents most regrets. Find out where your data is stored and whether you can choose the location. Check what the provider backs up, how far back you can restore and whether a restore is something you can trigger yourself. Read how price changes are announced and how much notice you get before a feature or version is retired.
Look at the failure case too. If the service is unavailable for a day, which tasks stop? A public status page, a documented support route and a local copy of essential information, such as a contact list or schedule, turn a bad day into an inconvenient one.
Other "as a service" labels
You'll see many more acronyms: database as a service, desktop as a service, identity as a service and so on. Most are specialized forms of PaaS or SaaS. Instead of memorizing them, ask three questions about any offer.
- What exactly does the provider operate, patch and back up?
- What can I configure, and what can't I touch?
- If I leave, what do I take with me and in what format?
The answers tell you more than the label. For the broader picture of how these services are delivered, see cloud computing explained.
Common questions
Can one project mix models?
Yes, and most do. A team might run its main application on a platform, keep one unusual program on a virtual machine and use SaaS for email, chat and source code.
Is PaaS more secure than IaaS?
It reduces the number of things you can neglect, especially operating system patching. Weak passwords, careless access rules and flaws in your own code remain risks in both.
Which should a beginner learn first?
If your goal is to publish something, start with PaaS. If your goal is to understand how servers work, a small virtual machine teaches far more. Delete it when you're done so it doesn't keep billing.