You know the situation: a coding agent gives you a working web app in twenty minutes, and then you spend the rest of the afternoon wiring up a database, sign-in and access checks so it can actually go online. That gap is exactly what the new AWS Amplify, launched at the start of re:Invent 2026 as AWS Amplify Gen 3, is aiming at.
I have mostly ignored Amplify so far. For backends I usually reach for the Serverless Framework, and for larger setups CDK. But this release made me curious enough to build a small booking app for a fictional bike rental with it. The full walkthrough is in my article AWS Amplify Gen 3: build a web app with Postgres and auth. Here is what I took away from it.
One service instead of a pile of parts
The old Amplify was hosting plus a toolkit that quietly created Cognito, AppSync and DynamoDB for you. The new generation turns that around: you get a backend with three building blocks and you don't think about the services underneath.
- PostgreSQL 17, run as a Serverless database that sleeps after five minutes without traffic and wakes up within seconds.
- Auth based on the open-source framework Better Auth, operated by AWS: email and password, social logins, or an existing Cognito user pool.
- A Data API generated from your tables and compatible with PostgREST. If you have used Supabase, the query style will feel familiar.
Hosting with server-side rendering for frameworks like Next.js, SvelteKit or Astro comes on top. Everything is controlled with a new CLI subcommand, aws amplifygen3, a config file amplify.jsonc and plain SQL migrations in a migrations/ folder. Every environment, and every Git branch you push, gets its own backend with its own database and users. Handy for feature work, but remember that a fresh branch has your schema and no data.
Your security lives in SQL now
This was the most important insight for me. The backend URL and the publishable key end up in your frontend bundle, so they are public. Anonymous requests run as the anon role, signed-in requests as authenticated. Which rows anyone sees is decided by PostgreSQL row-level security policies, nothing else.
A simplified version of what that looks like for a bookings table:
alter table public.bookings enable row level security;
create policy "bookings_select_own" on public.bookings
for select to authenticated
using ((select auth.uid()) = owner_id);
grant select on public.bookings to authenticated;
Two details bit me on the way: auth.uid() returns text, so a uuid owner column fails, and an update policy needs both using and with check, or users can hand their rows to someone else. Worse, RLS fails silently. A missing policy doesn't throw an error, it just returns an empty list.
That is also why I never trust the aws amplifygen3 db commands for testing access: they connect as an admin and see everything. The full article shows a small script that signs up two test users and checks through the Data API that one cannot see the other's bookings, plus the db lint command I'd make mandatory in CI.
Costs, Regions and agents
Amplify Gen 3 uses flat-rate plans from USD 0 (Basic) to USD 45 per month, with no per-seat fees. The catch is behavior at the limit: when you run out of backend compute, the backend pauses until you resume it manually, and on Basic an unused backend pauses after seven days. For teams in Germany there is another point: Frankfurt is not among the nine launch Regions.
AWS also ships a skill for coding agents that asks before production deploys or deletions. I like that, but a rule in a skill is a request to the model, not a barrier. I would still hand agents credentials that simply cannot touch production.
My take: great for "users plus tables" apps, internal tools and prototypes. Once queues, workflows and events enter the picture, I'm more comfortable with the Serverless Framework or CDK.
What the full article covers
- The complete migration for the bike rental, including a safe
security definerfunction for public availability - A TypeScript client module with validation and Vitest tests
- The two-user RLS test script and a table of common errors and their causes
- The full pricing comparison and my decision guide between Amplify, Serverless Framework and CDK
Read it here: AWS Amplify Gen 3: build a web app with Postgres and auth
📖 This is the condensed version. The full article on sascha-ms.de goes deeper – with all code samples, diagrams and a short knowledge check.
👉 Next step: Working with AWS CDK? Grab my printable AWS CDK cheat sheet with commands, concepts and a stack skeleton.
📬 Stay updated: New articles on serverless, AI and leading tech teams via RSS, browser push or the weekly newsletter (in German).
Originally published on sascha-ms.de. More articles on serverless, AI in everyday development and leading tech teams: sascha-ms.de/en
Top comments (0)