Restoring Amazon EC2 Instances

You can restore one or more Amazon EC2 instances at a time. Instances can be restored in place (overwriting the source instances) or out of place (with a different name, or to a different AWS region, availability zone, or different cloud/hypervisor).

What is restored?

  • Amazon EC2 instance to a new instance ID.

  • IAM roles are re-attached to the restored instance.

  • AWS tags are attached to the restored instance.

Know before restoring

  • When you perform an in-place restore operation using the Unconditionally overwrite Instance with the same name option, the restore operation retains the original Amazon EC2 system UUID for the restored instance instead of recreating the instance from backup data. For more information see, Inspect the system UUID.

  • During restores, the Amazon Machine Image (AMI) from which the source Amazon EC2 instance was created is used to create the restored EC2 instance. If the AMI of the source EC2 instance is not available, then an appropriate AMI is intelligently selected using the following parameters; architecture, boot mode, platform, and Elastic Network Adapter (ENA) support

  • Automatic AMI selection is restricted to privately-owned and Amazon-owned AMIs.

Amazon EC2 Type Considerations

To restore an Amazon EC2 instance, the EC2 instance type that you selected must be available within the selected region and availability zone. If the instance type is not available, you can choose an alternate Amazon EC2 instance type for the restore operation.

For more information, see the section on 'Instance Types' in the Amazon Elastic Compute Cloud User Guide for Linux or Windows instances.

Amazon EBS Volume Considerations

If an Amazon EBS volume name was not specified for a volume under the source instance, the volume ID for the source volume is displayed in the Instance and Volume column in the Restore Options for All Selected Items dialog box, and the volume ID is used to name the restored volume unless you enter a different value in the Change Instance name to column for the volume.

If the source instance is encrypted with the multi-region key, then we check if the source and target regions are different. If the replica key is present in the target region, we will use that replica key to encrypt. For information on the multi-region key capability, see Creating a multi region key.

Access Node Placement

For streaming backups and backup copies, if the Access Node used for restore is running on an Amazon EC2 instance, the instance must reside in the same user account as the instance being or restored.

Alternately, if a shared Access Node is being used, the hypervisor being used for the restore must be configured in accordance with Using Service Account Resources.

Procedure

  1. From the CommCell Browser, expand Client Computers > virtualization_client > Virtual Server > Amazon > backup_set.

  2. Initiate the restore from a subclient or backup set:

    • From a subclient: Right-click the subclient and select Browse and Restore.

    • From a backup set: Right-click the backup set, point to All Tasks, and click Browse and Restore.

  3. In the Browse and Restore Options dialog box, ensure that Full Virtual Machine is selected and click View Content.

  4. From the list of backed up instances in the Client tab, select one or more instances to be restored and click Recover All Selected.

    The Restore VM wizard launches and displays the Destination page.

  5. Specify the destination and the proxy to be used for the restore.

    By default, instances are restored in place to the original location for the source instances, and the restore is performed using the preferred access node for the virtualization hypervisor.

    • In Place: To restore an instance out of place, clear this check box.

    • Virtualization Client: Displays the virtualization client for the AWS account.

    • Proxy Client: By default, the preferred access node for the virtualization client is used for the restore.

      If you select an access node that is outside of AWS, the restore uploads volume information to Amazon S3 and uses the volumes to create the instance.

  6. Click Next.

    The wizard displays the Instances page.

  7. For an out-of-place restore, specify parameters for the restore:

    • Instance and Volume: This column shows the source instances.

      You can expand each instance to view the volumes in the instance.

    • Change Instance display name to: Enter the new display name for the instance.

    • Availability Zone: Select the destination availability zone.

    • To specify other Amazon Options, click Configure.

      The AWS Restore Options dialog box appears.

  8. To specify other Amazon Options, click Configure.

    The AWS Restore Options dialog box appears. Provide the following information:

    • Instance Display Name - Displays the name of the instance.

    • Availability Zone - Select the destination availability zone.

    • AMI Selection: (Optional) Commvault automatically selects an Amazon Machine Image (AMI) that matches the operating system, platform, and the virtualization type.

      To specify a set of AMI IDs for automatic selection, see Enabling Specific AMI IDs for Restores and Replication.

    • Instance Type: From this list, select an instance type that provides the available CPU cores and memory for the instance.

    • Network Settings: Select an Amazon EC2 or an Amazon VPC network for the restored instances.

      • Network: If you select an Amazon VPC network, the second Network and Private IP fields are not displayed.

        For an Amazon VPC network, select an existing subnet and an existing or new Amazon Elastic Network Interface (ENI) for the primary network interface.

      • Private IP: (Applicable only to Amazon VPC restores) If you select a new Amazon ENI, specify a private IP that corresponds with the subnet range used within the selected VPC subnet.

        If you specify a specific Private IP, we will create and attach the Amazon ENI with that IP. If you leave the Private IP field blank, we will create a new network interface that will match with the chosen VPC, and then attach it and a DHCP address will be assigned on boot.

      • Security Groups: Select an existing Amazon VPC security group for the specified Elastic Network Interface (ENI).

      • Key Pair: Select a key pair to log on to the instance after the restore is complete.

  9. Click Next.

    The wizard displays the Restore Options page.

  10. Optional: Select restore options:

    • Power ON Instance after Restore: Select this check box to start the instance automatically after the restore is complete.

    • Unconditionally overwrite Instance with the same name: Select this check box to replace an instance with the same name at the specified destination.

  11. Click Next.

    The wizard displays the Job Options page.

  12. Run the job immediately or configure a schedule for the restore.

  13. Click Next.

    The wizard displays a Summary page for the restore.

  14. Click Finish to submit the restore job.

Loading...