-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Provide ability to define IP address of primary interface for FSX for Lustre & Windows #14464
Comments
Hey @queglay, |
Thanks for your reply, I believe an elastic ip is only public, but we don't want public ips available in this case. Also the primary eni is only available through a custom data type to acquire its id string anyway, so I don't see how to specify its private ip. Maybe I need to try a static route? Ideally it would be good if we could specify the primary eni ourselves like with an ec2 instance to mount FSx with a persistent address. |
It looks like static routes cant do this (replace one ip with another target), so without the ability to define the primary interface private IP, the only way is with route 53 private DNS. With compute running over VPN adding DNS to infrastructure that doesn't require it is problematic. Compared to something like Softnas, this missing feature makes FSX implementation cost high, where it could otherwise be much lower. |
Hi @queglay / @DrFaust92 do either of you have additional thoughts on this? If the FSx (or any service) API does not implement the needed support here, we should close out this feature request since we cannot implement it in this project. Submitting an AWS Support case for the request so its routed to the appropriate AWS service team would be the best in that scenario. 👍 |
#14313 may help this as the primary ENI id will be predictable and the ENI data source can be used to get the private IP. but this may be not predictable enough? I dont see anything else to do on the aws provider side. |
Makes sense. If the API doesn't provide the ability to configure the primary private IP or network interface ID when creating the file system, then it wouldn't be possible to guarantee IP addresses between (re-)creations. @queglay I would suggest following up with AWS Support to raise this as a feature request on that end. Closing this out since it seems like there is nothing we can implement in the Terraform AWS Provider in this case, but if there is a specific API functionality missing in the resources now or in the future that covers this request, we can certainly revisit this. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Currently, each time we spin up FSx clusters, the IP address of the primary interface can change. Images that are used onsite and on cloud to mount FSx must use an IP address (not DNS) to mount (because onsite wont get the DNS).
This is problematic because we cannot bake the ip address of the fsx mounts in the fstab file.
If we were able to provide an argument for the ip address of the primary interface for FSx as would often happen with a cloud NAS (eg Softnas), this would solve this problem.
The text was updated successfully, but these errors were encountered: