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
- 1ReadClone the code, list dependencies, map the data and every external service.
- 2SecureScan the full history for keys, rotate them into a vault, check access on the server.
- 3PinLock versions, add types where missing, remove dead code the builder left behind.
- 4TestA few tests on the paths that must never break. Not full coverage.
- 5StageA staging copy with its own data and keys. Releases go there first.
- 6MoveDeploy to your account, migrate data and users, cut over, keep the old one read-only.
The stabilization checklist
| Area | Done when |
|---|---|
| Ownership | The repository, cloud account and domains belong to the company, not a person |
| Secrets | No key in the code or its history; every secret in a vault; critical keys rotated |
| Access | Every read and write checked on the server for the signed-in user, tested with a second account |
| Data | Backups run and a restore has been tested; the schema is in migrations, not only in the builder |
| Tests | Sign-in, payment, the main form and anything that writes data have a test |
| Environments | Development, staging and production with separate keys and data |
| Observability | Errors and slow requests reach a named person; AI spend has a limit |
| Release | Deploys come from the repository through a pipeline; rollback takes one step |
What differs by builder
| Builder | What you can take with you | The hard part |
|---|---|---|
| Lovable | The full code through two-way GitHub sync; a Supabase-compatible backend | Secrets and app connectors do not export; new projects since May 2026 run server code |
| Base44 | Front-end code, backend functions and table structure (Builder plan); data as CSV | Not self-hostable; the exported code still calls Base44, users cannot be exported |
| Replit | The code through Git; a standard PostgreSQL database | Secrets and the production database are not part of a copied project |
| Claude Code | Everything: it is your repository | Whatever 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
| Need | AWS | Azure |
|---|---|---|
| Static front-end | S3 and CloudFront, or Amplify Hosting | Static Web Apps |
| Server code or containers | ECS on Fargate (Express Mode for a quick start), Lambda | Container Apps, App Service |
| PostgreSQL | RDS or Aurora PostgreSQL | Azure Database for PostgreSQL Flexible Server |
| Secrets | Secrets Manager | Key Vault |
| Customer sign-in | Cognito | Entra External ID |
| Staff sign-in | IAM Identity Center | Entra ID |
| AI models in your account | Bedrock | Azure 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.
Related guides
- Your teams' AI-built apps, into production
- From Claude artifact to a real internal app
- The CTO's guide to apps your staff build with AI
- The launch checklist for vibe-coded apps
- You built it with an AI app builder. Now what?
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.