ECS

Elastic Cloud Server (ECS) provides scalable, on-demand cloud servers for secure, flexible, and efficient application environments. An ECS is a computing server that consists of CPUs, memory, images, and Elastic Volume Service (EVS) disks, and integrates Virtual Private Cloud (VPC), virtual firewall, and multi-data-copy functions to ensure reliable, uninterrupted services.

With Cloud Trace Service (CTS), you can record operations associated with ECS for future query, audit, and backtrack operations.

Table 1 ECS operations that can be recorded by CTS

Operation

Resource Type

Trace Name

Creating an ECS

ecs

createServer

Deleting an ECS

ecs

deleteServer

Starting an ECS

ecs

startServer

Restarting an ECS

ecs

rebootServer

Stopping an ECS

ecs

stopServer

Adding a NIC to an ECS

ecs

addNic

Removing a NIC to an ECS

ecs

deleteNic

Attaching a disk to an ECS

ecs

attachVolume

Detaching a disk from an ECS

ecs

detachVolume

Reinstalling the OS

ecs

reinstallOs

Changing the OS

ecs

changeOs

Modifying ECS specifications

ecs

resizeServer

Adding the automatic recovery tag to a VM

ecs

addAutoRecovery

Deleting the automatic recovery tag from a VM

ecs

deleteAutoRecovery

Creating a security group

ecs

createSecurityGroup

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

Table 2 Relationship between operations triggered by ECS and native OpenStack APIs

Operation

Trace Name

Service Type

Resource Type

OpenStack Component

Enabling an ECS

enableService

ECS-OpenStack

computeService

nova

Disabling an ECS

disableService

ECS-OpenStack

computeService

nova

Adding the cause of disabling an ECS

logDisabledInfo

ECS-OpenStack

computeService

nova

Deleting an ECS

deleteService

ECS-OpenStack

computeService

nova

Creating a flavor

createFlavor

ECS-OpenStack

flavor

nova

Deleting a flavor

deleteFlavor

ECS-OpenStack

flavor

nova

Adding/Deleting permissions of a tenant to access flavors

operateFlavorAccess

ECS-OpenStack

flavor

nova

Creating an extended attribute for a flavor

createExtraSpecs

ECS-OpenStack

flavor

nova

Updating an extended attribute

updateExtraSpec

ECS-OpenStack

flavor

nova

Deleting an extended attribute

deleteExtraSpec

ECS-OpenStack

flavor

nova

Creating a host group

createAggregate

ECS-OpenStack

hostAggregates

nova

Updating a host group

updateAggregate

ECS-OpenStack

hostAggregates

nova

Deleting a host group

deleteAggregate

ECS-OpenStack

hostAggregates

nova

Adding a host to a host group/Removing a host from a host group/Setting metadata of a host group

operateAggregate

ECS-OpenStack

hostAggregates

nova

Creating a key pair

createKeypair

ECS-OpenStack

keypair

nova

Deleting a key pair

deleteKeypair

ECS-OpenStack

keypair

nova

Updating the quota

updateQuotas

ECS-OpenStack

quotaSets

nova

Deleting the quota

revertQuotasToDefaults

ECS-OpenStack

quotaSets

nova

Creating a VM

createServer

ECS-OpenStack

server

nova

Updating a VM

updateServer

ECS-OpenStack

server

nova

Deleting a VM

deleteServer

ECS-OpenStack

server

nova

Operating a VM

operateServer

ECS-OpenStack

server

nova

Setting metadata

setMetadata

ECS-OpenStack

server

nova

Updating metadata/Setting metadata of a specified key

updateMetadata

ECS-OpenStack

server

nova

Deleting metadata of a specified key

deleteMetadata

ECS-OpenStack

server

nova

Adding a NIC to a VM

createInterface

ECS-OpenStack

server

nova

Detaching a NIC from a VM

detachInterface

ECS-OpenStack

server

nova

Clearing the password (DB) of a specified VM

clearAdminPassword

ECS-OpenStack

server

nova

Attaching a volume to a VM

attachVolume

ECS-OpenStack

server

nova

Detaching a volume from a VM

detachVolume

ECS-OpenStack

server

nova

Creating a VM group

createServerGroup

ECS-OpenStack

serverGroup

nova

Deleting a VM group

deleteServerGroup

ECS-OpenStack

serverGroup

nova

Creating a VM

createServerVolumesBoot

ECS-OpenStack

server

nova

Creating a console

createServerRemoteConsoles

ECS-OpenStack

server

nova

Resetting the password

resetServerPassword

ECS-OpenStack

server

nova

Interrupting a spot ECS

interruptServer

ECS-OpenStack

server

nova