I Tried Out the New AWS Amplify (Amplify Gen 3)

I Tried Out the New AWS Amplify (Amplify Gen 3)

I deployed a sample app from the console. For a Next.js app, I handled preview and production deploys, checking changes in preview, and production rollback using only the CLI. Each deploy finished in under a minute.
2026.12.01

This page has been translated by machine translation. View original

Introduction

On November 30, 2026, the new AWS Amplify (Amplify Gen 3) was announced.

https://www.aboutamazon.com/news/aws/what-is-aws-amplify

The announcement introduces the ability to go from code to publishing with a single command, to test changes before publishing them, and to roll back to a previous version.

In this article, I deployed a sample app from the Management Console. Then, I deployed a Next.js app to preview and production with the AWS CLI, checked a change in preview, and rolled back production.

Test Environment

  • Region: Tokyo (ap-northeast-1)
  • Management Console: Deployed a sample app
  • AWS CLI: Deployed a Next.js app, checked changes, and performed a rollback

Deploying from the Console

Creating the Sample App

The URL path of the new Amplify console includes amplifygen3. Proceed from "Create app" in the app list.

App list. The URL path includes amplifygen3

The "Create new app" screen offers three deployment methods: Agent, Git (GitHub, GitLab), and .ZIP. With .ZIP, you can choose either to upload a ZIP file or to use a sample frontend app.

"Create new app" screen

When I selected "Use a sample frontend app," the "Configure app" screen appeared with frontend.zip already set. The app name was shown as frontend. I clicked "Create and deploy."

"Configure app" screen

Right after clicking, a waiting screen for creation and build was displayed.

Waiting screen right after creation

Deployment Result

The app's Overview showed the latest production deployment as in progress. The source is "Zip upload," and the app environments are production and preview.

Overview. The production deployment is in progress

After a while, the status changed to "Succeeded."

State where the latest production deployment succeeded

The published sample app page showed that it was being served from ap-northeast-1.

Published sample app

According to Amplify's deployment record, it took 43.8 seconds from start to finish (Build 28.6 seconds, Deploy 13.0 seconds). From the first recorded ZIP upload write event in CloudTrail to the completion of the deployment, it took about 57 seconds.

Deploying with the CLI

I updated the AWS CLI to 2.43.0 and deployed a Next.js 16.4.6 app with the CLI.

Preparing the App

In app/page.tsx of the template created with create-next-app, I changed the <h1> text to "Hello Amplify Gen 3 (v1)". Running aws amplifygen3 local init in the project directory creates amplify.jsonc.

$ aws amplifygen3 local init --app devio-gen3-verify-1201
{"ok": true, "data": {"app": "devio-gen3-verify-1201", "type": "frontend-only", "config": "amplify.jsonc (created)", "path": "/home/user/demo-app", "gitignore": ".gitignore (added /.amplify/)"}, "next_steps": ["aws amplifygen3 deploy"]}

The Amplify app is created on the first deploy. The contents of amplify.jsonc are as follows, and the build settings are in deploy.

{
  "name": "devio-gen3-verify-1201",
  "env": {
    "production": {},
    "preview": {}
  },
  "deploy": {
    "install": "npm ci",
    "build": "npx @aws-amplifygen3/adapter-nextjs",
    "output_directory": ".amplify"
  }
}

Deploying to preview

If you run deploy without --env, it deploys to preview. The first time, the app and IAM roles were created in my own account, and then the deployment started.

$ aws amplifygen3 deploy
Deploying to App "devio-gen3-verify-1201"
→ App "devio-gen3-verify-1201" not found in account 123456789012; creating it...
→ Creating IAM roles for "devio-gen3-verify-1201"...
Waiting for IAM role to become available...
→ Uploading files
✓ Files uploaded in 0.3s
IAM role still propagating; retrying in 2s (attempt 2/6)
IAM role still propagating; retrying in 3s (attempt 3/6)

DeploymentID dm2nl0il90 created in Environment preview!
  Visit:    URL Pending
  Monitor:  https://ap-northeast-1.console.aws.amazon.com/amplifygen3/apps/devio-gen3-verify-1201/deployments/preview/dm2nl0il90
