Short answer
Choose Azure App Service when you want to deploy a web app without managing the operating system, and choose a virtual machine when you must patch that guest OS yourself. Microsoft calls App Service platform as a service and Virtual Machines infrastructure as a service. You still own the app, the data, and access either way. The bill follows the SKU you leave running, not a single flat fee.
Last verified against the sources listed below.
Key takeaways
- On PaaS, Microsoft manages the operating system. On IaaS, you manage it.
- App Service runs .NET, Java, Node.js, Python, PHP, and custom containers.
- A stopped App Service app is still billed until you delete it or move it to Free.
- Linux Basic B1 in East US is $0.017 per hour on the Retail Prices API.
- A Linux B1s VM in East US is $0.0104 per hour on that same API. The SKUs differ.
- Two or more VMs across availability zones have a 99.99% connectivity commitment.
PaaS vs IaaS Azure is App Service against Virtual Machines. App Service is the platform: you deploy the app, and Microsoft runs the operating system. A virtual machine is the infrastructure: you rent the computer and you patch it.
Cloud computing is the broader label. The split that changes your week is who owns the guest OS.
Other platform products are a separate list in PaaS software for web applications.
Side by side
Microsoft’s shared responsibility page draws the line. On IaaS you manage the virtual machines, the operating system, and the applications. On PaaS you deploy applications without managing VMs or the operating system. In both models you still own the data, identities, and configuration.
| App Service (PaaS) | Virtual Machines (IaaS) | |
|---|---|---|
| What you deploy | A web app, API, mobile back end, or container | Any software you install on the guest |
| Operating system | Microsoft manages it | You manage it |
| Runtimes named in the overview | .NET, Java, Node.js, Python, PHP, Windows or Linux | The marketplace image you pick |
| How the meter runs | Hourly for the plan, prorated to the second | Hourly for the size and OS, minutes for a partial hour |
| Example East US price | Linux Basic B1 at $0.017 per hour | Linux B1s at $0.0104 per hour |
| Extra computers in the bill | The plan’s instances | OS disk, public IP, and anything else you attach |
The two example prices are consumption rates from the Azure Retail Prices API for East US, as of December 2026. B1 and B1s are not the same size. The Linux App Service page lists B1 as 1 core, 1.75 GB of RAM, and 10 GB of storage. This guide does not invent a matching spec for B1s.
What you still manage
App Service’s overview describes a host for web apps, mobile back ends, and HTTP APIs. You can use the built-in stacks or a custom container. A free tier exists, and students get a separate starter offer.
Dedicated plans, starting at Basic, run your apps on VMs that other customers do not share. Apps in the same plan still share those instances.
You are not patching that OS. You are still responsible for the code, the settings, and who can sign in. The responsibility table marks applications as shared on PaaS: Microsoft runs the platform, and you configure the app. Network controls are shared too.
A virtual machine is the closer match to a server you already operate. The overview says you still configure, patch, and install software. You pick a name, a region, a size, and an image in the Azure portal, plus the disks and network parts that come with it.
The default quota cited there is 20 virtual machine cores per region, and a raise is a support request, not a checkbox that always succeeds. Capacity can still block a deploy after the quota is raised.
Managed Instance on App Service is a third door, and it is narrow. It is Windows-only in the overview, for apps that need COM, the registry, or an installer. Linux and containers are listed as not supported. Do not pick it as the Linux PaaS.
How each one is billed
App Service, except the Free tier, bills the compute the plan uses. On dedicated tiers the plan sets how many instances you scale to, and each instance is charged for the time it is allocated. The Linux pricing FAQ says rates apply to apps in the stopped state. Delete the app, or move the plan to Free, if you want that meter to stop.
Basic is the first dedicated tier on that page. B1, B2, and B3 are listed with cores, RAM, and 10 GB of storage. The dollar cells on the public page are filled in for your account, so the figure used here is the retail meter: Linux B1 in East US at $0.017 per hour, and the Windows B1 meter at $0.075 per hour.
The page says Basic cannot use a savings plan or reserved instances. The “up to 55%” line on the App Service overview is about predictable workloads on the memory-optimized tiers, not about B1.
A VM’s base meter is the size and the OS. Linux B1s in East US is $0.0104 per hour on the retail API, and Windows B1s is $0.014 per hour. Partial hours are billed by the minute.
The OS disk, usually 127 GiB, is a separate disk charge, and local disk storage is not charged. A NIC is not a separate line, a network security group is not an extra charge, and a public IP is priced on its own.
Availability is not a discount. The VM overview says availability zones commit to connectivity to at least one instance at least 99.99% of the time when two or more instances run across two or more zones in the region. One VM does not get that sentence.
Compress images before either deploy. The image compressor reduces the file the app will serve. It does not change the compute meter.
Which to choose when
Choose App Service when the workload is a web app or API on a supported stack, or a container, and you want Microsoft to patch the OS. The .NET hosting guidance on Microsoft Learn calls App Service the usual choice for that shape, and it points to VMs when an existing app would need large changes to fit.
Choose a virtual machine when you need the guest OS itself: a specific image, software that will not run on App Service, or a lift of a server you already patch. Budget the disk and IP, not only the hourly size. Plan for the day you shut it down, and delete the disks you no longer want.
Choose neither as a permanent home for a job that is only a short function. The decision guide treats Functions as its own model. Stay on this page’s split when the real question is “do I want the operating system or not.”
Prices move by region, currency, and the agreement on the subscription. The Azure pricing page says the numbers on the site are estimates. Reopen the retail meter or the pricing calculator before you put a figure in a budget.
Frequently asked questions
Is App Service the only Azure PaaS option?
No. Microsoft's shared responsibility page lists Azure App Service, Azure Functions, Azure SQL Database, and Azure Storage as PaaS examples. The compute decision guide names App Service and Container Apps as PaaS, and Functions as a separate functions model. This comparison stays on App Service versus Virtual Machines, because those are the two compute choices in the question. Picking Functions or a database does not change the VM rule: if you rent the guest OS, you patch it.
Does the Basic plan include reserved discounts?
The Linux App Service pricing page says the Basic plan does not qualify for a savings plan or reserved instances. Those discounts are called out on higher tiers. The App Service overview mentions saving up to 55% on predictable workloads with savings plans and reserved instances for the memory-optimized Pmv3 tiers. Do not copy that 55% figure onto a B1 plan. Basic is pay as you go, priced by instance size and count, and a stopped app on a paid plan is still charged.
Are the B1 and B1s prices the same machine?
No. The Linux App Service pricing page describes Basic B1 as 1 core, 1.75 GB of RAM, and 10 GB of storage. The Retail Prices API lists that Linux B1 meter in East US at $0.017 per hour. The same API lists a Linux B1s virtual machine meter at $0.0104 per hour. Those are different SKUs. Compare CPU and memory on the size page before you treat the lower hourly number as the cheaper machine.
What else shows up on a VM bill?
The virtual machine overview says you are billed an hourly price for the size and operating system, and only for the minutes in a partial hour. Storage is separate. The OS disk is usually 127 GiB and is charged as a managed disk. Local temporary disk is not charged. A NIC has no separate charge. A network security group has no additional charge. A public IP is priced on its own. Deleting the VM without deleting the disk leaves the disk bill in place.
Can I use Linux on Managed Instance?
The App Service overview says Managed Instance does not support Linux or containers. It is for Windows workloads that need things like COM, the registry, or MSI installers, and its RDP access is for diagnostics. Persistent changes have to be scripted. If the app is Linux, or it is a container, the same page says to use a standard App Service plan. A virtual machine remains the IaaS path when the guest OS itself is the requirement.
Sources
- Overview of Azure App Service · Microsoft Learn, 2026
- Overview of virtual machines in Azure · Microsoft Learn, 2026
- Shared responsibility in the cloud · Microsoft Learn, 2026
- App Service on Linux pricing · Microsoft Azure, 2026
- Azure Retail Prices, East US consumption meters · Microsoft, 2026
- Choose an Azure compute service · Microsoft Learn, 2026