--- title: "createPublicIpInstance" slug: "compute-server-createpublicipinstance" tags: ["Server", "Public IP"] updated: 2026-09-17T10:06:00Z published: 2026-09-17T10:06:00Z canonical: "api.ncloud-docs.com/compute-server-createpublicipinstance" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # createPublicIpInstance ## Overview Creates public IP instances. ## Request ### Request parameters | Parameter name | Required | Type | Restrictions | Description | | --- | --- | --- | --- | --- | | serverInstanceNo | No | String | | - Number of server instance for which to create and assign a public IP address serverInstanceNo that can be assigned a public IP can be obtained through the getPublicIpTargetServerInstanceList action. | | publicIpDescription | No | String | Min: 1, Max: 1000 | Public IP description | | regionNo | No | String | | - Region number regionNo where the public IP will be created is can be obtained through the getRegionList action. | | zoneNo | No | String | | - Zone number zoneNo where the public IP will be created can be obtained through the getZoneList action. Default: Select the first zone of the Region. | | responseFormatType | No | String | | - Format type of the response result Options: xml \| json Default: xml | ## Response ### Response body - [PublicIpInstanceList](/docs/en/common-apidatatype-publicipinstancelist) ## Examples ### Request example ``` GET {SERVER_API_URL}/createPublicIpInstance ``` ### Response example ``` 2f8ca49e-0532-43f2-884d-d7f8a737cac4 0 success 1 1089236 49.236.137.138 2018-11-28T14:38:55+0900 created CREAT NET CREATE state NULL NET NULL OP GEN General 3 KR-2 KR-2 Pyeongchon zone 1 ``` ## Errors Errors that may occur while using this action are listed below. For more information about common errors, see [NAVER Cloud Platform API](/docs/en/common-ncpapi-index). | HTTP Response Code | Return code | Return message | | --- | --- | --- | | 400 | 10101 | Unable to request for public IP. You may request as many public IPs as the number of server in possession. | | 400 | 24300 | The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes. | | 400 | 24094 | The line for internet access of server does not correspond with which of Public IP. | | 400 | 25101 | The server is currently being operated. so public IP is unable to be associated with the server. | | 400 | 28100 | Another public IP is already associated with the server. |