0

My instance has been running smoothly for about 2 weeks, but yesterday I think I managed to break something during development of my application (although I just played around with mysql)..

Today when I tried access the server it was very slow, so I checked the instance monitoring log which, to my surprise, showed the CPU maxed out 100% the last 24 hours.

So I restarted the instance, was able to login again with SSH. But it was still very slow, so I restarted it again. And since then I've kept getting timeout errors when I try to access with SSH.

I've also tried to create an ami of my instance and launching a new one based on that ami, but same connection problem occurs.

I really need to access the files on the server. Is it possible to download the AMI and mount it locally? Or in any way access the files if I can't SSH in to the server?

hampusohlsson
  • 10,109
  • 5
  • 33
  • 50
  • there have 'recently' been elevated error rates with VPNs in N. Virginia region (see http://status.aws.amazon.com/ or subscribe to their RSS ) – sehe Nov 23 '11 at 01:40

2 Answers2

1

The process I describe in this article could be used to get files off of an EBS boot instance that is having troubles:

Fixing Files on the Root EBS Volume of an EC2 Instance
http://alestic.com/2011/02/ec2-fix-ebs-root

If you're running an instance-store instance, you're going to have more difficulty.

Eric Hammond
  • 22,089
  • 5
  • 66
  • 75
  • Thank you! Will check this out. Quick question though, I don't understand exactly where I should type the commands? When ssh'd into my other, healthy instance? – hampusohlsson Nov 23 '11 at 02:06
0

You should contact amazon with you AMI number. They'll be able to tell you what can be done. The forums are usually quite responsive ( https://aws.amazon.com/support ) with Amazon staff members.

Also, try the ec2 mailing lists (like ec2ubuntu)


Note There have 'recently' been elevated error rates with VPNs in N. Virginia region (see http://status.aws.amazon.com/ or subscribe to their RSS )

sehe
  • 374,641
  • 47
  • 450
  • 633
  • Ok, thanks. Already started a thread on the forum, no luck yet though. Perhaps I should give it some time. My server is located in Ireland, so I don't think the N.Virginia region faults apply to me... – hampusohlsson Nov 23 '11 at 01:44