How to wipe data from EBS before deleting:

aws-logoAWS guarantees to never return a previous users data via the hyper-visor as mentioned in their security white paper. But still we should wipe data from EBS before detaching and deleting it for personal satisfaction.

In this tutorial I will show you how to wipe your data permanently from an EBS volume which is attached to your instance.

We need to install the disk scrubbing application like scrub on our instance to to delete the data permanently.

Install scrub on RHEL/ CentOS/ Fedora:

Install scrub on Ubuntu:

How to scrub the entire volume

How to scrub selected files:

The above command will delete all php files from the said location.

The above command will delete all sql files from the said location.

The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

Leave a Reply