You can use the EASCMD client to manage Elastic Algorithm Service (EAS) services. This topic describes how to download the client and authenticate your identity.
Procedure
Download the EASCMD client.
The following are the download links for each client version:
Optional: Run the following command to make the downloaded client file executable. If you downloaded the 64-bit Windows version, skip this step.
chmod +x <eascmd64>Replace <eascmd64> with the filename of the downloaded client.
Authenticate your identity using the AccessKey pair of your Alibaba Cloud account.
The authentication command varies depending on the client version:
If you downloaded the 64-bit Windows version, run the following command in the directory where the client file is located.
eascmdwin64.exe config -i <yourAccessKeyID> -k <yourAccessKeySecret> [-e Endpoint]If you downloaded another version, run the following command in the directory where the client file is located.
./<eascmd64> config -i <yourAccessKeyID> -k <yourAccessKeySecret> [-e Endpoint]
Replace the following parameters as needed.
Parameter
Description
<eascmd64>
The name of the downloaded client file.
<yourAccessKeyID>
The AccessKey ID of your Alibaba Cloud account.
<yourAccessKeySecret>
The AccessKey secret of your Alibaba Cloud account.
Endpoint
The default region for EAS services is China (Shanghai). To deploy the model to another region, use the -e parameter to specify the endpoint of that region. For a list of endpoints, see Service endpoints. For example, if the client file is named eascmd64, you can use the following command to specify the China (Beijing) region.
./eascmd64 config -i <yourAccessKeyID> -k <yourAccessKeySecret> -e pai-eas.cn-beijing.aliyuncs.comIf the authentication is successful, the system returns output similar to the following:
# The save path varies by operating system. Configuration saved to: /Users/test/.eas/config
References
After you download and authenticate the client, you can use commands to create or manage services. For more information, see Command reference.
You can also use the console to create or manage services. For more information, see Custom deployment.