Audience question: how to test uploads without hitting real S3 — ideally backed by local storage. Answer: run MinIO as a separate service that implements the S3 API, point the SDK at it; files are stored locally while code paths remain identical.
answer_summary
Run MinIO — an S3-compatible server — locally and point the SDK at it.