Terraform is an open-source infrastructure-as-code software built on the servers.com Public API. This tool allows you to manage your hardware infrastructure as code and carry out practices like descriptive coding and versioning.
Below are some basic concepts that you will encounter when using Terraform.
Terraform provider: a module to manage the services of a certain vendor. servers.com has its own provider as well.
Resource: an object on which an operation is performed. It can be a server, load balancer or any other standalone service.
Data source: an entity to fetch data outside of the current Terraform configuration. For example, data about network pools.
We recommend you start by getting acquainted with our Terraform documentation.
servers.com Terraform providers use the Public API token as a means of authentication. You can get one in the API Tokens page within the customer portal.
You plan to roll out a new version of your application that requires another hardware setup. In this case, you can also apply versioning to your infrastructure and describe hardware configurations for both the current and new application versions.
To get started, follow the guides provided in Terraform’s official documentation.
The Use Provider button in the top-right corner explains how to use the servers.com Terraform provider.