Solution Overview
If you deploy services on multiple servers in different VPCs, you can use ELB to route traffic to backend servers in different VPCs connected over a VPC peering connection.
Solution Architecture
This solution allows you to deploy VPCs, subnets, ECSs, and a dedicated load balancer with just a few clicks. You can use this load balancer to route traffic to backend servers in different VPCs.

Routing Traffic to Backend Servers in Different VPCs
Version: 1.0.0
Last Updated: September 2023
Built By: Huawei Cloud
Time Required for Deployment: About 10 minutes
Time Required for Uninstallation: About 10 minutes
Solution Description
This solution will:
1. Create two ECSs in different VPCs for running services.
2. Configure a security group to control traffic to and from the two ECSs.
3. Use Elastic Load Balance (ELB) to distribute incoming traffic to the two ECSs. To achieve this, create a dedicated load balancer.
Solution Description
This solution will:
1. Create two ECSs in different VPCs for running services.
2. Configure a security group to control traffic to and from the two ECSs.
3. Use Elastic Load Balance (ELB) to distribute incoming traffic to the two ECSs. To achieve this, create a dedicated load balancer.