Skip to main content

Challenge 05: PaaS — Platform as a Service

Estimated Time

20-30 min | Cost: Free | Domain: Cloud Concepts (25-30%)

Exam skills covered

  • Describe Platform as a Service (PaaS)
  • Identify appropriate use cases for PaaS
  • Describe the shared responsibility model as it relates to PaaS

Overview

Platform as a Service (PaaS) is a middle ground between IaaS and SaaS. The cloud provider manages the infrastructure AND the platform (OS, runtime, middleware), while you focus only on your application and data.

Think of PaaS like a food truck rental: you get the truck fully equipped with a kitchen (platform), and you just bring your recipes and ingredients (application and data). You don't worry about the engine, tires, or electricity.

PaaS is ideal for developers who want to build applications without worrying about managing servers, patching operating systems, or configuring infrastructure.

Explore

Task 1: Understand PaaS responsibilities

LayerWho manages it?
Data & accessYou
ApplicationsYou
RuntimeAzure
Operating systemAzure
Virtual machineAzure
Network controlsShared
Physical infrastructureAzure

Compare this with IaaS — notice how much more Azure manages for you!

Task 2: Explore Azure PaaS services

  1. In the Azure Portal, click Create a resource
  2. Search for App Service (Web App) — the flagship PaaS service
  3. Explore the creation form:
    • Notice you choose a runtime (Node.js, Python, .NET, Java) — not an OS
    • You don't configure VM size — you choose a plan (pricing tier)
    • No disk management, no OS patching
  4. Click Cancel — don't create anything
Azure PaaS ServiceWhat it doesYou manage
Azure App ServiceHost web apps and APIsYour code + configuration
Azure SQL DatabaseManaged relational databaseQueries + data
Azure Cosmos DBManaged NoSQL databaseData + access policies
Azure FunctionsRun code without serversFunction code only
Azure Kubernetes ServiceManaged container orchestrationContainer images + config

Task 4: PaaS vs IaaS comparison

AspectIaaS (VM)PaaS (App Service)
OS patchesYou apply themAzure handles it
ScalingYou configure scale setsBuilt-in auto-scale
DeploymentInstall software on VMDeploy your code/container
Cost modelPay for VM uptimePay for plan + consumption
Time to deployHours (setup OS, install runtime)Minutes (push code)
ControlFull OS accessApplication-level only

Task 5: When to use PaaS

PaaS is best when:

  • Building new web applications or APIs
  • You want to focus on code, not infrastructure
  • You need managed databases without DBA overhead
  • You want automatic scaling and high availability
  • Rapid development and deployment is critical

PaaS is NOT ideal when:

  • You need full OS-level control
  • You have legacy apps that require specific OS configurations
  • You need to install custom drivers or kernel modules
Azure CLI Alternative
# List available App Service plans (does not create anything)
az appservice list-locations --sku F1 --output table

# List available runtimes for App Service
az webapp list-runtimes --os linux --output table

Key Concepts

ConceptDescription
PaaSCloud manages infrastructure + platform; you deploy applications
Azure App ServicePaaS for hosting web apps, APIs, and mobile backends
Managed databaseDatabase service where Azure handles backups, patching, HA
Focus on codePaaS lets developers concentrate on business logic
Less control, less responsibilityTrade-off: simpler management but less OS-level access

Knowledge Check

1. In the PaaS model, who is responsible for managing the operating system?

2. A developer wants to deploy a Python web application without managing servers or OS patches. Which service model is most appropriate?

3. Which of the following is an example of PaaS in Azure?

4. What is a disadvantage of PaaS compared to IaaS?

5. Azure SQL Database is an example of which cloud service model?

Learn More