Storage adapter to talk S3 compatible to target, assuming you're not relying on vendor specific extensions or behavior (ie this).
Off the top of my head, Backblaze B2, Cloudflare R2, etc are S3 compatible, and Minio locally.
https://www.google.com/search?q=s3+compatible