All Products
Search
Document Center

Platform For AI:Download the EASCMD client and complete identity authentication

Last Updated:Apr 07, 2024

You can use the EASCMD client to manage services in Elastic Algorithm Service (EAS) of Platform for AI (PAI). This topic describes how to download the EASCMD client and complete identity authentication.

Procedure

  1. Download the EASCMD client.

    Different versions of the EASCMD client are provided. You can click one of the following links to download the EASCMD client based on your business requirements:

  2. Optional: In the command-line interface (CLI), run the following command to change the downloaded client file to an executable file. If you download the EASCMD client of Windows 64, you can skip this step.

    chmod +x <eascmd64>

    In the command, <eascmd64> indicates the name of the download client file. Change eascmd64 to the name of your client file.

  3. Use the AccessKey pair of your Alibaba Cloud account to complete identity authentication.

    The authentication command varies based on the client version.

    • If you download the EASCMD client of Windows 64, run the following command in the CLI of Windows:

      eascmdwin64.exe config -i <yourAccessKeyID> -k <yourAccessKeySecret> [-e Endpoint]
    • If you download the EASCMD client of another operating system, run the following command in the CLI of the specific operating system:

      ./<eascmd64> config -i <yourAccessKeyID> -k <yourAccessKeySecret> [-e Endpoint]

    Configure the parameters that are described in the following table based on your requirements.

    Parameter

    Description

    <eascmd64>

    The name of the client file that is downloaded based on your system environment.

    <yourAccessKeyID>

    The AccessKey ID of your Alibaba Cloud account.

    <yourAccessKeySecret>

    The AccessKey secret of your Alibaba Cloud account.

    Endpoint

    By default, the EAS endpoint of the China (Shanghai) region is used. If you want to deploy your model in another region, you can use the -e parameter to specify the endpoint of the related region. For more information, see List Mode. For example, the name of the client file is eascmd64. You can run the following command to specify the endpoint of the China (Beijing) region:

    ./eascmd64 config -i <yourAccessKeyID> -k <yourAccessKeySecret> -e pai-eas.cn-beijing.aliyuncs.com
  4. Check the authentication result. If the authentication is successful, the system displays information similar to the following result:

    Configuration saved to: /Users/test/.eas/config

References