2 回答
- 最新
- 投票最多
- 评论最多
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
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
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.