Skip to content

AWS Amplify vs while: which one to choose when your AI agent deploys?

AWS Amplify deploys your sites and Next.js apps on every push, on AWS’s CDN. With while, your AI agent deploys the app, its PostgreSQL database and its access settings, in France, and sensitive actions, like deleting a production database, wait for your approval.

By Grégoire Mougeolle, co-founder of Nextmap. Facts checked on November 2, 2026. How this comparison is made.

View as Markdown

What changes between AWS Amplify and while

What mattersAWS Amplifywhile
Who it’s forSites and Next.js or Nuxt apps, on AWS’s CDN1People who build their apps with an AI agent, solo or as a team
Your AI agentAWS’s general MCP server, which calls the whole API within your IAM permissions2Connected over MCP, with OAuth: it deploys, creates the database, reads the logs and fixes things
What protects productionYour agent’s AWS permissions, an optional read-only mode, and your approval in your AI tool8Sensitive actions, like deleting a production database, wait for a person
The databaseNo managed PostgreSQL: Amplify connects to an existing PostgreSQL database3PostgreSQL in while, backed up every day, with point-in-time recovery
Who opens your appA username and a password per branch, with no code4Everyone, a password, or the company account with the Pro plan
In FranceYes, one region in France5Yes, with Nextmap, a French company
To get startedFree up to a cap, for 12 months at most, then pay-as-you-go6A trial without an account. Then €0 to get started, and €13.75 per month for an app and its database

Try while on your app, without an account. Copy the instructions

Amplify, your sites on AWS’s CDN

Amplify deploys your site or your Next.js app on every push, with a preview for each pull request and no downtime during the update, and serves it from more than 600 locations around the world1,7. You can protect a branch with a password without a line of code4.

With while, your AI agent does the rest

  • No server to maintain. No system to update, no disk to watch, no certificate to renew: your agent deploys, and the rest is taken care of.
  • Your databases are backed up for you. Every day, with point-in-time recovery, and a production backup tested every day.
  • Nothing serious happens without you. Deleting a production database waits for your approval, before it runs, and every action is recorded in a signed activity log.
  • Your keys stay secret. Your app uses them, your agent never sees them.
  • Your colleagues sign in with the company account. Google Workspace or Microsoft 365, on the Pro plan, with no sign-in page to code.

Moving from AWS Amplify to while

Take over your app

You, to your agent: Move our Amplify app to while.

Your agent takes over your code, writes while.yaml and deploys the app.

Copy your database

You, to your agent: Copy our database to while.

Your agent exports the database with pg_dump, then loads it into while.

Carry over your variables

You, to your agent: Carry over our environment variables.

Your agent carries your settings over to while. You enter your secret keys yourself: it never sees them.

Which one to choose

  • Choose AWS Amplify if your team already lives in AWS, and your app is a site or a Next.js app served all around the world.
  • Choose while if your app, its API and its database must run in the same place, in France, deployed by your AI agent without breaking anything.

Next steps

Sources

  1. AWS Amplify Hosting, overview, accessed November 2, 2026
  2. AWS, the AWS MCP server is generally available, accessed November 2, 2026
  3. Amplify, connecting to an existing PostgreSQL or MySQL database, accessed November 2, 2026
  4. Amplify Hosting, password-protecting a branch, accessed November 2, 2026
  5. AWS Amplify, regions, accessed November 2, 2026
  6. AWS Amplify, pricing, accessed November 2, 2026
  7. AWS Amplify Hosting, product page, accessed November 2, 2026
  8. AWS, the Agent Toolkit (permissions, read-only), accessed November 2, 2026

Questions

Does my Python or Go API run on Amplify?

Amplify hosts sites and Next.js or Nuxt apps1. A Python or Go API, or a container, goes elsewhere at AWS. On while, everything runs in the same place.

Does Amplify host in France?

Yes, one region is in France5. So does while, with Nextmap, a French company.

Can my agent move from Amplify to while?

Yes. It takes over your code, writes while.yaml, copies the database and carries over your settings.

Connect your agent, it takes care of the rest

To paste into your agent

Read while.sh/agents, then deploy my app with while.

Copy the instructions

No account needed to try: your app is live right away. To keep it, sign in.

A project for your company? Talk to the team: hello@while.sh