Updated on 2022-11-14 GMT+08:00

Creating a VPC and Security Group

Create a VPC and security group to prepare for creating an RDS for MySQL instance as the source.

Creating a VPC

  1. Log in to the management console.
  2. Click in the upper left corner and select AP-Singapore.
  3. Click the service list icon on the left and choose Networking > Virtual Private Cloud.

    The VPC console is displayed.

  4. Click Create VPC.

  5. Configure parameters as needed and click Create Now.
  6. Return to the VPC list and check whether the VPC is created.

    When its status becomes available, the VPC is created.

Creating a Security Group

  1. Log in to the management console.
  2. Click in the upper left corner and select AP-Singapore.
  3. Click the service list icon on the left and choose Networking > Virtual Private Cloud.

    The VPC console is displayed.

  4. In the navigation pane, choose Access Control > Security Groups.
  5. Click Create Security Group.
  6. Specify a security group name and other information.

  7. Click OK.
  8. Return to the security group list and click the security group name (sg-DRS01 in this example).
  9. Click the Inbound Rules tab, and then click Add Rule.

  10. Configure an inbound rule to allow access from database port 3306.