Determine which deployment is serving traffic
Each environment has a stable environment URL that always points to the currently active deployment. This URL doesn’t change when you create new deployments, it follows whichever deployment is promoted (either automatically or manually).
-
Production:
https://<app-name>.amplify.app -
Other environments: a URL on
amplify.appthat has a label that Amplify assigns, such ashttps://preview-ab12--<app-name>.amplify.app
If another app already has your app’s name, Amplify adds a random suffix to the production URL. To find the URL of an environment, read it from the output of aws amplifygen3 deploy or aws amplifygen3 env get.
When auto-promotion is enabled, the environment URL automatically points to the latest successful deployment. When you disable auto-promotion, you control which deployment serves traffic by promoting it manually.
When the deployment that serves the environment URL changes, the change takes about 5 to 10 seconds to reach all viewers. This applies after a new deployment, a promotion, a rollback, and a stopped rollout. Until then, some requests get the new deployment and others get the earlier one.
Determine which deployment is serving traffic in the console
-
Sign into the Amplify console at https://us-east-2.console.aws.amazon.com/amplifygen3/home.
-
Choose an app.
-
In the left navigation pane, choose Deployments.
-
At the top of the console, you’ll see the latest production deployment.
-
In All deployments, you can see your deployments.
View the active deployment using the CLI
The following CLI command shows the deployment that the environment URL currently routes to. Without --id, deployment get shows the environment’s active deployment, which is the one that receives the most traffic. If no deployment is routed yet, for example before the first deployment succeeds, the command shows the newest deployment and says so.
aws amplifygen3 deployment get --app my-app --env production
The output looks like the following example. CreatedAt is in your local time, and Commit shows the full commit ID. The Deployment id line shows the active deployment:
Deployment Deployment id: k3x9w2q7mz Status: SUCCEEDED CreatedAt: 2026-11-16 11:42 Commit: <commit-id> Deployment URL: https://k3x9w2q7mz--my-app.amplify.app
Change which deployment serves traffic
To change which deployment serves traffic, see Promote a deployment.