nixops-aws icon indicating copy to clipboard operation
nixops-aws copied to clipboard

EC2: use public IP by default when elasticIPv4 is set

Open ip1981 opened this issue 9 years ago • 2 comments

Back to NixOS/nixops#221:

Private IP should be used if ec2.associatePublicIpAddress is not true (done) or elasticIPv4 is not set (should be done).

ip1981 avatar Jan 23 '16 20:01 ip1981

@ip1981 could you remove your last comment and add more detailed information? Currently you use private and public, I'm confused what really should be the behaviour.

domenkozar avatar Jun 07 '16 12:06 domenkozar

I mean I was surprised when NixOps decided to use private IP, when I had elasticIPv4 defined.

ip1981 avatar Jun 07 '16 12:06 ip1981