Excluding instances from synchronization by tagging the instance in Google Cloud

This topic provides information on how to make selected instances invisible to HYCU for Google Cloud. The needs of your environment may require that some instances are not protected by HYCU for Google Cloud. For example, your Google Cloud projects may include managed instance groups and employ an autoscaler. To leave some instances unprotected, you can exclude them from synchronization so that they are not visible to HYCU for Google Cloud. The invisible instances cannot be assigned policies in any way.

Procedure

  1. In the Google Cloud Console, choose a Google Cloud project to which the instances that you want to leave unprotected belong.

  2. Within the project, choose an instance and add it the hycu‑vm‑sync custom metadata tag in Google Compute Engine. Use the following data:

    Key Value

    hycu-vm-sync

    false

    Custom metadata tags can be added from the Google Cloud Console, the gcloud command line, or by using the Google Cloud API. For instructions, see Google Cloud documentation.

  3. Repeat step 2 for each additional instance that you want to make invisible to HYCU for Google Cloud.

  4. Sign in to the HYCU for Google Cloud web user interface.

  5. Select the protection set that includes the same Google Cloud project as you selected in step 1 of the procedure. For instructions on selecting protection sets in HYCU for Google Cloud, see “Selecting a HYCU for Google Cloud protection set”.

  6. In the navigation pane, click  Instances.

  7. Click  Synchronize or wait until the next instance synchronization cycle.

    In the Instances panel, the names of the instances that you excluded from synchronization are not present.