Case Studies | Retail

A zero-downtime route from Supabase Storage to Amazon S3

Supabase to S3 Storage Migration

About

A Retail business working with Cloud Combinator on AWS. The client is anonymised at their request.

Challenge

The migration had three focus areas, and none of them was the file copy itself.

Replacing signed-URL access control

Supabase issues signed URLs backed by row-level security. On AWS that authorization has to be reproduced exactly: the backend verifies the Supabase JWT, runs its own ownership checks, and only then mints a short-lived presigned S3 URL. Getting this wrong would either expose private media or lock owners out of their own files.

Rewriting stored URLs in the database

Wherever full Supabase URLs are held in the database, in columns, JSON or freeform text, each one has to be found and rewritten, or normalised to a bare object key so the destination becomes a configuration flip. Miss any and links break silently after cutover.

Holding zero downtime throughout

Live users keep uploading and reading files during the move. The plan had to guarantee that no upload was lost and no read returned a broken link at any point, including the window while the history was still being copied across.

Solution

Cloud Combinator structured the move so that every step is reversible until the final deletion. Access runs through one storage adapter, and behaviour is controlled by read and write target flags, so the team can advance or roll back by changing configuration rather than code.

Zero

Downtime cutover target (projected)

4

Reversible delivery phases

2 to 4 wk

S3-only soak before any deletion

By the numbers:

  • Zero - Downtime cutover target (projected)
  • 4 - Reversible delivery phases
  • 2 to 4 wk - S3-only soak before any deletion
Changes

This case study describes the migration plan Cloud Combinator prepared and readied for delivery with the client, so the figures below are the design targets of the engagement rather than measured production results. The plan gives the client a settled technical approach with the risky work identified, sequenced and made reversible.

  • Access control preservedPresigned S3 URLs and CloudFront Origin Access Control reproduce Supabase's ownership rules, so private media stays private and buckets stay locked.
  • No broken linksStored URLs are normalised to object keys and the key structure is kept identical across both stores, making cutover a configuration flip rather than a rewrite.
  • Fully reversibleRead and write flags plus a read-through fallback mean any phase before the final deletion can be rolled back by changing configuration, with Supabase still holding every object.
  • Predictable costData transfer into S3 is free, the one-off Supabase egress for a 1 TB backfill is on the order of tens of dollars, and ongoing delivery moves to CloudFront with a CDN included.
  • HandoverCloud Combinator delivers the AWS side as a deployable CloudFormation and SAM template, plus the rclone backfill runbook and the storage adapter in the client's own stack language.

With the plan locked at kickoff, the client moves onto a S3 and CloudFront storage foundation that is no longer tied to a single provider, and is ready to support whatever the product takes on next.

AWS Stack

Amazon S3

For durable, encrypted object storage across separate public and private buckets with Block Public Access on.

Amazon CloudFront

With Origin Access Control for edge-cached public delivery from a locked private bucket.

AWS IAM

For least-privilege roles that scope presign and backfill access to only the buckets involved.

Amazon EC2

For running the rclone backfill in the target region at far higher bandwidth than a laptop.

Amazon VPC Gateway Endpoint

For S3 so backfill traffic avoids NAT data charges and stays on the AWS network.

YOU MIGHT LIKE

Related success stories

View all case studies

Case Studies | Insights

Utilising Language Recognition, Speed, and Enhanced Security to Make Social Media a Force for Good

  • Here, we take a detailed look at how the Cloud Combinator team collaborated with another cutting-edge AI service provider that provides intelligent systems to “make social media more social” for brands and users alike.
  • Arwen AI is a UK-based startup specialising in AI solutions to manage and enhance brands’ social media interactions. Founded in 2020 by Matt McGrory, Dr. David Cole, and Joel Bailey, Arwen. AI focuses on using AI to automatically detect and remove spam, toxic comments, and other unwanted content from social media platforms.
  • The team at Arwen have three core products. ‘Moderate’ is focused on identifying and removing toxic content from social media channels. ‘Engage’ helps brands identify and engage with meaningful conversations on social media, and ‘Customize’ allows brands to apply bespoke algorithms to their channels - creating an even more effective moderation and engagement.
Read more
CONTACT US

Ready to turn AI into impact?

We'll help you spot the highest-value opportunities, reduce risk around your first AI initiative, and define a clear path to results from day one.

Why talk to us:

Outcome-driven recommendations

AWS-recognised delivery expertise

Risk-aware AI adoption

Clear next step, not a sales pitch

Start with a focused 20-minute conversation about your goals — no pressure, no commitment.

This website uses cookies to enhance user experience and to analyze performance and traffic on our website.

See our Privacy Policy for details.