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

Creating a VPC and Security Group

This section describes how to create a VPC and security group for the instance you will create.

Prerequisites

  • You have registered with Huawei Cloud and completed account authentication.
  • Your account balance is greater than or equal to $0 USD.

Creating a VPC

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and a project.
  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.

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

Creating a Security Group

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and a project.
  3. Under the service list, choose Networking > Virtual Private Cloud.

    The VPC console is displayed.

  4. Choose Access Control > Security Groups.
  5. Click Create Security Group.
  6. Configure parameters as needed.

  7. Click OK.
  8. Return to the security group list and click security group name sg-01.
  9. Click the Inbound Rules tab, and then click Add Rule.

  10. Configure an inbound rule and add the IP address of the source database.