keepcalculator

06 Numbers and Powers

Cloud as a Service: IaaS, PaaS, SaaS Explained

Card No. 06·69915 · Updated · Standard formula, shown below

Monthly cost 216.00 USD
Virtual machines
3 count
You entered
Hours per month
720 h
You entered
Hourly rate per VM
0.1 USD
You entered
You enter
Virtual machines, Hours per month, Hourly rate per VM
You get
Monthly cost
Rounding
2 dp

Cloud as a service means delivering computing resources—servers, storage, databases, networking, software, and more—over the internet on a pay-as-you-go basis, rather than owning and maintaining physical hardware. You enter your usage requirements (like number of virtual machines or storage size) and the provider supplies the capacity, with the service model (IaaS, PaaS, or SaaS) determining how much of the underlying infrastructure you manage. This article explains the three main service models, how they compare, what they cost, and how to choose the right one.

Formula

The calculator works out the monthly cost of running a set of virtual machines (VMs) in a cloud IaaS environment:

Monthly cost = Number of VMs × Hours per month × Hourly rate per VM

Where:

  • Number of VMs – the count of virtual machines you run (unit: count)
  • Hours per month – how long each VM runs (unit: hours, typical 720 for 24/7)
  • Hourly rate per VM – the price the provider charges for one VM per hour (unit: USD, but any currency works)

This is the base arithmetic behind most cloud billing. Real invoices add data transfer, storage, and managed services, but the VM compute cost follows this simple multiplication.

Worked Example

Using the defaults from the calculator: 3 virtual machines, running 720 hours per month (24/7), at an hourly rate of $0.10 each.

  1. Multiply the number of VMs by hours: 3 × 720 = 2,160 VM-hours
  2. Multiply by the hourly rate: 2,160 × $0.10 = $216.00

The monthly cost is $216.00. If you only ran the VMs during business hours (say 8 hours × 22 days = 176 hours), the cost would drop to 3 × 176 × $0.10 = $52.80.

What Does “Cloud as a Service” Actually Mean?

The phrase “as a service” signals a shift from buying hardware to renting capability. Instead of a company purchasing a server rack, installing it in a data center, and maintaining it, they subscribe to a cloud provider that owns the physical equipment and offers it as a metered utility. The three core service models are:

  • Infrastructure as a Service (IaaS) – you rent raw compute, storage, and networking. You manage the operating system, runtime, and applications. Examples: virtual machines, object storage, virtual networks.
  • Platform as a Service (PaaS) – the provider also manages the operating system and middleware. You deploy your code onto a managed runtime (like a web app hosting platform or a managed database).
  • Software as a Service (SaaS) – you use a complete application over the web. The provider handles everything: servers, OS, app, updates, and backups. Examples: email, office suites, CRM tools.

The distinction matters because it defines your team’s responsibilities. With IaaS you patch the OS; with PaaS you don’t; with SaaS you don’t even think about it.

How Cloud Services Work Under the Hood

Cloud providers run massive data centers full of physical servers. Using a hypervisor, they slice each physical server into multiple virtual machines, each isolated from the others. When you request a VM, the provider’s orchestration software places it on a physical host with available capacity, attaches storage from a distributed network, and assigns an IP address. This happens in seconds, and you interact with it through a web console or an API.

Key technologies that make this possible:

  • Virtualization – separates the guest OS from the physical hardware, enabling multiple tenants on one machine.
  • Orchestration – software like Kubernetes (for containers) or the provider’s own scheduler automates deployment, scaling, and healing.
  • Software-Defined Networking – virtual networks, firewalls, and load balancers are configured in code, not with physical cables.
  • Object Storage – data is stored redundantly across multiple disks and locations, accessible via HTTP APIs.

When you scale up, the provider adds more VMs or containers; when you scale down, it releases them. You only pay for what you use, which is why the hourly model in the calculator is so common.

IaaS vs. PaaS vs. SaaS: Which Should You Choose?

The right model depends on your team’s skills and your goal. Here’s a practical breakdown:

  • IaaS – choose this if you need full control, have a dedicated ops team, or run legacy software that requires a specific OS configuration. You are responsible for security patches, backups, and high availability.
  • PaaS – choose this if you’re developing a new application and want to focus on code, not infrastructure. The provider handles scaling and the OS, but you still write and deploy the application. Good for web apps and APIs.
  • SaaS – choose this for end-user tools like email, document editing, or customer relationship management. No development required; you just configure and use.

