2 Answers
- Newest
- Most votes
- Most comments
1
Hi,
You could try injecting commands in the launch-script while creating a new instance from the snapshot to potentially recover access to the instance.
For inspiration an example can be seen here
Thanks.
0
Hi
- Access via Lightsail console (if available): Lighsail offers a console access option. This might be available through the web interface and could allow you to access the instance directly bypassing SSH. Once logged in, you can disable ufw.
- Stop the instance and add user data script to disble the UFW. Example
sudo ufw disable
3.use snapshot restore Click the link for the steps
answered 11 days ago
Relevant content
- asked a year ago
- asked 2 years ago
- asked a year ago
- asked 8 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
They are unable to access the instance via the console per their original post.
And there's no option to add user data script on a stopped instance in Lightsail.