Backblaze B2 and the S3 Compatible API on Cloudflare
May 13, 2020Tim Obezuk

Summary
This post details how Cloudflare Workers can be used to interact with S3-compatible APIs, specifically Backblaze B2. It provides a code example using the `aws4fetch` library within a Cloudflare Worker to sign requests to a Backblaze B2 bucket, demonstrating how to configure environment variables in `wrangler.toml` for authentication and bucket endpoint. It also highlights the Bandwidth Alliance's role in reducing first-mile bandwidth costs between Cloudflare and storage providers.