AWS Amplify Gen 3: Vom KI-Prototyp zur Live-App
Ein Coding-Agent liefert in zwanzig Minuten eine funktionierende Web-App, doch Datenbank, Login und Zugriffskontrolle kosten danach meist den Rest des Tages. Genau diese Lücke will die neue AWS-Amplify-Generation schließen, die zum Auftakt der re:Invent 2026 vorgestellt wurde.

Veröffentlicht am 4. Dezember, bearbeitet am 4. Dezember, ursprünglich veröffentlicht auf sascha-ms.de
Sie kennen die Situation: Ein Coding-Agent liefert Ihnen in zwanzig Minuten eine funktionierende Web-App, und anschließend verbringen Sie den Rest des Nachmittags damit, eine Datenbank, Anmeldung und Zugriffsprüfungen anzubinden, damit die App tatsächlich online gehen kann. Genau diese Lücke ist das Ziel des neuen AWS Amplify, das zum Start von re:Invent 2026 als AWS Amplify Gen 3 vorgestellt wurde.
Amplify habe ich bisher weitgehend ignoriert. Für Backends greife ich üblicherweise zum Serverless Framework, für größere Setups zu CDK. Aber dieses Release hat mich neugierig genug gemacht, damit eine kleine Buchungs-App für einen fiktiven Fahrradverleih zu bauen. Die vollständige Anleitung finden Sie in meinem Artikel AWS Amplify Gen 3: build a web app with Postgres and auth. Das ist mein Fazit daraus.
Das alte Amplify war Hosting plus ein Toolkit, das im Hintergrund Cognito, AppSync und DynamoDB für Sie anlegte. Die neue Generation dreht das um: Sie erhalten ein Backend mit drei Bausteinen und müssen sich nicht um die darunterliegenden Services kümmern.
Hosting mit serverseitigem Rendering für Frameworks wie Next.js, SvelteKit oder Astro kommt obendrauf. Alles wird über einen neuen CLI-Subbefehl gesteuert, aws amplifygen3, eine Konfigurationsdatei amplify.jsonc und gewöhnliche SQL-Migrationen in einem migrations-Ordner. Jede Umgebung und jeder Git-Branch, den Sie pushen, erhält ein eigenes Backend mit eigener Datenbank und eigenen Nutzern. Praktisch für Feature-Entwicklung, aber bedenken Sie, dass ein frischer Branch Ihr Schema, aber keine Daten enthält.
Das war für mich die wichtigste Erkenntnis. Die Backend-URL und der publishable Key landen im Frontend-Bundle, sind also öffentlich. Anonyme Anfragen laufen als Rolle anon, angemeldete Anfragen als authenticated. Welche Zeilen jemand sieht, entscheiden ausschließlich PostgreSQL-Row-Level-Security-Policies, nichts anderes.
Eine vereinfachte Version dessen, wie das für eine Tabelle bookings aussieht:
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; Enter fullscreen mode Exit fullscreen mode Zwei Details haben mich auf dem Weg gebissen: auth.uid() gibt text zurück, daher schlägt eine uuid-Spalte für den Owner fehl, und eine Update-Policy braucht sowohl using als auch with check, sonst können Nutzer ihre Zeilen an andere übergeben. Schlimmer noch: RLS schlägt stillschweigend fehl. Eine fehlende Policy wirft keinen Fehler, sie liefert einfach eine leere Liste.
Genau deshalb vertraue ich den aws amplifygen3 db-Befehlen beim Testen des Zugriffs nicht: Sie verbinden sich als Admin und sehen alles. Der vollständige Artikel zeigt ein kleines Skript, das zwei Testnutzer registriert und über die Data API prüft, dass einer die Buchungen des anderen nicht sehen kann, plus den db lint-Befehl, den ich in CI für Pflicht erklären würde.
Amplify Gen 3 nutzt Pauschaltarife von 0 USD (Basic) bis 45 USD pro Monat, ohne Kosten pro Platz. Der Haken liegt im Verhalten an der Grenze: Wenn das Backend-Compute aufgebraucht ist, pausiert das Backend, bis Sie es manuell fortsetzen, und auf Basic pausiert ein ungenutztes Backend nach sieben Tagen. Für Teams in Deutschland gibt es noch einen Punkt: Frankfurt gehört nicht zu den neun Start-Regionen.
AWS liefert außerdem einen Skill für Coding-Agenten mit, der vor Produktions-Deployments oder Löschungen nachfragt. Das finde ich gut, aber eine Regel in einem Skill ist eine Bitte an das Modell, keine Barriere. Ich würde Agenten trotzdem nur Zugangsdaten geben, die Produktionsumgebungen schlicht nicht anfassen können.
Mein Fazit: großartig für Apps vom Typ Nutzer plus Tabellen, interne Tools und Prototypen. Sobald Queues, Workflows und Events ins Spiel kommen, fühle ich mich mit dem Serverless Framework oder CDK wohler.
Hier lesen: AWS Amplify Gen 3: build a web app with Postgres and auth
📖 Dies ist die Kurzfassung. Der vollständige Artikel auf sascha-ms.de geht tiefer, mit allen Codebeispielen, Diagrammen und einem kurzen Wissenstest.
👉 Nächster Schritt: Sie arbeiten mit AWS CDK? Holen Sie sich mein druckbares AWS-CDK-Cheat-Sheet mit Befehlen, Konzepten und einem Stack-Gerüst.
📬 Bleiben Sie informiert: Neue Artikel zu Serverless, KI und dem Führen von Tech-Teams per RSS, Browser-Push oder dem wöchentlichen Newsletter (auf Deutsch).
Ursprünglich veröffentlicht auf sascha-ms.de. Weitere Artikel zu Serverless, KI in der alltäglichen Entwicklung und dem Führen von Tech-Teams: sascha-ms.de/en
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
Posted on Dec 4 • Edited on Dec 4 • Originally published at sascha-ms.de
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.
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.
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.
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; Enter fullscreen mode Exit fullscreen mode 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.
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.
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