From S3 to Spaces

A note on migrating from Amazon S3 to DigitalOcean's object storage system, Spaces.

Post thumbnail

A productive weekend in which everything didn’t fall apart, which was good.

I spent a good deal of Saturday getting things ready to move all the Podiant static and media files from Amazon S3 to DigitalOcean Spaces, as they use the same SDK. For the most part this went OK, once I got the hang of the configuration differences. And - touch wood, as they say - so far everything’s been fine. Uploads work, downloads work, and I found a way round DigitalOcean’s lack of domain aliases for buckets.

Because I didn’t want to have to change people’s RSS addresses - and this is more tricky now that feed files are static and I can’t, currently redirect them easily - and I had a special bucket for RSS feeds, I needed a way to refer to the feed addresses simply by /rss.xml. In order to do this, I setup a new account at KeyCDN, which gave me an alias.

I think this is also good as RSS is the thing that needs to be the most available, so having a CDN that isn’t too expensive is good.

So I found a tool to migrate all the stuff from the newer S3 buckets in the new Amazon account over to DigitalOcean, and will run that again just before I’m ready to push the button and migrate everything. The great thing about having these tracking URLs is that I don’t have to worry about old URLs changing, as the tracking script just redirects to the new URL, now hosted on DigitalOcean.

With everything crossed, I’m hoping this will not be a nightmare.

If you liked this, you might also like these

Installing Rancher to create and manage a Kubernetes cluster

A rundown of the steps I took to install Rancher on a group of DigitalOcean droplets to deploy and run a containerised app.

Breaking up a monolith

Some ideas on dividing a large codebase into smaller projects that all communicate with a central API.

Apple wants you to stop sharing your login details with your team

Apple sent an email to podcasters last week, about sharing login details and two-factor authentication. Here’s what it all means.

It’s easier to record your podcast remotely than in person

Recording in-person podcasts was far more common before the pandemic than it is now. But with the world opening up again, let’s remind ourselves why it’s easier to record remotely.

What is Podcasting 2.0, and why is it important?

Podcasting 2.0 is an initiative by one of the co-creators of the podcast medium. It’s trying to help the industry evolve, but not all of it is easy to understand. As a busy creator, here’s what you need to know about Podcasting 2.0.