2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un mois
- demandé il y a 5 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
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.