A common misconception is that IaaS is always cheaper. For a small team, the time spent managing servers often exceeds the savings. PaaS may cost more per hour but reduces operational overhead. SaaS has the lowest management burden but the least customization.

Common Problems and How to Avoid Them

Cloud adoption brings specific pitfalls that catch new users:

  • Cost overruns – leaving unused VMs running is the #1 waste. Use the calculator above to estimate, and set up budget alerts. Turn off dev/test environments outside working hours.
  • Vendor lock-in – each provider has proprietary APIs for storage, databases, and serverless functions. Mitigate by using standard protocols (like SQL or S3-compatible storage) and containerizing your apps.
  • Security misconfiguration – publicly exposed storage buckets and overly permissive firewall rules are leading causes of data breaches. Follow the principle of least privilege and enable logging.
  • Latency surprises – moving an on-premise app to a distant data center can increase response times. Choose a region close to your users.

Most of these are avoidable with planning. Start small, monitor usage, and review the provider’s shared responsibility model to know who secures what.

Costs: What You Actually Pay For

Cloud pricing is granular. Beyond the compute hours in the calculator, you typically pay for:

  • Data transfer – incoming data is often free, but outgoing data (egress) is charged per GB. This can surprise high-traffic apps.
  • Storage – per GB per month, with tiers for hot (frequent access) and cold (archive) data.
  • Managed services – a managed database or load balancer adds an hourly fee on top of the underlying compute.
  • Snapshots and backups – stored separately, often at a lower rate but still billable.

Most providers offer a pricing calculator on their website. The key is to estimate your usage honestly—don’t assume 100% utilization. The simple formula here gives a baseline; multiply by your expected egress and storage to get a realistic number.

Alternatives to Public Cloud

Not every workload belongs in a public cloud. Consider these alternatives:

  • On-premises data center – you own everything. High upfront cost, but predictable and fully controlled. Good for strict compliance or data residency requirements.
  • Private cloud – cloud-like self-service on your own hardware, often using OpenStack or VMware. More control than public cloud, but you still manage the hardware.
  • Hybrid cloud – mix of on-premises and public cloud. Keep sensitive data on-prem, run bursty workloads in the cloud. This is the most common enterprise pattern.
  • Edge computing – process data near the source (e.g., IoT devices) to reduce latency, rather than sending everything to a central cloud.

Each has trade-offs in cost, control, and latency. Public cloud wins on elasticity and global reach; on-prem wins on predictability and data sovereignty.

Frequently Asked Questions

What is the difference between IaaS, PaaS, and SaaS in plain English?

Think of pizza. IaaS is buying dough, sauce, and cheese—you assemble and bake it yourself. PaaS is ordering a ready-to-bake pizza—you just put it in the oven. SaaS is ordering a delivered, hot pizza—you just eat. In tech terms: IaaS gives you raw servers, PaaS gives you a platform to run your code, SaaS gives you a finished application.

Is cloud as a service the same as cloud computing?

Essentially yes. “Cloud computing” is the umbrella term; “as a service” describes the delivery model. All cloud computing is delivered as a service (IaaS, PaaS, or SaaS), so the phrases are often used interchangeably.

How do I estimate my monthly cloud bill?

Start with the compute cost (as in the calculator), then add storage (per GB), data egress (per GB), and any managed services. Use the provider’s pricing page for current rates—they change frequently. Always include a buffer for spikes in usage.

Can I move from one cloud provider to another easily?

It depends. If you use basic VMs and standard databases, migration is straightforward—just re-image and copy data. If you rely on provider-specific services like serverless functions or managed AI, you’ll need to rewrite parts of your application. Containerization (Docker, Kubernetes) makes portability much easier.

Is cloud as a service secure?

Security is a shared responsibility. The provider secures the physical data center and the hypervisor; you secure your operating system, applications, and data. With proper configuration (strong access controls, encryption, monitoring), cloud services can be as secure as—or more secure than—most on-premises setups, because providers invest heavily in security expertise.

What does “serverless” mean in cloud computing?

Serverless (or Function-as-a-Service) is a subset of PaaS where you upload code and the provider runs it on demand, scaling to zero when not in use. You don’t manage any servers—hence the name. You pay only for the milliseconds your code runs, which can be cheaper than a dedicated VM for sporadic workloads.

Related

Formula used
in vms | Virtual machines | count | 3 | 0 | 1000
in hours | Hours per month | h | 720 | 1 | 8760
in rate | Hourly rate per VM | USD | 0.10 | 0 | 1000
out monthly | Monthly cost | USD | vms * hours * rate | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →