Comprehensive dashboard analyzing App Service plan costs in Azure to identify idle plans and oversized tiers.

Controlling App Service plan costs starts with understanding how Azure bills for web hosting infrastructure. In Azure, your bill is tied to the underlying compute capacity of the plan rather than the web applications running inside it. Therefore, an empty plan or a plan holding only stopped sites still generates hourly charges on your invoice. In addition, many active plans run on pricing tiers far above their actual 95th-percentile CPU and memory demand. By reviewing your native billing data and resource metrics, your team can clean up idle capacity and right-size over-provisioned tiers safely.

Key takeaways

  • Azure bills for the virtual machine instances allocated to a paid plan, even when 0 sites are actively running.
  • Right-sizing requires comparing the plan’s current tier against its 95th-percentile CPU and memory utilization over complete days.
  • You should follow 3 verification and execution steps before deleting an empty plan or scaling down an oversized tier.
  • After changing a plan’s size or consolidating sites, monitor the plan’s performance metrics for 1 week.

How App Service plan costs accrue, with or without running sites

According to Microsoft’s documentation on how to plan and manage costs for Azure App Service, you pay an hourly rate based on the pricing tier of your plan, prorated to the second. Furthermore, this charge applies to every scaled-out virtual machine (VM) instance allocated to the plan.

In Basic, Standard, Premium, and Isolated tiers, the Azure App Service plans overview explains that the plan defines the compute resources reserved for your apps. Consequently, App Service plan costs accrue for as long as those VM instances remain allocated to your subscription. If you stop a web app or delete every site inside a paid plan, Azure does not release the underlying VMs. Instead, the platform keeps the compute capacity ready and continues billing your account.

Plans with no site, or only stopped sites

A common source of cloud waste is a plan that runs with no site on it, or with every hosted site in a stopped state. For example, a developer might delete a temporary web app after testing but leave its hosting plan behind. Similarly, an engineering team might stop all sites on a plan during a decommissioning phase, assuming that stopping the apps stops the charges.

You can spot this issue by checking Azure Cost Management alongside the resource configuration in the Azure portal. When a plan stays empty across repeated checks over multiple complete days, the billed hours during that observation window represent pure idle spend. In Azure Cost Management, you can inspect the plan’s charge for those empty hours out of the gross cost on the days they touch.

However, billing data and resource state snapshots cannot prove intent. Specifically, cost exports cannot tell you whether a deployment pipeline is about to push a new site to that empty plan tomorrow. Nor can billing data prove whether a stopped site holds critical configuration settings, custom domain bindings, or recovery needs that an application owner still relies on. Therefore, further investigation with the resource owner is always required before you remove anything.

Plans sized above their CPU and memory use

Even when a plan actively serves traffic, its tier can sit well above its actual resource consumption. Many teams pick a large pricing tier before a product launch and never revisit that choice. As a result, App Service plan costs stay high even if daily traffic turns out to be modest.

To evaluate whether a plan is oversized, examine its performance metrics in Azure Monitor over the complete days of a representative lookback window. Instead of looking at simple averages, focus on the 95th-percentile (p95) CPU percentage and 95th-percentile memory percentage. Because the 95th percentile filters out brief, isolated spikes while capturing sustained peak load, it gives a reliable picture of what the workload actually needs.

If a plan runs one or more instances of a high pricing tier while its p95 CPU and p95 memory sit low across the observation window, the plan is a strong candidate for review. Still, any potential cost reduction is conditional on why the current tier was chosen. Metrics alone cannot prove that a smaller tier fits every technical requirement. You must investigate tier-specific features, peak business schedules, and dependencies before changing the plan size.

Availability needs and instance counts

Before you scale a plan down to a smaller target size, you must check two critical constraints: instance counts for high availability and tier-specific capabilities.

Checking instance counts and tier features

First, look at how many VM instances the plan runs. A plan might show low 95th-percentile CPU and memory across multiple instances because the team runs redundant nodes for fault tolerance. If the plan’s instance count matches what its availability needs require, you should not reduce the instance count. Instead, you can evaluate whether each instance can run on a smaller VM size (scaling down the tier) while keeping the same number of instances.

