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 공식업데이트됨 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.