Deploying a template

Deploy a template in your Managed services environment.

Before you begin

Procedure

To deploy a template, follow these steps:

  1. In the navigation bar, click Library > Terraform templates. The template library is displayed.
  2. Click the template that you want to deploy.
  3. Read the information about the template and click Deploy.

    You can see the template source code in the Template source tab and the template parameters in the Parameters tab.

  4. Specify the following details to deploy a template:

  5. Click Deploy. The template instance window is displayed. The Ready state indicates successful deployment.

    In the template instance window, you can see the instance status, the instance information, the related resource details, and the related input and output variables. You can view or copy the instance logs and you can also access the template from which the instance was deployed.

    Note: Managed services stores the Terraform state file in its database in an encrypted format.

  6. Alternatively, for templates based on IBM Workload Deployer patterns, you can verify the deployment status in IBM Workload Deployer server:
    1. Log in to IBM Workload Deployer.
    2. Go to Virtual system patterns.
    3. Select the pattern that you exported and deployed in Managed services.
    4. Check values of In the cloud now. The deployed instance name in Managed services is available in this field.

In Managed services, you can export a pattern from IBM Workload Deployer and create a template. For the procedure to create a template based on IBM Workload Deployer pattern, see Creating a template from IBM Workload Deployer pattern.