Bitnami is great, until it comes to updating the stack. I’m now using OpenLiteSpeed which gives me better control over updating the stack without having to regularly migrate to new instances.
Here’s my cheatsheet for setting up OpenLiteSpeed to run WordPress.
- Run the openlitespeed-wordpress Marketplace installer
- Assign a Static IP from VPC Network > External IP addresses
- Turn off DNS routing on Cloudflare for the A record and the www C record
- Update the A record to your allocated static external IP address
- Connect via Google Cloud SDK Shell with your preferred SSH user
gcloud beta compute ssh --zone "us-west1-b" "[username]@[instance name]" --project "[project name]"
- Complete the OpenLiteSpeed installer with Let’s Encrypt
- Turn DNS routing on again in Cloudflare
- Add your SSH user to the www-data user group
sudo usermod -a -G www-data [username]
- Run the WordPress installer
That’s it!