You can modify the endpoints and ports of Tair instances. For example, you can change the port number to a non-default one to improve the security of connections. You can also change the endpoint of a new instance to the endpoint of an old instance. This way, you do not need to modify the connection information on your application.


The instance that you want to manage is in the Running state.


Warning After you perform this operation, the endpoint becomes unavailable and your client is disconnected from the endpoint. We recommend that you update the connection settings of your client.
  1. Log on to the Tair console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click its ID.
  2. In the Connection Information section, find the connection type that you want to manage and click Modify Public Endpoint in the Actions column.
  3. In the panel that appears, enter a new endpoint and port number.
    • You can modify only the prefix of the endpoint. By default, the prefix is the instance ID.
    • The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.
    PortWhen you modify the endpoint, you can also modify the port number. Valid values for this parameter: 1024 to 65535.
  4. Click OK.

    This operation does not cause the instance to restart or affect other endpoints of the instance. For example, if you modify the public endpoint of an instance, the VPC endpoint of the instance is not affected.

Related API operations

ModifyDBInstanceConnectionStringChanges the endpoint or port of a Tair instance.