Available in VPC
Create a server instance (VM).
Syntax
The createServerInstances syntax is as follows:
./ncloud vserver createServerInstances \
--vpcNo <vpc-no> \
--subnetNo <subnet-no> \
--networkInterfaceList <network-interface-config> \
--memberServerImageInstanceNo <member-image-no> | --serverImageNo <image-no> | --serverImageProductCode <image-product-code> \
[--serverSpecCode <server-spec-code>] \
[--serverProductCode <server-product-code>] \
[--raidTypeName <raid-type-name>] \
[--blockDevicePartitionList <block-device-partition-config>] \
[--blockStorageMappingList <block-storage-mapping-config>] \
[--isEncryptedBaseBlockStorageVolume <true|false>] \
[--feeSystemTypeCode <MTRAT|FXSUM>] \
[--serverCreateCount <count>] \
[--serverCreateStartNo <start-no>] \
[--serverName <server-name>] \
[--placementGroupNo <placement-group-no>] \
[--isProtectServerTermination <true|false>] \
[--serverDescription <description>] \
[--initScriptNo <init-script-no>] \
[--loginKeyName <login-key-name>] \
[--associateWithPublicIp <true|false>] \
[--fabricClusterPoolNo <fabric-cluster-pool-no>] \
[--isPreInstallGpuDriver <true|false>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running createServerInstances.
Required options
The following options are required for createServerInstances.
| Options | Type | Required | Description |
|---|---|---|---|
--vpcNo |
String | Required | VPC number
|
--subnetNo |
String | Required | Subnet number
|
--networkInterfaceList |
List | Required | List of network interfaces
|
--memberServerImageInstanceNo |
String | Conditional | Server image instance number
|
--serverImageNo |
String | Conditional | Server image number
|
--serverImageProductCode |
String | Conditional | Server image product code
|
--serverSpecCode |
String | Conditional | Server spec code
|
--raidTypeName |
String | Conditional | RAID type name
|
Optional options
These are the optional options for createServerInstances. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--serverProductCode |
String | Optional | Server product code
serverSpecCode. |
--blockDevicePartitionList |
List | Optional | List of block device partitions
|
--blockStorageMappingList |
List | Optional | Block storage mapping list
|
--isEncryptedBaseBlockStorageVolume |
Boolean | Optional | Whether to encrypt the default block storage volume
|
--feeSystemTypeCode |
String | Optional | Pricing plan type code
|
--serverCreateCount |
Integer | Optional | Number of created servers
|
--serverCreateStartNo |
Integer | Optional | Server creation start number
|
--serverName |
String | Optional | Server name
|
--placementGroupNo |
String | Optional | Physical placement group number
|
--isProtectServerTermination |
Boolean | Optional | Termination protection status
|
--serverDescription |
String | Optional | Server description (byte)
|
--initScriptNo |
String | Optional | Init script number
|
--loginKeyName |
String | Optional | Authentication key name
|
--associateWithPublicIp |
Boolean | Optional | Whether to create and assign a new public IP
|
--fabricClusterPoolNo |
String | Optional | Fabric cluster pool number |
--isPreInstallGpuDriver |
Boolean | Optional | Whether to pre-install GPU driver
|
Common options
For information about the options common to all vserver subcommands, see Server (VPC) options.
Examples
If the server instance creation request is successful, the server instance's identification information and initial state are returned.
Command
The command example is as follows:
./ncloud vserver createServerInstances \
--vpcNo 12345678 \
--subnetNo 23456789 \
--networkInterfaceList "networkInterfaceOrder='0', accessControlGroupNoList=['67890123']" \
--serverImageProductCode SW.VSVR.OS.LNX64.ROCKY.0810.B050 \
--serverProductCode SVR.VSVR.HICPU.C002.M004.NET.SSD.B050.G002 \
--serverName test-server-01 \
--loginKeyName test-server-instance-key-01 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"createServerInstancesResponse": {
"totalRows": 1,
"serverInstanceList": [
{
"serverInstanceNo": "34567890",
"serverName": "test-server-01",
"cpuCount": 2,
"memorySize": 4294967296,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "test-server-instance-key-01",
"serverInstanceStatus": {
"code": "INIT",
"codeName": "Server INIT status"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "init",
"createDate": "2026-05-14T17:29:35+0900",
"uptime": "2026-05-14T17:29:35+0900",
"serverImageProductCode": "SW.VSVR.OS.LNX64.ROCKY.0810.B050",
"serverProductCode": "SVR.VSVR.HICPU.C002.M004.NET.SSD.B050.G002",
"isProtectServerTermination": false,
"zoneCode": "KR-1",
"regionCode": "KR",
"vpcNo": "12345678",
"subnetNo": "null",
"networkInterfaceNoList": [],
"serverInstanceType": {
"code": "HICPU",
"codeName": "High-CPU"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network storage"
},
"baseBlockStorageDiskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"hypervisorType": {
"code": "XEN",
"codeName": "XEN"
},
"serverImageNo": "45678901",
"serverSpecCode": "c2-g2-s50",
"eventList": [],
"isPreInstallGpuDriver": false
}
],
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnCode": "0",
"returnMessage": "success"
}
}