Skip to main content
Run Remix on ECS Fargate behind an Application Load Balancer.

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 Remix app for Ravion ECS hosting.

Open in Cursor

Configure the deployment

Ravion provisions the VPC, cluster, service, and ALB in your AWS account. This example uses Railpack for the build. Use build_source: dockerfile instead when you need a custom Dockerfile. For the current Remix Vite workflow, npm run build creates build/server/index.js and build/client. Start the server with npm start or your adapter’s documented start command.
ravion.yaml
Set runtime configuration in environment_variables and keep secrets in secrets. Use the port supplied by ECS through PORT.

Apply and connect your domain

Use custom domains to attach your hostname.

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.