ECS Operations Supported by CTS¶
Scenarios¶
Cloud Trace Service (CTS) records user operations performed on ECSs and related resources for further query, auditing, and backtracking.
Prerequisites¶
CTS has been enabled.
Key ECS Operations Recorded by CTS¶
Operation | Resource Type | Trace |
---|---|---|
Creating an ECS | ecs | createServer createServerV2 |
Deleting an ECS | ecs | deleteServer deleteServerV2 |
Starting an ECS | ecs | startServer |
Restarting an ECS | ecs | rebootServer |
Stopping an ECS | ecs | stopServer |
Adding an ECS NIC | ecs | addNic |
Deleting an ECS NIC | ecs | deleteNic |
Attaching a disk | ecs | attachVolume attachVolumeV2 |
Attaching a disk (on the EVS console) | ecs | attachVolume2 |
Detaching a disk | ecs | detachVolume |
Reinstalling an OS | ecs | reinstallOs reinstallOsV2 |
Changing an OS | ecs | changeOs changeOsV2 |
Modifying specifications | ecs | resizeServer |
Enabling automatic recovery on an ECS | ecs | addAutoRecovery |
Disabling automatic recovery on an ECS | ecs | deleteAutoRecovery |
Updating metadata or setting metadata of a specified key | ecs | updateMetadata |
Setting metadata | ecs | setMetadata |
Deleting metadata of a specified key | ecs | deleteMetadata |
Creating a security group | ecs | createSecurityGroup |
Updating a security group | ecs | updateSecurityGroup |
Adding a security group | ecs | addSecurityGroup |
Removing a security group | ecs | removeSecurityGroup |
Creating a security group rule | ecs | createSgRule |
Deleting a security group rule | ecs | deleteSgRule |
Creating a floating IP address | ecs | createFloatingIp |
Deleting a floating IP address | ecs | deleteFloatingIp |
Creating an FPGA image | aei | createFpgaImage |
Deleting an FPGA image | aei | deleteFpgaImage |
Associating an FPGA image | aei | associateFpgaImage |
Dissociating an FPGA image | aei | disassociateFpgaImage |
Registering an FPGA image | aei | registerFpgaImage |
Interrupting a spot ECS | server | interruptServer |