-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The EC2 Marathon Binding checks for a Public IP in marathon.py.
hints['public'] = _peek('public-ipv4')
The _peek() method asserts the command successfully pulls a public-ipv4 address from AWS metadata.
I think it is a valid use case to not associate a public IP address with an EC2 instance inside a VPC. The instance will only have a local-ipv4 address and not a public-ipv4 address. The curl command will fail and the assert will break the binding in this case.
Is there a more graceful way of handling EC2 instances with only private IPs?
Metadata
Metadata
Assignees
Labels
No labels