Skip to content

Storage providers

YoFix stores preview artifacts (the compiled output of each build) and VRT screenshots in object storage. You can use our managed bucket or connect your own.

Supported providers

ProviderIdentifierNotes
Cloudflare R2r2Default, zero egress fees
AWS S3s3Standard S3 API
Google Cloud StoragegcsNative GCS SDK
Firebase StoragefirebaseWraps GCS, uses Firebase Admin SDK
DigitalOcean Spacesdo-spacesS3-compatible
Local disklocalFor development & air-gapped self-hosting

When to bring your own

Bring your own bucket if:

  • Compliance requires artifacts never leave your cloud.
  • You want a single bill across compute and storage in your existing cloud account.
  • You want a specific region for data residency.

For most teams, the managed default (R2) is the cheapest and easiest.

Configuring BYO storage

  1. Create a bucket in your provider of choice.
  2. Create a scoped service account / API key with read+write on that bucket only (no account-level permissions).
  3. Go to Workspace → Settings → Storage in the YoFix dashboard.
  4. Choose your provider, paste credentials, and save.
  5. Run Validate connection. We do a round-trip write/read/delete on a probe object.
  6. New builds will use the new bucket. Existing artifacts stay on the previous provider until cleaned up.

Region selection

For R2, S3, GCS, and Firebase, you can choose a specific region per workspace. By default we pick the region closest to your build workers to minimize latency.

Lifecycle & cleanup

YoFix runs a daily cleanup job that removes artifacts for closed PRs older than your configured retention window. This runs against whichever bucket you’ve configured. If you switch buckets, the old bucket is left alone. You’ll need to clean it up manually or configure your provider’s own lifecycle rules.

Encryption

All providers we support encrypt at rest by default. We don’t add a second encryption layer on top. We strongly recommend enabling server-side encryption with customer-managed keys (SSE-CMK on S3, CMEK on GCS) for production workspaces.