In Popular IaaS Providers we saw that, for a virtual machine, the large providers look very much alike: the names and the prices change, but a VM is a VM. In PaaS the differences are bigger. Every platform has its own deployment conventions, its own way of scaling, its own integrated services and its own way of billing, and the more you use its exclusive features, the harder it is to move. On top of that, alongside Azure, AWS and Google, there is a group of developer-focused platforms that compete precisely on simplicity, and open-source options for building your own platform. In this lesson you will get to know the PaaS services of each large provider, the specialised alternatives and the open-source ones, you will compare them with two tables (equivalents and criteria), you will learn to look up objective data (runtimes, regions and prices) and to score options with a checklist, and you will follow Marc as he chooses the platform for the hortalia-shop prototype.
- The PaaS market: three families of providers
| Family | Who | Value proposition | Trade-off |
|---|---|---|---|
| Hyperscalers | Microsoft Azure, AWS, Google Cloud (also Oracle, IBM, Alibaba) | A complete catalogue: applications, containers, functions, databases, private networks, identity, compliance, regions all over the world | Complexity; many options that look as if they overlap |
| Developer-focused platforms | Heroku, Render, Fly.io, Railway, Vercel, Netlify (and European ones such as Scalingo or Clever Cloud) | A very simple development experience: connect a repository and deploy | Fewer integrated services, fewer private networking options and regions; often they themselves run on a hyperscaler |
| Open source and private | Red Hat OpenShift, Cloud Foundry, Coolify, Dokku | Control and portability; you can install them in your own data center or in any cloud | Somebody has to operate the platform |
A useful idea for managers: the application platform is rarely chosen on its own. It is chosen together with the database, the identity, the network and the billing, and that usually tips the balance towards the provider the company already uses.
- Microsoft Azure
| Service | Type (per 03-02) | What it is for |
|---|---|---|
| Azure App Service | Application PaaS | Websites and APIs on Linux or Windows, from code or a container; Free/Basic/Standard/Premium plans; slots, autoscaling, virtual network integration |
| Azure Container Apps | Serverless containers | Microservices and APIs in containers with event-driven scaling and scale to zero; jobs for batch tasks |
| Azure Functions | FaaS | Event-driven functions; the Flex Consumption plan is the recommended serverless option for new projects, with optional always-ready instances and virtual network integration |
| Azure Database for PostgreSQL / MySQL – Flexible Server | DBaaS | Managed open-source engines, with zone-redundant high availability and automatic backups |
| Azure SQL Database | DBaaS | Managed SQL Server, including a serverless mode that pauses the database when it is idle |
| Azure Static Web Apps | Front end + API | Static sites (React, Vue...) with functions for the API |
| Azure Kubernetes Service (AKS) | Managed Kubernetes | The IaaS/PaaS borderline from 03-02 |
Strengths: integration with Microsoft Entra ID (managed identities, employee sign-in), with the .NET ecosystem and Visual Studio/GitHub (both Microsoft's), and with the virtual networks the company already uses; a region in Madrid (spaincentral).
Watch out for: there are several ways of doing the same thing (App Service, Container Apps and Functions partly overlap) and App Service plans do not scale to zero: you always pay for at least one instance of the plan.
- Amazon Web Services (AWS)
| Service | Type | What it is for |
|---|---|---|
| AWS Elastic Beanstalk | Application PaaS | Deploys your code by orchestrating EC2, a load balancer and autoscaling in your own account |
| AWS Lambda | FaaS | The longest-standing and most widespread function service; integration with almost every AWS service |
| Amazon ECS with AWS Fargate | Containers | Containers without managing EC2 instances |
| Amazon RDS / Aurora | DBaaS | RDS for standard engines; Aurora as its own engine compatible with PostgreSQL/MySQL, with a serverless mode |
| AWS Amplify | Front end + BaaS | Hosting for web applications and a backend (authentication, data, functions) for web and mobile apps |
| Amazon EKS | Managed Kubernetes | IaaS/PaaS borderline |
Strengths: the broadest catalogue, Lambda as the serverless benchmark and a huge community; a region in Aragon (eu-south-2).
Watch out for: the "I upload my website and that's it" experience is spread across several services; Elastic Beanstalk lets you see and pay for the IaaS pieces underneath, which means part of managing them (sizes, costs, quotas) comes back to you. Not every service is available in every region, especially in the newest ones: check it for eu-south-2.
- Google Cloud
| Service | Type | What it is for |
|---|---|---|
| Cloud Run | Serverless containers (and functions) | HTTP services, jobs and functions (Cloud Run functions, formerly Cloud Functions); scales to zero and by concurrent requests |
| App Engine | Application PaaS | Google's historic PaaS; still available, although for new projects Google increasingly points to Cloud Run |
| Cloud SQL / AlloyDB | DBaaS | Managed PostgreSQL, MySQL and SQL Server; AlloyDB for high-performance PostgreSQL |
| Firebase | BaaS | Authentication, databases (Firestore), hosting, functions and messaging for web and mobile apps |
| Google Kubernetes Engine (GKE) | Managed Kubernetes | With Autopilot mode, very close to PaaS |
Strengths: Cloud Run is probably the simplest serverless container experience on the market; good data and analytics integration; a region in Madrid (europe-southwest1).
Watch out for: a smaller footprint in companies with a Microsoft ecosystem; corporate identity (Google Workspace / Cloud Identity) is a different one from Entra ID if the company uses Microsoft 365.
- Developer-focused platforms
| Platform | What it offers | Things to bear in mind |
|---|---|---|
| Heroku (Salesforce) | The PaaS that made git push deployment and add-ons (databases, email, monitoring) popular; the twelve-factor app concepts were born here |
No free plan since 2022; you pay per dyno (lightweight container) from a few dollars a month; regions in the US and Europe. As with any platform, review its roadmap before betting on it long term |
| Render | Web services, workers, cron jobs, managed PostgreSQL and Redis, deployment from Git | A very simple experience; limited regions (in Europe, Frankfurt); it offers free instances for testing that are suspended when there is no traffic, not fit for production |
| Fly.io | Runs containers (Firecracker microVMs, which we saw in 01-02) close to the users in many regions | Pay per use; aimed at technical profiles comfortable with the command line |
| Railway | Deployment from Git with databases in one click and usage-based pricing | Subscription plans with consumption included; fewer enterprise options |
| Vercel / Netlify | Specialised in the front end (Next.js, React, static sites) with serverless functions for the API | Excellent for the web layer; they are not designed to host a Flask backend with PostgreSQL |
| Scalingo, Clever Cloud | French PaaS offerings, Heroku style | Interesting if European sovereignty of the provider is a priority |
These platforms shine for prototypes, start-ups and small teams that value speed above everything else. Their limits show up when you need a private network to other company systems (for example, reaching the ERP over a VPN), corporate identities, formal regulatory compliance or specific regions.
- Open-source and private PaaS
Some organisations want the PaaS experience without depending on a provider, or inside their own data center:
| Platform | What it is | Where it is used |
|---|---|---|
| Red Hat OpenShift | An enterprise platform built on Kubernetes, with development, build and deployment tooling | In on-premises data centers and as a managed service in the clouds: Azure Red Hat OpenShift (ARO), Red Hat OpenShift Service on AWS (ROSA) |
| Cloud Foundry | Open-source PaaS with the cf push model; governed by a foundation |
Large companies and public administrations; commercial distributions exist |
| Coolify | An open-source alternative to Heroku/Vercel that you install on your own servers | Small teams that want to save money and accept operating it |
| Dokku | An open-source "mini-Heroku" on a single server | Personal and small projects |
The trade-off is clear: somebody has to maintain the platform (updates, security, capacity). In other words, Laura's work comes back, now with one more layer. For Hortalia it makes no sense; for a large company with hybrid cloud requirements, it may.
- Table of equivalents
As in module 2, a table of equivalents lets you read any provider's documentation and carry ideas across:
| Need | Azure | AWS | Google Cloud | Developer-focused |
|---|---|---|---|---|
| Web/API from code | App Service | Elastic Beanstalk | App Engine | Heroku, Render, Railway |
| Serverless containers | Container Apps | ECS + Fargate | Cloud Run | Fly.io, Render |
| Functions (FaaS) | Azure Functions | AWS Lambda | Cloud Run functions | Vercel/Netlify functions |
| Managed PostgreSQL | Database for PostgreSQL – Flexible Server | RDS for PostgreSQL / Aurora PostgreSQL | Cloud SQL for PostgreSQL / AlloyDB | Heroku Postgres, Render Postgres |
| Managed Kubernetes | AKS | EKS | GKE | — |
| Static front end + API | Static Web Apps | Amplify Hosting | Firebase Hosting / App Hosting | Vercel, Netlify |
| BaaS | — (a combination of services) | Amplify | Firebase | Supabase |
| Secrets | Key Vault | Secrets Manager | Secret Manager | The platform's encrypted variables |
| Container registry | Azure Container Registry | Amazon ECR | Artifact Registry | Built in or Docker Hub |
| Application monitoring | Application Insights | CloudWatch + X-Ray | Cloud Monitoring + Cloud Trace | Built in, more basic |
- Comparison by criteria
The following table compares the options most relevant to a web application like the store. The prices are illustrative and indicative (orders of magnitude of the published rates at the time this course was written); they change often and they depend on the region, the size and the currency.
| Criterion | Azure App Service | Azure Container Apps | Elastic Beanstalk | Cloud Run | App Engine | Heroku | Render |
|---|---|---|---|---|---|---|---|
| Languages | Python, Node.js, Java, .NET, PHP; any of them with a container | Any (container) | Python, Node.js, Java, .NET, PHP, Ruby, Go; Docker | Any (container or source with buildpacks) | Python, Node.js, Java, Go, PHP, Ruby | The main languages with buildpacks | The main languages; Docker |
| Scales to zero | No | Yes | No | Yes | Yes (standard environment) | Not on production plans | Not on paid plans |
| Illustrative entry price | Free (F1, very limited); B1 ~€13/month; Premium v3 from ~€60/month per instance | Pay per use with a monthly free tier | No cost of its own; you pay for the EC2 and the load balancer underneath | Pay per use with a monthly free tier | Pay per use with a free tier | From ~$5-7/month per dyno | Free for testing; from ~$7/month |
| Region in Spain | Yes (spaincentral) |
Check it in the region | Check it in eu-south-2 |
Yes (europe-southwest1) |
One region per project; check availability | No (Europe) | No (Frankfurt) |
| Complexity | Low-medium | Medium | Medium | Low | Low | Very low | Very low |
| Private network to your own systems | Yes (VNet integration, private endpoints) | Yes | Yes (VPC) | Yes (VPC) | Yes (connectors) | Limited | Limited |
| Vendor lock-in | Medium: standard code, proprietary configuration | Low-medium: containers | Medium | Low-medium: containers | Medium-high with proprietary features | Low-medium | Low |
Three readings of this table:
- If the traffic has many hours at zero, the options that scale to zero (Cloud Run, Container Apps) can be much cheaper. Hortalia's store, with traffic all day long, benefits less from it.
- If you have to connect to private systems (the ERP), the hyperscalers' platforms have the advantage.
- The entry price is not the real cost. Add the database, the data transfer, the monitoring, the backups and, above all, the team's time. The full analysis is done in Costs and TCO.
- Checking objective data: runtimes, regions and prices
Before deciding, it is worth checking three things with the CLI, because they change over time.
Runtimes available in App Service for Linux:
az webapp list-runtimes: lists the runtimes App Service offers right now.--os linux: only the Linux ones (the store will use Linux). Marc looks for thePYTHON:3.12andPYTHON:3.13entries in the list and notes which ones are available, because they will determine when he has to upgrade.
Regions where Cloud Run is available in the Google project:
It returns the region identifiers (for example, europe-southwest1) in which a service can be deployed.
Price of an App Service instance in Madrid, with the same public Azure pricing API that Laura used for the ERP VM:
curl -sG "https://prices.azure.com/api/retail/prices" \
--data-urlencode "currencyCode=EUR" \
--data-urlencode "\$filter=serviceName eq 'Azure App Service' and armRegionName eq 'spaincentral' and priceType eq 'Consumption'" \
| jq -r '.Items[] | select(.productName | test("Linux")) | [.productName, .skuName, .retailPrice, .unitOfMeasure] | @tsv' \
| sort -u- The
serviceName eq 'Azure App Service'filter asks for App Service prices inspaincentralwith pay-as-you-go pricing. select(.productName | test("Linux"))keeps only the products whose name contains "Linux", because Windows has different prices.sort -usorts the output and removes repeated lines. The response includes every tier (B1, S1, P0v3, P1v3...) with its hourly price; multiplied by around 730 hours it gives the approximate monthly cost of each instance.
If a response comes back empty, check the exact service or region name in the API documentation: product names change from time to time.
- Checklist for evaluating a PaaS
| Area | Questions |
|---|---|
| Technical fit | Does it support my language and version? How long does it maintain each version? Can I use containers if I need to? What time, memory and size limits does it have? |
| Scaling | Does it scale by CPU, by requests, by events? Does it scale to zero? How many instances at most? How long does it take to add one? |
| Deployment | Deployment from Git, ZIP, container? Does it have slots or revisions and traffic splitting? Does it integrate with my CI/CD? |
| Data and services | Is there a managed database for my engine in the same region? Cache, queues, secrets? |
| Network and security | Can I connect to private networks (VPN, VNet)? Can I make the database private? Managed identities? Managed certificates for my domain? |
| Identity and governance | Does it integrate with the company directory? Role-based permissions? Audit log? |
| Location and compliance | A region in Spain or in the EU? Certifications (ISO 27001, ENS if I work with public administrations)? A data processor agreement compliant with the GDPR? |
| Observability | Logs, metrics and traces included? Alerts? Cost of storing logs? |
| Costs | How is it billed? Is there a minimum price even with no traffic? Can I set budgets and alerts? |
| Exit | Which parts are standard (code, containers, PostgreSQL) and which are proprietary? How do I export the data? |
| Support and maturity | What support plans are there and in which language? Does it have an SLA? What does its roadmap look like? |
A practical way of using it is to turn it into a weighted matrix: you give each criterion a weight according to its importance and you score each option from 1 to 5. Marc does it with a small script:
weights = {
"technical_fit": 3,
"private_network_to_erp": 3,
"identity_and_governance": 2,
"region_spain": 2,
"cost": 2,
"simplicity": 2,
"portability": 1,
}
scores = {
"Azure App Service": {"technical_fit": 5, "private_network_to_erp": 5, "identity_and_governance": 5,
"region_spain": 5, "cost": 3, "simplicity": 4, "portability": 3},
"Google Cloud Run": {"technical_fit": 5, "private_network_to_erp": 3, "identity_and_governance": 3,
"region_spain": 5, "cost": 4, "simplicity": 4, "portability": 4},
"Render": {"technical_fit": 4, "private_network_to_erp": 1, "identity_and_governance": 2,
"region_spain": 2, "cost": 4, "simplicity": 5, "portability": 4},
}
maximum = 5 * sum(weights.values())
for option, marks in scores.items():
total = sum(weights[criterion] * mark for criterion, mark in marks.items())
print(f"{option:<18} {total:>3} / {maximum} ({total / maximum:.0%})")Explanation:
weightsis a dictionary that gives each criterion its importance (3 = critical, 1 = nice to have). For Hortalia, technical fit and being able to reach the ERP over a private network weigh heavily.scoresholds, for each option, a mark from 1 to 5 per criterion. The marks are Marc's judgements, not objective data; the script only helps to make them explicit and open to discussion.maximumis the perfect score (every mark at 5).- The
forloop goes through each option, multiplies each mark by the weight of its criterion and adds them up.f"{option:<18} ..."formats the output in aligned columns and:.0%shows the percentage with no decimals.
Output:
The value of this exercise is not the final number but the conversation it triggers: if Sara or Laura disagree with a weight or a mark, you change it and see whether the conclusion holds.
- Hortalia: Marc chooses the platform for the prototype
Marc compares three candidates for hortalia-shop:
| Criterion | Azure App Service | Google Cloud Run | Render |
|---|---|---|---|
| Fit with Flask | Native (Python on Linux) | With a container or buildpacks (already tried in 03-02) | Native |
| Region | Madrid (spaincentral) |
Madrid (europe-southwest1) |
Frankfurt |
| Private access to the ERP | Integration with vnet-hortalia-spaincentral, the ERP's own network |
Possible, but it would mean connecting Google's network to Azure or to the warehouse over another VPN | Very limited |
| Identities | Entra ID: the same accounts and MFA Laura already manages; a managed identity for the app | Another console and another identity model to manage | The platform's own accounts |
| Billing | On the same subscription as the ERP; one invoice and the same budgets | Another invoice and another provider | Another invoice, in dollars |
| Managed PostgreSQL | Flexible Server in the same region and network | Cloud SQL (already used in testing: hortalia-shop-pruebas) |
Render Postgres |
| Scales to zero | No (at least one instance) | Yes | Not on paid plans |
| Simplicity for Marc | High | High | Very high |
Decision for the prototype: Azure App Service, for four reasons:
- The same provider as the ERP. Laura's prototype is on Azure; the store shares the subscription, the region and the virtual network.
- Identities in Entra ID. Laura already manages Hortalia's identities, MFA and cloud accounts; there is no need to duplicate that work on another platform. The store will use a managed identity to read its secrets.
- A single bill. Sara receives one cost report and Laura sets budgets and spend alerts in one place.
- Madrid region and private networking. Low latency for Spanish customers and the possibility for the store to query the ERP's stock without exposing it to the internet (we will see this in PaaS Use Cases).
Resources Marc plans for the prototype (none of this is in production):
| Resource | Name | Initial configuration |
|---|---|---|
| Resource group | rg-hortalia-shop |
spaincentral, with the same tags Laura uses (proyecto, entorno, propietario, gestionado_por) |
| App Service plan | asp-hortalia-shop |
Linux, Premium v3 P0v3 (allows slots, autoscaling and VNet integration), minimum 2 instances |
| Web application | app-hortalia-shop |
Python 3.12, gunicorn, health path /health, staging slot |
| Database | psql-hortalia-shop |
PostgreSQL Flexible Server, Burstable B1ms tier for the prototype, private access only |
| Secrets | kv-hortalia-shop |
Key Vault; the app connects with a managed identity |
| Monitoring | appi-hortalia-shop |
Application Insights |
Illustrative cost of the prototype at rest: 2 P0v3 instances (~€60/month each) + PostgreSQL B1ms with 32 GB (~€20/month) + monitoring and secrets (~€10/month) ≈ €150/month. Laura sets a budget alert on rg-hortalia-shop for that amount, and Sara will receive it in her monthly report. All prices are illustrative.
Alternatives Marc notes down for module 5:
- Google Cloud Run (
europe-southwest1): scales to zero, portable containers; interesting if the quiet hours were long or if the company ended up concentrating services on Google. - Azure Container Apps: the Cloud Run model without leaving Azure; a candidate if the store is split into several services.
- Render: the simplest option, but with no region in Spain and no private network to the ERP; ruled out except for isolated prototypes.
Common Mistakes and Tips
- Choosing the platform because of the nicest tutorial. Where your data, your identities and your network live weighs more.
- Comparing only the entry price. A platform that is free for testing can be expensive in production, and one that "does not scale to zero" can be cheaper with continuous traffic.
- Ignoring the runtime life cycle. Ask how long each Python version is maintained and how much notice is given before a version is withdrawn.
- Assuming that every service is in every region. Especially in new regions such as the Spanish ones, check each service and each tier.
- Setting up an open-source PaaS to save money. You save the fee, but you pay in operating hours.
- Tip: keep the code faithful to the twelve-factor app and, if you can, packageable as a container. That way, changing platform will be a project of weeks rather than months.
Exercises
Exercise 1. Using the table of equivalents, translate this Azure architecture into AWS and Google Cloud: an app on App Service, an Azure Database for PostgreSQL database, an Azure function that processes photos, the secrets in Key Vault and monitoring with Application Insights.
Exercise 2. A start-up of three developers is launching a padel court booking application in Valencia. It has no previous systems, it needs to go live in three weeks and its traffic is concentrated between 18:00 and 23:00. Shortlist two platforms and justify the choice with the criteria from this lesson.
Exercise 3. Repeat Marc's weighted matrix changing two assumptions: a) Hortalia decides that the store does not need to query the ERP over a private network (weight 0); b) portability now has weight 3 because Sara wants to be able to change provider in the future. Work out the new total for App Service and for Cloud Run by hand. Does the conclusion change?
Solutions
Solution 1.
| Piece | AWS | Google Cloud |
|---|---|---|
| App on App Service | Elastic Beanstalk (or ECS + Fargate with a container) | App Engine (or Cloud Run) |
| Azure Database for PostgreSQL | RDS for PostgreSQL or Aurora PostgreSQL | Cloud SQL for PostgreSQL |
| Photo function | Lambda triggered by S3 | Cloud Run functions triggered by Cloud Storage |
| Key Vault | Secrets Manager | Secret Manager |
| Application Insights | CloudWatch + X-Ray | Cloud Monitoring + Cloud Trace |
Solution 2 (suggested). With no previous systems and no private network to connect, and in a hurry, what weighs most is simplicity and the cost with concentrated traffic. Reasonable candidates: Cloud Run (scales to zero outside the peak hours, a region in Madrid, a Cloud SQL database) and a developer-focused platform such as Render or Railway (the fastest way to go live). If traffic grows or they need formal compliance, migrating from Render to Cloud Run is straightforward if the app ships as a container. Common mistake: proposing Kubernetes in order to "be ready to grow": with three developers and three weeks, it is the slowest option.
Solution 3. New weights: technical fit 3, private network 0, identity 2, region 2, cost 2, simplicity 2, portability 3 (maximum = 5 × 14 = 70).
- App Service: 3·5 + 0·5 + 2·5 + 2·5 + 2·3 + 2·4 + 3·3 = 15 + 0 + 10 + 10 + 6 + 8 + 9 = 58 / 70 (83%).
- Cloud Run: 3·5 + 0·3 + 2·3 + 2·5 + 2·4 + 2·4 + 3·4 = 15 + 0 + 6 + 10 + 8 + 8 + 12 = 59 / 70 (84%).
The conclusion changes: they are practically tied and Cloud Run comes out slightly ahead. This shows that Hortalia's decision rests above all on the private connection to the ERP and on the shared identity. If those assumptions changed in module 5, the choice would have to be reopened.
Conclusion
In this lesson you have been through the three families of PaaS providers: the hyperscalers (Azure with App Service, Container Apps, Functions and its databases; AWS with Elastic Beanstalk, Lambda, Fargate, RDS/Aurora and Amplify; Google with Cloud Run, App Engine, Cloud SQL and Firebase), the developer-focused platforms (Heroku with no free plan, Render, Fly.io, Railway, Vercel and Netlify) and the open-source options (OpenShift, Cloud Foundry, Coolify, Dokku). With the table of equivalents, the comparison by criteria, the queries for runtimes, regions and prices, and the checklist turned into a weighted matrix, you have seen how to take a reasoned decision. Marc has chosen Azure App Service for the prototype for consistency with the ERP, the Entra ID identities, the single bill and the Madrid region, and he has noted down Cloud Run, Container Apps and Render for module 5.
Choosing a platform is only the beginning: what matters is what it is used for. In the next lesson, PaaS Use Cases, we will go through the scenarios where PaaS shines and those where it is not a good idea, and we will apply three of them to Hortalia: the store that scales by itself at Christmas, the stock API that queries the ERP without exposing it and the scheduled tasks that do not need a server left running.
