Terraform allows for automation of infrastructure management, or “Infrastructure as Code.” Learn more here
You can use Terraform to automate Elastifile deployments. We have developed an example method for deploying Elastifile on Google Cloud.
See also: Deploying and managing an Elastifile Cloud File System cluster with Terraform
To use this example:
- Check the prerequisites in your Google project to ensure it's ready to go.
- You will need an appropriate GCP image name which represents the correct Elastifile version. The latest available version is: elastifile-storage-3-2-1-51-ems. Please note this is the same image that is used to deploy Elastifile from Google Marketplace. As such, using this image subjects you to the same terms of service and payment terms as listed on Google Marketplace. Please review these terms before proceeding.
- Detailed instructions are on this github repository. Follow the steps in the README.md. Make sure you're using the image name from step 1 in the terraform.tfvars file.
- Once deployed, go to your GCP project and you'll find the Elastifile Management VM with the name you supplied for your cluster. Launch the "External IP" in your browser, login with username "admin" and the password you supplied in the password.txt file.
- For usage instructions at this point, refer to standard Elastifile documentation.
- Enjoy!