edit-icon download-icon

Use Shell script

Last Updated: Apr 08, 2018

Alibaba Cloud CLI is a tool for the unified management and configuration of Alibaba Cloud resources. After you install and configure Alibaba Cloud CLI, you can use it to manage multiple Alibaba Cloud products and services simultaneously.

To facilitate your use of Alibaba Cloud CLI, we have compiled a script integrating common operations. This document shows how to run the sample Shell script in the Linux operating system.

  1. Install and configure Alibaba Cloud CLI.

    For more information about the installation and configuration procedures, see Alibaba Cloud CLI installation guide (Linux/UNIX/Mac OS) and Configuration of Alibaba Cloud CLI.

  2. Click here to download the script.

  3. Run the following command to extract the downloaded script package.

    1. tar zxvf ecs.tar.gz
    2. sh ecs.sh
  4. Select the operation that you want to perform:

    • The following figure shows the operations that you can select in the first directory:

      shell 1

    • The following figure shows the operations that you can select in the second directory:

      shell 2

Thank you! We've received your feedback.