I'm new to Terraform, but how to say run it on a regular server? Is it possible? I am talking - regular on premises machine
EDIT: Years later I come back to this question: Let me reform it. Can Terraform be used to provision a datacenter server, which is not on a hypervisor.
Yes, Terraform can be used for on-prem infrastructure. There are many providers which are available.
»Provisioning Infrastructure with Terraform. Terraform's primary function is to create, modify, and destroy infrastructure resources to match the desired state described in a Terraform configuration.
One of the main appeals of Terraform is how it works across all the cloud providers at the same time, unlike many of Terraform's direct competitors like CloudFormation, which work primarily with a single cloud provider only.
Terraform supports a bunch of providers, but the vast majority of them are public cloud based. However, you could set up a local VMware vSphere cluster and use the vSphere provider to interact with that to get you going. There's also a provider for OpenStack if you want to set up an OpenStack cluster.
Terraform operates by calling into the APIs of various service providers and systems. Thus in principle Terraform can manage anything that has an API, and in practice it has existing support for a few different on-premises-capable systems, including:
If the compute resources in your existing datacenter infrastructure are already managed with one of these systems, or if you are willing to install them, then Terraform can be used to manage at least parts of these systems. (For full details, see the documentation for each provider linked above.)
Terraform's plugin architecture allows support for other systems to be developed, so other API-driven datacenter management systems such as The Foreman could be supported by Terraform, and indeed third parties have developed integrations with others that are distributed outside of the "official set" that HashiCorp hosts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With