Guides / Stabilize an AI-built app

How I stabilize an AI-built app before it moves

The same six stages for every app built with Lovable, Base44, Replit, Bolt or Claude Code: what has to be true before it leaves the builder, and where it lands on AWS or Azure.

Why stabilize before you move

An app built with Lovable, Base44, Replit, Bolt or Claude Code usually works on the happy path and nowhere else. Moving it to AWS or Azure as it is gives you the same problems on a larger bill. Stabilizing first means the move is boring, which is exactly what you want.

Where most AI-built apps start, and where they need to be

In the builder

  • Runs on the builder's hosting and database
  • Keys in settings or, worse, in front-end code
  • Works when one person clicks through it
  • Nobody is told when it breaks
  • One copy: the live one

In your cloud

  • Runs in your AWS or Azure account
  • Secrets in a vault, rotated
  • Tests on sign-in, payments and the main form
  • Errors alert a named person
  • Staging, backups and one-click rollback

The method, in six stages

How I stabilize an AI-built app

  1. 1ReadClone the code, list dependencies, map the data and every external service.
  2. 2SecureScan the full history for keys, rotate them into a vault, check access on the server.
  3. 3PinLock versions, add types where missing, remove dead code the builder left behind.
  4. 4TestA few tests on the paths that must never break. Not full coverage.
  5. 5StageA staging copy with its own data and keys. Releases go there first.
  6. 6MoveDeploy to your account, migrate data and users, cut over, keep the old one read-only.

The stabilization checklist

Stabilization checklist
AreaDone when
OwnershipThe repository, cloud account and domains belong to the company, not a person
SecretsNo key in the code or its history; every secret in a vault; critical keys rotated
AccessEvery read and write checked on the server for the signed-in user, tested with a second account
DataBackups run and a restore has been tested; the schema is in migrations, not only in the builder
TestsSign-in, payment, the main form and anything that writes data have a test
EnvironmentsDevelopment, staging and production with separate keys and data
ObservabilityErrors and slow requests reach a named person; AI spend has a limit
ReleaseDeploys come from the repository through a pipeline; rollback takes one step

What differs by builder

What each AI builder lets you take
BuilderWhat you can take with youThe hard part
LovableThe full code through two-way GitHub sync; a Supabase-compatible backendSecrets and app connectors do not export; new projects since May 2026 run server code
Base44Front-end code, backend functions and table structure (Builder plan); data as CSVNot self-hostable; the exported code still calls Base44, users cannot be exported
ReplitThe code through Git; a standard PostgreSQL databaseSecrets and the production database are not part of a copied project
Claude CodeEverything: it is your repositoryWhatever it was allowed to do, see the permissions guide

Detailed guides: Lovable on AWS, Lovable on Azure, Base44 on Azure or AWS, Replit on AWS or Azure.

Where it lands: the usual targets

AWS and Azure targets for AI-built apps
NeedAWSAzure
Static front-endS3 and CloudFront, or Amplify HostingStatic Web Apps
Server code or containersECS on Fargate (Express Mode for a quick start), LambdaContainer Apps, App Service
PostgreSQLRDS or Aurora PostgreSQLAzure Database for PostgreSQL Flexible Server
SecretsSecrets ManagerKey Vault
Customer sign-inCognitoEntra External ID
Staff sign-inIAM Identity CenterEntra ID
AI models in your accountBedrockAzure OpenAI in Foundry

Note for new AWS accounts: App Runner closed to new customers on 30 April 2026. AWS now points new container apps to Amazon ECS Express Mode, which sets up Fargate, a load balancer and scaling in one step.

Sources

Checked on 2 December 2026. Prices and product names change; the linked pages are the reference.

How I help

I take apps out of the builder and into your cloud with nothing lost: the code, the data, the users and the ability to keep improving it.

  • AI readiness assessment ($2,500, one week): I read the code, list what moves and what must be rebuilt, and price each phase.
  • Build: stabilization, deployment to your account, data and user migration, cut-over.
  • Operate: from $4,999 per month, monitoring, cost tracking and the next phase.

Done by a Claude Certified Architect and Certified Lovable Expert. Everything stays in your accounts.

Questions

How long does stabilization take?

For a typical small app, one to three weeks after a one-week AI readiness assessment. Apps whose backend must be rebuilt, such as many Base44 apps, take longer.

Can we keep editing in the builder afterwards?

Often yes for Lovable and Replit through GitHub sync, with rules about which files the builder may change. Base44's exported code still depends on Base44.

Do we need full test coverage?

No. Tests on sign-in, payments, the main form and anything that writes data catch most real failures.

AWS or Azure?

Whichever your company already uses for staff accounts and billing. If neither, AWS has the wider range of small-team services; Azure suits Microsoft 365 companies.

Start with a conversation

Thirty minutes, no charge. Tell me what you have built and where it stopped. If I am not the right person, I will say so and point you somewhere better.

Calendar not loading? Open the booking page or email me.