I'm back!

I mean this website is back. A couple of weeks ago DigitalOcean couldn't charge my monthly hosting fee and my droplet got removed with no possibility to restore anything. All my configuration files (nginx, unicorn) that I didn't back up, the database containing tens of thousands of records (containing the weather conditions in Chisinau, Moldova for every 20 minutes every single day), everything was gone! Imagine you run a business this way, being a single web developer there. It'd be a huge downtime and a huge amount of time needed to restore everything. And most probably a huge amount of money not being earned! For instance, I had a weekend full of investigation and configuration, mostly my DNS, nginx and puma. It was a tough yet challenging experience. This time I saved my configuration in the project repository (it's stored on GitHub so I won't lose it) and wrote down the steps to reconfigure the environment from anywhere. And I moved to Scaleway – another hosting service which I wanted to try out for ages. And now I feel like I'm much more skilled in this kind of situations than I was when I first faced it.

Summary

So the moral of the story is this: challenge is cool (if it's not too difficult so that you can't make it) but make sure you're 300% secure when you run something that can break (you can't be 300% secure of course but at least don't be lazy to write down the steps to reproduce the setting).

Good luck and stay safe ⛑