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.
답변함 일 년 전