See the following tables for the ECS APIs that are available to use.

For more information, see the API Explorer.


Action Description
RunInstances Creates a specified number of Pay-As-You-Go instances.
CreateInstance Creates an instance.
StartInstance Starts a specified instance.
StopInstance Stops a specified instance.
Rebootinstance Restarts an instance.
DeleteInstance Releases an instance.
AttachInstanceRamRole Attaches an instance RAM role to your Instance.
DetachInstanceRamRole Detaches a RAM role from an instance.
DescribeInstanceStatus Obtains the list of all your instances in batches with status information.
DescribeInstances Describes details of your instances.
DescribeInstanceVncUrl Describes the management terminal URL before connecting to an instance.
DescribeUserdata Describes the user-defined data of an Instance.
DescribeInstanceAutoRenewAttribute Queries the automatic renewal status of an instance.
DescribeInstanceRamRole Describes information related to the instance RAM role.
DescribeSpotPriceHistory Describes the price history of the preemptible instances.  You can query the price records within 30 days at most.
DescribeInstanceTypeFamilies Describes the resources list of instance type families provided by Alibaba Cloud ECS.
DescribeInstanceTypes Describes the resources list of instance types provided by Alibaba Cloud ECS.
ModifyInstanceVpcAttribute Modifies the attributes of a VPC to which a specified instance is connected.
ModifyInstanceAttribute Modifies the information of an Instance, such as the name, password, host name, and description of an instance.
ModifyInstanceVncPasswd Changes the password of management terminal used to connect a specified Instance.
ModifyInstanceAutoReleaseTime Sets the automatic release time for a specified instance.
ModifyInstanceAutoRenewAttribute Modifies the information of an Instance, such as the name, password, host name, and description of an instance.
ModifyInstanceSpec Changes the instance type or modifies the Internet bandwidth of a Pay-As-You-Go instance.

Launch templates

Action Description
CreateLaunchTemplate Creates an instance launch template, or launch template for short. An instance launch template saves you the trouble of entering a large number of configuration parameters each time you create an instance.
CreateLaunchTemplateVersion Creates a version based on the specified instance launch template.
DeleteLaunchTemplate Deletes an instance launch template.
DeleteLaunchTemplateVersion Deletes a specified instance launch template version. However, if the instance launch template version you intend to delete is the default version, you must use the DeleteLaunchTemplate API to delete the entire instance launch template. 
DescribeLaunchTemplates Queries available instance launch templates.
DescribeLaunchTemplateVersions Queries instance launch template versions.
ModifyLaunchTemplateDefaultVersion Sets a specified version of this template as the default version. If you do not specify a template version number when creating an instance (RunInstances), default version is used.


Action Description
CreateDisk Creates a portable data disk.
DeleteDisk Releases an independent cloud disk when it is no longer in use.
DescribeDisks Describes your available cloud disks.
AttachDisk Attaches a data disk to your Instance.
DetachDisk Detaches a cloud disk from a specified instance.
ModifyDiskAttribute Modifies the attribute of your cloud disk.
ReplaceSystemDisk Replaces the system disk or the operating system of an Instance.
ReInitDisk Initializes a cloud disk to the initial state.
ResetDisk Rolls back a disk to a specified disk state by using one of its history disk snapshots.
ResizeDisk Extends the size of a cloud disk.


Action Description
CreateImage Creates a custom image.
ImportImage Imports on-premises image files to the Alibaba Cloud ECS.
ExportImage Exports a custom image to an OSS bucket in the same region as the custom image.
CopyImage Copies a custom image from one region to other regions.
CancelCopyImage Cancels a pending image copy (CopyImage) operation.
DescribeImages Describes your available image.
DeleteImage Deletes a specified custom image.
DescribeImageSharePermission Describes all the authorized users to whom one of your custom image is shared.
ModifyImageAttribute Modifies the name and description of a custom image.
ModifyImageSharePermission Shares a custom image to other Alibaba Cloud users.


Actions Description
CreateSnapshot Creates a snapshot for a specified disk device.
CreateAutoSnapshotPolicy Creates an automatic snapshot policy.
ApplyAutoSnapshotPolicy Applies automatic snapshot policies to one or more disks.
DeleteSnapshot Deletes a specified snapshot.
CancelAutoSnapshotPolicy Cancels the automatic snapshot policy for one or more disks.
DeleteAutoSnapshotPolicy Creates an automatic snapshot policy.
DescribeAutoSnapshotPolicyEx Describes your available automatic snapshot policies.
DescribeSnapshots Describes one or more of your available snapshots.
DescribeSnapshotLinks Describes the snapshot chains of one or more disks.
ModifyAutoSnapshotPolicyEx Creates an automatic snapshot policy.


