How to avoid Load balancer data center cross connection at apigee proxy level

Need to know the way to stick the connection between data centers.

Support im having two load balance data centers LIV and FWT.

LIV request should go to LIV datacenter and FTW request should go to FTW data center, Which should avoid cross connection

target backend belongs to LIV, request should not go to FTW datacenter and target backend belongs to FTW request should not go to LIV data cente.

Is there any way to avoid Load balancer data center cross connection at proxy level.

when we connect to target backend then the issue is coming , LIV request are connecting to FTW, FTW Request are connecting to LIV. ( Cross Data center ) Is there any way to configure at apigee proxy level where we can route the traffic from Apigee to Backend to specific data center.

0 2 194
2 REPLIES 2

Thank you Dane.

Will system.region.name field will help in point request to specific data center as below.

<ProxyEndpoint>

<RouteRule name='East'>

<TargetEndpoint>eastBackendTarget</TargetEndpoint>

<Condition>system.region.name ~~ "us-east-.+"</Condition>

</RouteRule> <RouteRule name='West'> <TargetEndpoint>westBackendTarget</TargetEndpoint>

<Condition>system.region.name ~~ "us-west-.+"</Condition>

</RouteRule>

<RouteRule name='Default'>

<TargetEndpoint>defaultBackendTarget</TargetEndpoint>

</RouteRule>

</ProxyEndpoint>

Also could you provide more details as solution should be based on the target. It shouldn't be based on route rule.