Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.57 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.57 KB

Terraform on Softlayer

Terraform Softlayer Provider

Notes on environment setup

Download Terraform binary and set onto PATH

Download Terraform Softlayer Provider binary and enable it in ~/.terraformrc. Make sure the binary is executable.

providers {
	softlayer = “/.../terraform-provider-softlayer_xxxx"
}

Scenarios

Basic Scenario

  • VM. Provision 2 VMs with a new SSH Key
  • Auto Scale Group. Provision Auto Scale Group and reuse the created SSH Key
  • File Storage. Provision File Storage and mount as NFS to newly provisioned VMs with a new SSH Key

Data Center Platform

  • Mesosphere DC/OS. Provision Mesosphere DC/OS cluster
  • Kubernetes. Provision Kubernetes cluster
  • Slurm. Provision Slurm cluster
  • Yarn. Provision Yarn cluster. With optional add-on Spark and XGBoost.
  • LSF. Provision IBM Spectrum Scale LSF cluster.

Specific Cluster

Terraform UI

Verified

  • Terraform: 0.9.8
  • Terraform Softlayer Provider: 1.5.1

Useful Terraform Command

terraform plan
terraform graph

terraform apply
terraform show

terraform plan --destroy
terraform destroy