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
asked 2 years ago862 views
3 Answers
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.

answered 2 years ago
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
answered 2 years ago
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.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions