How to know or even change the zone my organization got deployed to?

Not applicable

I read this http://docs.apigee.com/api-services/content/performance-and-availability-between-edge-and-aws which talks about "Performance and availability between Edge and AWS".

There's no easy way to check in which zone was my organization deployed, and the IP whitelisting link is unavailable.

What shall I do if I want to know or even change my zone?

Solved Solved
1 6 802
2 ACCEPTED SOLUTIONS

Dear @Jay Peng,

  1. I presume you are a public cloud user. If yes, then you are right. You will not be able to find the availability zone(s) in which your org is running by yourself. Having said that, if you can share your org name, I can help you get this information.
  2. With regard to changing the zone for an org, I am not sure if this is feasible. Even if it's feasible, it would require sufficient effort to make this change.
  3. About the missing link for IP whitelisting, I will follow up with our Docs team to get this fixed.

Thanks,

Amar

View solution in original post

The variable system.region.name holds the region name for where a request was handled. See variables reference here: http://docs.apigee.com/api-services/reference/variables-reference

The following policy will add a 'region' header to your responses containing the region name. Attach to the proxy postflow, for example.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="Set-Region-Header">
    <DisplayName>Set Region Header</DisplayName>
    <Properties/>
    <Set>
        <Headers>
            <Header name="region">{system.region.name}</Header>
        </Headers>
    </Set>
    <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
    <AssignTo createNew="false" transport="http" type="response"/>
</AssignMessage>

Here's a snap of what that looks like in trace:

2842-amer-demo6-apigee.png

To change your zone would require contacting Apigee Support and/or your sales team.

View solution in original post

6 REPLIES 6

Dear @Jay Peng,

  1. I presume you are a public cloud user. If yes, then you are right. You will not be able to find the availability zone(s) in which your org is running by yourself. Having said that, if you can share your org name, I can help you get this information.
  2. With regard to changing the zone for an org, I am not sure if this is feasible. Even if it's feasible, it would require sufficient effort to make this change.
  3. About the missing link for IP whitelisting, I will follow up with our Docs team to get this fixed.

Thanks,

Amar

@Floyd Jones,

Can you please fix the missing link -> IP whitelisting ?

Thanks,

Amar

Thank you @Floyd Jones

The variable system.region.name holds the region name for where a request was handled. See variables reference here: http://docs.apigee.com/api-services/reference/variables-reference

The following policy will add a 'region' header to your responses containing the region name. Attach to the proxy postflow, for example.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="Set-Region-Header">
    <DisplayName>Set Region Header</DisplayName>
    <Properties/>
    <Set>
        <Headers>
            <Header name="region">{system.region.name}</Header>
        </Headers>
    </Set>
    <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
    <AssignTo createNew="false" transport="http" type="response"/>
</AssignMessage>

Here's a snap of what that looks like in trace:

2842-amer-demo6-apigee.png

To change your zone would require contacting Apigee Support and/or your sales team.

I got the region by this policy.

That's a good example of AssignMessage policy and the use of variables.