Amazon EC2 VPC Endpoint Service pattern-based discovery

  • Release version: Yokohama
  • Updated June 16, 2026
  • 3 minutes to read
  • Summarize
    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 Amazon EC2 VPC Endpoint Service pattern-based discovery

    The Amazon EC2 VPC Endpoint Service pattern-based discovery enables ServiceNow customers to automatically discover and map AWS VPC Endpoint Services within their cloud environments. This capability is part of the Discovery and Service Mapping Patterns application, which requires updating to the latest version from the ServiceNow Store for optimal functionality. It supports comprehensive data collection in both CMDB and non-CMDB tables, facilitating accurate asset and configuration management.

    Show full answer Show less

    Key Features

    • Pre-requisites and Setup: Ensure AWS discovery prerequisites are met and remove any duplicated resources from the Resource Inclusion List to avoid redundant discovery.
    • Pattern Activation: The VPC Endpoint Service discovery pattern is disabled by default and must be enabled. Activating or deactivating patterns no longer counts as customization, preserving updates during upgrades.
    • GovCloud Support: Special configuration using a datacenter URL is required when discovering AWS GovCloud (US) accounts.
    • Data Storage: The discovery populates detailed data about VPC Endpoint Services both in CMDB tables (such as Cloud Gateway) and non-CMDB AWS-specific tables.
    • Tag Discovery: AWS resource tags are collected and stored in the Key Value [cmdbkeyvalue] table for enhanced resource categorization and management.
    • CI Relationships: Automatically establishes relationships between VPC Endpoint Services, Cloud Gateways, and AWS Datacenters for accurate topology mapping.

    Key Outcomes

    • Accurate identification of AWS VPC Endpoint Services with unique identifiers like ARN and service IDs.
    • Clear distinction of whether services are customer-managed or AWS-managed.
    • Comprehensive status tracking with install and operational status recorded in the CMDB.
    • Improved resource management through tagging information captured and linked to configuration items.
    • Enhanced visibility into AWS cloud resources supporting efficient cloud governance and operational insights.

    Discovery and Service Mapping Patterns finds AWS services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

    Pattern-based discovery and mapping requirements

    Verify the AWS discovery prerequisites
    For more information, see the prerequisites section in Amazon AWS Cloud components discovery using patterns.
    Remove resources from the Resource Inclusion List table
    Verify that the relevant resource isn't listed in the Resource Inclusion List [sa_cloud_inventory_resource_whitelist] table to avoid duplicate discovery. For more information on removing resources from the Resource Inclusion List, see Amazon Web Services (AWS) Resource Inventory.
    Enable the relevant pattern
    The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.
    Configure the Discovery schedule to support GovCloud
    Discovering AWS GovCloud (US) accounts requires using a datacenter URL when setting up an AWS service account. For more information, see Create AWS service accounts.

    Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

    Data stored in non-CMDB tables

    Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - Elastic Compute Cloud VPC Endpoint Service - Extended Inventory (LP) pattern.

    You can review the non-CMDB AWS tables by navigating to All > Configuration > AWS. You can also search the navigation filter for the specific pattern name.

    Table 1. AWS Elastic Compute Cloud - VPC Endpoint Service [cmdb_aws_elastic_cloud_compute_vpc_endpoint_service]
    Field Description
    Object Id [object_id] The Amazon Resource Name (ARN) uniquely identifying the VPC Endpoint Service.

    The ARN consists of the AWS region, account ID, and service ID in the following format: arn:aws:ec2:<region>:<accountId>:vpc-endpoint-service/<service_id>.

    Name [name] The name assigned to the VPC endpoint service.
    Configuration Item [configuration_item] References the Cloud Gateway [cmdb_ci_cloud_gateway] table.
    Is Customer Managed [is_customer_managed] Indicates whether the VPC Endpoint Service is managed by a customer or AWS.
    Service ID [service_id] The unique identifier for the VPC endpoint service.
    Service Type [service_type] The type of the VPC endpoint service. For example: Interface or Gateway.

    Data stored in CMDB tables

    Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - Elastic Compute Cloud VPC Endpoint Service - Extended Inventory (LP) pattern.

    Table 2. Cloud Gateway [cmdb_ci_cloud_gateway]
    Field Description
    Object ID [object_id] The ARN uniquely identifying the VPC Endpoint Service.

    The ARN consists of the AWS region, account ID, and service ID in the following format: arn:aws:ec2:<region>:<accountId>:vpc-endpoint-service/<service_id>.

    Name [name] The name assigned to the VPC endpoint service.
    Install Status [install_status] Install status of the resource. Default value is Installed.
    Operational status [operational_status] Operational status of the resource. Default value is Operational.
    Description [short_description] Type of resource. The value is set to AWS::Elastic Compute Cloud::VPC Endpoint Service.

    CI relationships

    The Amazon AWS - Elastic Compute Cloud VPC Endpoint Service - Extended Inventory (LP) pattern creates these relationships to support Amazon EC2 VPC Endpoint Service discovery.

    CI Relationship CI
    Cloud Gateway [cmdb_ci_cloud_gateway] Hosted on::Hosts AWS Datacenter [cmdb_ci_aws_datacenter]
    AWS Elastic Compute Cloud - VPC Endpoint Service [cmdb_aws_elastic_cloud_compute_vpc_endpoint_service] References Cloud Gateway [cmdb_ci_cloud_gateway]

    AWS tag discovery

    The pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
    Table 3. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.