3 things come to my mind :
- Apache seems to be too much since there's already one nginx reverse proxy
- I have a question though. Did you use a AMI from AWS marketplace ? They usually are very well optimized and used by a ton of people so bugs and issues are fixed fast in the community or by the AMI provider.
- C7g.xlarge is Graviton... this means thats everything installed on the EC2 should be compatible with this ARM Architecture. Maybe the Apache which is runing has been compiled for x86. Maybe the overhead is there ?
I would suggest this readings https://github.com/MkFoster/wordpress-install-notes and recheck
Maybe you can start again with a deployment of your Wordpress on EC2 Intel type first, being sure that everything is working fine then migrate like discribe here : https://www.keyq.cloud/insights/migrating-your-x86-ec2-web-servers-to-the-amazing-aws-graviton2-instances/
I hope it helps. Let us know !
How did you install the Wordpress and the underlying components? I've used in the past (and actually still use for my personal stuff) the Wordpress AMI from Bitnami - it was very fast even on the smallest instances.
Wordpress really slow when saving pages/postsasked 4 months ago
Can someone help me how to access to my wordpress again?asked 2 months ago
Wordpress on EC2 responds an error "this site can't be reached"asked 2 months ago
how to configure AWS cloudfront/distribution for plesk Ubuntu based wordpress website on lightsail instanceasked a month ago
No Wordpress option for Windowsasked 2 years ago
Wordpress broken on Lightsail distribution CentOS / Server is multi hostasked a year ago
Slow WordPress on EC2asked 6 days ago
My Lightsail Wordpress site is running extremely slow for no apparent reasonasked 5 months ago
WordPress Running Slow For Logged-In Customersasked 5 days ago
My website is very Slow an I am using $40 amazon light sailasked 4 years ago