Skip to content

EC2 Marathon Binding Public IP #7

@ghost

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions