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

A method to improve network performance by modifying instance bandwidth configuration when the existing network specifications of an instance do not meet the requirements

2025-02-28 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 improve network performance by modifying the bandwidth configuration of an instance when the existing network specifications do not meet the requirements. The editor finds it very practical, so I share it for you as a reference. I hope you can get something after reading this article.

ModifyInstanceNetworkSpec

Description

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

When modifying the bandwidth configuration of a prepaid (PrePaid) instance:

The billing method can be upgraded or downgraded to the bandwidth of PayByTraffic.

You can only upgrade the billing method to fixed bandwidth (PayByBandwidth).

When the public network outbound bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbps to a non-zero value, a public network IP is automatically allocated.

You can convert the bill-by-bandwidth method by usage traffic (PayByTraffic) to by fixed bandwidth (PayByBandwidth) through this API.

You can only convert the billing method by fixed bandwidth (PayByBandwidth) to traffic by usage (PayByTraffic) through the ECS Management console.

When modifying the bandwidth configuration of a pay-per-view (PostPaid) instance:

Bandwidth can be upgraded or downallocated.

When the public network outbound bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbps to a non-zero value, the public network IP will not be automatically allocated. You need to call AllocatePublicIpAddress to assign the public network IP to the instance.

The billing method of bandwidth can be converted from PayByTraffic to PayByBandwidth.

The billing method of bandwidth can be converted from fixed bandwidth (PayByBandwidth) to traffic by usage (PayByTraffic).

For classic network (Classic) instances, when the public network outbound bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbps to a non-zero value, the instance must be in a stopped (Stopped) state.

After upgrading the bandwidth, the default is automatically deducted. You need to make sure that the account balance is sufficient, otherwise an abnormal order will be generated and the order can only be cancelled at this time. If your account balance is insufficient, you can set the parameter AutoPay to false, and a normal unpaid order will be generated, and you can log in to the ECS Management console to pay.

Each prepaid instance cannot reduce the public network bandwidth more than three times, that is, the price difference will not be refunded more than three times.

The refund of the price difference before and after the modification of the bandwidth configuration will be returned to your original payment method, and the used vouchers will not be returned.

For every successful operation of a single instance, the operation cannot continue within five minutes.

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=ModifyInstanceNetworkSpec&RegionId=cn-hangzhou&InstanceId=i-xxxxx1&InternetMaxBandwidthOut=10&ClientToken=xxxxxxxxxxxxxx&

Return the example

XML format

04F0F334-1335-436C-A1D7-6C044FE73368

JSON format

{"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"}

Error code

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

This is the way to improve the network performance by modifying the instance bandwidth configuration when the existing network specifications of the instance do not meet the requirements. I hope the above content can be helpful to everyone 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