Deploy Lovable apps to AWS

Prodify puts your app's frontend on S3 and CloudFront.

Open source·Apache-2.0

Convert your project

Upload a .zip of your Lovable project. Prodify inspects it, runs the build if one is needed, and generates a CloudFormation template that hosts it on S3 and CloudFront, in an AWS account you control. Your Supabase backend stays where it is.

Drop your .zip here

or click to browse

Generates a CloudFormation template

How it works

01

Export

In Lovable, use Download codebase on a paid plan. On the Free plan, connect GitHub and download the repository as a ZIP.

02

Convert

Upload the ZIP above. Prodify inspects the project and writes a template.

03

Deploy

Pick a region and launch the stack in your AWS account.

04

Go live

When the stack finishes, your app is live at the SiteURL output.

A real migration

Mario's Nostalgia Bites is an unmodified Lovable export, a TanStack Start site for a fictional Italian restaurant, converted with Prodify and served from S3 and CloudFront. Compare the source with the result.

What gets generated

One CloudFormation template you can read before you deploy it. Every resource lands in your account, and the YAML is yours to keep, diff, or fold into your own infrastructure repo.

Deployed in your AWS account

Resources
AWS::S3::Bucket Private, all public access blocked
AWS::CloudFront::Distribution HTTPS by default. Paths with no page of their own fall back to the root index.html, so client-side routes resolve
AWS::CloudFront::OriginAccessControl SigV4 origin signing
AWS::CloudFront::Function Serves each prerendered page at its own URL, so /about loads about/index.html
AWS::S3::BucketPolicy Scoped to that one distribution
AWS::IAM::Role Deployer role scoped to the bucket, its logs, and cache invalidations on its own distribution
AWS::Lambda::Function ContentDeployer, a container image pulled from Refaktr's registry in your region
Custom::ContentDeployer Builds and uploads your site when the stack is created, redeploys it when the source changes, and empties the bucket when the stack is deleted
Outputs
SiteURL Your site. The custom domain if you set one, otherwise the CloudFront URL
CloudFrontURL The CloudFront URL, which works without a custom domain
CloudFrontDomainName Point a DNS CNAME or Route 53 alias here for a custom domain
DistributionId The CloudFront distribution ID
S3BucketName Bucket holding the built site

What it handles, and what it doesn't

Prodify v1 deploys the frontend. Your app keeps talking to its existing backend, and the generated stack is a starting point you should read before deploying.

Supported: Lovable exports with a build script, Vite + React or TanStack StartBuilds with bun or npm, matching the project’s lockfile. For TanStack Start it enables prerendering in its build copy so a static site is produced.
Supported: Prebuilt dist/, build/, or .output/public/ foldersUploaded as-is.
Supported: Plain static HTML, CSS, and JavaScript
Not supported: Databases, auth, storage, and server functionsStay where they are. The app keeps calling them.
Not supported: Environment variables and secretsNot migrated.
Not supported: Custom domains and certificatesNot set up for you. The template accepts your own certificate; see the questions below.
Not supported: Builds that need credentials or private registries, or don’t finish within the deployer’s 15-minute limitBuild locally and upload the output folder.
Not supported: Uploads over 50 MBLeave out node_modules and build output.

How it converts your project

The upload and template generation run in Refaktr's AWS account, where uploads and templates are set to expire after one day. The build runs in yours: the stack's ContentDeployer function pulls Prodify's container image from Refaktr's ECR, fetches your source, runs bun or npm, and uploads the output to your bucket.

Prodify AWS architecture

Common questions

Which Lovable apps does Prodify support?

Vite + React apps, Lovable's classic template, and TanStack Start apps, its current one. A zip that already contains a built dist/, build/, or .output/public/ folder works too. For TanStack Start, Prodify turns on prerendering in its own copy of the build config, so every route becomes a static page, served at its own URL; your project isn't changed.

Anything that needs a server at runtime, like server functions or API routes, isn't supported.

Does my Supabase backend move to AWS?

No. Prodify moves the frontend only. Your app keeps calling the same Supabase project, or Lovable Cloud, for its database, auth, storage, and edge functions.

Two things to check. If your build reads its Supabase settings from a .env file, include that file in the zip, because Prodify doesn't migrate environment variables. It should hold only public values, the project URL and its anon or publishable key, never the service_role key. And if you use Supabase Auth, add the new site URL to its allowed redirect URLs.

Can I use my own domain?

Yes, with a certificate you bring. The template takes two optional parameters, DomainName and AcmCertificateArn, and CloudFront needs the certificate in ACM in us-east-1. Prodify doesn't create the certificate or the DNS record: after the stack is created, point a CNAME or Route 53 alias at the CloudFrontDomainName output.

Without a domain, the site runs on its CloudFront URL. AWS accounts created with the new sign-up experience can't create certificates in us-east-1, so use the CloudFront URL there.

What does it cost?

Prodify is free and open source. You pay AWS directly for what the stack uses: S3 storage and requests, CloudFront requests and data transfer, and the Lambda time the deployer uses to build your site when the stack is created or updated. See S3 and CloudFront pricing for current rates.

What happens to the code I upload?

The upload and the template generation run in Refaktr's AWS account, where uploads and templates are set to expire after one day. The template's link to your source expires after about two hours, so deploy soon after generating it, or upload again. The build itself runs in your account.

Prodify's source is on GitHub if you want to check how it works, or run your own instance.

Moving more than the frontend?

Prodify only moves the frontend of a Lovable app. If you're moving a backend, your data, or an app built somewhere else, I'd like to hear what's in the way.