Updated on 2024-01-16 GMT+08:00

Step 3: (Optional) Create VPCs and ECSs

Scenarios

This section describes how to create VPCs and ECSs.

If you already have VPCs and ECS, skip this section.

Notes and Constraints

  • The CIDR blocks of the VPCs to be connected cannot overlap with each other.

    In this example, the CIDR blocks of the VPCs are propagated to the enterprise router route table as the destination in routes. The CIDR blocks cannot be modified and overlapping CIDR blocks may cause route conflicts.

    If your existing VPCs have overlapping CIDR blocks, do not use propagated routes. Instead, you need to manually add static routes to the route table of the enterprise router. The destination can be VPC subnet CIDR blocks or smaller ones.

  • Four ECSs must be in the same security group. If your ECSs are in different security groups, add rules to their security groups to allow access to each other. For details, see Adding a Security Group Rule.

Procedure

  1. Create four VPCs with subnets.

    For details, see Creating a VPC.

    For VPC and subnet details in this example, see Table 6.

  2. Create four ECSs.

    For details, see Methods of Purchasing ECSs.

    For ECS details in this example, see Table 7.