- Newest
- Most votes
- Most comments
Hello there,
I see that you are experiencing issues with the website load time.
Since this might be caused due to multiple reasons, it is important to narrow down the issue.
First things to check would be the authentication process for your customers. You can review the overall time taken by the authentication process on both Cloudways and EC2.
Then, you can try reviewing the network configuration of both the servers.
It is also important to review the application versions being installed in both servers. Confirm you are using same version of the application on both servers.
Is there any specific AMI you using on EC2 and the instance type also plays a major role. You can try using the AWS Graviton instances for better performance: https://aws.amazon.com/ec2/graviton/
If you find that there are issues with the EC2 instance you are using, please feel free to reach out to the support team via Support console and we will investigate the same in detail.
Hope this helps.
Take care and have a great day ahead!
Hey there!
Trying to debug website performance issues can be fairly difficult due to the number of possible bottlenecks and/or problems that can arise. Have you done any performance profiling comparison between the Vultr server and EC2? Usually this can give you a decent place to start your troubleshooting.
A good tutorial for performance profiling can be found here:
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago
Thank you so much Harshavardhan for such a detailed answer. I'm using C7.large instance. Upon checking the authentication process, I noticed that my authentication code somehow performs authentication twice on EC2 and just once on Cloudways. Now, that is really strange but that's what I found through the network console. That is exactly why, the loading time of the website is 2X on AWS when the user is logged in.
Now I'm really confused as to what to do. I really don't understand why same code is showing different behavior on both servers.
Please take a look at the screenshots. That's a wetransfer link. https://we.tl/t-jTm2pJOOW2
This is what I see in the network console when is user is redirected to the dashboard after authentication. You can see that it shows that jquery runs twice for the website hosted on AWS. Though the code is 100% same as on cloudways.
I tried talking to AWS support but they always say we can't help. Sorry to say but I'm pretty disappointed with them. I'm on "AWS Developer Support" plan but I think that it's just a waste of money.
Please let me know if you could help.
Thanks