2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- Wie verbinde ich verschiedene Zweigstellen mithilfe von AWS Site-to-Site VPN und AWS Direct Connect?AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
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.