---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# GCP AlloyDB for PostgreSQL

# Google Cloud Platform (GCP) AlloyDB for PostgreSQL discovery using patterns {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Google Cloud Platform (GCP) AlloyDB for PostgreSQL discovery using patterns

The Google Cloud Platform (GCP) AlloyDB for PostgreSQL discovery pattern enables ServiceNow customers to automatically discover AlloyDB for PostgreSQL resources within their GCP environment during horizontal discovery.
This pattern is part of the Discovery and Service Mapping Patterns application and requires verifying GCP discovery prerequisites for successful operation.
When executed, it populates the Configuration Management Database (CMDB) with detailed AlloyDB-related configuration items (CIs) and their relationships.
Show full answer Show less  

## Key Features

* **Discovery of AlloyDB Resources:** Automatically identifies AlloyDB clusters, databases, availability zones, cloud service accounts, and Google datacenters.
* **CMDB Population:** Captures key attributes of discovered resources such as cluster IDs, operational and install statuses, cluster types, CPU count, IP addresses, and replication types.
* **Relationship Mapping:** Establishes and visualizes relationships among AlloyDB instances, clusters, availability zones, and datacenters to provide a clear dependency view on the Dependency Views map.
* **Tag Collection:** Gathers and records tags associated with AlloyDB clusters and databases into the Key Value \[cmdbkeyvalue\] table, supporting enhanced classification and filtering.

## Key Outcomes

* Complete, up-to-date visibility of AlloyDB for PostgreSQL resources in the CMDB, supporting accurate asset and service management.
* Clear understanding of the operational state and configuration of AlloyDB clusters and databases, facilitating monitoring and troubleshooting.
* Improved impact analysis and change management through well-defined CI relationships connecting databases, clusters, availability zones, and datacenters.
* Enhanced organization and searchability of AlloyDB resources using collected tags stored within key-value pairs linked to the respective CIs.  
Discovery and Service Mapping Patterns uses the Google Cloud Platform (GCP) - AlloyDB for PostgreSQL pattern to discover AlloyDB for PostgreSQL during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#gcp-alloydb-postgresql-patterns__section_txl_rj2_wfc}

Verify the GCP discovery prerequisites section in [Google Cloud Platform (GCP) Cloud discovery using Patterns](https://www.servicenow.com/docs/hH4wPjzyLr0pmFmj6Ib5TA "Discovery and Service Mapping Patterns uses patterns to discover components of the Google Cloud Platform (GCP) deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

## Data collected by Discovery during horizontal discovery {#gcp-alloydb-postgresql-patterns__section_s2v_tj2_wfc}

Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - AlloyDB for PostgreSQL pattern.  
{#gcp-alloydb-postgresql-patterns__table_ps1_twd_wfc__entry__2}

| Field | Description |
|-|-|
| Account Id \[account_id\] | Name of the project used for the discovery. |
| Object ID \[object_id\] | Name of the project used for the discovery. |
| Datacenter Type \[datacenter_type\] | Datacenter type: Google Datacenter \[cmdb_ci_google_datacenter\]. |
[Table 1. Cloud Service Account \[cmdb_ci_cloud_service_account\]]

{#gcp-alloydb-postgresql-patterns__table_ps1_twd_wfc} {#gcp-alloydb-postgresql-patterns__table_mk4_2yd_wfc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the availability zone. |
| Description \[short_description\] | Description of the availability zone. |
| State \[state\] | State of the Availability Zone. Possible values are Available or Terminated. |
[Table 2. Availability Zone \[cmdb_ci_availability_zone\]]

{#gcp-alloydb-postgresql-patterns__table_mk4_2yd_wfc} {#gcp-alloydb-postgresql-patterns__table_vbd_1zd_wfc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Datacenter or region name. |
| Region \[region\] | Datacenter or region name. |
| Object ID \[object_id\] | Unique identifier allocated by GCP for this resource. |
| Description \[short_description\] | Datacenter or region description. |
[Table 3. Google Datacenter \[cmdb_ci_google_datacenter\]]

{#gcp-alloydb-postgresql-patterns__table_vbd_1zd_wfc}  
{#gcp-alloydb-postgresql-patterns__table_brd_ck2_wfc__entry__2}

| Field | Description |
|-|-|
| Cluster ID \[cluster_id\] | The GCP system-generated unique identifier (UID) of the resource. |
| Name \[name\] | Name of the cluster resource. |
| Automated Backups \[automated_backup\] | Determines whether automated backups are enabled. Possible values are Enabled or Disabled. |
| Install Status \[install_status\] | Install status of the cluster. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the cluster. Default value is Operational. |
| Cluster Status \[cluster_status\] | Current state of this cluster.​ For example: READY or STOPPED. |
| Cluster Version \[cluster_version\] | Optional field that displays the database engine's major version. |
| Cluster Type \[cluster_type\] | Type of cluster. Possible values are AlloyDB -- Primary cluster or AlloyDB -- Secondary cluster. |
[Table 4. Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\]]

{#gcp-alloydb-postgresql-patterns__table_brd_ck2_wfc}  
{#gcp-alloydb-postgresql-patterns__table_ctw_mk2_wfc__entry__2}

| Field | Description |
|-|-|
| Object ID \[object_id\] | The GCP system-generated UID of the resource. |
| Name \[name\] | Name of the instance resource. |
| Install Status \[install_status\] | Install status of the database. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the database. Default value is Operational. |
| State \[state\] | State of the database. Possible values are Available or Terminated. |
| CPU Count \[cpu_count\] | Number of central processing units (CPUs) in the virtual machine (VM) instance. |
| Type \[type\] | Type of database: AlloyDB -- PostgreSQL. |
| Replication Type \[replication_type\] | Type of the instance specified at creation time. For example: Primary instance, Read pool instance, or Secondary instance. |
| IP Address \[ip_address\] | IP address for the Instance, which is the endpoint for an end-user application. |
[Table 5. Cloud DataBase \[cmdb_ci_cloud_database\]]

{#gcp-alloydb-postgresql-patterns__table_ctw_mk2_wfc}

On the Dependency Views map, you can view all discovered AlloyDB for PostgreSQL resources in your organization and the relationships between them.  
Figure 1. AlloyDB for PostgreSQL instance dependency view  
Figure 2. AlloyDB for PostgreSQL Cluster dependency view

## CI relationships {#gcp-alloydb-postgresql-patterns__section_wmp_1l2_wfc}

Discovery creates these relationships to support the AlloyDB for PostgreSQL discovery.  
{#gcp-alloydb-postgresql-patterns__table_dds_fl2_wfc__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Availability Zone \[cmdb_ci_availability_zone\] | Contains::Contained by | Cloud DataBase \[cmdb_ci_cloud_database\] |
| Cloud DataBase \[cmdb_ci_cloud_database\] | Hosted on::Hosts | Google Datacenter \[cmdb_ci_google_datacenter\] |
| Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] | Cluster of::Cluster | Cloud DataBase \[cmdb_ci_cloud_database\] |
| Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] | Hosted on::Hosts | Google Datacenter \[cmdb_ci_google_datacenter\] |
| Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] | Replicates::Replicated by | Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] |
| Key Value \[cmdb_key_value\] | References | Cloud DataBase \[cmdb_ci_cloud_database\] |
| Key Value \[cmdb_key_value\] | References | Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] |
[ ]

{#gcp-alloydb-postgresql-patterns__table_dds_fl2_wfc}

## Tag discovery {#gcp-alloydb-postgresql-patterns__section_fw5_1l2_wfc}

The Google Cloud Platform (GCP) - AlloyDB for PostgreSQL pattern collects tags and populates them in two entries in the Key Value \[cmdb_key_value\] table. One entry references the Cloud DataBase table, the other entry references the
Cloud DataBase Cluster table.  
{#gcp-alloydb-postgresql-patterns__table_zm3_tl2_wfc__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag key. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | References the Cloud DataBase \[cmdb_ci_cloud_database\] table |
| Configuration item \[configuration_item\] | References the Cloud DataBase Cluster \[cmdb_ci_cloud_db_cluster\] table |
[Table 6. Key Value \[cmdb_key_value\]]

{#gcp-alloydb-postgresql-patterns__table_zm3_tl2_wfc}

