Skip to content

feat: gen2 backend and datastore migration guides#8570

Merged
iliapolo merged 49 commits intomainfrom
gen2-migration
May 1, 2026
Merged

feat: gen2 backend and datastore migration guides#8570
iliapolo merged 49 commits intomainfrom
gen2-migration

Conversation

@iliapolo
Copy link
Copy Markdown
Contributor

@iliapolo iliapolo commented Apr 21, 2026

Description of changes:

Backend Migration

Adds the Gen 1 → Gen 2 backend migration guide and feature parity page under /[platform]/start/migrate-to-gen2/.

  • Step-by-step migration guide.
  • Feature parity matrix with migration tool support levels
DataStore

Merged from #8581 so it will be published together. Explanations can be found there.

Related GitHub issue #, if available:

Which product(s) are affected by this PR (if applicable)?

  • amplify-cli
  • amplify-ui
  • amplify-studio
  • amplify-hosting
  • amplify-libraries

Which platform(s) are affected by this PR (if applicable)?

  • JS
  • Swift
  • Android
  • Flutter
  • React Native

Checks

  • Does this PR conform to the styleguide?
  • Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.
  • Are any files being deleted with this PR? If so, have the needed redirects been created?
  • Are all links in MDX files using the MDX link syntax rather than HTML link syntax?

When this PR is ready to merge, please check the box below

  • Ready to merge

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

iliapolo added 30 commits April 14, 2026 17:11
Restructure the migrate-to-gen2 page into a landing page with two
child pages:

- Migrate an existing Gen 1 Application: full step-by-step migration
  guide including overall approach, prerequisites, modernization,
  5-step process (assess, lock, generate, deploy, refactor),
  troubleshooting, and migration tool feature coverage
- Build a new Gen 2 Application: Gen 1 vs Gen 2 feature matrix tables
  for auth, data, storage, functions, and other categories

Add migration guide images to public/images/gen2-migration/ and update
directory.mjs to register the new child pages.
- Add validation tables to lock, generate, and refactor steps
- Show IAM policy JSON attached during lock step
- Improve generate and refactor step descriptions
- Restructure post-generate manual edits as Post Generate | <edit> headings
- Add function secrets reference link in a Callout
- Fix function secrets image size
- Rename 'Example assess report' to 'Example assessment'
- Make validation tables collapsable with Accordion
- Remove commas from partially supported feature entries
Add new child page covering Gen 1 to Gen 2 CLI command mapping,
custom pipeline setup for non-Git workflows, and UI Builder
migration from Studio to Figma Plugin. Also fix {Group} escaping
in feature coverage and restructure feature coverage as nested
CLI command lists with collapsible accordions.
- Merge CLI guide content into migrate-existing-app page
- Remove standalone cli-guide page
- Add UI Builder migration as separate child page
- Rename feature matrix tile to Feature Parity
- Various content edits: remove redundant sections, fix formatting,
  improve stateless/stateful resource headings
- Merge feature coverage and feature matrix into single 4-column tables
  (Feature | Gen 1 | Gen 2 | Migration Tool)
- Add phase indicators for partial support (generate/refactor)
- Replace feature coverage in migrate-existing-app with link
- Move feature coverage link to top after Overall Approach
- Split MFA and Analytics into separate rows
- Update Data section migration tool values
- Add block quote legend with bullet explanations
- Add Custom (CDK) and Custom (CFN) rows to Other categories
- Link Custom (CDK) to custom resources docs
- Link Custom (CFN) to CfnInclude docs
- Mark both as unsupported by migration tool
- Restructure Backend Migration section with Generate and Refactor
  subsections and expanded descriptions
- Move Frontend to its own top-level section
- Consolidate Feature Parity page with Backend Categories and
  Tooling and Workflows groupings
- Move CLI command mapping and UI Builder to Feature Parity page
- Move Custom pipeline to its own child page
- Remove standalone UI Builder page
- Add collapsible Migration Tool legend
- Add Data schema and Hosting buildspec callouts
- Fix numerous feature support values across all tables
- Various content and wording improvements
- Restructure migrate-existing-app: rename sections, add Backend
  intro, expand Refactor description, add Step 0 Clone with
  Environment Isolation callout, embed custom pipelines content
  into Deploy & Host section
- Feature parity: move console/tooling features to new Console &
  Developer Experience section, fix numerous migration tool values,
  remove Migration Tool column from Hosting table, rename overrides
- Remove standalone custom-pipelines page
- Various wording and structure improvements
- Add DataStore prerequisite
- Add holding stacks accordion to refactor step
- Move validations accordions directly below step titles
- Replace untested indicators with unsupported
- Fix migration tool support for MFA, custom attributes,
  user pool group preference, configure memory size
- Rename sections, fix AWS profile callout wording
- Various feature parity table corrections
- Add conventions section to step-by-step migration
- Move GraphQL IAM prerequisite to second position
- Remove experimental-alpha package from refactor step
- Add amplify pull and verification steps to setup
- Add DataStore migration prerequisite wording fix
- Update landing page intro with Gen 1 deprecation and EOL date
- Rephrase migration tool callout for developer preview tone
- Add explainer to Console & Developer Experience section
- Include user edits
- Mark Cron jobs as supported in migration tool
- Add Email based user registration/forgot password row
- Remove duplicate Email Verification - Link row
- Move critical post-refactor steps into Step 6 with CRITICAL label
- Add explanation of why post-refactor deployment is required
- Bump deploy to Step 7
- Red callout for critical warning
- Remove redeploy image and redundant text
- Fix commit message and downtime wording
- Add lock rollback and amplify push after refactor rollback
- Move holding stacks accordion to after refactor description
- Reorder for better reading flow
- Simplify landing page intro
- Remove env checkout from Step 0
- Update hosting table with Amplify Console naming and links
- Mark manual deployment as Gen 2 unsupported
- Remove Step 0 checkout step
- Add Step 4 intro explaining why manual edits are needed
- Add AI coding assistant tip
- Group NodeJS ESM and Secrets under Functions heading
- Move REST API and add Kinesis under Frontend
- Move @auth directive content into Data section
- Remove Post Generate prefix from headings
- Fix secret() parameter
- Rename Reuse Model Tables to Data
- Replace npx amplify with amplify throughout
- Add Kinesis stream name change to post-refactor step
- Fix secret() parameter
- Remove images
- Expand Step 5 Deploy with detailed instructions and images
- Add Decommission Gen 1 section with safety warnings
- Add retain command with not-yet-available note
- Add Kinesis post-refactor step
- Add frontend code and REST API post-generate edits
- Add caution, confirmation prompts, and human supervision guidance
  to developer preview callout
- Add permanent postRefactor() note
- Bold 'not' in unattended warning
- Move detailed clone instructions from developer preview banner
  to Step 0
- Include user edits
- Add Step 6 with test examples and manual fix guidance
- Upgrade DynamoDB callout to warning with clone imperative
- Renumber steps 7-9
Replace reference to non-existent amplify gen2-migration retain command
with general instructions on manually applying DeletionPolicy: Retain.
Add note that a CLI command to automate this is in progress.
dgandhi62 and others added 2 commits April 29, 2026 21:36
…ures (#8583)

* feat: add links

* chore

* chore

* chore: mid work

* chore: mid work
Add testing as explicit step in migration approach, mark Step 6 as
CRITICAL with warning callout, move pipeline disable advice before
lock command, and various copy improvements.
cadivus
cadivus previously approved these changes Apr 30, 2026
bobbor
bobbor previously approved these changes Apr 30, 2026
@cadivus cadivus dismissed stale reviews from bobbor and themself via 9fd18b2 April 30, 2026 13:00
cadivus
cadivus previously approved these changes Apr 30, 2026
@cadivus cadivus requested review from bobbor and soberm April 30, 2026 13:14
sai-ray
sai-ray previously approved these changes Apr 30, 2026
iankhou
iankhou previously approved these changes Apr 30, 2026
Update deployment reference to point to the Hosting section in the
feature parity page instead of a broken anchor link. Change wording
from 'Deployment examples' to 'Deployment instructions refer to'.
@iliapolo iliapolo dismissed stale reviews from iankhou, sai-ray, and cadivus via 4c78b9a April 30, 2026 21:45
sai-ray
sai-ray previously approved these changes May 1, 2026
Document that the refactor step creates a .amplify/gen2-migration/
refactor.operations/ directory with CloudFormation operation snapshots
for auditing and troubleshooting purposes.
sai-ray
sai-ray previously approved these changes May 1, 2026
Include amplify pull after git checkout main to restore the Amplify
configuration before running the refactor command. Remove the
now-redundant warning callout about the lost profile.
@iliapolo iliapolo marked this pull request as ready for review May 1, 2026 21:50
@iliapolo iliapolo requested a review from a team as a code owner May 1, 2026 21:50
@iliapolo iliapolo merged commit 38d0550 into main May 1, 2026
13 checks passed
@iliapolo iliapolo deleted the gen2-migration branch May 1, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants