Migrate project to another AWS account
These docs cover Amplify Gen 1. For new web apps, we recommend the latest AWS Amplify, with a simplified CLI and native integrations for databases, storage, and AI models. Get started with the latest AWS Amplify.
Amplify CLI can be used to easily re-create resources in a different AWS account.
Run the following steps to migrate an existing project to another AWS account.
- Clone your repository
- Run
amplify init - Select an AWS Profile that will connect to the new account (Do not use an existing environment)
Amplify CLI updates the amplify/team-provider-info.json file with the new environment name. Run amplify env list to see an additional environment that is connected to the account of the new profile.