# Google Cloud Platform - Workflow Steps

# Getting Started

Google Cloud Platform (opens new window) (GCP) is a cloud service in wide use for dynamic infrastructure; it is easy to start up and shut down Node "Instances" in the cloud. Use these Rundeck steps to automate common GCP Compute VM actions.

To configure Authentication please use this page as a reference to gather the information below. Creating and Managing Service Account Keys (opens new window).

Project ID
Specify your GCP Project ID.

This setting can be configured using System Configuration using gcp.projectId or project specific using project.gcp.projectId

Zone
Specify your GCP Secret Key. If using the GCP Node Source it's possible to use ${node.zone} and the Zone will be dynamically populated with the region for that node.

This setting can be configured using System Configuration using gcp.zone or project specific using project.gcp.zone

Access Key Path
Path to Key Storage entry containing the Access Key.

This setting can be configured using System Configuration using gcp.zone or project specific using project.gcp.zone

# Compute VM VM Workflow Steps (Enterprise Only)

For each of these steps an Instance Name will need to be included for the instance to be acted on.

# GCP / VM / Start

Start the Compute VM instance.

# GCP / VM / Stop

Start the Compute VM instance.

# GCP / VM / Restart

Start the Compute VM instance.

# GCP / VM / Delete

Terminate the Compute VM instance.

WARNING

Be very careful when using this step.

# GCP / SQLInstance / Restart

Restart a GCP SQL Instance.

Last Updated: 9/13/2021, 11:28:15 PM