Working with task executions - AWS DataSync

Working with task executions

In this section, you can find information about how to work with task executions in AWS DataSync.

A task execution is an individual run of a task, which includes information such as start time, end time, bytes written, and status.

After a task execution starts, you can monitor its progress, add or adjust bandwidth throttling for it, or cancel it before it completes.

Adjusting bandwidth throttling for a task execution

You can modify bandwidth throttling for a task execution using the AWS Management Console or the DataSync API. For information about using the API, see UpdateTaskExecution.

To modify bandwidth throttling

  1. Open the AWS DataSync console at https://console.aws.amazon.com/datasync/.

  2. In the navigation pane, choose Tasks.

  3. Select the Task ID for the running task that you want to monitor. Using the console, you can modify any task execution that is currently running or that is queued. For more information about task execution status, see Understanding task execution statuses.

  4. Choose History to view task execution instances.

  5. Select the active task execution to be modified.

  6. For Action, choose Edit.

  7. In the Edit Task Execution dialog box that appears, choose Use available to remove bandwidth throttling and use all available bandwidth for the task execution.

    Choose Set bandwidth limit (MIB/s) to change the bandwidth limit.

    To save changes to your task execution's bandwidth limit, choose Save changes. The new bandwidth limit setting goes into effect on the running or queued task execution within 60 seconds.

Canceling a task execution

Using the console, you can cancel any task execution that is currently running or that is queued. You can also cancel a task execution using the API. For more information, see CancelTaskExecution.

For information about task execution statuses, see Understanding task execution statuses.

To cancel a task execution

  1. Open the AWS DataSync console at https://console.aws.amazon.com/datasync/.

  2. In the navigation pane, choose Tasks.

  3. Select the Task ID for the running task that you want to monitor. The Status should be Running.

  4. Choose History to view task execution instances. For information about task execution statuses, see Understanding task execution statuses.

  5. Select the active task execution to be stopped.

  6. For Action, choose Stop.

  7. In the Stop Task Execution dialog box that appears, choose Confirm to stop the task execution.

Monitoring a task execution using CloudWatch

Your task execution generates detailed Amazon CloudWatch metrics, logs, and events. To learn more about the monitoring information available through CloudWatch, see Monitoring your task.