Global Accelerator (GA) is a network acceleration service that provides coverage across the globe. It uses Alibaba Cloud's high-quality Border Gateway Protocol (BGP) bandwidth and global transmission network to provide low-latency access from nearby locations. This reduces the impact of network issues, such as latency, jitter, and packet loss, on your service quality. GA provides a high-availability and high-performance network acceleration service for users worldwide. You can call the CreateAccelerator operation to create a Global Accelerator instance.
Operation description
The CreateAccelerator operation is asynchronous. After you send a request, the system returns a Global Accelerator instance ID, but the instance is still being created in the background. You can call the DescribeAccelerator operation to query the status of the Global Accelerator instance:
If a Global Accelerator instance is in the init state, the instance is being created. You can only perform query operations on the instance.
If a Global Accelerator instance is in the active state, the instance is created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:CreateAccelerator |
create |
*Accelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
RegionId
deprecated
|
string |
Yes |
The region ID of the GA instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
A client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to make sure that the value is unique among different requests. The ClientToken parameter can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the request as the ClientToken. The RequestId may be different for each request. |
123e4567**** |
| Name |
string |
No |
The name of the GA instance. The name must be 1 to 128 characters in length, start with a letter, and can contain digits, underscores (_), and hyphens (-). |
test |
| Duration |
integer |
No |
The subscription duration.
Note
This parameter is required if InstanceChargeType (the billing method of the GA instance) is set to PREPAY (subscription). |
1 |
| PricingCycle |
string |
No |
The billing cycle. Valid values:
Note
This parameter is required if InstanceChargeType (the billing method of the GA instance) is set to PREPAY (subscription). |
Month |
| Spec |
string |
No |
The instance type of the GA instance. Valid values:
Note
The definitions of different instance types are different. For more information, see Instance types. |
1 |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
|
false |
| AutoUseCoupon |
string |
No |
Specifies whether to automatically apply coupons to your bills. Valid values:
Note
This parameter is valid only when AutoPay is set to true. |
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal for the instance. Valid values:
|
false |
| AutoRenewDuration |
integer |
No |
The auto-renewal duration. Unit: month. Valid values: 1 to 12. Default value: 1. Note
This parameter is valid only when AutoRenew is set to true. |
1 |
| PromotionOptionNo |
string |
No |
The coupon code. Note
This parameter is available only on the Alibaba Cloud International Website (www.alibabacloud.com). |
50003298014**** |
| BandwidthBillingType |
string |
No |
The bandwidth billing method.
|
BandwidthPackage |
| IpSetConfig |
object |
No |
The configurations of the acceleration area. |
|
| AccessMode |
string |
No |
The access mode of the acceleration area. Valid values:
|
UserDefine |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the standard GA instance belongs. |
rg-aekzrnd67gq**** |
| Tag |
array<object> |
No |
The tags of the GA instance. |
|
|
object |
No |
The tags of the GA instance. |
||
| Key |
string |
No |
The tag key of the GA instance. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with You can specify up to 20 tag keys. |
tag-key |
| Value |
string |
No |
The tag value of the GA instance. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with You can specify up to 20 tag values. |
tag-value |
| InstanceChargeType |
string |
No |
The billing method of the GA instance.
|
PREPAY |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| Bandwidth |
integer |
No |
The bandwidth of the standard GA instance. Unit: Mbps. Valid values: 200 to 5000. Note
This parameter is required and valid only when the access mode of the acceleration area is Anycast. |
200 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
F591955F-5CB5-4CCE-A75D-17CF2085CE22 |
| OrderId |
string |
Order ID. If you are using the Alibaba Cloud International site and `AutoPay` is set to `false`, go to the Order Hub to complete the payment. |
208257**** |
| AcceleratorId |
string |
The ID of the GA instance. |
ga-bp17frjjh0udz4qz**** |
Examples
Success response
JSON format
{
"RequestId": "F591955F-5CB5-4CCE-A75D-17CF2085CE22",
"OrderId": "208257****",
"AcceleratorId": "ga-bp17frjjh0udz4qz****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.