I recently published a plugin to integrate Cloudflare R2 with Craft CMS. After having a chance to utilize this on a few more projects after its release, I wanted to put together a guide to streamline this process for future use cases. Hopefully this will help out any others out there looking to setup R2 on their Cloudflare accounts, as most of this won't be specific to Craft CMS.
When a website required limited access, I needed a way to lock it down to specific physical devices. I couldn't rely on IP addresses which might change regularly, and while a strong password requirement might be sufficient I wanted something a little more secure. Not to mention that it shouldn't be crawled by any search engines either. The solution was a Cloudflare client certificate and mTLS firewall rule.
Coming across old electronics is always a nice surprise, until you find out that they may no longer work quite right. Such was the case a few weeks ago when I yet again came across my old original Gameboy DMG-01 and plugged in Super Mario Land with some fresh batteries for my youngest to play. Unfortunately, no dice. After a few minutes of trying I was able to get it to turn on once for a short while before it turned itself and refused to come to life again.
So it's been a couple years in the making, but I suppose you could call this the soft launch. The domain has changed slightly and displayed nothing but a simple "coming soon" message for more than 3 years, and I ended up using a completely different design than planned. But that's how it goes. The web changes constantly, so I shouldn't be too surprised.