Home > Operation and Maintenance > Linux Operation and Maintenance > How to improve network performance by modifying the bandwidth configuration of the instance when the existing network specifications of the instance do not meet the requirements

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

坏嘻嘻
Release: 2018-09-26 11:56:09
Original
2002 people have browsed it

This article introduces how to improve network performance by modifying the bandwidth configuration of the instance when the existing network specifications of the instance do not meet the requirements, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

ModifyInstanceNetworkSpec

Description

When calling this interface, you need to pay attention to:

Modify the package year When configuring the bandwidth of a monthly (PrePaid) instance:

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

The billing method can only be upgraded to bandwidth based on fixed bandwidth (PayByBandwidth).

When the public network outgoing bandwidth (InternetMaxBandwidthOut) is upgraded from 0 Mbps to a non-zero value, a public network IP will be automatically assigned.

You can use this interface to convert the bandwidth billing method from PayByTraffic to PayByBandwidth.

You can only convert the bandwidth billing method from fixed bandwidth (PayByBandwidth) to payby traffic (PayByTraffic) through the ECS management console.

When modifying the bandwidth configuration of a Pay-As-You-Go (PostPaid) instance:

You can upgrade or downgrade the bandwidth.

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

Supports the conversion of bandwidth billing method based on traffic usage (PayByTraffic) to fixed bandwidth (PayByBandwidth).

Supports converting the bandwidth billing method from fixed bandwidth (PayByBandwidth) to usage traffic (PayByTraffic).

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

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

Each prepaid (annual and monthly) instance can reduce the public network bandwidth no more than three times, that is, the price difference refund will not exceed three times.

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

Every time a single instance is successfully operated, the operation cannot be continued within five minutes.

Request parameters

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

##Return parameters

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

Example

Request Example

https://ecs.aliyuncs.com/?Action=ModifyInstanceNetworkSpec
&RegionId=cn-hangzhou
&InstanceId=i-xxxxx1
&InternetMaxBandwidthOut=10
&ClientToken=xxxxxxxxxxxxxx
&<公共请求参数>
Copy after login

Return example

XML format

<ModifyInstanceNetworkSpecResponse>
      <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</ModifyInstanceNetworkSpecResponse>
Copy after login

JSON format

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

Error code

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

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

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

The above is the detailed content of How to improve network performance by modifying the bandwidth configuration of the instance when the existing network specifications of the instance do not meet the requirements. 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