Updated on 2022-08-06 GMT+08:00

Preparing the Environment

To access DCS instances through a Virtual Private Cloud (VPC), create a VPC and configure security groups and subnets for it before using DCS. A VPC provides an isolated virtual network environment which you can configure and manage. Using VPCs enhances cloud resource security and simplifies network deployment.

Once you have created a VPC, you can use it for all DCS instances you subsequently create.

Creating a VPC

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List, and choose Network > Virtual Private Cloud to launch the VPC console.
  4. Click Apply for VPC.
  5. Create a VPC as prompted, retaining the default values unless otherwise required.

    For details about how to create a VPC, see "VPC and Subnet" > "VPC" > "Creating a VPC" in Virtual Private Cloud User Guide.

    After a VPC is created, a subnet is also created in the subnet. If the VPC needs more subnets, go to 7. Otherwise, go to 8.

    • When creating a VPC, CIDR Block indicates the IP address range of the VPC. If this parameter is set, the IP addresses of subnets in the VPC must be within the IP address range of the VPC.
    • If you create a VPC to provision DCS instances, you do not need to configure the CIDR block for the VPC.

  6. In the navigation pane on the left, choose Virtual Private Cloud > My VPCs.
  7. Click Create Subnet. Create a subnet as prompted, retaining the default values unless otherwise required.

    For details about how to create a subnet, see "VPC and Subnet" > "Subnet" in Virtual Private Cloud User Guide.

  8. In the navigation pane on the left, choose Access Control > Security Groups and then click Create Security Group in the upper right corner of the displayed page. Create a security group as prompted, retaining the default values unless otherwise required.

    For details about how to create a security group, see "Security" > "Security Group" > "Creating a Security Group" in Virtual Private Cloud User Guide.