2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 9 Monaten
- Wie kann ich meine sekundäre Netzwerkschnittstelle in meiner Ubuntu EC2-Instance zum Laufen bringen?AWS OFFICIALAktualisiert vor einem Jahr