IO Errors in EC2 instance

0

Recently, we found that our EC2 instance was not responding. We tried to login to the VM but timed out. When we tried to "reboot" the instance from AWS Console, the console showed some IO Errors as shown in the attached screendump.

Enter image description here

Finally, I stopped and started the instance again before it is working again.

Is this a problem with the EBS?

asked 10 months ago290 views
1 Answer
1

Hello

Please try this solution.

To address IO errors on your EC2 instance start by stopping and starting the instance from the EC2 Console to potentially resolve transient issues. check the state and status of the attached EBS volume in the Volumes section if issues are detected, create a snapshot of the volume, then use this snapshot to create a new volume. Detach the problematic volume and attach the new one to the instance. If filesystem corruption is suspected, SSH into the instance (or use RDP for Windows) and run a filesystem check (Ex. fsck for Linux or chkdsk for Windows). Set up monitoring and alarms in CloudWatch for CPU, disk IO, and instance status checks to proactively manage resources. please ensure that your read/write IOPS are not exceeding the capacity of your EBS volumes. You can view your read/write IOPS by monitoring the VolumeReadOps and VolumeWriteOps volume metrics in CloudWatch.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html https://docs.aws.amazon.com/ebs/latest/userguide/ebs-io-characteristics.html https://manpages.ubuntu.com/manpages/xenial/en/man8/mount.8.html https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html

EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions