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

Provide ability to define IP address of primary interface for FSX for Lustre & Windows #14464

Closed
queglay opened this issue Aug 4, 2020 · 7 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/fsx Issues and PRs that pertain to the fsx service.

Comments

@queglay
Copy link

queglay commented Aug 4, 2020

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.

@queglay queglay added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 4, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 4, 2020
@DrFaust92 DrFaust92 added the service/fsx Issues and PRs that pertain to the fsx service. label Aug 4, 2020
@DrFaust92
Copy link
Collaborator

Hey @queglay,
not sure if this can solve it for you but did you try using aws_eip_association to add an ip to the primary ENI of the file system? and have predictable ip this way? i dont see this as an option for any FSx API directly to achieve this(although i'm not super familiar with its intricacies)

@queglay
Copy link
Author

queglay commented Aug 4, 2020

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.

@queglay
Copy link
Author

queglay commented Aug 26, 2020

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.

@bflad
Copy link
Contributor

bflad commented Sep 22, 2020

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. 👍

@bflad bflad added waiting-response Maintainers are waiting on response from community or contributor. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 22, 2020
@DrFaust92
Copy link
Collaborator

DrFaust92 commented Sep 23, 2020

#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.

@bflad
Copy link
Contributor

bflad commented Sep 23, 2020

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.

@bflad bflad closed this as completed Sep 23, 2020
@ghost
Copy link

ghost commented Oct 23, 2020

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!

@ghost ghost locked as resolved and limited conversation to collaborators Oct 23, 2020
@breathingdust breathingdust removed the waiting-response Maintainers are waiting on response from community or contributor. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/fsx Issues and PRs that pertain to the fsx service.
Projects
None yet
Development

No branches or pull requests

4 participants