4. Performing a Basic Recovery

CPM backs up the requested objects at the requested times. When you return to the main console after a while, you can view the backups in the “Backup Monitor” tab:

4. Performing a Basic Recovery
Figure ‎4-1

For each backup, you can see the exact start and finish times, and status. Click on “View” in the “Snapshots” column, and see the individual EBS snapshots of all the volumes. Click on “Open” in the “Log” column, and view the log of this backup with all the details. In order to recover from a certain backup (typically the most recent successful backup), you only need to click on the “Recover” button in the “Actions” column:

4. Performing a Basic Recovery
Figure ‎4-2

In the recovery panel screen (Figure ‎4 2) you can see all the instances that this backup contains. Should this policy include also EBS volumes, RDS databases or Redshift Clusters, you will have a link to recover them as well. In order to recover an instance, just click on the “Instance” button. The “Volumes Only” button is for recovering only the EBS volumes of the instance, without actually creating a new instance. You will now see the “Recover Instance” page:

4. Performing a Basic Recovery
Figure ‎4-3

Most of the options when launching EC2 instances are available here and may be modified. The good thing is that the defaults are exactly the options the original backed-up instance had at the time of the backup, including the tags associated with it. So, just clicking the “Recover Instance” button will recover an instance exactly like the original one.

A further option worth mentioning here is “Launch from.” This sets the option for the image the new instance will be launched from. In the case of an instance-store-based instance, the only option would be to launch from an image. The default will be the original image, although it can be changed.

In case it’s a Linux EBS-based instance, as in this example, and the backup includes the snapshot of the boot device, you can choose between launching from an image (the original image or another), and launching from the snapshot, which is the default. In case you choose to launch from a snapshot, a new image (AMI) will be created, and you can choose whether you want to keep the image after the recovery is complete or deregister it. You can even choose not to perform the recovery now, and only create the image, to recover from it later. After you click “Recover Instance” and confirm, you will be directed back to the recovery panel page, and will get a message about the operation success:

4. Performing a Basic Recovery
Figure ‎4-4

The message will include the instance ID of the new instance, and now you can go and see it in the AWS Management Console. The recovered instance is exactly the same as the original one, with all its EBS volumes.

This concludes the Quick Start Guide. Please consult the User’s Guide for more details.