RunInstances
Create multiple ECS instances simultaneously on AlibabaCloud for efficient application deployment, scaling, and high-availability setups.
Instructions
批量创建ECS实例,适用于需要同时创建多台ECS实例的场景,例如应用部署和高可用性场景。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Amount | No | Number of ECS instances | |
ImageId | Yes | Image ID | |
InstanceName | No | Instance Name | |
InstanceType | Yes | Instance Type | |
RegionId | No | AlibabaCloud region ID | cn-hangzhou |
SecurityGroupId | Yes | SecurityGroup ID | |
VSwitchId | Yes | VSwitch ID |
Input Schema (JSON Schema)
{
"properties": {
"Amount": {
"default": 1,
"description": "Number of ECS instances",
"title": "Amount",
"type": "integer"
},
"ImageId": {
"description": "Image ID",
"title": "Imageid",
"type": "string"
},
"InstanceName": {
"default": "",
"description": "Instance Name",
"title": "Instancename",
"type": "string"
},
"InstanceType": {
"description": "Instance Type",
"title": "Instancetype",
"type": "string"
},
"RegionId": {
"default": "cn-hangzhou",
"description": "AlibabaCloud region ID",
"title": "Regionid",
"type": "string"
},
"SecurityGroupId": {
"description": "SecurityGroup ID",
"title": "Securitygroupid",
"type": "string"
},
"VSwitchId": {
"description": "VSwitch ID",
"title": "Vswitchid",
"type": "string"
}
},
"required": [
"ImageId",
"InstanceType",
"SecurityGroupId",
"VSwitchId"
],
"title": "RunInstancesArguments",
"type": "object"
}