Updated on 2024-10-14 GMT+08:00

Changing a Proxy from Pay-per-Use to Yearly/Monthly

Scenarios

If you want to use a pay-per-use proxy created for a yearly/monthly DB instance for a long time, you can change the proxy from pay-per-use to yearly/monthly to reduce costs.

Constraints

  • Enabling database proxy
    • Only pay-per-use proxies can be created for pay-per-use DB instances.
    • Either pay-per-use or yearly/monthly proxies can be created for yearly/monthly DB instances.
      • To create yearly/monthly proxies, contact customer service to apply for required permissions.
      • The expiration time of yearly/monthly proxies is the same as that of the yearly/monthly DB instance by default.
      • If auto-renewal is enabled for the yearly/monthly DB instance, it is also enabled for the proxies by default.
  • Changing the billing mode
    • To change a proxy from pay-per-use to yearly/monthly, you need to contact customer service to apply for required permissions.
    • Pay-per-use proxies in HA mode cannot be changed to yearly/monthly.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the name of the target yearly/monthly instance.
  5. In the navigation pane on the left, click Database Proxy.
  6. In the proxy information area, click Change to Yearly/Monthly next to the Billing Mode field.

    Figure 1 Proxy information area

  7. On the displayed page, confirm the information and click Submit.

    Figure 2 Changing from pay-per-use to yearly/monthly