Separate names with a comma.
Discussion in 'IT & Internet' started by consultant, Aug 5, 2019.
Do we have anyone with Amazin AWS/EC2 experience.
I have a problem and need some advice/support.
What is the issue you are facing please?
I have run a kernel upgrade, as recomended by cpanel, and the server will not come up!
The EC2 alarm is
I don't have much experience with AWS but a VM not booting isn't specific to AWS.
To diagnose the issue you need to gain console access.
Here's a guide to show how this is done at AWS:
This output will help you to understand why the instance isn't booting.
In terms of actually fixing the problem, after a quick search it seems there's no way to boot an EC2 instance into single user mode or a rescue operating system. I take it you're using EBS for storage? If so you can mount the EBS volume on another instance (with a working operating system) to then fix the issue, before switching it back to its own EC2 instance.
appreciate the input.
SSH doesn't seem to want to connect, via the AWS browser option or using putty!
I am trying to create a new instance and see if that helps!
Ok, I have created another instance (after creating an AMI from faulty one) and it boots up.
Am I right in assuming that it is a mirror of the original instance or a blank canvas?
If a blank canvas, do I install the os and other software again (I thought the AMI would duplicate this?).
SSH won't be reachable if the system isn't booting but the documentation linked should enable you to see what's happening at the console level during boot (the equivalent of plugging a monitor into a physical machine to see what's showing rather than connecting remotely).
I am not very familiar with AWS specific terminology or products but my understanding is that an AMI is an image / template for a reusable VM. It makes sense that you could create a template from your existing VM with all data intact. However I would guess your new instance is not a mirror copy of your original instance because it's able to boot up (whereas you'd expect to see the same boot problem with a mirror copy). That said, the easiest way to find out would be to check if your data exists on the new instance (e.g. can you log in using the same credentials)?
Thanks all for the pointers.
Amazon worked it out and have part solved the issue - now onto CPanel!