page:recipes:subscription content:rails:inventory imports

Host subscription content with Rails: inventory imports

Summary

Deploy a subscription content built with Rails on Ample using the bulk import staging pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, a managed PostgreSQL 16 database is auto-provisioned and injected as DATABASE_URL, a private S3-compatible bucket holds objects with credentials delivered as encrypted environment variables. Verified on Rails: a CSV staged as an object, row-level validation with per-row errors recorded, and a restart-safe import keyed by import id (imported=2 rejected=1 restart=ok). Not separately tested: your import format, mapping and conflict rules; treat the subscription content-specific behavior as your application code.

Representative Queries

Resource Requirements

Infrastructure Requirements

Framework

Rails

Workload

Subscription content

Release Status

Published

Support Status

Verified

Execution Status

Ready

Prerequisites

Tested Configuration

Workflow Steps

  1. Build and start: bundle install into vendor/bundle from Gemfile.lock, then start the server.
  2. Implement the pattern on PostgreSQL: The fixture's module implements bulk import staging.
  3. Wire object storage: Create the buckets and pass values as --env values.
  4. Deploy: Run the synchronous deploy once and read the result.
  5. Verify: Fetch the live URL and run your own checks.

Examples

Success Checks

Limitations

Cost Estimate

Evidence Summary

Last Verified At

Unknowns

Next Actions