RunInstances
Enables bulk creation of ECS instances in Alibaba Cloud, ideal for scenarios like application deployment or high-availability setups. Specify region, image, instance type, security group, and VSwitch to deploy multiple instances efficiently.
Instructions
批量创建ECS实例,适用于需要同时创建多台ECS实例的场景,例如应用部署和高可用性场景。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Amount | No | 创建数量 | |
ImageId | Yes | 镜像ID | |
InstanceName | No | 实例名称 | |
InstanceType | Yes | 实例规格 | |
RegionId | No | AlibabaCloud region ID | cn-hangzhou |
SecurityGroupId | Yes | 安全组ID | |
VSwitchId | Yes | 交换机ID |
Input Schema (JSON Schema)
{
"properties": {
"Amount": {
"default": 1,
"description": "创建数量",
"title": "Amount",
"type": "integer"
},
"ImageId": {
"description": "镜像ID",
"title": "Imageid",
"type": "string"
},
"InstanceName": {
"default": "",
"description": "实例名称",
"title": "Instancename",
"type": "string"
},
"InstanceType": {
"description": "实例规格",
"title": "Instancetype",
"type": "string"
},
"RegionId": {
"default": "cn-hangzhou",
"description": "AlibabaCloud region ID",
"title": "Regionid",
"type": "string"
},
"SecurityGroupId": {
"description": "安全组ID",
"title": "Securitygroupid",
"type": "string"
},
"VSwitchId": {
"description": "交换机ID",
"title": "Vswitchid",
"type": "string"
}
},
"required": [
"ImageId",
"InstanceType",
"SecurityGroupId",
"VSwitchId"
],
"title": "RunInstancesArguments",
"type": "object"
}