Floating private IP across Availability zones

0

Hi,

We are trying to achieve High availability for our SIP Proxy. We intend to set two SIP proxies in two availability zones in the same UK region in Active/Standby. The SIP proxies will front a cluster of Asterisk PBXes on a private network.

For the public interface to SIP clients it is straightforward we can simply use an Elastic IP for the public IP and swap it from one AZ to another. However on the private interface to the PBX cluster we are stuck. The private IPs are secondary IP addresses on the main interface currently and have to be on the subnet for that AZ so we can't just swap a network interface. We have seen some blog posts where it is suggested to use a private IP address which is outside the VPC CIDR range and add it to routing tables. However it is not possible to add this IP to any network interfaces so it can't be used to route out.

Hopefully someone knows a solution to this issue. Thanks

tech74
已提問 2 年前檢視次數 876 次
3 個答案
0

I think you may need a 3rd party load balancer solution for this from the AWS Marketplace. Something like an F5 load balancer appliance.

已回答 2 年前
0

Our SIP proxy is already acting as a load balancer for the Asterisk servers. These third party load balancers don't work in this environment as they need to be SIP aware

tech74
已回答 2 年前
0

Can your clients using the private IPs use a domain name rather than IP address? Then you can programmatically update the Route 53 record set for that domain, changing the A record's IP address mapping. We've often used this approach for HA with an Auto Scaling Group with max=1, for workloads where brief outages are acceptable.

專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南