检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deploying MySQL on a CentOS ECS Create a CentOS ECS accessible to the internet. Select VNC or SSH remote login and log in to the ECS as user root. Run the following command to download the MySQL 8.0 RPM software package from the MySQL official website: wget -i -c https://dev.mysql.com
Deploying MySQL on an Ubuntu ECS Create an Ubuntu ECS accessible to the internet. Select VNC or SSH for remote login. Run the following commands to update the ECS image source: sudo apt update sudo apt upgrade Run the following command to install MySQL: sudo apt -y install mysql-server
Deploying MySQL on a Windows ECS Deploying MySQL on a Windows ECS Parent topic: Deploying a Database
Deploying MySQL on a Windows ECS Buy an ECS running the Windows operating system. On the MySQL official website, select the desired version, operating system, and download the mysql-installer-community package. Double-click the package. Select Custom and click Next. If the MySQL product
ECS DR and Backup Solution Overview Restoring Data of a Linux ECS Parent topic: Restoring ECS Data
Restoring Data of a Linux ECS If an ECS cannot be started because files are deleted by mistake, that is, system disk data is lost, you can restore data using another Linux ECS that can be started properly or using a snapshot. The detailed procedure is as follows: Stop the original
GPU ECS Best Practices Deploying an NGC Container Environment to Create a Deep Learning Development Environment Deploying a Quantized DeepSeek Model with Ollama on a Single Server (Linux) Using Ray, Docker, and vLLM to Manually Deploy a DeepSeek-R1 or DeepSeek-V3 Model on Multi-GPU
Querying Details About an ECS Function This API is used to query details about an ECS. The information that can be queried includes the ECS billing mode and whether the ECS is frozen. URI GET /v1/{project_id}/cloudservers/{server_id} Table 1 describes the parameters in the URI. Table
Changing the ECS Billing Mode Function This API is used to change the ECS billing mode. Constraints This API can only be used to change the billing mode from pay-per-use to yearly/monthly. You can batch change the billing modes of a maximum of 10 ECSs. The EIP bound to the ECS whose
Modifying ECS Details in a Batch Function This API is used to modify ECS details in a batch. Currently, only ECS names can be changed in a batch, and a maximum of 100 ECSs can be modified at a time. URI PUT /v1/{project_id}/cloudservers/server-name Table 1 describes the parameter
Adding NICs to an ECS in a Batch Function This API is used to add one or multiple NICs to an ECS. This API is an asynchronous API. After the NIC addition request is successfully delivered, a job ID is returned. This does not mean the NIC addition is complete. You need to call the
Querying Disk Attachments of an ECS Function This API is used to query disk attachments of an ECS. URI GET /v1/{project_id}/cloudservers/{server_id}/os-volume_attachments Table 1 describes the parameters in the URI. Table 1 Parameter description Parameter Mandatory Description project_id
Deleting Specified ECS Metadata Function This API is used to delete specified ECS metadata. Constraints An ECS must be in active, stopped, paused, or suspended state, which is specified by OS-EXT-STS:vm_state. URI DELETE /v1/{project_id}/cloudservers/{server_id}/metadata/{key} Table
Adding Tags to an ECS in a Batch Function This API is used to add tags to a specified ECS in a batch. The Tag Management Service (TMS) uses this API to batch manage the tags of an ECS. Constraints An ECS allows a maximum of 10 tags. This API is idempotent. During tag creation, if
Obtaining the Password for Logging In to an ECS Function This API is used to obtain the random password generated for user Administrator or the user configured in Cloudbase-Init when you use a Cloudbase-Init-enabled image to create a Windows ECS. Linux ECSs do not support this API
Deleting the Password for Logging In to an ECS Function This API is used to delete the password records generated during initial installation of a Windows ECS. After the password is deleted, you can still use your password to log in to your ECS. However, you cannot use the Get Password
Querying the EIP Associated with an ECS Scenarios This section describes how to use ECS APIs and EIP APIs to query details about the EIP associated with an ECS. Involved APIs Querying the EIP associated with an ECS involves the following APIs: Querying Details About an ECS Querying
ECS Management Through Console Permission API Action Dependencies IAM Project Enterprise Project Authorization by Instance Authorization by Tag Obtaining the address for logging in to the console using VNC POST /v2.1/{project_id}/servers/{server_id}/remote-consoles ecs:servers:createConsole
Updating ECS Metadata Configuration Function This API is used to update metadata configuration of an ECS. Constraints The ECS status (which is specified by OS-EXT-STS:vm_state) must be active, stopped, paused, or suspended. URI PUT /v1/{project_id}/cloudservers/{server_id}/metadata-options
Querying ECS Metadata Configuration Function This API is used to query the metadata configuration of an ECS. Constraints The ECS status (which is specified by OS-EXT-STS:vm_state) must be active, stopped, paused, or suspended. URI GET /v1/{project_id}/cloudservers/{server_id}/metadata-options