Deploy Watson Machine Learning Community Edition (WMLCE) software stack using Terraform on IBM Cloud VPC
Deploy a Linux Apache WMLCE stack on Ubuntu 18.04 ppc64le running in IBM Cloud VPC. These terraform scripts are also compatible with IBM Cloud Schematics.
- Terraform >= 0.11.14
- IBM Cloud Terraform Provider >= 0.20.0
- IBM Cloud API Key with authorization to provision in IBM Cloud VPC and IBM Cloud Block Storage for VPC
This deployment provisions:
- a Linux Ubuntu ppc64le VM server on IBM Cloud VPC
- Creates a new ssh key to login
- Opens Ports 80, 443 in VPC Security Group port to access web page
- Opens Ports 22 to access SSH console
- Sets up NVIDIA driver and installs WMLCE packages
After install, you can ssh into the VM through the floating IP and private ssh key
To run the example, you will need to:
- Clone this Git repository
- Download and configure the IBM Cloud Terraform provider (minimally v0.20.0 or later)
- Obtain your IBM Cloud API key (needed for step #4)
- Update the variables.tf file to suit your needs
Next, you can run the example by invoking...
The planning phase (validates the Terraform configuration)
terraform init
terraform plan
The apply phase (provisions the infrastructure)
terraform apply
The destroy phase (deletes the infrastructure)
terraform destroy
- Not having to create a new Virtual Server Instance each time