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.
my-org/my-app as a placeholder. Replace it with your repository before applying the config.
Set up this TanStack Start app for Ravion ECS hosting.
Configure the deployment
The current Node deployment uses Vite and Nitro, producing a server entry at.output/server/index.mjs.
This example uses Railpack for the build. Use build_source: dockerfile instead when you need a custom Dockerfile.
Keep these scripts in package.json:
vite build with the Nitro Node output. The server listens on port 3000 by default. Set PORT and HOST through the service environment when your application needs explicit binding.
ravion.yaml
Apply and connect your domain
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.