Short answer
Google App Engine and AWS Elastic Beanstalk are both generally classified as platform as a service (PaaS). Azure Storage is harder to place. Its core services, Blob, Files, Queues and Tables, are usually described as PaaS. Managed disks attached to virtual machines (VMs) work more like infrastructure as a service (IaaS). Classifications vary between sources, so the answer depends on which Azure Storage service you mean.
The test: who manages the operating system?
The simplest way to tell IaaS from PaaS is to ask who manages the operating system and the virtual machines.
- IaaS gives you virtual machines, networks and storage. You manage the operating system, middleware, runtime and your applications.
- PaaS gives you a platform for running code. You deploy your application and data, and the provider manages the operating system and runtime.
If you still need to patch an operating system or size virtual machines, the service is probably IaaS. If you only deploy code and data, it is probably PaaS. For the full set of cloud service models, see IaaS vs PaaS vs SaaS compared.
Google App Engine
Google App Engine is a PaaS for building and hosting web applications and services. Google previewed it in April 2008 with Python support, and Java support followed in 2009.
App Engine has two environments:
- Standard environment runs applications in sandboxed runtimes. It can scale to zero instances when there is no traffic.
- Flexible environment runs applications in Docker containers on Compute Engine virtual machines. It keeps at least one instance running, and it bills for vCPU, memory and disk. It does not scale to zero.
Both environments are generally classed as PaaS, because you deploy code and configuration rather than managing the operating system. The Flexible environment uses virtual machines underneath, which is why some people find it confusing. Google still runs those machines for you.
AWS Elastic Beanstalk
AWS Elastic Beanstalk launched in January 2011. It takes your application code and deploys it to a managed environment. Supported platforms include Java, .NET, PHP, Node.js, Python, Ruby, Go and Docker.
The Elastic Beanstalk service itself is free. You pay for the Amazon EC2 instances, load balancers and other resources it creates for your application.
This is where the confusion starts. Elastic Beanstalk instances are visible in your account, and you can reach them over SSH. Platform updates are optional rather than forced on you. Seeing EC2 instances does not make Elastic Beanstalk IaaS, though. You work at the level of application code and environment settings, which is why it is usually classed as PaaS.
Azure Storage
Azure Storage is a group of services, and they do not all fall into the same category.
- Blob, Files, Queues and Tables are accessed through APIs and endpoints. You do not provision or patch the servers behind them. Many sources therefore describe them as PaaS.
- Managed disks are block storage that you attach to a virtual machine you run yourself. That is closer to IaaS, because the VM and its operating system are yours to manage.
Some sources classify storage as IaaS because it is a basic building block of cloud infrastructure. Because the answer varies, it helps to decide based on what you manage for a given design, rather than relying on a single label.
Comparison at a glance
| Service | Common classification | Why |
|---|---|---|
| Google App Engine (Standard) | PaaS | You deploy code; the environment can scale to zero |
| Google App Engine (Flexible) | PaaS | You deploy containers; Google runs the underlying VMs; does not scale to zero |
| AWS Elastic Beanstalk | PaaS | You deploy application code; you pay for the EC2 resources it creates |
| Azure Blob, Files, Queues, Tables | Often PaaS | Accessed through APIs; no servers for you to patch |
| Azure managed disks | IaaS | Block storage attached to a VM you manage |
| Amazon EC2, Azure Virtual Machines, Compute Engine | IaaS | You manage the operating system |
Common mistakes
- “I can see the virtual machines, so it is IaaS.” Visibility is not the same as control. Elastic Beanstalk is a useful counterexample.
- “It is managed, so it is SaaS.” Managed does not mean SaaS. SaaS is a finished application for end users, while PaaS and IaaS are tools for building and running software.
- “Object storage has an official category.” Cloud providers do not set one category for object storage such as Amazon S3 or Azure Blob Storage. Treat any label as a view, not a fact.
- “All App Engine environments behave the same.” They do not. The Standard environment can scale to zero, and the Flexible environment cannot.
Frequently asked questions
Is Azure Storage IaaS or PaaS?
It depends on the service. Blob, Files, Queues and Tables are usually described as PaaS. Managed disks attached to virtual machines are IaaS.
Which storage services does Azure provide?
Azure Storage includes Blob storage for unstructured objects, Files for file shares, Queues for messages between application parts, and Tables for NoSQL structured data. Managed disks provide block storage for virtual machines and are often discussed alongside Azure Storage.
Is Google App Engine a PaaS?
Yes. It is one of the best-known PaaS products and is generally classed that way in both of its environments.
For how PaaS developed, including where containers fit in, read the evolution of PaaS. If you want to compare a consumer product with the three service models, see whether Netflix is a SaaS or PaaS.