AWS - Amazon · 2018年5月9日

AWS – Steps to encrypt an EBS volume

记得当时考试的时候有道题是问的这个问题,当中有两个选项我犹豫不定。所以特意总结一下如何将一个EBS Volume加密。

首先说,不能直接给Volume加密,没有这个功能。所以只能“曲线救国”,使用snapshot来做。这里的重点是第四步,用snapshot来复制snapshot的时候才能选择加密。

  1. Stop the instance
  2. Go to Volume option
  3. Create a snapshot for your EBS volume
  4. Copy the snapshot to change it to an encrypted snapshot
  5. Create EBS volume from the new snapshot
  6. Remove the old unencrypted volume then attach the encrypted volume.
  7. Start the instance