检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
What Should I Do If an ECS Error Occurs When I Create and Deploy a Component on a VM? Symptom The ECS service may be unavailable when you create and deploy a component on a ServiceStage VM.
For details, see Purchasing an ECS in Custom Config Mode. The VPC to which the ECS belongs is the one created in 1. Create a bucket for storing software packages. For details, see Creating a Bucket.
ServiceStage also allows you to configure log settings of a component deployed on an ECS bound to the environment using a VM and collect the component run logs to LTS for viewing and processing. Configuring Log Settings of a VM-Deployed Component Choose Log Settings.
Upgrading The VM agent has been installed on the ECS node and is being upgraded. Upgrade failed The VM agent has been installed on the ECS node and fails to be upgraded. Agent restarting The VM agent has been installed on the ECS node and is restarting.
Environment Overview An environment is a collection of basic compute (such as cluster and ECS), network (such as ELB and EIP), and middleware (such as DCS and RDS) resources, used for component deployment and running.
Solution Log in to the ECS console and click Elastic Cloud Server. In the ECS list, find the target ECS for deploying the component and click it to open its details page.
Table 6 schemas Parameter Type Description id String Resource ID. name String Resource name. type String Resource type. eip elb cce ecs as cse dcs rds gaussdb dms_rocketmq css_es: Elasticsearch Example Request Modify the ECS whose ID is 67835bb3-1235-4cc9-be71-becbb2b4ca0d and name
Glossary Environment An environment is a collection of basic compute (such as CCE and ECS), network (such as ELB and EIP), and middleware (such as DCS and RDS) resources, used for component deployment and running.
Type Name Variable/Variable Reference Add manually MOCK_ENABLED true: If no EIP is bound to the ECS node in the CCE cluster created in Preparing Resources or the node cannot access the public network, set this parameter to true.
Example Request Add ECS basic resource ecs-9876 and CSE optional resource Cloud Service Engine, and remove ECS resource test. { "add_base_resources": [ { "id": "ed2f3420-7031-4d93-b92b-e360cd4acf9e", "type": "ecs", "name": "ecs-9876" } ], "add_optional_resources":
Creating and Managing an Environment Scenarios An environment is a collection of basic compute (such as CCE and ECS), network (such as ELB and EIP), and middleware (such as DCS and RDS) resources, used for component deployment and running.
Deploying a Microservice Using Source Code Scenarios ServiceStage allows you to quickly deploy microservices in containers (such as CCE) or VMs (such as ECS), and supports source code deployment, JAR/WAR package deployment, and Docker image package deployment.
Solution Log in to the ECS console and click Elastic Cloud Server. In the ECS list, search the ECS IDs in the error information to find the ECSs where the components are deployed. Check whether each of their status is Running. If yes, go to 2 and search for the next ECS.
Choose Elastic Cloud Server and click the ECS whose VM agent is offline. In the Management Information area of the Basic Information tab page, view the IAM agency bound to the ECS. Log in to the Identity and Access Management (IAM) console.
Choose Elastic Cloud Server and click the ECS whose VM agent is offline. In the Management Information area of the Basic Information tab page, view the IAM agency bound to the ECS. Log in to the Identity and Access Management (IAM) console.
Each cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory. The AZ of the ECS nodes in the cluster must be the same as that of the master nodes in the CCE cluster.
Response { "resources": [ { "id": "67835bb3-1235-4cc9-be71-becbb2b4ca0d", "type": "ecs", "name": "ecs-a5a9" } ] } Status Code Status Code Description 200 OK 400 Bad Request 404 Not Found 500 Internal Server Error Error Code
ServiceStage billing does not include computing resources (Cloud Container Engine (CCE) and Elastic Cloud Server (ECS)), network resources (Elastic Load Balance (ELB) and Elastic Public Network EIP)), middleware (Cloud Service Engine (CSE), Distributed Cache Service (DCS), and Cloud
Table 4 parameters Parameter Mandatory Type Description replica No Integer Number of instances, which is mandatory when action is set to scale. hosts No Array ECS ID list.
Click Add ECS and create an ECS to run new component instances. For details, see Purchasing a Custom ECS. Only 64-bit Linux hosts in the Running state are supported. Ensure that the following inbound rule has been added to the security group of the host node.