Enabling Public IP Addresses for Primary Instances
2. Select the region and click the ID or Manage in the Operation column of the target instance in the instance list.
3. On the Instance Details page, click Enable in Basic Info > Public Address.
4. In the Enabling public network window, read the note, indicate your consent, and click OK (before the public network address is enabled, a note will be displayed depending on whether a security group is configured).
Note:
After the public network address is enabled, it can be viewed in Basic Info. The public network access can be toggled off. When it is enabled again, the public network address corresponding to the domain name remains the same.
If your instance is bound to a security group, and no high-risk policy is involved, the public network address can be enabled, and a note will be displayed as follows:
If your instance is bound to a security group, but there is a high-risk inbound rule such as 0.0.0.0/0
or ::/0
, a note will be displayed as follows:
If your instance is not bound to a security group, enabling public network access will lead to a high risk, and a note will be displayed as follows:
5. After the instance status becomes Running, you can view the public network address on the instance details page.
Disabling the public network address
2. Select the region and click the ID or Manage in the Operation column of the target instance in the instance list.
3. On the Instance Details tab, click Disable in Basic Info > Public Network Address.
4. In the Disabling public network pop-up window, click OK.
Note:
After it is disabled, you can no longer use the domain name and port to access TencentDB for SQL Server over the public network. To minimize potential losses, make sure that no public address is used in your system before disabling it.
Enabling Public Network Addresses for Read-Only Groups
2. Select the region, and in the instance list, locate the primary instance for which you want to enable the public network address of the read-only group. Click Instance ID or Manage option in the Operation column.
3. Go to the Read-Only Instance page from the Instance Details page, then click Enable following the Public Network Address under the RO group .
4. In the window for enabling public network settings, read and check the prompt, then click OK .
Note:
When the public network address is enabled, it can be viewed in the RO group or the basic information of the corresponding read-only instance. The public network connection can be enabled via the toggle switch. And when you re-enable the public network, the public network address corresponding to the domain remains unchanged.
Disabling Public Network Addresses for Read-Only Groups
2. Select the region, and in the instance list, locate the primary instance for which you want to disable the public network address of the read-only group. Click Instance ID or Manage option in the Operation column.
3. Go to the Read-Only Instance page from the Instance Details page, then click Close following the Public Network Address under the RO group .
4. In the pop-up window for disabling public network access, click **OK .
Note:
After the public network access is disabled, you cannot access the read-only group corresponding to the SQL Server primary instance via the public domain names and ports. Please ensure that your application system does not use public access addresses to avoid losses.
Was this page helpful?