tencent cloud

Feedback

Accessing Instance Without Authentication

Last updated: 2022-03-23 17:28:17

    TencentDB for MongoDB supports auth-free access to instances. You can enable it for quick connection and access to databases.

    Background

    Auth-free access enables you to efficiently and quickly access database instances but brings security risks. Therefore, enable this feature with caution.

    Version Description

    Currently, only TencentDB for MongoDB 3.6 and 4.0 support auth-free access.

    Notes

    • Upgrade to support auth-free access involves kernel upgrade and momentary disconnections.
    • After auth-free access is enabled, the instance will restart. Therefore, enable this feature during off-peak hours.

    Prerequisites

    Directions

    (Optional) Upgrading kernel version

    Note:

    If you want to use the auth-free access feature on an instance created before this feature is launched, you need to upgrade the instance's kernel version first.

    1. Log in to the TencentDB for MongoDB console.
    2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded Instance. The directions for the two types of instances are similar.
    3. Above the instance list on the right, select the region.
    4. In the instance list, find the target instance.
    5. Click the target instance ID to enter the Instance Details page.
    6. In the Basic Info section on the Instance Details page, click Upgrade after Auth-Free Access.
    7. In the Upgrade to Support Auth-Free Access pop-up window, read the prompt message carefully and click OK.
      Note:

      Upgrade to support auth-free access involves kernel upgrade and momentary disconnections.

    8. On the Instance Details page, the instance status becomes Upgrading database version. After the status becomes Running, you can proceed to the subsequent operations.

    Enabling auth-free access

    1. In the Basic Info section on the Instance Details page, click Enable after Auth-Free Access.
    2. In the Enable Auth-Free Access pop-up window, read the prompt message carefully and click OK.
    3. On the Instance Details page, wait for the instance status to become Running, and then you can use the instance normally.

    Disabling auth-free access

    In the Basic Info section on the Instance Details page, click Disable after Auth-Free Access to disable this feature.

    Relevant Operations

    You can access TencentDB for MongoDB databases by using MongoDB shell or drivers in various programming languages as instructed in Connecting to TencentDB for MongoDB Instance.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support