How to implement virtual IPs on AWS?
I found a solution to this, it involves using the ec2-associate-address
command line utility.
One would have to setup check scripts; and upon failure use ec2-associate-address
to take over the elastic IP address. This only works with Elastic IPs (unfortunately) and is the closest I can get on AWS with virtual IPs.
More information is here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html
Related videos on Youtube
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
Is it possible to create floating IPs within Amazon? More specifically within the VPC? If so, how can I do this? Their documentation doesn't seem to point me in the right direction. The best I could find was this: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_ElasticNetworkInterfaces.html
You can create an ENI, attach it to an instance, detach it from an instance, and attach it to another instance. An ENI's attributes follow the ENI as it is attached or detached from an instance and reattached to another instance. When you move an ENI from one instance to another, network traffic is redirected to the new instance.
But that can't be a real solution...
-
Dusan Bajic over 10 yearsI see... thanks for the pointer (I can't help you though, but check ELB, it might be the way to go).
-
Rico over 10 yearsWhat are you trying to design for ? Mysql Fault tolerance/redundancy ?
-