We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a local IP. Thus, DRBD will not work as it needs an interface.
I've thought about using VIP or VPN to be able to use local IP's, but that would degrade the connection as its another layer.
Any thoughts or ideas?
[US EAST 1] [US WEST 1]
[EC2-INSTANCE] -> [ELASTIC-IP] -> DRBD <- [ELASTIC-IP] <- [EC2-INSTANCE]
*no eth interface* *no eth interface*
Edit: Alternative solutions (to DRBD/Clustering/Replciating) are more than welcome!
Edit 2:
Client connecting to address.com, TCP port 5001
TCP window size: 16.0 KByte (default)
[ 3] local 10.160.27.107 port 59254 connected with 107.21.118.27 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 44.1 MBytes 36.9 Mbits/sec
(Mbits/sec was 25 to 36)
The Elastic IP isnt a new interface, its a public IP that maps to an interface. So if you have an instance with one interface, and you bind an EIP to it, traffic sent to that IP will go to that interface