You need to enable JavaScript to run this app.
RDS for MySQL

RDS for MySQL

Copy page
Download PDF
Managing connections
CreateDBEndpointPublicAddress
Copy page
Download PDF
CreateDBEndpointPublicAddress

Call the CreateDBEndpointPublicAddress API to create a public network address.

Request type

Asynchronous request.

Request parameters

Name
Type
Required
Example
Description
InstanceId
String
Yes
mysql-3c25f219****
The instance ID.
EndpointId
String
Yes
mysql-3c25f219****-cluster
The ID of the instance connection endpoint.
EipId
String
Yes
eip-h0agizep3thc3kyadhvy****
The ID of the EIP. You can use DescribeEipAddressAttributes to query the basic information of the EIP.

Response parameters

null

Sample request

POST /?Action=CreateDBEndpointPublicAddress&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds-mysql.cn-beijing.volcengineapi.com
X-Date: 20211202T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{
    "InstanceId": "mysql-3c25f219****",
    "EndpointId": "mysql-3c25f219****-cluster",
    "EipId": "eip-h0agizep3thc3kyadhvy****"
}

Sample response

{
    "ResponseMetadata": {
        "RequestId": "202301111544458B98609310F51B9083C8",
        "Action": "CreateDBEndpointPublicAddress",
        "Version": "2022-01-01",
        "Service": "rds_mysql",
        "Region": "cn-beijing"
    },
    "Result": null
}

Error codes

For more details, refer to Error codes.

Last updated: 2025.07.07 15:52:01