Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWN-194550 #75

Merged
merged 2 commits into from
Mar 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions en/google/compute/persistent-disks-auto-delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[![CloudSploit](https://cloudsploit.com/img/logo-new-big-text-100.png "CloudSploit")](https://cloudsploit.com)

# GOOGLE / Compute / Persistent Disks Auto Delete

## Quick Info

| | |
|-|-|
| **Plugin Title** | Persistent Disks Auto Delete |
| **Cloud** | GOOGLE |
| **Category** | Compute |
| **Description** | Automatically delete read/write zonal persistent disks when the associated VM instance is deleted |
| **More Info** | This behavior is controlled by the autoDelete property on the VM instance for a given attached zonal persistent disk and can be updated at any time. |
| **GOOGLE Link** | https://cloud.google.com/compute/docs/disks |
| **Recommended Action** | Set the auto-delete state of a zonal persistent disk. |

## Detailed Remediation Steps
1. In the Google Cloud console, go to the VM instances page.

[Go to VM instances](https://console.cloud.google.com/compute/instances)

2. Select the instance that has the disks associated with it.

3. Click the instance name. The VM instance details page appears.

4. Click Edit.

5. In the Storage section, under the heading Additional disks, click the pencil icon mode_edit to change the disk's Deletion Rule.

6. Click Save to update your instance.