# Google Cloud Platform Node Steps
# Getting Started
TIP
It is helpful to configure the GCP Compute VM resource model plugin before using these steps: GCP Compute VM Resource Model
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 Node Steps (Enterprise Only)
# 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. It would be possible to remove a lot of instances by mistake if the node filter is too broad.