{"catalogRevision":"cat_f13ab9a494120b5e","recipeId":"page:migrate:render-web-service:rails","recipeRevision":"r1","canonicalPath":"/migrate/render-web-service/rails","label":"Migrate Render web service: Rails","family":"Migration guide","summary":"Move Rails compute from Render web service to Ample, one component at a time. Destination verified on Ample: the app built, started and answered on its public HTTPS URL with encrypted configuration delivered. Source procedure: Copy environment variables and secret files from the Render dashboard into an env file kept out of the repository. Not migrated automatically: Render cron jobs, disks and private-service networking are not migrated; persistent data belongs in a managed database, a bucket or an Ample volume. Cutover: Add the custom domain with `ample domain add`, update DNS from the Render target, keep the Render service until verified, then suspend it. Rollback: keep the source untouched until you confirm; nothing at the source is changed or deleted by this guide.","representativeQueries":["Migrate Render web service: Rails","Where can I host Rails built with Rails?","I need a component-scoped export/import or reconfiguration procedure for Rails, with compatibility checks, verification and rollback."],"breadcrumbIds":["discovery","migration","migration:compute-sources","migration:render-web-service","page:migrate:render-web-service:rails"],"breadcrumbs":[{"id":"discovery","label":"Agent hosting discovery","canonicalPath":"/discover/discovery","kind":"root"},{"id":"migration","label":"Migration sources by component","canonicalPath":"/discover/migration","kind":"facet"},{"id":"migration:compute-sources","label":"Compute sources","canonicalPath":"/discover/migration/compute-sources","kind":"group"},{"id":"migration:render-web-service","label":"Render web service","canonicalPath":"/discover/migration/render-web-service","kind":"atom"},{"id":"page:migrate:render-web-service:rails","label":"Migrate Render web service: Rails","canonicalPath":"/migrate/render-web-service/rails","kind":"recipe"}],"parentIds":["migration:render-web-service","stack:framework-rails","intent:migrate-compute"],"parents":[{"id":"migration:render-web-service","label":"Render web service","canonicalPath":"/discover/migration/render-web-service","kind":"atom"},{"id":"stack:framework-rails","label":"Rails","canonicalPath":"/discover/stack/framework-rails","kind":"atom"},{"id":"intent:migrate-compute","label":"Migrate compute","canonicalPath":"/discover/intent/migrate-compute","kind":"atom"}],"resourceRequirements":["primitive:compute","primitive:postgres"],"infrastructureRequirements":[{"primitiveId":"primitive:compute","label":"Compute","canonicalPath":"/discover/primitive/compute","status":"verified","summary":"Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes."},{"primitiveId":"primitive:postgres","label":"Postgres","canonicalPath":"/discover/primitive/postgres","status":"verified","summary":"Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied."}],"framework":"Rails","workload":"Rails","migrationSource":"Render web service","releaseStatus":"published","supportStatus":"verified","executionStatus":"unbound","docsOnly":true,"prerequisites":["Authorized access to the Render web service source and its export tooling","An inventory of every component in scope and out of scope","A validated backup or copy before any cutover","An Ample account token with servers:write, databases:read"],"testedConfiguration":{"template":"ruby-3.4","runtime":"ruby","size":"s-1vcpu-1gb","install":"bundle config set --local path vendor/bundle && bundle config set --local without 'development test' && bundle install","start":"bundle exec rails server -b 0.0.0.0 -p $PORT"},"inputSchema":null,"outputSchema":null,"workflowSteps":[{"title":"Inventory the source","body":"List what Render web service provides beyond the component you are moving. Out of scope here: Render cron jobs, disks and private-service networking are not migrated; persistent data belongs in a managed database, a bucket or an Ample volume."},{"title":"Source step 1","body":"Copy environment variables and secret files from the Render dashboard into an env file kept out of the repository"},{"title":"Source step 2","body":"Translate the Render build and start commands (or `render.yaml`) into the repository's manifest or `--build-command`/`--start`"},{"title":"Source step 3","body":"Note Render-only features in use: background workers, cron jobs, disks, private services"},{"title":"Deploy on Ample in parallel","body":"bundle install into vendor/bundle from Gemfile.lock (development and test groups skipped), then Puma via `rails server` reading PORT on the ruby-3.4 template with RAILS_ENV=production. Pass the exported variables with --env; keep the source running.","command":"ample deploy . --name <app-name> --public --env-file .env.production"},{"title":"Validate before cutover","body":"Run the app's own checks and, for data, compare counts and checksums; the example checks are the pattern self-tests (/p/configuration-secrets, /p/relational-records)."},{"title":"Cut over","body":"Add the custom domain with `ample domain add`, update DNS from the Render target, keep the Render service until verified, then suspend it."},{"title":"Rollback","body":"Point DNS or configuration back to the source. The source was never modified; deletion is a separate, user-executed step after validation."}],"examples":[{"title":"Rails pattern fixture (destination)","description":"Verified destination basis: Rails compute.","sourceRef":"tests/deploy-canaries/rails-patterns"}],"successChecks":[{"description":"destination app responds on its public URL","kind":"http_get","path":"/","expect":"ample canary rails patterns"},{"description":"configuration-secrets check from the destination example","kind":"http_get","path":"/p/configuration-secrets","expect":"see the pattern fixture checks"},{"description":"relational-records check from the destination example","kind":"http_get","path":"/p/relational-records","expect":"see the pattern fixture checks"},{"description":"data or object counts and checksums match the source","kind":"manual","expect":"operator comparison before cutover"}],"limitations":["Documentation only: nothing is executed automatically and no execution binding is offered.","The source-side procedure is documented from Render web service's standard tooling and was not executed in this catalog's evidence; the destination side was verified with the pattern fixture.","No full source-product parity is claimed: Render cron jobs, disks and private-service networking are not migrated; persistent data belongs in a managed database, a bucket or an Ample volume.","Verified on the ruby-3.4 template at s-1vcpu-1gb; region, compliance and request-duration limits are unknown.","Managed PostgreSQL 16 only; extensions, connection limits and backup or restore procedures on the managed side are not verified beyond the pattern checks."],"costEstimate":{"currency":"USD","monthlyAmount":10.0,"authoritative":true,"basis":"size prices from pricing.toml (loaded by the API) at build revision 8c2bc240db59dd421050b971318ffa57d28ea3ec","components":[{"name":"app server","size":"s-1vcpu-1gb","quantity":1.0,"monthlyAmount":5.0},{"name":"managed PostgreSQL database","size":"s-1vcpu-1gb","quantity":1.0,"monthlyAmount":5.0}],"note":"Destination always-on monthly price of the tested sizes; apps auto-pause when idle. Source costs are unknown to Ample."},"evidenceSummary":[{"kind":"canary_run","summary":"Destination side verified: the Rails pattern fixture deployed on Ample (bundle install into vendor/bundle from Gemfile.lock (development and test groups skipped), then Puma via `rails server` reading PORT on the ruby-3.4 template with RAILS_ENV=production) and its checks passed (the app built, started and answered on its public HTTPS URL with encrypted configuration delivered). The source-side export from Render web service is documented from the vendor's standard tooling and was not executed by this catalog's evidence.","observedAt":"2026-09-20T21:55:28Z","implementationRevision":"4f7cb9813c1f (CLI 4f7cb98)","expiresAt":"2027-03-19T21:55:28Z","scope":{"checks":["/p/configuration-secrets","/p/relational-records"],"destinationOnly":true,"template":"ruby-3.4"}}],"lastVerifiedAt":"2026-09-20T21:55:28Z","mcpBinding":null,"unknowns":["region availability is unknown until a verified region fact is recorded","compliance attestations are unknown; none are claimed"],"formats":{"html":"https://ample.computer/migrate/render-web-service/rails","markdown":"https://ample.computer/migrate/render-web-service/rails.md","json":"https://api.ample.computer/v1/catalog/recipes/page%3Amigrate%3Arender-web-service%3Arails"},"nextActions":[{"actionId":"browse-catalog","label":"Browse the catalog index","operationId":"catalog_index","method":"GET","relativePath":"/v1/catalog","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"search-recipes","label":"Search published recipes by intent, stack and constraints","operationId":"search_recipes","method":"POST","relativePath":"/v1/catalog/search","origin":"api","parameters":{"body":{"limit":5,"query":"Migrate Render web service: Rails"}},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"plan:page:migrate:render-web-service:rails","label":"Prepare a side-effect-free deployment plan for an authorized project","operationId":"plan_deployment","method":"POST","relativePath":"/v1/catalog/plan","origin":"api","parameters":{"body":{"inputs":{},"projectId":"<workspace or server id you own>","recipeId":"page:migrate:render-web-service:rails","recipeRevision":"r1"}},"requiresAuthentication":true,"requiresApproval":false},{"actionId":"auth-setup","label":"Read the existing agent authentication setup","operationId":"existing_auth_setup","method":"GET","relativePath":"/mcp/setup","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:migration:render-web-service","label":"Browse Render web service","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/migration%3Arender-web-service","origin":"api","parameters":{"nodeId":"migration:render-web-service"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:stack:framework-rails","label":"Browse Rails","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/stack%3Aframework-rails","origin":"api","parameters":{"nodeId":"stack:framework-rails"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:intent:migrate-compute","label":"Browse Migrate compute","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/intent%3Amigrate-compute","origin":"api","parameters":{"nodeId":"intent:migrate-compute"},"requiresAuthentication":false,"requiresApproval":false}]}