NewsCrawler.org

Trying AWS Amplify Gen 3: Next.js, Postgres and sign-in deployed from the CLI

AWS Amplify Gen 3 を試してみた! Next.js + Postgres + サインインを CLI だけでデプロイする
ローカルコンソールのデータベース画面。マイグレーションが適用済みと表示されている
Amplify コンソールの概要画面。production の最新デプロイとドメイン、バックエンド URL、メトリクスが表示されている
Amplify コンソールのデプロイ一覧。production 1 件と preview 2 件がすべて成功している
Image: zenn.dev

Takumi Saito, a solutions architect at AWS, tests AWS Amplify Gen 3, which was announced on 30 November 2026. The service combines hosting, a PostgreSQL database, sign-in and an automatically generated Data API, and is managed with the aws amplifygen3 subcommand of the AWS CLI. The article builds a Next.js notes app and tests running the backend locally, deploying to a preview environment, adding a migration with a rollback, and deploying to production.

The backend is defined in one amplify.jsonc file instead of CloudFormation or CDK. Tables are defined in SQL migrations, and access is controlled with row-level security[1]. The Data API is an HTTPS API compatible with PostgREST[2]. Each app has preview and production environments with separate databases and users. The local stack runs the database, sign-in and Data API in Docker without AWS credentials.

The free Basic plan allows 25 apps and 2 backends. The Pro plan costs 20 dollars per month and the Pro Plus plan costs 45 dollars per month. The article is dated 1 December 2026 and the tests were run in the Tokyo region with AWS CLI 2.43.0. The author checked that a Data API request without sign-in is rejected with error 42501 (permission denied), and that one user's note is not visible to another user. The article ends at the preview deployment step.

Product AWS Amplify aws.amazon.com

AWS's full-stack platform for web and mobile apps: hosting, a PostgreSQL database, sign-in and an auto-generated Data API in one service.

Read the original zenn.dev

Sources

  • Zenn JA

    AWS Amplify Gen 3 を試してみた! Next.js + Postgres + サインインを CLI だけでデプロイする

    4 likes1 bookmark0 comments

Published: First seen: Читать по-русски

Open as a page