AWS Amplify Reintroduced: Hosting, Postgres and Auth on One Plan

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

AWS Amplify Reintroduced: Hosting, Postgres and Auth on One Plan

TL;DR AWS has reintroduced Amplify as one service for hosting, a PostgreSQL database, auth and an autogenerated Data API, on one monthly plan with no per-seat fees. It is aimed at small teams and agent-built web apps. Live in 9 regions, including Ireland, London and Stockholm. Existing Amplify apps are unaffected. Pricing: Basic $0, Pro $20, Pro Plus $45 a month. Enterprise is “coming soon”. Watch: allowances pause resources rather than bill you, so read the limits before you go live. My view: a clean, sensible bundle. I would pilot it on a side project before moving anything real.

简而言之,AWS 重新推出了 Amplify,将其整合为一项包含托管、PostgreSQL 数据库、身份验证和自动生成数据 API 的单一服务,并采用无按席位收费的月度套餐。该服务旨在面向小型团队和由 AI 代理构建的 Web 应用。目前已在包括爱尔兰、伦敦和斯德哥尔摩在内的 9 个区域上线。现有的 Amplify 应用不受影响。定价方面:基础版 0 美元,专业版 20 美元,专业增强版每月 45 美元。企业版“即将推出”。注意:配额耗尽时会暂停资源而非直接扣费,因此在上线前请务必阅读限制条款。我的观点是:这是一个简洁且合理的组合。在迁移任何实际项目之前,我会先用它进行副业项目的试点。

The hard facts

I have not used this yet. Everything below comes from the launch post (30 Nov 2026), the pricing page and the Amplify docs.

基本事实

我目前尚未实际使用过该服务。以下所有内容均来自发布公告(2026 年 11 月 30 日)、定价页面以及 Amplify 文档。

ItemDetail
What it isHosting, PostgreSQL, authentication and an autogenerated Data API in one service
BillingOne monthly plan, no per-seat fees
Regions (9)US East (N. Virginia, Ohio), US West (Oregon), Europe (Ireland, London, Stockholm), Asia Pacific (Mumbai, Sydney, Tokyo)
PlansBasic $0, Pro $20, Pro Plus $45 per month; Enterprise coming soon
DatabasePostgreSQL 17, serverless, per the backend docs
AuthManaged Better Auth; email and password, social providers, or an Amazon Cognito user pool
Data APIPostgREST-compatible
SSR frameworksNext.js, SvelteKit, Astro, Nuxt (adapters), per the frameworks page
Existing appsKeep running and deploying as today, no code changes
CLIaws amplifygen3; docs call this offering Amplify Gen 3
项目详情
服务内容在单一服务中提供托管、PostgreSQL、身份验证和自动生成的数据 API
计费方式单一月度套餐,无按席位收费
区域 (9个)美国东部(弗吉尼亚北部、俄亥俄)、美国西部(俄勒冈)、欧洲(爱尔兰、伦敦、斯德哥尔摩)、亚太地区(孟买、悉尼、东京)
套餐基础版 0 美元,专业版 20 美元,专业增强版 45 美元/月;企业版即将推出
数据库PostgreSQL 17,无服务器架构,详见后端文档
身份验证托管式 Better Auth;支持邮箱密码、社交账号登录或 Amazon Cognito 用户池
数据 API兼容 PostgREST
SSR 框架Next.js, SvelteKit, Astro, Nuxt(适配器),详见框架页面
现有应用继续运行和部署,无需更改代码
命令行工具aws amplifygen3;文档将此产品称为 Amplify Gen 3

What you get

The pitch in the launch post is simple. Builders using coding agents such as Kiro, Claude Code, Codex and Cursor can build a web app in minutes. Getting it into production is slower, because hosting, database and sign-in come from different providers. Amplify puts them in one AWS account. Going by the docs, an app has environments (preview and production by default) and can have one backend. The backend has three parts behind one endpoint: Database: managed PostgreSQL. You define tables as SQL migrations in your repo. Auth: runs on Better Auth, which Amplify operates and updates. Every request from a signed-in user runs in the database as that user, so row-level security (RLS) policies decide what each user sees. Data API: generated from your tables, PostgREST-compatible, so existing PostgREST query syntax carries over.

你能获得什么

发布公告中的宣传点很简单。使用 Kiro、Claude Code、Codex 和 Cursor 等编码代理的开发者可以在几分钟内构建出一个 Web 应用。但将其投入生产环境通常较慢,因为托管、数据库和登录功能往往来自不同的供应商。Amplify 将它们整合到了同一个 AWS 账户中。根据文档,一个应用拥有多个环境(默认为预览和生产环境),并且可以拥有一个后端。该后端在单一端点后包含三个部分:数据库:托管式 PostgreSQL。你在代码仓库中通过 SQL 迁移定义表结构。身份验证:基于 Better Auth 运行,由 Amplify 负责运营和更新。每个已登录用户的请求都会以该用户身份在数据库中执行,因此行级安全(RLS)策略决定了每个用户能看到的内容。数据 API:根据你的表结构自动生成,兼容 PostgREST,因此现有的 PostgREST 查询语法可以直接沿用。

Some design points I like, all from the backend overview: Database changes are applied before the new website version goes live. Each environment, and each Git branch you push, gets its own backend branch with its own database, users and keys. Deployments never copy rows between branches. You can run the whole backend locally in Docker or Finch. You can connect with psql, Drizzle or Prisma as well as the SDK (@aws-amplifygen3/backend-client-js). Extensions such as pgvector and PostGIS can be turned on, from the list Amplify allows (database page). aws amplifygen3 db dump exports your data (how it works).

