Convert the public IP of an ECS instance with a VPC network type to an elastic public IP

坏嘻嘻
Release: 2018-09-26 11:23:33
Original
3228 people have browsed it

The content of this article is about converting the public IP of an ECS instance with a private network VPC to an elastic public IP. It has certain reference value and friends in need can refer to it. I hope it helps you.

ConvertNatPublicIpToEip

Description

When calling this interface, you need to pay attention:

Only supports VPC Network type ECS instance.

Only supports ECS instances whose status is Stopped or Running.

Instances with a public network bandwidth of 0 Mbps are not supported. At this time, the ECS instance is not assigned a public network IP (NatPublicIp).

ECS instances that have been bound to an EIP are not supported.

ECS instances with configuration changes that have not taken effect are not supported.

ECS instances that are about to expire within 24 hours are not supported.

After the public IP (NatPublicIp) is converted to EIP, the EIP will be billed separately. For the EIP billing method, please refer to the EIP billing instructions.

Prepaid (yearly and monthly) ECS instances whose public network bandwidth is billed based on fixed bandwidth are not supported.

Request parameters

Convert the public IP of an ECS instance with a VPC network type to an elastic public IP

##Return parameters

are all public return parameters. See Public Return Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=ConvertNatPublicIpToEip
&RegionId=cn-hangzhou
&InstanceId=i-test
&<公共请求参数>
Copy after login

Return example

XML format

<ConvertNatPublicIpToEipResponse>
    <RequestId>B154D309-F3E1-4AB7-BA94-FEFCA8B89001</RequestId>
</ConvertNatPublicIpToEipResponse>
Copy after login

JSON format

{
   "RequestId":"B154D309-F3E1-4AB7-BA94-FEFCA8B89001"
}
Copy after login

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

Convert the public IP of an ECS instance with a VPC network type to an elastic public IP

The above is the detailed content of Convert the public IP of an ECS instance with a VPC network type to an elastic public IP. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template