diff --git a/docs/deploy/delete_server.rst b/docs/deploy/delete_server.rst index 737795dd..44db969c 100644 --- a/docs/deploy/delete_server.rst +++ b/docs/deploy/delete_server.rst @@ -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` before (and the :ref:`cleanup tasks` 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` the Prometheus service #. Shutdown the server via the :ref:`host`'s interface #. Remove all occurrences of the server's FQDN and IP address from this repository @@ -25,4 +25,14 @@ If the service is being retired: Finally: +#. Securely erase server disks + + #. Request an *Rescue* system via the :ref:`host`'s interface and connect as ``root``. + #. Open a session in :ref:`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