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 Backstage app for Ravion ECS hosting.
Configure the deployment
Ravion creates the VPC, ECS cluster, service, and optional RDS database in your AWS account. This guide uses a repository Dockerfile instead of Railpack because the framework-specific image build requires explicit container instructions. Backstage’s production Docker guide documents a host-build variant and a multi-stage variant. Ravion builds from your repository, so use the multi-stage Dockerfile from Backstage’s Docker deployment guide at the repository root. The scaffoldedpackages/backend/Dockerfile is the host-build variant: it expects yarn install, yarn tsc, and yarn build:backend to run before docker build, so it does not work unmodified with Ravion. Backstage also documents different .dockerignore requirements for the two variants. The container listens on port 7007.
ravion.yaml
rvn-rds outputs to a secret, so create the secret after reading the RDS outputs.
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.