Search code examples
amazon-web-servicesamazon-ebs

Is there any way to restore EBS volume from snapshot using AWS CLI or CloudFormation?


Is there a way to restore EBS volume from snapshot using AWS CLI or CloudFormation?


Solution

  • In CloudFormation you have SnapshotId:

    The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.

    In CLI you have create-volume where you can specify --snapshot-id.