08/09/2022, 1:49 PM
Hi, Is there a way to make sure my AWS cluster only uses a fixed elastic ip, Basically my 4 nodes have varying IP’s so its hard to get other IT to white list, but if I could restrict them down then its not an issue for them. How does everyone usually do this?


08/09/2022, 7:00 PM
I don't think there is a way to automatically assign EC2 instances the same elastic IPs upon creation. If you need outbound traffic from the cluster to come from the same IP I think you can use a private subnet on your VPC and route the outbound traffic to a NAT gateway, then assign a elastic IP to the gateway. For the inbound traffic you can use an ELB to get traffic to the worker node EC2 instances in the private subnet. Both these options are little complicated when it comes to AWS networking but hopefully point you in the right direction.


08/09/2022, 9:16 PM
Thanks! @rapid-printer-61897 Yeah I will opt or the NAT Gateway route I think then, cheers!!
👍 1