- Newest
- Most votes
- Most comments
Hi sedigheh
Check these steps to resolve the issue Hope it helps:
This error indicates that the AWS health checks couldn't reach your EC2 instance, suggesting a network connectivity issue or an instance crash. This can prevent your Python server from functioning correctly and disrupt data processing from S3 to RDS.
Check Instance Status:
- In the Instances list, identify your server instance.
- Verify its status. If it's stopped, restart it.
Review Instance Logs:
Connect to your EC2 instance using SSH or a terminal service. Examine the system logs (e.g., /var/log/messages, /var/log/syslog) for any errors or warnings that might indicate the cause of the crash. Common culprits include:
- Resource exhaustion (CPU, memory)
- Application errors
- Software issues
Follow the links it will help to resolve the issue:
- Troubleshoot Linux instances with failed status checks: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html
- Resolve problems connecting to an Amazon RDS DB instance: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/APITroubleshooting.html
- AWS support: If you're still facing issues, consider contacting AWS support for further assistance.
Hello,
please try this solution.
To the Instance reachability check failed error, start by stopping and then starting your EC2 instance from the AWS console to address any transient issues. set up an Auto-Recovery Alarm in Amazon CloudWatch by selecting your instance, navigating toManage CloudWatch alarms and creating an alarm for the Status Check Failed System metric to automatically recover the instance if a failure is detected. Regularly monitor the instance's performance metrics and system logs to identify and fix potential problems early and your security group settings allow the necessary traffic to and from your instance.
Please look at AWS Document link below you will get more information.
https://davy.ai/how-to-fix-aws-ec2-status-check-showing-instance-reachability-check-failed/
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html
Relevant content
- asked 2 years ago