All Products
Search
Document Center

Global Accelerator:CreateBasicAccelerator

Last Updated:Jun 30, 2026

Basic Alibaba Cloud Global Accelerator (GA) instances leverage Alibaba Cloud's premium global the Internet bandwidth and high-quality transmission network to provide users with point-to-point acceleration. Basic Alibaba Cloud Global Accelerator (GA) instances are primarily used for Layer 3 (IP protocol) network acceleration. You can invoke the CreateBasicAccelerator operation to create a basic Alibaba Cloud Global Accelerator (GA) instance.

Operation description

CreateBasicAccelerator is an asynchronous operation. After you invoke this operation, the system returns a basic Alibaba Cloud Global Accelerator (GA) instance ID, but the instance is not yet created. The creation node continues to execute in the background. You can invoke GetBasicAccelerator or ListBasicAccelerators to query the status of the basic GA instance:

  • If the basic GA instance is in the init state, the instance is being created. In this state, you can only perform query operations.

  • If the basic GA instance is in the active state, the instance is created.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

ga:CreateBasicAccelerator

create

*BasicAccelerator

acs:ga:{#regionId}:{#accountId}:ga/*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID of the basic Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou.

cn-hangzhou

ClientToken

string

No

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.

Note

If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId may be different for each API request.

123e4567****

Duration

integer

No

The subscription duration.

  • If PricingCycle is set to Month, valid values of Duration are 1 to 9.

  • If PricingCycle is set to Year, valid values of Duration are 1 to 3.

1

PricingCycle

string

No

The billing cycle. Valid values:

  • Month: billed on a monthly basis.

  • Year: billed on a yearly basis.

Month

BandwidthBillingType

string

No

The bandwidth billing method. Valid values:

  • BandwidthPackage: billed by bandwidth plan.

  • CDT: billed by traffic and settled through unified settlement by Cloud Data Transfer (CDT).

  • CDT95: billed by the 95th percentile bandwidth and settled through unified settlement by CDT. This bandwidth billing method is available only to users in the whitelist.

CDT

AutoPay

boolean

No

Specifies whether to enable automatic payment. Valid values:

  • false (default): disables automatic payment. After an order is generated, go to the Order Center to complete the payment.

  • true: enables automatic payment. The order is automatically paid.

false

AutoUseCoupon

string

No

Specifies whether to use coupons for automatic payment of the bill. Valid values:

  • true: uses coupons.

  • false (default): does not use coupons.

Note

This parameter takes effect only when AutoPay is set to true.

false

PromotionOptionNo

string

No

The coupon number.

Note

This parameter is applicable only to the China site (aliyun.com).

50003298014****

AutoRenew

boolean

No

Specifies whether to enable auto-renewal.

  • true: enables auto-renewal.

  • false (default): disables auto-renewal.

false

AutoRenewDuration

integer

No

The auto-renewal duration. Unit: months.

Valid values: 1 to 12. Default value: 1.

Note

This parameter takes effect only when AutoRenew is set to true.

1

ResourceGroupId

string

No

The ID of the resource group to which the basic Alibaba Cloud Global Accelerator (GA) instance belongs.

rg-acfmxshhcsn****

ChargeType

string

No

The billing method. Valid values:

  • PREPAY (default): subscription.

  • POSTPAY: pay-as-you-go.

PREPAY

DryRun

boolean

No

Specifies whether to perform a dry run. Valid values:

  • true: performs a dry run without creating the resource. The system checks the required parameters, request syntax, and business limitations. If the check fails, the corresponding error is returned. If the check succeeds, the DryRunOperation error code is returned.

  • false (default): performs a dry run and sends the request. If the check succeeds, an HTTP 2xx status code is returned and the operation is performed.

false

Tag

array<object>

No

The labels of the basic Alibaba Cloud Global Accelerator (GA) instance.

object

No

The labels of the basic Alibaba Cloud Global Accelerator (GA) instance.

Key

string

No

The label key of the basic Alibaba Cloud Global Accelerator (GA) instance. If you specify this parameter, the value cannot be an empty string.

The label key can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 label keys.

tag-key

Value

string

No

The label value of the basic Alibaba Cloud Global Accelerator (GA) instance. If you specify this parameter, the value cannot be an empty string.

The label value can be up to 128 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 label values.

tag-value

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

F591955F-5CB5-4CCE-A75D-17CF2085CE22

OrderId

string

The order ID.

This parameter is returned only when ChargeType is set to PREPAY (upfront).

If AutoPay is set to false, which means automatic payment of the bill is not enabled, go to the Order Center to complete the payment.

2082574365

AcceleratorId

string

The instance ID of the basic Alibaba Cloud Global Accelerator (GA) instance.

ga-bp17frjjh0udz4qz****

Examples

Success response

JSON format

{
  "RequestId": "F591955F-5CB5-4CCE-A75D-17CF2085CE22",
  "OrderId": "2082574365",
  "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.