A workspace must be attached to at least one virtual private cloud (VPC). After you attach a VPC, all resources within the VPC are automatically assigned to the workspace.
You can attach a VPC to a workspace during or after workspace creation.
Set up a VPC when adding a workspace
When you enter basic workspace information, select Virtual Private Cloud and click Next.
On the Workspace Attachment page, select Add a VPC and attach it to the current workspace.
On the Set up VPC page, enter a VPC Name and VPC CIDR Block, and then click OK.
VPC Name: The name must be 2 to 128 characters long and start with a letter. The name can contain digits, underscores (_), and hyphens (-). The name cannot start with
http://orhttps://. We recommend that you use the same name as your workspace.VPC CIDR Block: The CIDR block for the VPC. You cannot change the CIDR block after it is set. All resources in the VPC, such as Elastic Compute Service (ECS) and SLB instances, are assigned private IP addresses from this CIDR block. The following CIDR blocks are available:
10.0.0.0/9
172.16.0.0/12
192.168.0.0/16
NoteThis step creates a new VPC that does not contain any resources. When you purchase resources, make sure to select this VPC. You can also import existing resources into this VPC. For more information, see Create a vSwitch and Import an ECS instance.
Set up a VPC after adding a workspace
Go to the Workspaces page. In the VPC Attachment Information section:
Click Add and Attach VPC, enter a VPC CIDR Block, and click OK.
By default, the VPC Name is the same as the workspace name.
Click Attach Existing VPC, select an existing VPC, and click Attach.
The Rename the attached VPC with the current workspace name option is selected by default.