百度智能云

All Product Document

          Relational Database Service

          Create a Proxy Instance

          Overview

          Content below introduces the creation of the RDS for MySQL proxy instance, and You can create and manage the instance via RDS console. Databases of different engines and specifications vary in price. See Pricing for details.

          Notes:

          • Presently, proxy instance supports the creation of master instances of MySQL 5.6 and MySQL 5.7
          • Presently, proxy instance only supports "Postpaid" rather than "Prepaid".
          • Only one proxy instance can be purchased each time, and only one proxy instance can be purchased for one master instance.

          Operation guide

          1. Log in to the Baidu AI Cloud Official Website.

          2. Enter the RDS console.

            Select "Product Service > RDS", and enter the "RDS Console".

          3. Select an instance.

            After entering RDS console, select one master instance of MySQL Dual-computer Version and click the Instance Name to enter the instance details page. On the "Instance Details" page, click "Create Proxy Instance" at the top right corner to enter "Create" page. Select the following information and confirm the instance configuration.

          image.png

          Region information

          image.png

          Instance type Single-AZ (A/B/C) Multi-AZ A+B…… Allocation by default
          Master instance Master/backup nodes are created in the same AZ Master/backup nodes are randomly assigned to different AZs selected. A given AZ is selected at random.
          Read-only instance Created in the AZ specified by the user - The same as the master instance If the master instance is Multi-AZ, it is assigned to a given Single-AZ at random.
          Proxy instance Created in the AZ specified by the user Proxy instance node is randomly allocated to different AZs selected. Master instance

          Note: "Availability zone" denotes the data center with relatively isolated physical resources, which may help users build high-availability architecture. See Availability Zone Instructions for details. Availability zone selection rule: AZ selection rules:

          • Single-AZ (A, B, C……): The master instance is created in the same availability zone.
          • Multi-AZ (A+B, A+C, and B+C……): Includes two (or multiple) availability zones. When creating, the master instance's master/backup nodes are respectively created in different areas of the Multi-AZ.

          Configuration Information

          image.png

          Notes:

          • Proxy instance's database type keeps consistent with the master instance's
          • By default, the network of the proxy instance is the same as the master instance's, and sub-net may be custom.

          Purchase Information

          image.png

          Notes:

          • Presently, proxy instance only supports "Postpaid" rather than "Prepaid".
          • Only one proxy instance can be purchased each time, and only one proxy instance may be purchased for one master instance.
          1. Confirm the configuration.

            After confirming the configuration information, click "Next" to go to the payment page. Here, you can view the selected instance's package and price for your confirmation.

          2. Confirm the order.

            After confirming, click the "Go to pay" button at the lower right corner. Then, the system shows the "Payment" page, on which you can confirm the payment and complete the order.

          3. Make a payment successfully.

            You can view the order by clicking "View Order Details", or click "Management Console" to enter "RDS Instance List". The system creates a RDS instance at the back end, which usually lasts for 5-10 minutes. After successful creation, you receive the information "Successfully create a RDS instance".

          4. View the Instance.

            After the purchase, return to the "RDS Instance List" page. Then, you can view created the RDS instance, instance status, location, database type, and expiry time.

          5. View instance details.

            In the instance list, click the instance name to enter the proxy instance details page. The "Basic Information" tag shows information such as instance running status and configuration. You can select other tags to manage and operate the instance.

          Usage instruction

          The RDS proxy instance may automatically allocate the database requests to the corresponding standard instance and read-only instance according to read-write type, for realizing automated read/write splitting. Create a master instance before creating a proxy instance. Also, the current proxy instance is automatically released if the current master instance is released.

          For detailed management and operation of proxy instance, see Read/Write Separation.

          • Proxy instance configuration is automatically matched to master instance configuration, without the need and possibility of change. If the master instance configuration is upgraded, the proxy instance configuration is upgraded simultaneously, with fees charged at the same time.
          • Only one proxy instance can be created for each RDS for MySQL master instance.
          • Presently, the RDS proxy instance has DB Firewallfeature, which can be used in warning against or intercepting SQL injections.
          Previous
          Create a Dedicated Instance
          Next
          Create a Master Instance