If you are running it with WordPress then try this -
https://docs.litespeedtech.com/cloud/wordpress-gcp/
It's an install of a fully optimized/configured lightspeed with WP install - If you don't want to use Google Cloud just install it (also available on AWS), study the configuration and apply to your own server...