it turns out that something broke and I didn’t have a backup!
My web Server login page failed to load. There was nothing I can do to recover or restart the login page without deep diving into the code or a plug in that broke it. Either Jetpack, Woocommerce or an update, broke the login. I also did not have a backup, so I decided to reroll.
My renewed interest in bringing my site back was due to my upcoming wedding and the desire to create a passive income. The new site needs to be reliable and I need to find a way to quickly restore from catastrophic failures.
Site needs:
- Backup of all posts, daily.
- Backup of infrastructure, once.
- Quick load times.
- Minimal graphics.
- Mostly text based.
- Pocedure to reroll if necessary.
Things I did better:
- Rerolled into raspberry pi VM
- Copied and pasted posts
- Documented install and configure on Trello
- Left new pi VM on 80 and old broken on 443 to help transferring the posts.
The new site will run in a lightweight fashion on a Raspberry Pi through pfsense. This would allow me to monitor/manage the connections in and out. I placed configuration details on Trello and Google Drive so that i could get back into the system.
That evening I played a game and noticed extremely poor performance so I decided to quit the game. Windows needed an update so before I slept, I performed an update. I checked on the machine afterward and I could no longer see the VMs in HyperV. I also noticed that the RAM spikes to 98% as soon as you boot up, with nothing opened.
What fixed this?
The next morning I uninstalled the updates and was able to see the VMs. The new Pi VM was using dymanic memory. As soon ad I unchecked the box, ram dropped from 98% to 10%.
next steps:
- Create backup of posts.
- create backup of infrastructure.
- rearrange pfsense.
- cable modem, pfsense, router.
- Add vlans to the network:
- DMZ
- IoT
- Core
- add to DMZ vlan:
- Site
- Fail2Ban
- Migrate site from a windows VM to a PI.
- Determine how to integrate https on Pi.
- Turn off broken site.
- Enable https on new Pi vm.
- Add blog post.
- SEO the blog post.
let’s see which I do next tonight…