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

General Procedure

  1. Create a VPC.

    Create two VPCs, one for your gateway and the other for your backend service.

  2. Create a gateway.

    Create a dedicated gateway in VPC 1.

  3. Create a load balancer.

    Create a load balancer in VPC 2.

  4. Create a VPC peering connection.

    Create a VPC peering connection to connect VPC 1 and VPC 2.

  5. Configure a route.

    Configure a route for the dedicated gateway by setting the IP address to the IPv4 CIDR block of VPC 2 where the purchased load balancer is located.

  6. Create an API.

    Create an API and set the backend service address to the IP address of the load balancer.

  7. Create an ECS.

    Create an ECS in VPC 2, and deploy the backend service on the ECS.

  8. Debug the API.

    Verify that the connection to the private network load balancer is successful.