Skip to content

Provision various clusters on Softlayer using Terraform, i.e.,Mesosphere DC/OS(GPU), Kubernetes, Slurm (GPU), LSF, Yarn (Spark, XGBoost, GPU), Ingestion(Spark, ZK, Kafka), Spark (XGBoost)... . And a generic Jupyter Notebook for Terraform Apply .

Notifications You must be signed in to change notification settings

yanglei99/terraform_softlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Provision various clusters on Softlayer using Terraform, i.e.,Mesosphere DC/OS(GPU), Kubernetes, Slurm (GPU), LSF, Yarn (Spark, XGBoost, GPU), Ingestion(Spark, ZK, Kafka), Spark (XGBoost)... . And a generic Jupyter Notebook for Terraform Apply .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published