'Unable to ssh to AWS EC2 instance due to No space left on device

I've one ec2 instance (Platform: Linux/UNIX). I'm unable to ssh into it. When i try to login via terminal, this error comes ssh: connect to host xxxx port 22: Operation timed out. When I went to aws ec2 console and rebooted instance, i got this error OSError: [Errno 28] No space left on device. I tried to increase instance volume size from 8GB to 16GB. But no luck. What can I do in this case?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source