2 Answers
- Newest
- Most votes
- Most comments
0
Hi,
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 !
Cheers,
Vince
answered 2 years ago
0
Hello,
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.
answered 2 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks for taking the time to answer my query, Vince. I highly appreciate that.
1- The server is running Amazon Linux 2 AMI.
2- You're right. The issue could be that the Apache has been compiled for x86. But unfortunately, that's not the case here.
I tried to launch the same website on C6a.large which runs on an Intel processor with x86 architecture but the results were identical.
I'm totally fed up of all this because apparently, I have tried every possible solution but WordPress for customers only seems to be running fast on Cloudways. I even tried launching a high-performing server on Digital Ocean. But the results were the same as on Amazon EC2.
I don't know what special PHP packages are running on Cloudways or how they configured their servers that only there, the website code is running fast.
At this stage, I have no idea how I can troubleshoot this issue because the issue is not with the code but with the server.
Thanks!!