Run your Lovable
app on AWS.
We move your Lovable + Supabase project onto AWS your team actually owns — your VPC, your database, your keys. No "lift-and-shift" hand-waving: the easy parts move fast, and the hard parts — auth, row-level security, realtime — we scope properly.
/// why_migrate
Own your backend, don't rent it
New Lovable projects run on Lovable Cloud — a managed Supabase instance you don't own. It isn't in your Supabase dashboard, you get no service-role key or direct database URL, and the region is locked once enabled. We move you onto AWS your team owns end to end: your VPC, your database, your keys, your IAM.
Escape the documented lock-in
Lovable's own docs call moving your backend off Cloud "technically possible since you own the code in GitHub" but "not straightforward." Your frontend exports cleanly; the managed backend — Postgres, auth, storage, edge functions — is the hard part. That's exactly what we handle.
Managed & serverless — low ops, not no ops
We target Aurora Serverless v2, S3 + CloudFront, Lambda, Cognito and AppSync so you don't run servers — AWS-grade scaling and durability, with day-to-day ops kept close to what you had. We're honest about it: one integrated platform becomes several AWS services, so it's a little higher, not zero.
Production-grade, on the platform you trust
Cognito for identity, Aurora/RDS PostgreSQL for data (your pgvector and RAG workloads preserved), S3 for files, Bedrock for AI — under one bill, one IAM model, and one observability stack instead of a managed-Supabase silo you can't fully see into.
/// what_moves_where
Frontend · React/Vite S3 + CloudFront
Lowest-risk part — your Vite build ships unchanged. We wire SPA deep-link routing (403/404 → index.html) and the TLS cert in us-east-1. Newer TanStack SSR builds need a Lambda/CloudFront server runtime instead, so we confirm your exact build first.
Supabase Auth Amazon Cognito
A Migrate-User Lambda re-validates each user at first sign-in, so passwords carry over without a mass reset. Social / OAuth logins are re-registered as identity providers — and because the user id (sub) changes from Supabase to Cognito, we re-link any data keyed on the old id (usually by email) at cutover.
Postgres Aurora Serverless v2
Same engine — schema and data move cleanly via pg_dump, AWS DMS or snapshot. Aurora Serverless v2 can scale to zero (auto-pause) when idle to cut cost; because a paused cluster has a brief cold-resume on the first connection, we keep a small non-zero floor if you need consistent low latency.
pgvector · embeddings pgvector on Aurora/RDS
Your embeddings and semantic search carry over — large HNSW indexes are rebuilt after the restore. Very large or high-QPS vector workloads can move to a dedicated store instead of the primary database.
Storage Amazon S3
Object bytes copy via aws s3 sync; the metadata moves with the database. Signed access is re-implemented as S3 pre-signed URLs, and storage access rules become S3 / IAM policies.
Edge Functions Lambda + API Gateway
Deno functions are rewritten to the Node.js runtime — a code port, not a redeploy, so per-function count drives the timeline. AI/LLM functions can re-point to Amazon Bedrock.
Row-Level Security App / Lambda authz
Supabase RLS stops enforcing the moment its Auth is replaced, so authorization is rebuilt in the app/Lambda layer (or re-driven from Cognito claims via a pre-token-generation trigger) and tested against cross-tenant leaks.
Realtime AWS AppSync
AppSync manages the WebSocket / subscription layer. "Subscribe to table changes" (Postgres CDC) has no managed drop-in, so we reproduce it by explicitly publishing DB changes (triggers / EventBridge → AppSync).
Auth emails Amazon SES
Leaving the SES sandbox is a support-reviewed production-access request that can take a day or more, so we file it and verify your domain in Week 1 — not on cutover day — or Cognito can't email your users at launch.
AI gateway Amazon Bedrock
Lovable's proprietary AI features (summaries, chatbot, sentiment) have no Supabase equivalent to "migrate" — we plan them as their own Bedrock workstream so they aren't silently under-scoped.
Secrets · CI/CD Secrets Manager + IaC
Secrets move out of the client bundle into Secrets Manager / SSM, and the whole stack is reproducible as infrastructure-as-code (CDK or Terraform) with a documented cutover runbook.
// click any row for the migration detail
/// how_we_do_it
Assess
Audit your exact setup — legacy Vite SPA vs TanStack SSR, Lovable Cloud vs self-owned Supabase, RLS use, function count, realtime, AI features — and build a cost model.
Architect
Target AWS architecture, landing zone, networking, IaC and CI/CD — designed for your workloads, not a template.
Migrate & rebuild
Move the frontend, data and storage, stand up Cognito, port functions, and rebuild authorization and realtime on AWS.
Cut over & hand over
A sequenced cutover with blue/green DNS rollback, then runbooks and an IaC handover so your team holds the keys.
/// sample_timeline
Discovery, foundation & frontend
Audit your stack and scan the client bundle for a leaked service-role key. Stand up the AWS foundation (VPC, IAM, IaC) and deploy the frontend to S3 + CloudFront with SPA deep-link routing and the ACM cert in us-east-1. File the SES production-access request now, so it clears before cutover.
Auth — the hard part, started early
Stand up the Cognito user pool, wire the Migrate-User Lambda so users keep their passwords when they sign in during the window (no mass reset), re-register social/OAuth providers, and rewrite JWT handling against Cognito's token shape and JWKS endpoint.
Data & storage
Migrate Postgres to Aurora/RDS (including pgvector data and indexes), copy storage objects to S3, and switch signed-URL logic to S3 pre-signed URLs.
Logic: RLS, functions, realtime
Rebuild authorization that relied on RLS and test for cross-tenant leaks, port Deno edge functions to Node.js on Lambda, replace Realtime with AppSync, and re-point AI features at Bedrock.
Cutover, hardening & handover
A planned, sequenced cutover (auth → storage → functions → realtime → database last) with rollback ready, then WAF/observability hardening and a full IaC + runbook handover.
// typical: ~3–5 weeks for a standard Lovable app. Realtime-heavy or many-function apps can run 6–8 weeks — we confirm the range in the assessment.
/// the_honest_parts
Migrations go wrong when someone pretends the hard parts are easy. Here's what we scope explicitly — and why this isn't "lift-and-shift."
- It's a planned cutover, not zero-downtime magic. We sequence auth → storage → functions → realtime → database, with a short read-only window and a one-time re-auth event. We promise minutes of cutover, not "seamless."
- Passwords can't be bulk-imported into Cognito. Each user is migrated silently the first time they sign in during the window; anyone who doesn't gets a one-time reset.
- Row-Level Security is rebuilt, not copied. Supabase RLS stops enforcing once its Auth is gone — we re-implement and test authorization against cross-tenant leaks.
- Realtime "table-change" subscriptions have no managed drop-in. We reproduce them on AppSync by explicitly publishing DB changes — the riskiest re-architecture, scoped up front.
- If you're on Lovable Cloud, backend access can be limited. No service-role key or direct DB URL may mean a one-time password reset instead of silent migration — we confirm before quoting.
An app you own, on AWS.
/// proof
Migrations, serverless and infrastructure-as-code are our day job — not a side quest.
- VMware → AWS: a 47-server on-prem estate retired and migrated to AWS in 5 waves.
- Serverless document AI: OCR + LLM + database that scale to zero — ~€18/mo idle, ~€0.05 per PDF.
- ClickOps → Terraform: 313 live resources imported to code, a drift-free 0/0/0 plan.