Small team of developers, currently using SpinUpWP + Vultr, $40 USD a month.
I have an older M1 MacBook Air, 16GB of RAM. Way more power than the current VPS.
We’re in Australia. Power & internet is quite reliable. The modem and router is on a UPS, tested working during a recent storm MB Air obviously doesn’t care about power.
We get up to 40 dev sites, however of course they are very minimally accessed. In fact an issue with SUP is that every minute it runs a cron which is unchangeable, so CPU gets smashed with 40-50 requests every minute pending how many sites are stalled waiting to go live.
Looking at activity monitor each site gets a new SQL instance, not ideal but 100MB of RAM per instance, so 4GB at idle. PHP & NGINX use bugger all. So that seems fine.
Local makes NGINX config easy to edit which is great, I’ve tested htauth. That will reduce bots immensely.
Cloudflare tunnel for public access. Looks like I need to have local routing mode enabled to do this, which means I need to setup a tunnel each time given the port keeps changing.
Cloudflared is over SSL so all good there: https://community.cloudflare.com/t/how-does-ssl-work-when-using-cloudflare-tunnel/393152/3
And I’ve already setup tunnels so that side is tested and a-ok.
Blueprint can be used to setup htauth, wp plugins.
I’ll install Synology Drive to copy /Local Sites/ regularly over to local NAS. Unsure of the interval of the SQL dumps being made. Snapshots would be enabled to ensure we have 14 days worth of “versions”. Cloud Sync would push them to B2 to have an offsite copy.
WP File Manager and such all look isolated which is good.
SMB can be used to share /Local Sites/ to the developers, works both Windows & Mac.
So the only “issues” I can see:
- I need to create the sites. Unsure yet how to 100% reliably screen share remotely as in person testing so far
- I need to create a CF tunnel each time. Annoying but given the rest of the setup is 1 click, it’s not a big deal
- I’ll just add a local mail capture plugin to Blueprint so developers & clients can see them without access
- They can slap adminer.php into files if they need DB access for something
This seems pretty much secure as it can be, the laptop is only worth ~$300 so it’ll be financially ahead within a year, with way more CPU & RAM available than required.
Mac itself would be reset from scratch, iCloud and such disabled. Only applications running would be Local, Synology Drive, and remote screen sharing. Maybe a VPN if that route is taken. I’ll likely set 1.1.1.1 for DNS to bypass local pihole.
In theory, should have a number of years left of OS updates. Come the time, we get a new Mac Mini, use Time Machine to clone it verbatim over, and off we go (seems too easy!)
Now what is REALLY COOL is if Fast User Switching is enabled (the only part I haven’t tested), we actually have isolated instances! So we can have one user account with our own WP sites and other tools, and the other for the developers and the dev sites. Who we obviously trust but like anything keep the surface as minimal as possible just in case.
Is there anything I’ve overlooked? Thanks in advance!