Using AWS Backup to restore an Amazon EBS volume - AWS Backup

Using AWS Backup to restore an Amazon EBS volume

When you restore an Amazon Elastic Block Store (Amazon EBS) snapshot, AWS Backup creates a new Amazon EBS volume that you can attach to your Amazon EC2 instance.

You can choose to restore the snapshot as an EBS volume or as an AWS Storage Gateway volume.

Use the AWS Backup console to restore Amazon EBS recovery points

To restore an Amazon EBS volume

  1. Open the AWS Backup console at https://console.aws.amazon.com/backup.

  2. In the navigation pane, choose Protected resources and then choose the EBS resource ID you want to restore.

  3. On the Resource details page, a list of recovery points for the selected resource ID is shown. To restore a resource, in the Backups pane, choose the radio button next to the recovery point ID of the resource. In the upper-right corner of the pane, choose Restore.

  4. Specify the restore parameters for your resource. The restore parameters you enter are specific to the resource type that you selected.

    For Resource type, choose the AWS resource to create when restoring this backup.

  5. If you choose EBS volume, provide the values for Volume type, Size (GiB), and choose an Availability zone.

    If you choose Storage Gateway volume, choose a Gateway in a reachable state. Also choose your iSCSI target name.

    • For Volume stored gateways, choose a Disk Id.

    • For Volume cached gateways, choose a capacity that is at least as large as your protected resource.

  6. For Restore role, choose the IAM role that AWS Backup will assume for this restore.

    Note

    If the AWS Backup default role is not present in your account, a Default role is created for you with the correct permissions. You can delete this default role or make it unusable.

  7. Choose Restore backup.

    The Restore jobs pane appears. A message at the top of the page provides information about the restore job.

Use the AWS Backup API, CLI, or SDK to restore Amazon EBS recovery points

To restore Amazon EBS using the API or CLI, use StartRestoreJob. You can specify the following metadata during any Amazon EBS restore:

volumeId encrypted kmsKey availabilityZone

Example:

"restoreMetadata": "{\"encrypted\":\"false\",\"volumeId\":\"vol-04cc95f3490b5ceea\",\"availabilityZone\":null}"