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 年前
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前