Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Securely delete disks on decommission #451

Merged
merged 3 commits into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/deploy/delete_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A server is deleted either when a service is moving to a new server (:doc:`creat
As with other deployment tasks, do the :ref:`setup tasks<generic-setup>` before (and the :ref:`cleanup tasks<generic-cleanup>` after) the steps below.

#. If appropriate, notify relevant users of the change
#. Remove the server from ``salt/prometheus/server/files/config/conf-prometheus.yml``
#. Remove the server from ``salt/prometheus/files/conf-prometheus.yml``
#. :doc:`Deploy<deploy>` the Prometheus service
#. Shutdown the server via the :ref:`host<hosting>`'s interface
#. Remove all occurrences of the server's FQDN and IP address from this repository
Expand All @@ -25,4 +25,14 @@ If the service is being retired:

Finally:

#. Securely erase server disks

#. Request an *Rescue* system via the :ref:`host<hosting>`'s interface and connect as ``root``.
#. Open a session in :ref:`tmux<tmux>`
#. Securely remove data, for example wiping the /dev/sda device:

.. code-block:: bash

shred -z -n 1 -v /dev/sda

#. Cancel the server via the host's interface