---
title: "recreateServerInstance"
slug: "cli-server-recreateserverinstance"
tags: ["Server"]
updated: 2026-09-17T10:08:35Z
published: 2026-09-17T10:08:35Z
canonical: "cli.ncloud-docs.com/cli-server-recreateserverinstance"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.
# recreateServerInstance
## Overview
Re-creating a server instance
## Description
Recreate a server instance (VM)
## Request Parameters
| Parameter Name | Requiredness | Type | Limitation | Description |
| --- | --- | --- | --- | --- |
| serverInstanceNo | Yes | String | Repeat not allowed | Server instance number to recreate |
| serverInstanceName | No | String | | Name to be changed after Recreating Default : Existing server name |
| serverImageProductCode | Yes | String | | It can be obtained through the getServerImageProductList action Only baremetal server image can be entered. |
| userData | No | String | Min:1, Max:21847 | Server helps a user data script to be executed which is configured by the user at the first booting. If you want to see the corresponding column, you should search only a specific instance by calling getServerInstanceList to get it returned. Base64 Encoding and URL Encoding are necessary before putting userData values. If you fail to execute URL Encoding again with base64, encoded result, a signature invalid error may occur. ex) file://directory1/directory2/*.sh ex) https://{OBJECT_STORAGE_URL}/.sh |
| instanceTagList.tagKey | No | String | | When creating a server, you can set instanceTagList. tag key |
| instanceTagList.tagValue | No | String | | When creating a server, you can set instanceTagList. tag value |
| isVaccineInstall | No | Boolean | | When creating a server, you can set yes or no to install vaccine. (only windows baremetal server) default value is yes. |
## Response Data Type
- ServerInstanceList type
| ServerInstanceList extends CommonResponse |
| --- |
| private Integer totalRows; |
| private List serverInstanceList = new ArrayList(); |
| ServerInstance |
| --- |
| private String serverInstanceNo; |
| private String serverName; |
| private String serverDescription; |
| private Integer cpuCount; |
| private Long memorySize; |
| private Long baseBlockStorageSize; |
| private CommonCode platformType; |
| private String loginKeyName; |
| private Boolean isFeeChargingMonitoring; |
| private String publicIp; |
| private String privateIp; |
| private String serverImageName; |
| private CommonCode serverInstanceStatus; |
| private CommonCode serverInstanceOperation; |
| private String serverInstanceStatusName; |
| private Date createDate; |
| private Date uptime; |
| private String serverImageProductCode; |
| private String serverProductCode; |
| private Boolean isProtectServerTermination; |
| private String portForwardingPublicIp; |
| private Integer portForwardingExternalPort; |
| private Integer portForwardingInternalPort; |
| private Zone zone; |
| private Region region; |
| private CommonCode baseBlockStorageDiskType; |
| private CommonCode baseBlockStorageDiskDetailType; |
| private CommonCode serverInstanceType |
| private String userData; |
| private String initScriptNo; |
| private List accessControlGroupList; |
| private List instanceTagList; |
| private List blockDevicePartitionList; |
## Examples
### Request
```
ncloud server recreateServerInstance --serverInstanceNo 397364
```
### Response
```
{
"recreateServerInstancesResponse": {
"requestId": "4edb4864-24b0-4ffc-80ee-9d0badc5f124",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"serverInstanceList": [
{
"serverInstanceNo": "397364",
"serverName": "ncloud-mktest3",
"serverDescription": "",
"cpuCount": 1,
"memorySize": 2147483648,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "ysw",
"isFeeChargingMonitoring": false,
"publicIp": "",
"privateIp": "10.113.245.164",
"serverImageName": "centos-7.3-64",
"serverInstanceStatus": {
"code": "RUN",
"codeName": "Server RUN State"
},
"serverInstanceOperation": {
"code": "RESTA",
"codeName": "Server RESTART OP"
},
"serverInstanceStatusName": "rebooting",
"createDate": "2018-02-23T15:44:59+0900",
"uptime": "2018-02-23T15:55:55+0900",
"serverImageProductCode": "SPSW0LINUX000046",
"serverProductCode": "SPSVRSTAND000003",
"isProtectServerTermination": false,
"portForwardingPublicIp": "192.168.120.111",
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneDescription": "KR-1 zone"
},
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "Korea"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"baseBlockStroageDiskDetailType": {
"code": "HDD",
"codeName": "HDD"
},
"serverInstanceType": {
"code": "STAND",
"codeName": "Standard"
},
"userData": "",
"initScriptNo": "",
"accessControlGroupList": [
{
"accessControlGroupConfigurationNo": "1038",
"accessControlGroupName": "ncloud-default-acg",
"accessControlGroupDescription": "Default AccessControlGroup",
"isDefault": true,
"createDate": "2013-12-03T10:37:39+0900"
}
]
}
]
}
}
```
```
4edb4864-24b0-4ffc-80ee-9d0badc5f124
0
success
1
397364
ncloud-mktest3
1
2147483648
53687091200
LNX64
Linux 64 Bit
ysw
false
10.113.245.164
centos-7.3-64
RUN
Server RUN State
RESTA
Server RESTART OP
rebooting
2018-02-23T15:44:59+0900
2018-02-23T15:55:55+0900
SPSW0LINUX000046
SPSVRSTAND000003
false
192.168.120.111
2
KR-1
KR-1 zone
1
KR
Korea
NET
Network Storage
HDD
HDD
STAND
Standard
1038
ncloud-default-acg
Default AccessControlGroup
true
2013-12-03T10:37:39+0900
```