Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to convert the public network IP of an ECS instance whose network type is proprietary network VPC into elastic public network IP

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to convert the public network IP of an ECS instance whose network type is a proprietary network VPC into an elastic public network IP. The editor finds it very practical, so I share it with you as a reference. I hope you can get something after reading this article.

ConvertNatPublicIpToEip

Description

When calling this interface, you need to be aware of:

Only ECS instances of VPC network type are supported.

Only ECS instances with a status of stopped (Stopped) or running (Running) are supported.

An instance with a public network bandwidth of 0 Mbps is not supported. No public network IP (NatPublicIp) is assigned to the ECS instance.

ECS instances that are already bound to EIP are not supported.

ECS instances of change configuration tasks that are not in effect are not supported.

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

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

Prepaid (annual or monthly) ECS instances whose public network bandwidth is billed by fixed bandwidth are not supported.

Request parameter

Return parameters

All are common return parameters. See common return parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=ConvertNatPublicIpToEip&RegionId=cn-hangzhou&InstanceId=i-test&

Return the example

XML format

B154D309-F3E1-4AB7-BA94-FEFCA8B89001

JSON format

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

Error code

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

This is about how to convert the public network IP of an ECS instance whose network type is a proprietary network VPC into an elastic public network IP. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report