Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign Elastic IPs for nlb #4063

Open
efekarakus opened this issue Oct 5, 2022 · 1 comment
Open

Assign Elastic IPs for nlb #4063

efekarakus opened this issue Oct 5, 2022 · 1 comment
Labels
area/override Issues related to overrides. size/M We should be able to deliver roughly 1 medium issue in a sprint. type/feature Issues that are new feature requests. type/request Issues that are created by customers.

Comments

@efekarakus
Copy link
Contributor

efekarakus commented Oct 5, 2022

Ask

The Load Balanced Web Service manifest supports the creation of a Network Load Balancer with the nlb field. However, today you cannot assign an elastic IP to the NLB.
This is particularly useful when another system that calls the NLB only has a set of allowlisted IP addresses that it accepts responds from. By assigning an elastic IP to the NLB, then the endpoints of the load balancer become deterministic.

Implementation

https://stackoverflow.com/a/57657411/1201381

Gitter

This feature was originally asked on Gitter: https://gitter.im/aws/copilot-cli?at=633c4cc9b4ccef19d022ca45

@efekarakus efekarakus added type/feature Issues that are new feature requests. type/request Issues that are created by customers. labels Oct 5, 2022
@efekarakus
Copy link
Contributor Author

My intuition says that this feature would be useful with imported VPCs and setups where elastic IP addresses already exist ahead of time. So we would need to import them. I've asked on gitter for validation.

Perhaps a setup like this with work to dynamically fetch elastic IP addresses:

nlb:
  elastic_ips:
     from_tags:
        key: value

@efekarakus efekarakus changed the title Assign Elastic IP for nlb Assign Elastic IPs for nlb Oct 6, 2022
@efekarakus efekarakus added the size/M We should be able to deliver roughly 1 medium issue in a sprint. label Oct 10, 2022
@Lou1415926 Lou1415926 added the area/override Issues related to overrides. label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/override Issues related to overrides. size/M We should be able to deliver roughly 1 medium issue in a sprint. type/feature Issues that are new feature requests. type/request Issues that are created by customers.
Projects
None yet
Development

No branches or pull requests

2 participants