Step 5: Add instances to be protected

Updated at:

Add the Elastic Compute Service (ECS) instances that require disaster recovery protection to a protection group. Before replication starts, you can also change the instance type at the disaster recovery site and assign a custom IP address.

Prerequisites

Before you begin, ensure that you have:

  • A protection group. Protection groups let you manage multiple ECS instances centrally under a single plan. For more information, see Step 4: Create a protection group.

Limits

ECS disaster recovery (EBS async replication) has limits on regions, zones, disk types, networks, and configuration quotas. For more information, see Limits.

Procedure

  1. Log on to the Cloud Backup console.

  2. In the navigation pane on the left, choose Disaster Recovery > ECS Disaster Recovery.

  3. If you are not using EBS Async Replication, click Switch to EBS Async Replication.image

  4. On the Site Pairs tab, click the site pair, and then click the Protection Group tab.

  5. On the Protection Group tab, find the protection group and click Manage Protected Instance in the Actions column.

  6. On the Protected Instances page, click Add Protected Instance.

  7. In the Add Protected Instance panel, select the ECS instances to protect and click Next Step.

    Important
    • After binding a secondary elastic network interface (ENI) to an ECS instance, some images cannot automatically identify the IP address of the secondary ENI or add a route, which prevents the secondary ENI from working properly.

    • If an ECS instance has a secondary ENI (the Secondary ENI field shows Yes), verify the secondary ENI IP address after a failover to confirm it works as expected. For more information, see Configure a secondary ENI.

    image.png

  8. In the Confirm Resources step, review the basic and resource information for each instance, then click Confirm.

    The instances are added to the protection group with an Initialized status.

    image.png

More operations

After adding instances to a protection group, perform any of the following operations as needed.

Operation

Description

Details

Click Details to view instance information on the Computing Information, Network Information, and Storage Information tabs.

Modify disaster recovery IP

On the Network Information tab, manually assign an IP address for the disaster recovery site.

Remove protected instance

Remove the instance from the protection group. The instance is no longer protected by Cloud Backup after removal.

Enable instance release protection or Disable instance release protection

When enabled, the protected instance cannot be manually released from the console or via API. To release it, disable the protection first, then delete the instance.

Important

Subscription ECS instances do not support instance release protection.

Change instance type at DR site

Change the ECS instance type used at the disaster recovery site.

Important

Select the instance type based on your business requirements. The change takes effect the next time an ECS instance is created at the DR site. Existing instances are not affected.

Modify user data

Click Details. On the Computing Information tab of the Protected Instance Details page, configure ECS user data to manage instance startup behavior or pass data into instances. For more information, see Instance user data.

Important
  • Only user data configured for disaster recovery can be set and displayed here. Not all user data is synchronized from ECS instances.

  • User data has a maximum size of 16 KB. The frontend automatically performs Base64 encoding and decoding when you submit user data.

  • If the ECS instance has been created, the user data is synchronized to the ECS instance. If no ECS instance is created for disaster recovery or fault drill, the user data is synchronized to the ECS instance when you create an ECS instance.

What's next

Step 6: Start replication

FAQ

What do I do if I cannot select an instance when I add instances for ECS disaster recovery (EBS async replication)?