This message was deleted.
# general
a
This message was deleted.
r
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. https://aws.amazon.com/premiumsupport/knowledge-center/nat-gateway-vpc-private-subnet/ For the inbound traffic you can use an ELB to get traffic to the worker node EC2 instances in the private subnet. https://rancher.com/docs/rancher/v2.5/en/installation/resources/k8s-tutorials/infrastructure-tutorials/nlb/ Both these options are little complicated when it comes to AWS networking but hopefully point you in the right direction.
e
Thanks! @rapid-printer-61897 Yeah I will opt or the NAT Gateway route I think then, cheers!!
👍 1