What is Alibaba Cloud Command Line Interface (Alibaba Cloud CLI)

Alibaba Cloud CLI

Alibaba Cloud Command Line Interface (Alibaba Cloud CLI) is an open-source tool built on the Alibaba Cloud SDK for Go. You can use the aliyun command to interact with various Alibaba Cloud services to manage your Alibaba Cloud resources.

Alibaba Cloud CLI offers robust features for cloud resource management, allowing users to call the APIs of Alibaba Cloud using command lines, thus eliminating the need to log on to the console. The CLI integrates seamlessly with core Alibaba Cloud products such as Elastic Compute Service (ECS), Relational Database Service (RDS), and Server Load Balancer (SLB), facilitating comprehensive multi-product management from a single interface.

Compatibility with multiple versions of OpenAPI ensures that users can switch between different versions quickly and easily, providing flexibility in managing various services. The CLI also supports multiple accounts, enabling the definition of different accounts with customized execution permissions to meet hierarchical permission requirements. The command auto-completion feature, available in Linux, UNIX, and macOS environments, enhances user convenience by reducing the need to memorize complex commands.

Alibaba Cloud CLI can directly access the Alibaba Cloud product OpenAPI. You can manage and maintain your own Alibaba Cloud resources by developing shell scripts based on Alibaba Cloud CLI.

Alibaba Cloud CLI

Cloud resource management

Alibaba Cloud CLI is a management tool based on Alibaba Cloud OpenAPI. You can directly call the APIs of Alibaba Cloud using command lines. This enables you to manage and maintain your cloud resources without needing to log on to the console.

Multi-product integration

Alibaba Cloud CLI integrates the functions of core Alibaba Cloud products such as Elastic Compute Service (ECS), Relational Database Service (RDS), and Server Load Balancer (SLB). By using Alibaba Cloud CLI, you can configure and manage all your Alibaba Cloud services via the same command line interface, achieving genuine multi-product integration.

Multi-version OpenAPI compatibility

Alibaba Cloud CLI is fully compatible with the APIs of various versions of Alibaba Cloud products and services. With the Alibaba Cloud CLI tool, you can use specific commands to call the required version, allowing you to switch between different versions quickly and easily.

Multi-account support

Alibaba Cloud CLI supports multiple accounts. You can define different accounts in the Alibaba Cloud CLI tool and customize different execution permissions to meet the hierarchical permission grading requirements of your services.

Command auto-completion

In Linux, UNIX, and macOS environments, the command auto-completion function is available. This allows you to perform operations easily without needing to memorize complex product commands. However, currently, only bash/zsh shell environments support this function.

Multiple output formats

For easy viewing or collaborative programming, several output formats are supported. Currently, both JSON and table formats are available. You can select the output format according to your needs.

Online help

You can use the help command to see the currently available operations and the parameter information available for the current operation.

Multi-system support

Alibaba Cloud CLI can be installed and used on multiple operating systems, including all the major operating systems: Windows, macOS, Linux, and Unix.

Multi system support

Alibaba Cloud CLI is a versatile and powerful tool designed to streamline the management of Alibaba Cloud resources. Its ability to directly interact with Alibaba Cloud OpenAPI through command lines allows for efficient resource management without console access. The CLI's integration with core Alibaba Cloud products like ECS, RDS, and SLB facilitates comprehensive multi-product management from a single interface. Compatibility with multiple OpenAPI versions ensures flexibility, while support for multiple accounts and command auto-completion enhances user convenience and efficiency. With various output formats and robust online help features, Alibaba Cloud CLI caters to diverse operational needs. Moreover, its multi-system support ensures accessibility across all major operating systems, making it an invaluable tool for developers and administrators working within the Alibaba Cloud ecosystem.


Similar Articles