i have created 3 eni , in cloud formation template want use ip eni in auto scaling group .i cannot use elastic ip due org constraints.i trying find way keep ip same every time ec2 spins .but did not find way attach eni asg?
you cannot attach eni autoscaling group. need attached instances, , aws not provide direct way attach pool of enis newly spawned instance in autoscaling group.
aws lambda way manage case this, although must provide code yourself. set lambda function subscribe autoscaling events (via sns) autoscaling group, , attach unattached eni newly-created instance.
Comments
Post a Comment