Set network types

Last Updated: Dec 11, 2017

RDS supports two network types: classic network and Virtual Private Cloud (VPC). This chapter describes the differences between the two network types and the method of configuration.

Background information

On Alibaba Cloud platform, a classic network and VPC have the following differences:

  • Classic network: The cloud service on the classic network is not isolated, and unauthorized access can be blocked only by the security group or whitelist policy of the cloud service.

  • VPC: It helps you build an isolated network environment on the Alibaba Cloud. You can customize the routing table, IP address range and gateway on the VPC. In addition, you can combine your own machine room and cloud resources in the VPC of Alibaba Cloud into a virtual machine room through a leased private line or VPN to migrate applications to the cloud seamlessly.

Procedure

By default, RDS uses the classic network. If you want to use VPC, make sure that RDS and VPC are in the same region. You may create VPC in either of the following scenarios:

  • If RDS is not created, first create VPC, and then create RDS under VPC. For more information, see the following section New RDS scenario.

  • If RDS already exists, create VPC in the region where RDS is located and add RDS to VPC. For more information, see the following section Existing RDS Scenario.

Scenario: For a new RDS

  1. Create VPC. For more information, see the VPC Quick Start.

  2. Create an RDS instance in the region where VPC is located. For more information, see Purchase.

    During the purchase process, select VPC for Network type and select the created VPC, as shown in the following figure.

    Purchasing VPC

Scenario: For the existing RDS

  1. Create VPC in the region where RDS is located. For more information, see the VPC Quick Start.

  2. Log on to the RDS console and select the target instance.

  3. Select Database Connection in the left-side navigation pane.

  4. Click Switch to VPC on the Database Connection page, as shown in the following figure.

    Changing the Network Type

  5. On the Switch to VPC page, select VPC and Virtual switch, and click OK, as shown in the following figure.

    Note: After switching to VPC, the original intranet address is changed from a classic network address to a VPC address whereas the original Internet address remains unchanged, and ECS outside of VPC cannot be accessed.

    Changing the Network Type

Thank you! We've received your feedback.