Skip to content

Conversation

@danielsharvey
Copy link

When elastic IPs are configured, use the first elastic IP address for the tunnel connection instead of the bastion instance's public IP. This ensures the tunnel uses the stable NAT instance IP (which gets replaced by the EIP after creation) rather than a potentially changing public IP address.

Addresses #6305.

When elastic IPs are configured, use the first elastic IP address for the
tunnel connection instead of the bastion instance's public IP. This ensures
the tunnel uses the stable NAT instance IP (which gets replaced by the EIP
after creation) rather than a potentially changing public IP address.

Addresses anomalyco#6305.
@jamesgibbons92
Copy link
Collaborator

@danielsharvey
The bastion is not given an EIP when the nat is managed, so this doesn't work in that case.
The eip should only be used if nat instances are used, as one of the instances is used as the bastion instead of a standalone ec2.
This was resolved in #5820
But you've rightly pointed out some additional issues when importing the VPC in this issue. I'll fix these in a PR and then close down some of these duplicate PR / issues. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants