2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
Is it possible to access EC2 or ALB that is set as the CloudFront origin without going through CloudFront?
If you can access it, try accessing it and check if a timeout error occurs.
Also, check to see if the load on the origin resources, such as the CPU, is increasing.
https://repost.aws/knowledge-center/cloudfront-troubleshoot-504-errors
0
I am trying to access the my instance with public IP, but I am unable to access it. can you please help me out
answered 18 days ago
I checked the EC2 instance system logs and webserver (apache2) logs there is no error found. Maye I am in wrong way can you suggest me how to check?
Relevant content
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
What is the CPU usage like on EC2? Also, is it possible to connect to EC2 etc. via SSH and check that the web server is running?
The CPU usage EC2 is 70% and I am unable to access EC2 via SSH when 504 error triggered. for the better understanding can we connect personally?
I think it's possible that the EC2 specs are low or access is concentrated on the running web server. Therefore, I think it would be a good idea to consider upgrading the EC2 instance type. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html#change-instance-type-of-ebs-backed-instance
Hi Riku, I agree with you to increase the Instance type but how can I prove that this issue happens due to instance type? is there any diagnostics to find the issue?
Please check the web server logs in EC2, OS system logs, etc. to see if any errors have occurred due to load.