> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/gcp-vm-instances-enabled-with-pre-emptible-termination.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP VM Instances enabled with Pre-Emptible termination

### Synopsis

| Field               | Value                                                  |
| ------------------- | ------------------------------------------------------ |
| Rule Type           | Detection                                              |
| Finding Type        | GCP VM Instances enabled with Pre-Emptible termination |
| Finding ID          | 60000077                                               |
| Generates a Finding | This detection rule also generates a finding           |
| Severity            | Informational                                          |
| Category            | CONFIGURATION                                          |
| Cloud Providers     | GCP                                                    |
| Platform Module     | CSPM                                                   |
| Asset Types         | GOOGLE\_COMPUTE\_ENGINE\_VM\_INSTANCE                  |
| ATT\&CK Tactic      | TA0112 (TA0112)                                        |
| ATT\&CK Technique   | T1685 (T1685)                                          |

### Description

Pre-emptible Google Compute Engine (GCE) Virtual Machine instances, when enabled with 'Pre-Emptible termination' set to True, risk unexpected service disruptions. These instances can be terminated by Google Cloud Platform (GCP) with little to no notice, primarily to address high demand for resources.

GCE's pre-emptible instances offer cost savings by leveraging otherwise unused compute capacity. However, the inherent short-lived nature of these instances presents a significant risk. Applications or services deployed on pre-emptible instances could face unexpected downtime, leading to service outages, data loss, and potential business disruptions. Untrusted IPs accessing these instances further amplify the risk.

The impact of this misconfiguration includes application unavailability, data corruption, and compromised business operations. Maintaining reliable service is paramount; therefore, deploying critical applications or sensitive data on pre-emptible instances should be avoided. Prioritizing high-availability and fault-tolerance is crucial for ensuring business continuity.

To mitigate this risk, carefully evaluate the suitability of pre-emptible instances for each workload. Use them only for non-critical applications or tasks that can tolerate interruptions. Implement robust autoscaling and failover mechanisms. Regularly monitor the status of pre-emptible instances and plan for potential terminations to minimize disruptions.

### Remediation

**Manual steps:**

Google Compute Engine VM Instance - Manual remediation steps:

Once a VM instance is started with Pre-Emptible set to Yes, it cannot be changed. If this instance with Pre-Emptible set is a critical resource, then spin up a new VM instance with necessary services, processes, and updates so that there will be no interruption of services.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/gcp-vm-instances-enabled-with-pre-emptible-termination.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
