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
posta 2 anni fa877 visualizzazioni
3 Risposte
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.

con risposta 2 anni fa
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
con risposta 2 anni fa
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.

ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande