Cloud

AWS — Restore EC2 from Snapshot


Author: Unknown

AWS — Restore EC2 from Snapshot

Restores EC2 instance volumes from the most recent EBS snapshot. This is the rollback mechanism used by the patching workflow – if patching fails, instances are restored to the pre-patch state.

Prerequisites

  • AWS credential configured
  • A previous snapshot taken with Cloud ǀ AWS ǀ Snapshot EC2

Survey prompts

Prompt Variable Type Required
Server Name or Pattern _hosts text Yes
AWS Region aws_region multiplechoice Yes

Job templates

Template Playbook Description
Cloud ǀ AWS ǀ Restore EC2 from Snapshot cloud/restore_ec2.yml Restores volumes from the latest EBS snapshot for the target instances

See other Cloud demos

Browse all Cloud demos →