- Newest
- Most votes
- Most comments
Hello.
I recommend that you create a snapshot of the root volume using the steps in the document below, mount it on a healthy Lightsail, and then check the system logs, etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-create-an-instance-root-volume-snapshot.html
Looking at the shell script, most of it is commented out, so it appears that no commands that affect SSH are executed.
Can I access it via a browser using the steps in the document below?
https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-how-to-connect-to-your-instance-virtual-private-server.html
Hi,
Your instance should be accessible using Lightsail Connect or terminal-based SSH and the SSH key selected during instance creation. If you can connect to your instance, you can view the execution output of the provided userdata script at /var/log/cloud-init-output.log
to help with debugging.
If you cannot connect to your instance, I recommend creating a root volume snapshot and attaching it to a known working instance you can connect to and inspect the cloud-init output.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago