All Products
Search
Document Center

CloudOps Orchestration Service:Download files to instances in batches

Last Updated:Jun 16, 2026

CloudOps Orchestration Service (OOS) allows you to download files to multiple Elastic Compute Service (ECS) instances in a single operation. You can download files over HTTPS or from Object Storage Service (OSS).

Scenario 1: Download files over HTTPS

Prerequisites

An ECS instance with public network access is available. Create an instance, Enable the public network.

Procedure

  1. Go to the CloudOps Orchestration Service - Common O&M Tasks - Batch Instance Operations page.

  2. Click Create to go to the Create Batch Instance Operation Task page.

  3. For Task Type, select Batch Download Files. Configure the required parameters, such as file type and instance selection. Then, click Create.image.png

  4. After the task is complete, click Details to view the execution results.

    批量下载-zh

Scenario 2: Download files from OSS

Prerequisites

Each target instance must have an instance RAM role with read permissions on OSS.

Procedure

  1. Create a RAM role and grant permissions to it.

    1. Go to the Resource Access Management (RAM) - Create Role page.

    2. On the Create Role page, select Alibaba Cloud Service for Principal Type, select a specific Alibaba Cloud service, and then click OK.

      image

      Note

      The Alibaba Cloud services that you can select for Principal Name are determined by the options displayed in the console. In this example, ECS is selected.

    3. In the Create Role dialog box, enter a Role Name, such as InstanceRole, and then click OK.

    4. Add OSS read permissions to the InstanceRole RAM role, and then click Grant Permissions.

      By default, a new RAM role has no permissions. You must manage permissions for a RAM role. Add the AliyunOSSReadOnlyAccess policy, which grants read-only access to OSS, to the InstanceRole role.

      新增权限

    5. Confirm that the permissions are granted, and then click Completed.

  2. Download files to ECS instances from the OOS console.

    1. Go to the CloudOps Orchestration Service - Common O&M Tasks - Batch Instance Operations page.

    2. Click Create to go to the Create Batch Instance Operation Task page.

    3. For Task Type, select Instance Operations. For Operation to be Performed, select Add Role. Configure the Role Name, select the target instances, and then click Create.

      piliang

    4. On the Confirm Parameters page, click OK.

    5. On the Create Batch Instance Operation Task page, select Batch Download Files for Task Type. Configure the relevant parameters, select the target instances, and then click Create.

      20pol

    6. After the task is complete, click Details to view the execution results.

      执行成功