Skip to main content
Version: Deploy 24.3

Configuring Deployables Using Google Cloud Compute Plugin

This topic covers the Deploy Google Cloud Compute plugin, which supports Deploy Instance Spec, Deploy Template Spec, and DialogFlow Agent Zip Spec deployables.

Prerequisites

  • Digital.ai Deploy 10.3 or later releases
  • Google Cloud Platform infrastructure

Step 1—Create google.AccountCloud Infrastructure

To create google.AccountCloud in Infrastructure:

  1. Log in to Digital.ai Deploy.
  2. Click Explorer, hover over Infrastructure, click Menu button, and select New > google > AccountCloud to create google.AccountCloud.

Configure Instance Spec

  1. Enter the details in Project Id, Clent Email, and Private Key fields.

Configure Instance Spec

  1. Click Save.

NOTE Make sure to check the connection is successful.

Configure Instance Spec

Step 2—Set up google.AccountCloud Enviornment

  1. Create environment for google.AccountCloud. See See create an environment to know more information.

  2. Select the container from drop down list.

Configure Instance Spec

  1. Click Save

Step 3—Create and Deploy Application

Create and deploy provisioning package for Instance Spec, Template Spec and DialogFlow Agent ZIP Spec:

Step 3.1—Deploy Instance Spec

  1. Click Explorer, hover over Applications, Click Menu button and select New > Application.
  2. Enter the name of the application in the Name field. For example GCP-Instance-Deploy.
  3. Click Save and close.
  4. Click on Applications drop down, hover over the new application created GCP-Instance-Deploy, Click Menu button and select New > Deployment Package.
  5. Enter the name of the configuration item in the Name field. For example 1.0.0.
  6. Click Save and close.
  7. Click on GCP-Instance-Deploy drop down, hover over the new package created 1.0.0. Click Menu button and select New > googlecloud > compute > InstanceSpec.

Configure Instance Spec

  1. Enter the name of the configuration item in the Name field.
  2. Provide the following values:
  • Zone
  • Machine
  • Image Project
  • Image
  • Wait On Create*
  • Wait On Destroy*

Configure Instance Spec

  1. Click Save.

Note You can add additional configuration as per your requirement.

  1. To add additional configuration, hover over instance-spec, Click Menu button and select New > and select the required spec.

Configure Instance Spec

  1. Start the deployment. For more information, see Start a Deployment.

Configure Instance Spec

  1. Check the deployment on google cloud.

Configure Instance Spec

Step 3.2—Deploy Template Spec

  1. Click Explorer, hover over Applications, Click Menu button and select New > Application.
  2. Enter the name of the application in the Name field. For example GCP-Instance-Deploy.
  3. Click Save and close.
  4. Click on Applications drop down, hover over the new application created GCP-Instance-Deploy, Click Menu button and select New > Deployment Package.
  5. Enter the name of the configuration item in the Name field. For example 1.0.0.
  6. Click Save and close.
  7. Click on GCP-Instance-Deploy drop down, hover over the new package created 1.0.0. Click Menu button and select New > googlecloud > compute > TemplateSpec.

Configure Instance Spec

  1. Enter the name of the configuration item in the Name field.
  2. Provide the following values:
  • Zone
  • Machine
  • Image Project
  • Image
  • Wait On Create*
  • Wait On Destroy*

Configure Instance Spec

  1. Click Save.

Note You can add additional configuration as per your requirement.

  1. To add additional configuration, hover over instance-spec, Click Menu button and select New > and select the required spec.

Configure Instance Spec

  1. Start the deployment. For more information, see Start a Deployment.

Configure Instance Spec

  1. Check the deployment on google cloud.

Configure Instance Spec

Step 3.3—Deploy DialogFlowAgentZIP Spec

  1. Click Explorer, hover over Applications, Click Menu button and select New > Application.
  2. Enter the name of the application in the Name field. For example GCP-Instance-Deploy.
  3. Click Save and close.
  4. Click on Applications drop down, hover over the new application created GCP-Instance-Deploy, Click Menu button and select New > Deployment Package.
  5. Enter the name of the configuration item in the Name field. For example 1.0.0.
  6. Click Save and close.
  7. Click on GCP-Instance-Deploy drop down, hover over the new package created 1.0.0. Click Menu button and select New > googlecloud > dialogflow > AgentZipSpec.

Configure DialogFlow Agent ZIP Spec

  1. Type the name of the configuration in Name field.
  2. Browse the file from Choose file field.
  3. Type true in Restore Agent field.

Configure DialogFlow Agent ZIP Spec

  1. Click Save and close.

Note The File Uri field updates once you save the configuration.

  1. Start the deployment. For more information, see Start a Deployment.

Configure DialogFlow Agent ZIP Spec

Configure DialogFlow Agent ZIP Spec

  1. Check the output at dialogflow.cloud.google.com for the selected zip file.

Configure DialogFlow Agent ZIP Spec