The deployment URL will be shown once the deployment completes.
  → Queued...
  → In progress...
  ✓ Built in 30s
  ✓ Deployed in 13s
  ✓ Deployment succeeded! (45s)

DeploymentID dm2nl0il90 created in Environment preview!
  Visit:    https://preview-pc35--devio-gen3-verify-1201.amplify.app
  Monitor:  https://ap-northeast-1.console.aws.amazon.com/amplifygen3/apps/devio-gen3-verify-1201/deployments/preview/dm2nl0il90
A new URL can take up to a minute to reach every edge location, so the first visitors may see intermittent errors. No action is needed.
✓ https://preview-pc35--devio-gen3-verify-1201.amplify.app answers 200 after 2s

I accessed the displayed preview URL with curl and extracted the <h1>.

$ curl -sS -o /tmp/p.html -w "http=%{http_code}\n" <URL>/; grep -o '<h1>[^<]*</h1>' /tmp/p.html
http=200
<h1>Hello Amplify Gen 3 (v1)</h1>

Deploying to production

To deploy to production, specify --env production.

$ aws amplifygen3 deploy --env production
  ✓ Built in 25s
  ✓ Deployed in 11s
  ✓ Deployment succeeded! (39s)

DeploymentID i712wgs3gb created in Environment production!
  Visit:    https://devio-gen3-verify-1201.amplify.app
✓ https://devio-gen3-verify-1201.amplify.app answers 200 after 2s

Checking Changes and Rollback

I changed the <h1> text to "Hello Amplify Gen 3 (v2)", deployed to preview, then deployed to production, and then rolled back. The URL accessed with curl after each operation and the contents of <h1> are as follows.

Operation URL <h1> content
Deploy v1 to preview preview Hello Amplify Gen 3 (v1)
Deploy v2 to preview preview Hello Amplify Gen 3 (v2)
Deploy v2 to preview production Hello Amplify Gen 3 (v1)
Deploy v2 to production production Hello Amplify Gen 3 (v2)
Roll back production production Hello Amplify Gen 3 (v1)
Roll back production preview Hello Amplify Gen 3 (v2)

At the point when v2 was deployed to preview, the production URL was still v1. The rollback reverted only production, and preview remained at v2.

To roll back production, run it with --env production specified.

$ aws amplifygen3 rollback --env production
✓ Rolled back environment 'production' from deployment '0w6a27k755' to deployment 'i712wgs3gb' (created 2026-12-01 13:04 JST), the newest succeeded deployment older than '0w6a27k755'. It is now the active deployment.
  Visit:  https://devio-gen3-verify-1201.amplify.app

rollback switches the environment's URL to the newest deployment among those that succeeded before the current deployment. Because no build is performed, the production URL returned v1 immediately after execution.

Deployment Duration

For the four deployments, the Build, Deploy, and Deployment succeeded! times displayed by the CLI, and the elapsed time of the whole command, are as follows.

Deployment Build Deploy Total (CLI display) Whole command (start to finish)
preview (v1, first time) 30s 13s 45s About 65 seconds
production (v1) 25s 11s 39s About 54 seconds
preview (v2) 23s 8.6s 34s About 44 seconds
production (v2) 24s 7.9s 34s About 38 seconds

The whole-command time for the first deployment (about 65 seconds) includes the time to create the app and IAM roles and to wait for the IAM roles to propagate.

Summary

With the new AWS Amplify (Amplify Gen 3), I was able to deploy a sample app from the Management Console and a Next.js app with the AWS CLI.

With the AWS CLI, the first deployment took about 65 seconds because it includes the time to create the IAM roles, but I confirmed that the second and later deployments completed in under a minute.

The new AWS Amplify is already supported in the Management Console, and you can start using it right away with the AWS CLI once you update it. In particular, if deployment duration was an issue with the previous AWS Amplify, please give it a try.

Share this article

AWSのお困り事はクラスメソッドへ