Action Description
AllocatePublicIpAddress Assigns an Internet IP address to an instance.
ConvertNatPublicIpToEip Changes the public IP (NatPublicIp) of a VPC-Connected instance to an Elastic IP (EIP).
AttachClassicLinkVpc Links a classic network instance to a VPC, which allows the classic network instance communicating with the resources that are in the intranet of a VPC.
DetachClassicLinkVpc Unlinks a classic network-connected instance from the VPC.
DescribeBandwidthLimitation Describes a list of bandwidth resources.
DescribeClassicLinkInstances Describes one or more of your classic network-connected instances that have established ClassicLink with a VPC.
ModifyInstanceNetworkSpec Modifies the bandwidth configuration of your ECS instance.

For more information about the APIs for Virtual Private Cloud (VPC), see VPC API  References.

Security groups

Action Description
CreateSecurityGroup Creates a security group. 
AuthorizeSecurityGroup Adds an inbound rule for a security group.
AuthorizeSecurityGroupEgress Adds an outbound rule for a security group.
RevokeSecurityGroup Deletes an inbound rule from a security group.
RevokeSecurityGroupEgress Deletes an outbound rule from a security group.
JoinSecurityGroup Adds an instance to a specified security group.
LeaveSecurityGroup Removes an instance from a specified security group.
DeleteSecurityGroup Deletes a security group.
DescribeSecurityGroupAttribute Describes your security groups.
DescribeSecurityGroups Describes the basic information about your security groups, such as the security group ID and description.
DescribeSecurityGroupReferences Describes whether a specified security group has been authorized by other security group or not.
ModifySecurityGroupAttribute Modifies the properties of the specified security group, including the security group name and description.
ModifySecurityGroupPolicy Modifies the intranet communication policy of a security group.
ModifySecurityGroupRule Modifies the description of a security group inbound rule.

SSH key pair

Action Description
CreateKeyPair Creates an SSH key pair.
ImportKeyPair Imports the public key of an SSH key pair that you create with other key pair generators into one of the Alibaba Cloud regions.
AttachKeyPair Attaches an SSH key pair to one or more of your Linux instances.
DetachKeyPair Detaches an SSH key pair from one or more of your Linux instances.
DeleteKeyPairs Deletes one or more of your SSH key pairs.
DescribeKeyPairs Describes one or more of your SSH key pairs.


Action Description
CreateNetworkInterface Creates an ENI (Elastic Network Interface).
AttachNetworkInterface Attaches an ENI to a VPC-connected instance.
DetachNetworkInterface Detaches an ENI from your Instance.
DeleteNetworkInterface Deletes an ENI.
DescribeNetworkInterfaces Describes the list of your ENIs.
ModifyNetworkInterfaceAttribute Modifies the attribute of an ENI.


Action Description
DescribeDisksFullStatus Describes the lifecycle status and health status information of a disk.
DescribeDiskMonitorData Queries the monitoring data of a specified disk.
DescribeInstancesFullStatus Describes the full status information of the specified Instance.
DescribeInstanceHistoryEvents Describes the history events of a specified Instance.
DescribeInstanceMonitorData Describes all the instance-related monitoring data.


Action Description
AddTags Adds or overwrites one or more tags to your ECS resource.
RemoveTags Removes one or more tags from the specified ECS resource, such as instances, disks, snapshots, images, and security groups.
DescribeTags Describes one or more of your available tags.

Cloud assistant

Action Description
CreateCommand Creates a cloud assistant command.
InvokeCommand Performs a specified command on the target Instances.
StopInvocation Stops cloud assistant command processes that are in Running status for one or more instances.
DeleteCommand Deletes a created cloud assistant command.
DescribeCommands Describes the cloud assistant commands that you have created.
DescribeInvocations Describes the cloud assistant command invocation list and status on your Instances.
DescribeInvocationResults Describes the invocation result of a cloud assistant command. The actual output information of a specified instance is returned.
ModifyCommand Modifies the parameters and content of a cloud assistant command.


Action Description
CancelTask Cancels a specified active task.
DescribeAvailableResource Describes a list of the resources available in a certain zone.
DescribeResourcesModification Describes a list of the resources available in a certain zone.
DescribeTasks Describes the progress of a specified asynchronous request.
DescribeTaskAttribute Describes the details about one or more tasks.  Currently, the tasks that can be queried are the importing image action ImportImage and the exporting image action ExportImage.

Regions and zones

Action Description
DescribeRegions Describes the latest Alibaba Cloud regions that are available to you.
DescribeZones Describes the zones that are available to you in a specified region.