|By Mark O'Neill||
|June 30, 2014 06:56 PM EDT||
This is often done because an organization wishes to deploy API Gateways virtually in multiple places on the network, while using the same server to run the API Gateways.
To do this, the first step is to associate the multiple IP Addresses with the machine running the API Gateway. In this example, we associate two IP Addresses (with two corresponding subnets): 22.214.171.124 and 10.10.1.10. This is done at the OS layer.
Next, we use Policy Studio to setup our two listeners, corresponding to the two zones (which we'll imaginatively call "Zone 1" and "Zone 2"):
Note where the IP addresses are configured above. Users of the API Gateway might be used to seeing an asterix ('*') in the "Address" field under the port configuration. The asterix means that the API Gateway binds to every IP address available on the machine. By specifying the IP address in the "Address" field, we are saying that the API Gateway will only bind to this port for this listener.
Also notice above that both listeners are listening on the same port, which is the SSL port 443. Normally if you have two applications listening on the same port, there is a clash. But in this case, the API Gateway is listening on two ports on two different IP addresses.
Underneath our "Zone 1" and "Zone 2" listeners, we can associate different paths. So, https://126.96.36.199/myAPI will be handled under the "Zone 1" listener.
Notice also that different certificates can be used for the different listeners. The certificates themselves can be generated using the Axway API Management solution (under "Certificates and Keys" in Policy Studio). If you have multi-homed your API Gateway to multiple addresses which are associated with multiple machine names (e.g. "apis.mycompany.com" and "internal.mycompany.com") then you can issue certificate within Policy Studio for these names, then load them using the "X.509 Certificate" button in the "Configure HTTPS Interface" screen above.
Happy multi-homing! There's no place like a (multi)home :-)
Aug. 26, 2016 07:15 PM EDT Reads: 364
Aug. 26, 2016 07:00 PM EDT Reads: 651
Aug. 26, 2016 07:00 PM EDT Reads: 623
Aug. 26, 2016 06:00 PM EDT Reads: 1,912
Aug. 26, 2016 05:00 PM EDT Reads: 661
Aug. 26, 2016 04:45 PM EDT Reads: 1,522
Aug. 26, 2016 04:30 PM EDT Reads: 2,294
Aug. 26, 2016 04:00 PM EDT Reads: 3,927
Aug. 26, 2016 03:45 PM EDT Reads: 546
Aug. 26, 2016 03:15 PM EDT Reads: 402
Aug. 26, 2016 01:30 PM EDT Reads: 3,409
Aug. 26, 2016 01:00 PM EDT Reads: 1,971
Aug. 26, 2016 12:30 PM EDT Reads: 630
Aug. 26, 2016 11:45 AM EDT Reads: 667
Aug. 26, 2016 11:45 AM EDT Reads: 582