- Newest
- Most votes
- Most comments
Hello there,
I understand that you would like to provision EC2 with FSx for NetApp ONTAP using Terraform.
You can choose to mount an existing FSx file system that you created previously, or you can create a new file system to mount to an instance at launch.
You may please refer the section "Mount an Amazon FSx file system at launch" in this documentation for detailed steps to do this from the EC2 console.
Please note that you can create an FSx for ONTAP volume using the Amazon FSx console, the AWS CLI, and the Amazon FSx API, in addition to the NetApp ONTAP command line interface (CLI) and REST API. For more information, please refer this documentation.
I also believe that you want to provision EC2 using Terraform and in that case, I would suggest you to refer the following third party links for more information.
Please note that AWS does not endorses third party links and the below link is shared on best effort for the research done related to this case.
[+] https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws/latest
[+] https://www.middlewareinventory.com/blog/terraform-aws-example-ec2/
Thank you!
Thank you for this valuable and detailed answer. Unfortunately I can't find an answer on my question. I do know how to automate FSxN deployment with terraform. I also know how to automate EC2 deployment, but I don't see an option in EC2 terraform deployment how to choose an existing FSxN filesystem, existing SVM and existing Volume, and how to configure a mount point. All those options are available in the AWS EC2 Console.
Relevant content
- Accepted Answerasked a year ago
- asked 3 years ago
- asked 4 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago