ncloud_create_asg
Creates a VPC Auto Scaling Group from a launch configuration, one subnet, and 1-3 access control groups; supports load-balancer health checks and dry-run previews.
Instructions
Create a new Auto Scaling Group (VPC). Requires a launch configuration, one subnet (subnetNo) and 1-3 ACGs. vpcNo is looked up from the subnet when omitted. For load-balancer health checks set healthCheckTypeCode=LOADB with healthCheckGracePeriod and targetGroupNoList. Use dryRun=true to preview without creating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"launchConfigurationNo": "<launchConfigurationNo>",
"subnetNo": "<subnetNo>",
"accessControlGroupNoList": "<accessControlGroupNoList>",
"minSize": "<minSize>",
"maxSize": "<maxSize>"
},
"name": "ncloud_create_asg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | No | VPC number. Optional: when omitted, the tool reads it from subnetNo (ncloud_get_subnet_detail). | |
| dryRun | No | If true, returns a preview without actually creating | |
| maxSize | Yes | Maximum number of servers (0-30, ≥ minSize) | |
| minSize | Yes | Minimum number of servers (0-30, ≤ maxSize; 0 keeps no servers) | |
| subnetNo | Yes | Subnet number for the servers (a single subnet — the API takes one value) | |
| defaultCoolDown | No | Default cooldown in seconds (default 300) | |
| desiredCapacity | No | Desired number of servers (between minSize and maxSize; defaults to minSize) | |
| serverNamePrefix | No | Server name prefix (3-7 chars: lowercase letters, digits, '-'). Servers are named {prefix}-{random}. | |
| targetGroupNoList | No | Target group numbers to attach. Only valid with healthCheckTypeCode=LOADB. | |
| healthCheckTypeCode | No | Health check type: SVR (server, default) or LOADB (load balancer — requires healthCheckGracePeriod) | |
| autoScalingGroupName | No | Auto Scaling Group name (1-255 chars: lowercase letters, digits, '-'; start with a letter, end with a letter or digit; auto-generated when omitted) | |
| launchConfigurationNo | Yes | Launch configuration number to use (from ncloud_list_launch_configs) | |
| healthCheckGracePeriod | No | Health check grace period in seconds (default 300). Required when healthCheckTypeCode=LOADB. | |
| accessControlGroupNoList | Yes | ACG numbers applied to servers created by scale-out (1-3) |