Hosted vs. Self-Hosted
This page covers self-hosted deployments, where you run Runlayer on your own infrastructure via Terraform or Runlayer Operator. On Runlayer-hosted deployments, Runlayer operates the infrastructure and applies updates for you—no action is required on your side. For hosted update timing and policies, contact support@runlayer.com.
Choose a Release
Runlayer publishes application releases as exact semantic versions inMAJOR.MINOR.PATCH format, such as 1.28.128. Release tags do not include a v prefix.
Review the Runlayer changelog before updating. It is the source of available versions, release notes, and breaking changes.
On the ECS Terraform module, also read the module changelog for every module version between yours and the target: it lists breaking changes and steps to take before terraform apply.
Update Runlayer
- ECS + Terraform
- Kubernetes + Operator
Set Keep the AWS credentials from ECS prerequisites available to Terraform and its migration subprocess. For a module upgrade, change the pinned archive version in If you omit
app_version to the exact release you want to deploy:source and run terraform init -upgrade first. Then review and apply the change:app_version, the module uses the application version pinned by that module release. Set app_version when you want to update the application independently of the infrastructure module.app_version and ecr_repositories are mutually exclusive. If you provide your own images, update all three entries to exact tags or digests instead:Monitor an Update
- ECS
- Kubernetes
Run from the root configuration directory with the AWS profile and region used for deployment. These commands use the root outputs in the ECS deployment guide. For older configurations, export those outputs or substitute your actual cluster and log-group names.
Roll Back
Review the release notes before rolling back. A release may include database migrations that are not backward-compatible with an older application version.- ECS + Terraform
- Kubernetes + Helm
Set
app_version to the previous exact release, then review and apply:Database Safety
Runlayer’s Terraform module and Helm chart run migrations as part of the update workflow. Before a significant update:- Review migration notes in the changelog.
- Confirm automated backups and point-in-time recovery are enabled.
- Create a manual snapshot when your change policy requires one.
- Verify migration completion before troubleshooting application tasks or pods.
project = "ecs", environment = "production" (substitute your actual cluster identifier):
Security Updates
For a Runlayer security fix, deploy the exact patched release from the changelog using the same Terraform or Helm process above. Do not retag an image aslatest.
If you maintain custom images, publish an immutable tag or digest and update every applicable ecr_repositories or Helm image entry explicitly.
AWS manages patches for the underlying ECS Fargate, ALB, and VPC services. RDS applies eligible maintenance during its configured maintenance window:
Best Practices
Before Updates
- Review release notes and breaking changes
- Confirm backups and recovery procedures
- Test the exact version in staging
- Schedule an appropriate maintenance window
During Updates
- Watch migration output
- Monitor service or pod readiness
- Check application logs and health endpoints
- Verify critical user workflows
After Updates
- Confirm all services are healthy
- Monitor error rates and latency
- Verify integrations and MCP traffic
- Record any deployment-specific issues
Rollback Readiness
- Keep the previous exact version available
- Know the previous Helm revision
- Check migration compatibility before rollback
- Practice recovery procedures
Troubleshooting Updates
Service Won't Start After Update
Service Won't Start After Update
Check the migration task or job first, then inspect workload events and logs. Common causes include database migration failures, missing secrets, insufficient registry permissions, and health-check failures.