Writing to AWS S3 from Fly.io (in Go)

· Jamie Tanna · Oct. 18, 2026, 5:36 p.m.
Summary
This blog post details the process of migrating a site’s media from Netlify to AWS S3, utilizing OpenID Connect for short-lived authentication tokens with Fly.io. The author shares a practical guide on how to implement this in Go, along with code snippets and insights on IAM roles and policies needed for secure access to the S3 bucket.
AUTHOR