You need to enable JavaScript to run this app.
Message Queue for RabbitMQ

Message Queue for RabbitMQ

Copy page
Download PDF
Network management
CreatePublicAddress - Enable public network access
Copy page
Download PDF
CreatePublicAddress - Enable public network access
Call the CreatePublicAddress API to enable public network access for the RabbitMQ instance.​
Instructions​
  • If public network access is not enabled when creating the instance, you can call this API to bind an Elastic IP (EIP) after creating the instance to enable public network access.​
  • The EIP provides independent public IP resources, including the public IP address and outbound bandwidth service.​
  • The public address will bind to your Elastic Public IP (EIP). Fees are charged by the EIP.​
Note​
Request frequency: This API limits requests to 100 times per second; the per-user request frequency limit is 20 times per second.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the unique request parameters of this interface and some common parameters are listed below. For more information, see common parameters.​
Action string required Example value: CreatePublicAddress​
The action to execute, valid value: CreatePublicAddress.​
​
Version string required Example: 2022-01-01​
API version, value: 2022-01-01.​
​
EipId string required Example value: eip-2zeujxs6cd9****​
EIP ID.​
​
InstanceId string required Example: rbtmq-5b293870****​
Instance ID.​
​
​
​
Response parameters​
This interface has no unique response parameters. For more information, see the response structure.​
Request example​
​
POST /?Action=CreatePublicAddress&Version=2022-01-01 HTTP/1.1​
Host: rabbitmq.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260107T094238Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260107/cn-beijing/RabbitMQ/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"EipId": "eip-2zeujxs*****6cd",​
"InstanceId": "rbtmq-5b293870****"​
}​
​
Response example​
​
{​
"ResponseMetadata": {​
"RequestId": "202601071742410951691660028C****",​
"Action": "CreatePublicAddress",​
"Version": "2022-01-01",​
"Service": "RabbitMQ",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error code​
Error codesThe following table lists error codes related to this interface and business logic. Refer to the Public error codes section for common error codes.​
​
Status code​
Error code​
Error message​
description​
400​
InvalidParameter​
The specified parameter %s is not valid.​
The parameter value %s is invalid.​
400​
MissingParameter​
The request body is missing a required parameter %s.​
Missing %s parameter.​
403​
OperationDenied.InternetAccessEnabled​
Internet access is enabled for the instance.​
This instance has public network access enabled.​
403​
OperationDenied.InvalidInstanceStatus​
The operation is not valid for the current status of the instance.​
The current instance state does not allow this operation.​
403​
OperationDenied.TaskIsRunning​
An operation is currently in progress. Try again later.​
Background tasks are running, please try again later.​
404​
InvalidInstanceId.NotFound​
The specified Instance ID does not exist.​
Instance does not exist.​
500​
InternalError​
The request failed due to some unknown error, exception or failure.​
Internal error, please try again later.​
​
Last updated: 2026.02.06 14:27:45