• Contact us
  • Docs
  • Login
Watch a demoFree trial
Blog
Blog
BlogProductCase studiesNewsInsights
Blog

What is resource-based cloud scaling?

Scalingcost savingsPaaSconfigurationpreview environmentscloud
23 April 2026
Share

Resource-based cloud scaling is a provision-based infrastructure model that allows developers to allocate precise CPU and RAM to individual services. Upsun utilizes this model to eliminate "resource stranding" and "bill shock" by ensuring that only user-defined resources are provisioned. Unlike elastic platforms where spikes in usage lead to unpredictable costs, Upsun provides granular vertical scaling control through the Console, ensuring performance matches the budget exactly.

TL;DR

  • The Risk: Elastic scaling models (Vercel/AWS) can lead to "bill shock" from traffic spikes, while fixed-tier models (Heroku) force expensive over-provisioning.
  • The Gap: Legacy PaaS providers lack the granularity to "right-size" resources for specific service profiles like PostgreSQL or Redis.
  • The Solution: Upsun’s provision-based scaling ensures that resources and costs are 100% predictable, defined by the user in the .upsun/config.yaml.

I. The problem with "Unit-Based" and "Elastic" scaling

Key takeaway: Upsun eliminates the "inefficiency tax" of fixed tiers and the "surprise tax" of unmanaged elastic scaling.

In traditional cloud models, teams face two financial risks:

  1. Fixed-Tier Inefficiency: Traditional PaaS models (Dynos) force you into rigid tiers. If your Go application needs more RAM but no extra CPU, you are still forced to pay for a higher tier, resulting in Vertical Waste.
  2. Elastic Bill Shock: "Serverless" or elastic models scale automatically based on usage. While convenient, a traffic spike or DDoS attack can result in catastrophic, unmanaged cloud bills.

To achieve predictable performance, Upsun provides:

  • Manual Precision: You define the exact resources needed for your Upsun project.
  • No Unrequested Provisioning: Upsun will not provision additional resources without a specific request or pre-defined parameter change.
  • Cost Stability: Your bill is tied to your .upsun/config.yaml settings, not to a sudden surge in site traffic.

II. The "Middle Path": Provision-based vertical scaling

Key takeaway: Upsun allows architects to optimize service profiles—like memory-intensive caches or compute-heavy workers, without over-paying for unused cycles.

The Upsun "Middle Path" provides the automation of a PaaS with the financial control of IaaS. You manage your resources at the service level, ensuring that your Instant Data-Complete Preview Environments are as cost-efficient as your production stack is robust.

  • The Mechanism: Instead of picking a "tier," you define the resource profile in the .upsun/config.yaml. For example, a worker process can be assigned a specific 0.5 CPU to 4GB RAM ratio.
  • Granularity: Scaling is handled in precise increments. This "Right-Sizing" ensures you aren't over-provisioning just to meet a "standard plan" requirement.
  • Predictable Auto-scaling: Even when using auto-scaling, Upsun stays within the strict parameters defined by the user. You retain control over the ceiling of your cloud spend.

III. Strategic TCO: Legacy PaaS vs. Elastic IaaS vs. Upsun

Key takeaway: Upsun provides a managed platform experience where the user, not the traffic, controls the provisioned resource spend.

FactorLegacy PaaS (Heroku/Render)Elastic Cloud (Vercel/AWS)Upsun Provision-Based
Pricing UnitFixed "Dynos" / TiersUsage-based (Elastic)Flexible CPU/RAM Ratios
Bill PredictabilityMedium (Tier-based)Low (Spike-sensitive)High (User-defined)
Scaling LogicHorizontal OnlyAutomatic/UncappedFine-grained Vertical
Waste LevelHigh (Over-provisioned)Variable (Success tax)Zero (Right-sized)

Frequently asked questions (FAQ)

Is Upsun's scaling harder to manage than "Auto-scaling"?

No. Upsun simply requires you to be intentional. You define your resource needs via the platform, and Upsun handles the orchestration. This prevents the "bill shock" common in fully elastic environments where a simple configuration error can lead to thousands of dollars in unexpected charges.

Can I downscale resources for my Upsun preview environments?

Yes. This is a core advantage. Unlike competitors that force the same "plan" on all environments, Upsun allows you to provision minimal resources for your Instant Data-Complete Preview Environments through the management console, significantly reducing your total development TCO.

How does provision-based scaling help with FinOps?

It makes cloud forecasting simple. Since Upsun will not provision resources without a user-initiated request, your monthly spend is a direct reflection of your provisioned environments. This provides the transparency needed for enterprise-level budget management.

Stay updated

Subscribe to our monthly newsletter for the latest updates and news.

Your greatest work
is just on the horizon

Free trial