LOW
Source
CloudSploit
ID
image-labels-added

Image Labels Added

Ensure that all VM disk images have labels added.

Labels are a lightweight way to group resources together that are related to or associated with each other. It is a best practice to label cloud resources to better organize and gain visibility into their usage.Labels are a lightweight way to group resources together that are related to or associated with each other. It is a best practice to label cloud resources to better organize and gain visibility into their usage.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log into the Google Cloud Platform Console.

  2. Scroll down the left navigation panel and choose “Compute Engine” to select the “Images” option.

  3. On the “Image” page, select the disk image which needs to be verified whether it has labels added or not by clicking on the checkbox next to its name.Step

  4. From the panel on the right side, select “Labels” and check if there are any labels shown. If not, the disk image does not have labels added.Step

  5. Repeat steps number 3-4 to check other disk images in the project.

  6. Navigate to “Compute Engine”, choose “Images”. From the panel on the right side, click on “Labels” and then click on the checkbox next to the name of the “Image” which needs to have labels added.Step

  7. Click on “Add Label”, and add key and value for the label. Add as many labels as you want and then click “Save”.Step

  8. Repeat steps number 7-8 to add labels to all other disk images in the project.