How do I create a snapshot of an Amazon EBS RAID array?

2 minute read
0

I want to create snapshots of my Amazon Elastic Block Store (Amazon EBS) volumes that are configured in a RAID array. I also want my snapshots to be consistent across multiple Amazon EBS volumes on an Amazon Elastic Compute Cloud (Amazon EC2) instance.

Short description

To create snapshots for Amazon EBS volumes that are configured in a RAID array, use your instance's multi-volume snapshot feature. The multi-volume snapshot feature is a one-click solution that takes individual, point-in-time backups of all Amazon EBS volumes attached to your instance. This process makes sure that the backup of your Amazon EBS volumes attached to the instance are in sync relative to each other. The process results in an accurate restore of the Amazon EBS volumes in RAID.

Note: You can use the Amazon Data Lifecycle Manager to automate snapshot creation.

Resolution

Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you're using the most recent AWS CLI version.

Use the Amazon EC2 console or the AWS CLI to create snapshots.

Note: After you create the snapshots, each snapshot is treated as an individual snapshot. It's a best practice that you tag your multiple volume snapshots to manage them together during operations such as restore, copy, or retention.

Amazon EC2 console

  1. Open the Amazon EC2 console.
  2. Under Elastic Block Store, choose Snapshots.
  3. Choose Create Snapshot.
  4. Choose Instance as the resource type.
  5. Select the instance ID from the dropdown list.
  6. (Optional) Enter a Description of the snapshot.
  7. (Optional) Select Copy Tags to automatically copy tags from the source volume to the corresponding snapshots.
  8. Choose Create Snapshot.

AWS Command Line Interface (AWS CLI)

Use the CreateSnapshots API.

create-snapshots[--description <value>]
--instance-specification <value>
[--tag-specifications <value>]
[--dry-run | --no-dry-run]
[--copy-tags-from-source <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Related information

Taking crash-consistent snapshots across multiple Amazon EBS volumes on an Amazon EC2 instance

Multi-volume snapshots

RAID configuration on Windows

RAID configuration on Linux

Benchmark EBS volumes

AWS OFFICIAL
AWS OFFICIALUpdated 6 months ago