Laravel Cloud 新增零扩展和消费限额功能

发布日期 经过

Laravel Cloud 新增 Scale-to-Zero 和消费限制 图片

Laravel 云 just launched Scale-to-Zero Flex compute along with a new four-tier pricing structure. The headline change is that your entire stack now sleeps when there's no traffic and wakes on the first request in under 500ms, so idle apps stop running up a bill.

This came out of a survey Laravel ran earlier this year with thousands of developers, plus 20 individual follow-up interviews. The feedback was consistent: developers wanted to know their costs up front. Apps sitting idle still cost money, and there was no easy way to cap a monthly spend. Scale-to-Zero and the new spending limits are the answer to that.

How Scale-to-Zero Works

This is an update to the existing Flex compute, and existing customers will continue to have access to the legacy Flex compute. New apps get the rebuilt Flex automatically. If you're already on Flex, you select one of the new sizes and redeploy to upgrade.

The Flex compute has been rebuilt so your compute, database, and cache sleep together when traffic stops and wake together when a request comes in. Some of the highlights include:

  • The entire stack sleeps and wakes as a unit, 20 times faster than before.
  • Wake time is under 500ms, down from around 10 seconds.
  • Three sizes: 512MB, 1GB, and 2GB.
  • Scheduled tasks still fire and queued jobs still process. The app wakes to handle them, then goes back to sleep when the work is done.

Opting out keeps you on the legacy Flex sizes with the roughly 10-second wake. The new scale-to-zero sizes cost $1 more per month. Pro compute apps stay always-on and can't scale to zero.

A sleeping app doesn't go offline or become unreachable. It sleeps and wakes on the next request, and your users won't notice the difference.

Enabling Scale-to-Zero on Your App

New applications get scale-to-zero Flex compute automatically. To turn it on for an existing app, open the App compute cluster on your environment's infrastructure canvas, toggle Scale to Zero on, pick one of the new Flex sizes, then save and redeploy. That's it, no application code changes required.

For long-running queued jobs, Laravel recommends Managed Queues so a job that's still running when the app goes to sleep isn't interrupted.

The New Pricing Tiers

Alongside scale-to-zero, Laravel Cloud is updating its current tier structure. The same four plans remain, Starter ($5/mo), Growth ($20/mo), Business ($200/mo), and Enterprise (custom), and every paid plan includes $5 in monthly usage credits drawn from a single pool that covers compute, database, cache, storage, bandwidth, queue operations, and custom domains. Credits reset each billing cycle and don't roll over. If you're already on Growth or Business, the $5 is applied automatically with no action needed.

The Starter tier is the new entry point at $5/mo. Because that $5 includes $5 in usage credits, the plan effectively pays for itself in usage for most small apps, and Starter now includes managed queues, spending limits, and scale-to-zero Flex compute. New Starter signups get their first month free.

For a full breakdown of what each plan includes, see the Laravel Cloud pricing page

Spending Limits

You can now set a hard monthly spend limit per org. When you hit the limit, new resource provisioning stops, but requests already being processed keep running. The limit applies to compute and excludes storage, so you can quickly bring an app back online after raising it. Alerts fire at 50%, 75%, and 90%, so there's plenty of warning before you reach the limit and time to decide what you want to do.

These limits are enforceable, which is what sets them apart from the billing alerts Cloud already had. Billing alerts fire at 50%, 80%, and 100%, but they only inform you, spending keeps accruing past the threshold unless you step in. The two work together: use alerts to stay informed, use limits to guarantee you never go over budget.

Paired with the $5 Starter plan and Scale-to-Zero, you get a clear minimum, a monthly maximum you set yourself, and visibility into everything in between. A dormant Flex app can cost less than a dollar a month in compute.

MySQL Scale-to-Zero Is Coming

In the coming weeks, scale-to-zero will extend to MySQL databases. The database suspends alongside compute and resumes on the next request, again with no application code changes required.

阅读更多

Scale-to-Zero Flex compute and the new pricing tiers are live now. You can read the details and try out the new Starter plan over at Laravel 云

埃里克·L·巴恩斯摄

Eric 是 Laravel News 的创建者,自 2012 年以来一直报道 Laravel 相关内容。

归档于:
立方体

Laravel 时事通讯

加入超过 4 万名开发者的行列,不错过任何新的技巧、教程等内容。

图像
SerpApi

适用于您的 LLM 和 AI 应用的 Web 搜索 API

访问 SerpApi
SaaSykit:Laravel SaaS 入门套件徽标

SaaSykit:Laravel SaaS 入门套件

SaaSykit 是一个多租户 Laravel SaaS 入门套件,包含运行现代 SaaS 所需的所有功能,例如支付、美观的结账界面、管理面板、用户仪表盘、身份验证、现成组件、统计数据、博客、文档等等。

SaaSykit:Laravel SaaS 入门套件
Lucky Media 标志

幸运传媒

Get Lucky Now——拥有十余年经验的 Laravel 开发理想之选!

幸运传媒
Laravel Cloud 标志

Laravel 云

轻松创建和管理服务器,并在几秒钟内部署 Laravel 应用程序。

Laravel 云
Tinkerwell 徽标

廷克威尔

Laravel 开发者必备的代码运行器。可在本地和生产环境中体验 AI、自动补全和即时反馈功能。

廷克威尔
PhpStorm 标志

PhpStorm

首选的 PHP IDE,对 Laravel 及其生态系统提供广泛的开箱即用支持。

PhpStorm
Kirschbaum 标志

樱桃树

提供创新和稳定性,确保您的Web应用程序取得成功。

樱桃树
鱼叉:新一代时间跟踪和发票标志

Harpoon:新一代时间跟踪和发票系统

新一代时间跟踪和计费软件,帮助您的机构规划和预测盈利的未来。

Harpoon:新一代时间跟踪和发票系统
Shift 标志

转移

还在运行旧版本的 Laravel?立即实现 Laravel 自动升级和代码现代化,让您的应用程序保持最新状态。

转移
了解 Softtech 的标志

了解软科技

Acquaint Softtech 提供 AI 就绪的 Laravel 开发人员,48 小时内即可上手,每月费用为 3000 美元,没有冗长的销售流程,并提供 100% 退款保证。

了解软科技
绝不妥协标志

绝不妥协

来自 No Compromises 播客的两位经验丰富的开发者 Joel 和 Aaron 现在可以为您的 Laravel 项目提供服务。⬧ 固定费用 9500 美元/月。⬧ 无冗长的销售流程。⬧ 无需签订合同。⬧ 100% 退款保证。

绝不妥协
使用 Truffle 图像的内存 Eloquent 模型

使用 Truffle 的内存 Eloquent 模型

阅读文章
使用 MigrAlign 镜像检测并解决 Laravel Schema Drift 问题

使用 MigrAlign 检测并解决 Laravel Schema Drift 问题

阅读文章
Shift + AI = Laravel 全自动升级图片

Shift + AI = Laravel 全自动升级

阅读文章
Laracon AU 2026 公布完整演讲嘉宾阵容、日程安排和研讨会图片

Laracon AU 2026 公布完整演讲嘉宾阵容、日程安排和研讨会信息

阅读文章
Parsel:使用 PHP 图像解析 PDF、Office 文档和图像

Parsel:使用 PHP 解析 PDF、Office 文档和图像

阅读文章
带有表现力图像的 Eloquent 类型对象

Eloquent 的类型化对象及其表达方式

阅读文章