Updated on 2024-11-07 GMT+08:00

Creating a VPC and Security Group

Create a VPC and security group for an RDS for MySQL instance

Creating a VPC

  1. Go to the Create VPC page.
  2. Configure the basic information, subnet, and IP address.

    Figure 1 Creating a VPC

  3. Click Create Now.
  4. Return to the VPC list and check whether the VPC is created.

    If the VPC status becomes available, the VPC has been created.

Creating a Security Group

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select CN-Hong Kong.
  3. Under the service list, choose Networking > Virtual Private Cloud.
  4. In the navigation pane, choose Access Control > Security Groups.
  5. Click Create Security Group.
  6. Configure parameters as needed.

    Figure 2 Creating a security group

  7. Click Create Now.
  8. Return to the security group list and click the security group name.
  9. Click the Inbound Rules tab, and then click Add Rule.

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

    Figure 3 Inbound rules