You need to enable JavaScript to run this app.
Server Migration Center

Server Migration Center

Copy page
Download PDF
Best Practices
Manually releasing temporary resources
Copy page
Download PDF
Manually releasing temporary resources
Migration may fail due to causes such as network issues, changes to the source server, or other failures. In this case, SMC does not automatically release the temporary cloud resources it creates for data migration (for example, EIPs, security groups, and volumes). You need to manually release these resources to prevent incurring unnecessary charges.​
tip​
Manual release of temporary resources is required only when migration fails during the process of migrating to ECS instances or custom images.​
Procedure​
Migration failure to ECS instance​
  1. In the left directory tree, select "Server Migration Center > Migration Job".​
  1. Select the "Migrate to server" tab.​
  1. Click the "Logs" button in the Actions column on the right side of the target migration task.​
  • ​​​
  • Resource description:​
  • ​
    Parameter​
    Description​
    Sample value​
    Temporary SecurityGroup​
    Temporary security group ID.​
    sg-miqmwast7xxxxx4ye​
    Instance​
    ID of the destination instance for migration.​
    i-ycswsqhurk5xxxxxzda​
    KeyPair​
    Temporary key pair ID.​
    kp-ycswszszxxxxxj2a​
    Transition Data Volume​
    Temporary data volume ID.​
    vol-99t2xxxxxcpc​
    ​
  1. Manually release the corresponding resources based on the resource IDs displayed in the log information.​
tip​
Additionally, you can check the Agent logs located in the migration Agent directory on your source server.​
  • Linux operating system: Execute the cat smc.log command.​
  • Windows operating system: View the smc.txt file.​
  • Release temporary key pair​
  1. Log in to the Key Pair console. ​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of KeyPair in the log information to search for the target key pair.​
  • ​​​
  1. Click the "Unbind instances" button in the Actions column to the right of the target key pair, and in the pop-up window, check the instance corresponding to the Instance parameter.​
  1. Click the "Confirm" button to complete disassociation.​
  1. Click the "Delete" button in the Actions column to the right of the target key pair, and confirm the key pair information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  • Release temporary security group​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of Temporary SecurityGroup in the log information to search for the target security group.​
  1. Click the "Associate ENI" button in the Actions column to the right of the target security group. On the "Associate ENI" tab, select the network interface associated with the instance corresponding to the Instance parameter.​
  1. Click the "Disassociate" button in the Actions column to the right of the target network interface, confirm the network interface information in the pop-up window, and click the "Disassociate" button to complete the disassociation.​
  1. Switch back to the security group list page, click the "... > Delete" button in the Actions column to the right of the target security group, and confirm the security group information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  • Release temporary data volume​
  1. Log in to the Volumes console. ​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the search box at the top right, select "Volume ID" from the dropdown, and enter the value of Transition Data Volume in the log information to search for the target volume.​
  • ​​​
  1. Click the "... > Detach" button in the Actions column to the right of the target volume, and confirm the volume and target instance information in the pop-up window.​
  • ​​​
  1. Click the "Confirm" button to complete detachment.​
  1. After detachment is complete, click the "... > Delete" button in the Actions column to the right of the target volume, and confirm the volume information in the pop-up window.​
  1. Click the "Confirm" button to complete the operation.​
  • Reset target instance login credentials​
  • Since SMC replaces the login credentials of the target instance with a temporary key pair during migration, if migration fails, you need to reset the login credentials of the target instance to avoid login failure to the target instance. For operation details, see Resetting login password.​
  1. Afterwards, you can use SMC to migrate source server data to the VolcanoEngine. For details, see Getting started.​
Migration failure to custom image​
  1. In the left directory tree, select "Server Migration Center > Migration Job".​
  1. Select the "Migrate to server" tab.​
  1. Click the "Logs" button in the Actions column on the right side of the target migration task.​
  • ​​​
  • Resource description:​
  • ​
    Parameter​
    Description​
    Sample value​
    Temporary Vpc​
    Temporary VPC ID.​
    vpc-rr28b0ltcv0x5xxxxxar​
    Temporary Subnet​
    Temporary subnet ID.​
    subnet-miz1h8r1egw5smxxxxxijz​
    Temporary SecurityGroup​
    Temporary security group ID.​
    sg-13felynf2xxxxxhm08y​
    KeyPair​
    Temporary key pair ID.​
    kp-ycsx7ibxxxxxv1mr​
    Temporary Instance​
    Temporary instance ID.​
    i-ycsx7icttxxxxxume​
    Transition Data Volume​
    Temporary data volume ID.​
    vol-99t3i6xxxxx6g781c​
    Temporary Eip​
    Temporary EIP ID.​
    eip-miz2fdza9lxxxxxmwr​
    ​
  1. Manually release the corresponding resources based on the resource IDs displayed in the log information.​
tip​
Additionally, you can check the Agent logs located in the migration Agent directory on your source server.​
  • Linux operating system: Execute the cat smc.log command.​
  • Windows operating system: View the smc.txt file.​
  • Release temporary instance​
  • You can release the temporary instance and the temporary system volume, data volume, and temporary EIP associated with it in a single operation.​
  1. Log in to the Instances console. ​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the top search box, select "Instances ID" from the dropdown, and enter the value of Temporary Instance in the log information to search for the target instance.​
  1. Click the "... > Delete" button in the Actions column on the right side of the target instance.​
  1. In the pop-up window, check the temporary data volume, temporary EIP, and "I am aware of the Instances and related resources that are about to be deleted and understand the associated risks."​
  • ​​​
  1. Click "Delete" to complete the action.​
  • Release temporary key pair​
  1. Log in to the Key Pair console. ​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of KeyPair in the log information to search for the target key pair.​
  • ​​​
  1. Click the "Unbind instances" button in the Actions column to the right of the target key pair, and in the pop-up window, check the instance corresponding to the Instance parameter.​
  1. Click the "Confirm" button to complete disassociation.​
  1. Click the "Delete" button in the Actions column to the right of the target key pair, and confirm the key pair information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  • Release temporary security group​
  1. In the top menu bar, select the region where the target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of Temporary SecurityGroup in the log information to search for the target security group.​
  1. Click the "Associate ENI" button in the Actions column to the right of the target security group. On the "Associate ENI" tab, select the network interface associated with the instance corresponding to the Instance parameter.​
  1. Click the "Disassociate" button in the Actions column to the right of the target network interface, confirm the network interface information in the pop-up window, and click the "Disassociate" button to complete the disassociation.​
  1. Switch back to the security group list page, click the "... > Delete" button in the Actions column to the right of the target security group, and confirm the security group information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  • Release temporary subnet​
  1. Log in to the Subnet console. ​
  1. In the top menu bar, select the region where the migration target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of Temporary Subnet in the log information to search for the target subnet.​
  1. Click the "Delete" button in the Actions column to the right of the target subnet, and confirm the subnet information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  • Release temporary VPC​
  1. Log in to the VPC console. ​
  1. In the top menu bar, select the region where the migration target instance resides.​
  1. In the search box at the top right, select "ID" from the dropdown, and enter the value of Temporary Vpc in the log information to search for the target subnet.​
  1. Click the "Delete" button in the Actions column to the right of the target VPC, and confirm the VPC information in the pop-up window.​
  1. Click the "Delete" button to complete deletion.​
  1. Afterwards, you can use SMC to migrate source server data to the VolcanoEngine. For details, see Getting started.​
Last updated: 2026.01.07 15:11:32