Spartan Host Seattle knocked offline - no tears
My main website is normally deployed on vps4 located in @SpartanHost Seattle data center.
This morning I'm getting multiple alerts that the server is offline.
According to reports in other forums, I'm not the only one affected.
It seems that someone managed to knock the DDoS protected network offline.
After the downtime reached one hour, I decided to activate my disaster recovery plan and re-deploy the website to vps6 on Nexril network.
https://yoursunny.com is online again after 15 minutes, avoiding losing billions per hour.
My steps for recovery include:
- Install Caddy, nginx, and PHP.
- Edit IP address in the configuration files.
- rsync content and configuration from laptop.
- Change DNS records.
Today's experience revealed a shortcoming in my disaster recovery plan:
The installation steps are written for Ubuntu and involve installing packages from Ubuntu PPA, but most of my servers except vps4 and vps6 are setup with Debian.
In the future, I need to change nginx and PHP to use Docker containers, which would eliminate such problem.
I have five ≥1GB, ≤$16/year KVM servers. Are you jealous?