Skip to main content
Deploy a Solid single-page application to an S3 bucket behind CloudFront.

Prerequisites

  • A Git repository containing your application and its production build command.
  • A Ravion account with your AWS account connected. Start free at Ravion signup.
  • The Ravion CLI installed and authenticated. See CLI installation.
The examples use my-org/my-app as a placeholder. Replace it with your repository before applying the config.

Set up this Solid app for Ravion static hosting.

Open in Cursor

Configure the deployment

The S3 bucket and CloudFront distribution are provisioned in your AWS account. This example uses Railpack for the build. Use build_source: dockerfile instead when you need a custom Dockerfile.
ravion.yaml
The Solid Vite starter uses npm run build and writes to dist. Use VITE_* variables for values embedded in browser code.

Apply and connect your domain

Point DNS at the CloudFront hostname with custom domains.

Next steps

Custom domains

Point a domain at your deployed service and manage its certificate.

Project config

Preview and apply Ravion configuration from source control.

Pipelines

Add approvals, migrations, and deployment automation.

Logs and metrics

Inspect deploy output and production health in Ravion.