Second, verify that no exclusive feature of the current size is in use. As detailed in Microsoft’s guide to scale up features and capacities in Azure App Service, higher pricing tiers provide more than just extra CPU and memory. For instance, specific tiers govern the maximum number of deployment slots, daily backup quotas, virtual network integration, and maximum scale-out limits (up to 3 instances in Basic, 10 in Standard, and 30 in Premium). If an application depends on a feature locked to its current tier, scaling down to a lower tier will break that functionality, regardless of how low the CPU and memory metrics look.

Move sites, scale down or delete the plan

Once you have gathered your billing and metric data, follow a structured verification and execution workflow. Never delete or modify a plan without checking ownership, dependencies, and recovery requirements first.

Handling empty plans or plans with only stopped sites

When a plan has no active sites, the goal is to delete the plan, or move its stopped sites to an active plan that already serves traffic and then delete the idle plan. Follow these three steps:

  1. Confirm no site is about to be started on the plan. Contact the team or owner listed in the resource tags. Verify that the empty plan is not reserved for an upcoming release, disaster recovery failover, or scheduled batch job.
  2. Move or delete the stopped sites. If the plan holds stopped apps that must be kept for compliance or future reference, check how to manage an App Service plan in Azure. Provided the target plan resides in the same resource group, geographical region, and operating system family, you can move the stopped sites onto an existing plan that serves live traffic. Otherwise, back up any needed data and delete the obsolete stopped sites.
  3. Delete the plan. Once the plan contains zero apps and has no pending deployments, delete the App Service plan to stop the hourly compute charges.

Right-sizing plans that sit above their use

When an active plan’s size sits above its 95th-percentile CPU and memory usage, follow these three steps:

  1. Confirm the peak and the availability needs with the owner. Ask the application owner whether the observed window covers their true business peak, such as month-end processing. In addition, confirm the required instance count for availability and verify that no tier-specific feature of the current size is in use.
  2. Scale the plan down, or consolidate its sites. If the instance count meets availability needs and no exclusive feature is required, scale the plan down to the appropriate target size. Alternatively, move the active sites onto another compatible plan with spare capacity to consolidate your footprint.
  3. Watch the plan’s metrics for a week. Keep a close eye on the workload after the change to confirm stability.

Watch the plan’s metrics afterwards

Right-sizing is not finished the moment you click save in the Azure portal. After you scale a plan down or consolidate sites onto a shared plan, you must watch the plan’s metrics for a week.

During this seven-day window, track CPU percentage, memory percentage, HTTP queue lengths, and application response times in Azure Monitor. Because traffic patterns often vary between weekdays and weekends, a full week of observation ensures the smaller target size handles every normal cycle without throttling or memory exhaustion. If latency rises or p95 resource use climbs near saturation, you can quickly scale the plan back up.

How Binadox helps uncover unused and oversized App Service plans

Checking every plan manually across multiple subscriptions takes significant effort. Binadox is a cloud cost visibility and optimization tool that automates this detection by scanning your Azure environment and flagging two specific findings.

First, Binadox flags when an App Service plan runs with no site on it, or with every site stopped. It records when it first observed the plan empty and counts how many subsequent scans also found it empty. Between consecutive empty scans, Binadox tracks the billed hours on the observation window’s complete days, along with the billing basis, and calculates the plan’s charge for those empty hours out of the gross cost on the days they touch. It then recommends deleting the plan, or moving its stopped sites to a plan that serves traffic and deleting the empty one.

Second, Binadox flags when an App Service plan’s size sits above its actual use. The finding identifies the plan name, the number of running instances, and the current size, along with the 95th-percentile CPU percentage and 95th-percentile memory percentage over the complete days of the window. Because right-sizing requires human judgment, Binadox marks this as a review where the potential amount is conditional on workload constraints. If the plan’s instance count matches what its availability needs and no feature of the current size is in use, it recommends scaling the plan to a specific target size.

Conclusion

Lowering your App Service plan costs does not require complex architectural rewrites. Most unnecessary spend comes down to two straightforward issues: virtual machines sitting reserved for plans with no active sites, and pricing tiers built for traffic spikes that never arrive. After all, paying hourly compute rates to host three stopped test apps is the cloud equivalent of paying rent on an empty warehouse just to store an unplugged toaster. By verifying ownership, checking tier features and availability needs, and watching metrics for a week after scaling down, your team can clear out idle plans and match active tiers to what your applications actually use.

To eliminate guesswork when managing your cloud infrastructure, start your free Binadox trial or book a demo with our team to discover idle capacity across your subscriptions.