我喜欢的一些设计点(均来自后端概览):数据库变更会在新版本网站上线前应用。每个环境以及你推送的每个 Git 分支都会获得其独立的后端分支,拥有各自的数据库、用户和密钥。部署过程绝不会在分支间复制数据行。你可以在 Docker 或 Finch 中本地运行整个后端。你可以使用 psql、Drizzle 或 Prisma 以及 SDK (@aws-amplifygen3/backend-client-js) 进行连接。可以从 Amplify 允许的列表中(数据库页面)开启 pgvector 和 PostGIS 等扩展。aws amplifygen3 db dump 命令可用于导出数据(其工作原理)。

Plans and allowances

Numbers below are from the pricing page and the docs pricing page, as of 1 Dec 2026.

套餐与配额

以下数据截至 2026 年 12 月 1 日,来自定价页面及文档定价页面。

[Table omitted for brevity, refer to original text for specific values]

[表格内容略,具体数值请参考原文]

A BCU (Backend Compute Unit) is roughly 2 GiB of memory plus matching CPU and networking, and it covers the database, Data API and auth together. Overage rates, only if you switch overage on (Pro and Pro Plus only, off by default): Compute memory: $0.0159 per GB-hour (the pricing page rounds to $0.016) Active CPU: $0.12 per vCPU-hour Backend capacity: $0.10 per BCU-hour Database storage: $0.125 per GB-month Pro and Pro Plus add firewall web ACLs, custom rules, gradual deployment, VPC connectivity and OIDC access control. Pro Plus adds Layer 7 DDoS protection and bot and AI-scraper control. Some premium WAF rule groups are billed at AWS WAF rates on top.

BCU(后端计算单元)大约相当于 2 GiB 内存加上相应的 CPU 和网络资源,它涵盖了数据库、数据 API 和身份验证的总和。超额费用仅在开启超额计费功能时产生(仅限专业版和专业增强版,默认关闭):计算内存:每 GB-小时 0.0159 美元(定价页面四舍五入为 0.016 美元);活跃 CPU:每 vCPU-小时 0.12 美元;后端容量:每 BCU-小时 0.10 美元;数据库存储:每 GB-月 0.125 美元。专业版和专业增强版增加了防火墙 Web ACL、自定义规则、渐进式部署、VPC 连接和 OIDC 访问控制。专业增强版还增加了第 7 层 DDoS 防护以及机器人和 AI 爬虫控制。部分高级 WAF 规则组将按 AWS WAF 标准费率额外计费。

What happens when you hit a limit

This is the part to read twice. The design is “pause, don’t bill”. That protects your wallet and can take your app down. Compute duration or memory: server-side compute pauses, new builds are blocked and you cannot create new apps until the allowance resets. Backend compute: the backend is paused and stops serving its API. It stays paused until you run aws amplifygen3 backend resume. Resetting, upgrading or enabling overage does not resume it by itself. Resume takes a few minutes. Data is kept. Storage: a backend pauses when one branch database reaches 1 GiB on Basic or 10 GiB on paid plans. Data transfer and CDN requests: never billed. On Basic the site stops serving past the allowance. On Pro and Pro Plus it stops if you pass 3x the allowance in one cycle, or stay above it for 3 cycles in a row. Idle backends: asleep after 5 minutes without traffic and woken in seconds, with no compute charge while asleep. On Basic, a backend unused for 7 days is paused and a request does not wake it. Plan changes: upgrades apply at once. Downgrades take effect on the 1st of next month and cannot be cancelled once scheduled. Changing plan turns overage off and resets your cap. Plan prices cover Amplify only. S3, Bedrock, Route 53 and CloudWatch Logs bill separately.

当达到限制时会发生什么

这是需要阅读两遍的部分。其设计理念是“暂停,不扣费”。这保护了你的钱包,但也可能导致应用下线。计算时长或内存:服务器端计算会暂停,新构建会被阻止,且在配额重置前你无法创建新应用。后端计算:后端会暂停并停止提供 API 服务。它将保持暂停状态,直到你运行 aws amplifygen3 backend resume。重置、升级或开启超额计费并不会自动恢复服务。恢复过程需要几分钟。数据会被保留。存储:当基础版中某个分支数据库达到 1 GiB,或付费套餐中达到 10 GiB 时,后端会暂停。数据传输和 CDN 请求:从不计费。在基础版中,一旦超过配额,网站将停止服务。在专业版和专业增强版中,如果你在一个周期内超过配额 3 倍,或者连续 3 个周期超过配额,服务将停止。空闲后端:在 5 分钟无流量后进入休眠,并在几秒钟内唤醒,休眠期间不产生计算费用。在基础版中,如果后端 7 天未使用则会暂停,且请求无法将其唤醒。套餐变更:升级立即生效。降级在下个月 1 日生效,一旦预约无法取消。更改套餐会关闭超额计费并重置上限。套餐价格仅涵盖 Amplify。S3、Bedrock、Route 53 和 CloudWatch Logs 将单独计费。

Frameworks and deployment

The docs list SSR adapters for Next.js, Nuxt, Astro and SvelteKit, and say static output needs no adapter. Many other frameworks are auto-detected for build settings, including Remix, React Router, TanStack Start,

框架与部署

文档列出了适用于 Next.js、Nuxt、Astro 和 SvelteKit 的 SSR 适配器,并指出静态输出无需适配器。许多其他框架(包括 Remix、React Router、TanStack Start 等)的构建设置会被自动检测。