2 回答
- 最新
- 投票最多
- 评论最多
1
Any reason why you can’t create a new instance so it’s fresh and terminate the old one?
0
Hello
Assuming this instance needs to be publicly accessible and is configured without a load balancer or an elastic IP. I don't believe that there is a straightforward way to achieve a clean installation state. However, I would recommend the following
- Uninstall all the software using apt purge
- Use apt autoremove to remove any unused package
- Remove any user directories/log files
- If ssh multiple SSH keys are configured, remove the keys from authorized_hosts
Hope this helps.
已回答 1 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前