This message was deleted.
# general
This message was deleted.
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.
Thanks! @rapid-printer-61897 Yeah I will opt or the NAT Gateway route I think then, cheers!!
👍 1