All Products
Search
Document Center

Cloud Backup:Fault drill

Last Updated:May 12, 2026

A fault drill is a critical part of the disaster recovery process. This topic describes how to perform a fault drill for ECS disaster recovery.

Why perform a fault drill

A fault drill launches your protected servers in a test environment to verify that your applications function correctly. This test is a crucial part of your disaster recovery plan for two reasons:

  • It helps you verify that your protected applications will launch and run correctly at the disaster recovery site.

  • It allows your team to practice the recovery process, ensuring a smooth and confident failover during an actual disaster.

Prerequisites

Procedure

  1. Create a fault drill environment.

    Note

    For the Create Custom Drill Environment method, you must first create the required VPC, vSwitch mappings, and security group mappings. After you create the drill environment, you must configure its network settings.

  2. Start the fault drill.

  3. Verify your applications or services.

  4. Clean up the drill environment.

Drill environment creation methods

Creation method

Use cases

Advantages

Disadvantages

Automatically Create and Start Drill Environment

Suitable for services that can be verified without connecting to the public internet or other networks.

Note

For example, an ECS application for internal use that does not require configurations for SLB, domain names, or security groups (open ports).

  • Simple configuration

After you specify a protection group, the system automatically creates the necessary drill resources, including a VPC and mappings for vSwitches and security groups.

You cannot customize the name prefix for the new ECS instances created during the drill. A custom prefix helps you quickly identify drill-related instances.

Create Custom Drill Environment

Suitable for services that require external network access for verification. The configured drill environment can be retained for future use.

Note

For example, if multiple ECS instances provide services through an SLB instance, you must configure the SLB instance, domain names, and security groups (open ports) for your services.

  • You can customize the name prefix for new ECS instances created during the drill to identify them easily.

  • You can plan and create your own drill environment resources. This includes manually creating a drill VPC or selecting a VPC at the disaster recovery site, and creating vSwitch and security group mappings.

  • Complex configuration

Requires you to specify a drill VPC and configure vSwitch and security group mappings, which can lead to IP address conflicts and drill failure.

Automatically create and start a fault drill

  1. Log on to the Cloud Backup console.

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

  3. If your disaster recovery method is not EBS Async Replication, click Switch to EBS Async Replication.image

  4. On the Site Pairs page, click the target site pair, and then click the Fault Drill tab.

    Note

    You can also go to the Protection Group tab and start the fault drill in the Actions column.

  5. Click Automatically Create and Start Drill Environment.

  6. In the Start Drill dialog box, select a Protection Group and click Next.image.png

  7. Preview the protection group resources. After you confirm the details, click OK.image.png

    Note
    • If the instance type or operating system at the disaster recovery site is not suitable, select a new one based on the specifications of the ECS instance at the production site and the on-screen prompts. You can click Change Instance Type and Modify Operating System to change the instance specifications at the disaster recovery site. If the instance type family and operating system cannot meet your needs, submit a ticket to contact Alibaba Cloud technical support.

    • Before you start the drill, you can also click Modify User Data and Modify Disaster Recovery IP.

    • An IP address conflict means the IP is already in use. To resolve this, remove the conflicting drill ECS instance or change the vSwitch mapping in your network configuration.

  8. In the Confirm to Start Drill dialog box, click OK to start the drill.image.png

    Important
    • The system temporarily pauses replication for the protection group to create new drill disks from the latest recovery point. Replication typically resumes automatically within five minutes. Once the drill disks are ready, the system creates drill ECS instances at the disaster recovery site. You can begin verifying your services after the drill group is successfully created.

    • The drill process automatically starts the ECS instances at the disaster recovery site but does not stop the ECS instances at the production site. To prevent business risks, carefully evaluate your services and use tools such as security groups and network isolation to separate drill traffic from production traffic.

    The drill protection group status changes from Initializing to Drill in Progress, and finally to Drill Group Created.

    image.png

  9. After the drill ECS instances start, verify your services.

    image.png

  10. Clean up the drill environment.

    1. Delete the fault drill group.

      Deleting the fault drill group removes all drill resources, including ECS instances, disks, elastic network interfaces, snapshots, and images.

      In the Actions column of the target drill protection group, click Delete Fault Drill Group and confirm the action.

      Note

      You can also go to the Protection Group tab to delete one or more fault drill groups in the Actions column.

    2. Delete the drill environment.

      In the Drill Environment section, click Delete and confirm the action.

Create a custom drill environment

  1. Log on to the Cloud Backup console.

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

  3. If your disaster recovery method is not EBS Async Replication, click Switch to EBS Async Replication.image

  4. On the Site Pairs page, click the target site pair, and then click the Fault Drill tab.

    Note

    You can also go to the Protection Group tab and start the fault drill in the Actions column.

  5. Click Create Custom Drill Environment.

  6. In the Create Drill Environment dialog box, set a prefix for the new ECS instance names, select a Drill VPC, and then click OK.image.png

    Note
    • The ECS instance prefix is added to the beginning of the name for each new instance created. For example, if the original instance name is ecse and you set the prefix to Drill_test_20230925_, the new drill instance name will be Drill_test_20230925_ecse.

    • You must create the VPC for the drill environment at the disaster recovery site in advance.

  7. Configure the network for the drill environment.image.png

    1. In the Drill Environment section, click Details next to Drill Network Configuration.

    2. In the Drill Network Configuration dialog box, add vSwitch mappings and security group mappings.image.png

  8. In the Drill Environment section, click Start Drill.image.png

  9. In the Start Drill dialog box, select a Protection Group and click Next.image.png

  10. Preview the protection group resources. After you confirm the details, click OK.image.png

    Note
    • If the instance type or operating system at the disaster recovery site is not suitable, select a new one based on the specifications of the ECS instance at the production site and the on-screen prompts. You can click Change Instance Type and Modify Operating System to change the instance specifications at the disaster recovery site. If the instance type family and operating system cannot meet your needs, submit a ticket to contact Alibaba Cloud technical support.

    • Before you start the drill, you can also click Modify User Data and Modify Disaster Recovery IP.

    • An IP address conflict means the IP is already in use. To resolve this, remove the conflicting drill ECS instance or change the vSwitch mapping in your network configuration.

  11. In the Confirm to Start Drill dialog box, click OK to start the drill.image.png

    Important
    • The system temporarily pauses replication for the protection group to create new drill disks from the latest recovery point. Replication typically resumes automatically within five minutes. Once the drill disks are ready, the system creates drill ECS instances at the disaster recovery site. You can begin verifying your services after the drill group is successfully created.

    • The drill process automatically starts the ECS instances at the disaster recovery site but does not stop the ECS instances at the production site. To prevent business risks, carefully evaluate your services and use tools such as security groups and network isolation to separate drill traffic from production traffic.

    The drill protection group status changes from Initializing to Drill in Progress, and finally to Drill Group Created.

    image.png

  12. After the drill ECS instances start, verify your services.image.png

  13. Clean up the drill environment.

    1. Delete the fault drill group.

      Deleting the fault drill group removes all drill resources, including ECS instances, disks, elastic network interfaces, snapshots, and images.

      In the Actions column of the target drill protection group, click Delete Fault Drill Group and confirm the action.

      Note

      You can also go to the Protection Group tab to delete one or more fault drill groups in the Actions column.

    2. Delete the drill environment.

      In the Drill Environment section, click Delete and confirm the action.