

# Amazon Elastic Block Store
<a name="shared-storage-config-ebs-v3"></a>

To use an existing external Amazon EBS volume for long term permanent storage that's independent of the cluster life cycle, specify [`EbsSettings`](SharedStorage-v3.md#SharedStorage-v3-EbsSettings) / [`VolumeId`](SharedStorage-v3.md#yaml-SharedStorage-EbsSettings-VolumeId).

If you don't specify [`VolumeId`](SharedStorage-v3.md#yaml-SharedStorage-EbsSettings-VolumeId), by default, Amazon ParallelCluster creates a managed EBS volume from [`EbsSettings`](SharedStorage-v3.md#SharedStorage-v3-EbsSettings) when your cluster is created. Amazon ParallelCluster also deletes the volume and data when the cluster is deleted or the volume is removed from the cluster configuration.

For an Amazon ParallelCluster managed EBS volume, you can use [`EbsSettings`](SharedStorage-v3.md#SharedStorage-v3-EbsSettings) / [`DeletionPolicy`](SharedStorage-v3.md#yaml-SharedStorage-EbsSettings-DeletionPolicy) to instruct Amazon ParallelCluster to `Delete`, `Retain`, or `Snapshot` the volume when either the cluster is deleted or when the volume is removed from the cluster configuration. By default, `DeletionPolicy` is set to `Delete`.

**Warning**  
For Amazon ParallelCluster managed shared storage, `DeletionPolicy` is set to `Delete` by default.  
This means that, if one of the following is true, a managed volume and its data are deleted:  
You delete the cluster.
You change the managed shared storage configuration [`SharedStorage`](SharedStorage-v3.md) / [`Name`](SharedStorage-v3.md#yaml-SharedStorage-Name).
You remove the managed shared storage from the configuration.
We recommend that you back up your shared storage with snapshots regularly to avoid the loss of data. For more information about Amazon EBS snapshots, see [Amazon EBS snapshots](https://docs.amazonaws.cn/AWSEC2/latest/UserGuide/EBSSnapshots.html) in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. To learn how to manage data backups across Amazon Web Services services, see [Amazon Backup](https://docs.amazonaws.cn/aws-backup/latest/devguide/whatisbackup.html) in the *Amazon Backup Developer Guide*.