An asynchronous task runs in the background without blocking other operations. This improves system efficiency and responsiveness. ECS records asynchronous or long-running tasks performed on ECS instances, such as importing or exporting images, changing cloud disk types, performing automatic data backups, and installing ECS extensions, in task management. On this page, you can delete asynchronous tasks or cancel tasks that are in progress.
Task types
ECS supports the following types of asynchronous tasks.
-
Export image
This task exports a custom image from an ECS instance to a bucket. For more information, see Export a custom image.
-
Import image
This task imports a local image file to Alibaba Cloud to create a custom image. For more information, see Import a custom image.
-
Change cloud disk type
This task changes the type of a cloud disk. For more information, see Change the type of a disk.
-
Automatic data backup
This task periodically creates snapshots of an instance's cloud disks to automatically back up data. You can create a backup task by navigating to Instance>Scheduled Automated Tasks>Creates snapshots for multiple ECS instances at the scheduled time.
-
Redeploy ECS instance
A system event, such as SystemMaintenance.Redeploy for system maintenance or SystemFailure.Redeploy for a system error, triggers this task to redeploy an ECS instance. For more information, see ECS system events.
-
Create renewal order
Use this task to renew more than 70 subscription instances at once. For more information, see Renew subscription instances.
-
Export instance data
This task exports the configuration properties of all or selected instances. You can create this task by clicking Export on the Instance page.
-
Set automatic renewal after converting to subscription
This task converts a pay-as-you-go ECS instance to a subscription instance and enables automatic renewal. For more information, see Convert a pay-as-you-go instance to a subscription instance and Enable automatic renewal.
-
Install ECS extension
This task uses OOS extensions to install various types of software. For more information, see OOS extensions.
Procedure
Go to the ECS console - Task Management page.
-
In the upper-left corner of the page, select the task's region.
-
View and manage asynchronous tasks.
On the task management page, the task list displays the Task ID, Task Type, Status, Start Time, End Time, and Actions columns. A task can be in the Completed or In Progress state. You can Trigger Now, Cancel Task, or Delete Task.
References
You can call the following API operations to query the list and details of ECS asynchronous tasks:
-
OOS schedules and executes tasks such as automatic data backup, exporting instance data, setting automatic renewal after converting to subscription, and installing an ECS extension. To query the execution details of these ECS tasks, call the OOS API operation ListExecutions and set the Tag parameter to
ECS_OOS_EXECUTION.