All Products
Search
Document Center

Anycast Elastic IP Address:Integration overview

Last Updated:Jun 17, 2026

Anycast Elastic IP Address (Anycast EIP) supports multiple integration methods, including the console, Alibaba Cloud SDK, Terraform, Resource Orchestration Service (ROS), and OpenAPI Explorer for online debugging. Select the method that best suits your needs.

OpenAPI Explorer overview

Alibaba Cloud provides OpenAPI Explorer to help you learn, debug, and integrate Alibaba Cloud API operations. OpenAPI Explorer offers intelligent search, documentation, online debugging, SDK obtaining, CodeSample, call error diagnosis, and call statistics. You can call API operations directly in OpenAPI Explorer, view requests and responses, and generate SDK sample code in multiple languages. For more information, see What is an API?

Versions

Note

Alibaba Cloud API uses version numbers to manage the operation lists of each cloud service API.

For example, Anycast EIP supports the operation list of version 2020-03-09. 2020-03-09 is an API version number, not a date. 2020-03-09 is the latest version of the Anycast EIP API.

Version

Description

2020-03-09

We recommend that you use this version.

Online debugging

Anycast EIP supports online debugging in OpenAPI Explorer. Before you call API operations, make sure that you understand the API version, endpoint, and integration method.

In the left-side navigation pane of OpenAPI Explorer, select Anycast EIP and click the AllocateAnycastEipAddress operation. In the parameter configuration section, select a service location, such as China (Hangzhou), and specify request parameters including Bandwidth, ServiceLocation (required), InstanceChargeType, InternetChargeType, Name, Description, and ResourceGroupId. Then, click Send Request. The panel on the right displays documentation, call results, SDK samples, CLI samples, and error codes.

Debugging page

Debug Anycast EIP API operations at: Anycast EIP API debugging portal

Endpoints

Select an endpoint based on the region where your resource resides to reduce latency.

For more information about Anycast EIP endpoints, see Anycast EIP.

Identities

By default, OpenAPI Explorer uses the Alibaba Cloud account that you are logged on with for online debugging. An Alibaba Cloud account has full API permissions, which may pose security risks. We strongly recommend that you use a Resource Access Management (RAM) user to call API operations or perform routine O&M. Before you do so, grant the RAM user the required Anycast EIP permissions. For more information, see Use RAM to implement access control.

Identity

Supported

Alibaba Cloud account

Yes

RAM user (recommended)

Yes

RAM role (recommended)

Yes

For more information about user identities, see Identity.

References

For more information about OpenAPI Explorer identities, credentials, authorization, throttling, and quotas, see the following topics.

Integration methods

Anycast EIP supports multiple integration methods, including SDK and CLI. Select the method that best suits your requirements.

Integration method

Supported

Alibaba Cloud SDK (recommended)

Yes

Alibaba Cloud CLI

Yes

Terraform

Yes

ROS

Yes

Custom API encapsulation

Yes

Alibaba Cloud SDK

  • Alibaba Cloud provides SDKs in multiple programming languages, including Java, C#, Go, Python, TypeScript, Node.js, PHP, and C++. The SDKs encapsulate signature logic, timeout mechanisms, and retry mechanisms, and return structured response objects. For more information, see Alibaba Cloud SDKs.

  • OpenAPI Explorer can generate SDK sample code to help you call API operations. For more information about supported programming languages and dependency installation, see Anycast EIP SDK.

Alibaba Cloud CLI

Terraform

  • Terraform is an open source tool that is used to securely and efficiently preview, configure, and manage cloud infrastructure and resources. Terraform calls API operations by interpreting templates, similar to ROS. For more information, see What is Terraform?

ROS

  • ROS is an Alibaba Cloud service that helps you manage cloud computing resources in a simplified manner. You can create stack templates to describe cloud resources, such as Elastic Compute Service (ECS) and ApsaraDB RDS instances, and define their dependencies. The ROS engine automatically creates and configures all resources in a stack based on a template for automated deployment and O&M. For more information, see What is ROS?

  • You can use ROS to call Anycast EIP operations. The following resources are supported:

Custom API encapsulation

If none of the preceding methods meets your requirements, you can manually encapsulate API requests. This method is not recommended. For more information, see Request syntax and signature method V3.

Usage notes

If an API call returns an error, check the error code to verify your request parameters and values. For more information, see Service error codes.

You can also use the RequestID from the response or SDK error information inOpenAPI problem diagnostics for self-service troubleshooting.