Using Terraform to Deploy the Pure Storage VMware Appliance

Share on:

Ive previously covered what’s new in the Pure Storage VMware Appliance and how to deploy it via PowerCLI, lets take a look at how to deploy the Pure Storage VMware Appliance using Terraform.

Pre-Requsites

Preparing to Execute the Runbook

In order to depoloy the Pure Storage VMware Appliance ics collector, we must first define variables to be used.

Execute the Runbook

  • The script is pretty straight forward, you will need to download the Appliance OVA to a local directory and fill in the appropriate variables on the configuration file. Terraform also supports a Remote OVF, but due to performance reasons I have find local to work better.
1git clone https://github.com/dstamen/Terraform.git #Clone the Github Repository
2cd Terraform/deploy-pureova #Change to Runbook Directory
3terraform init #Initialize and install the provider if needed
4terraform plan #Validate the run book will work
5terraform apply #Deploy your VM!

Conclusion

Options are great, want to use the UI? Check! Want to use Powershell? Check! Want to use Terraform? Check!

What would you like to see next? Leave a comment below!

comments powered by Disqus

See Also