AWS Security ChangesHomeSearch

AWS vpc-lattice: Add CloudWatch metrics docs for resource gateways, configs, consumers

Service: vpc-lattice · 2026-11-20 · Documentation low

File: vpc-lattice/latest/ug/monitoring-cloudwatch.md · Type: logging

Summary

Expands the VPC Lattice CloudWatch monitoring page to document new metric namespaces/dimensions and metrics (BytesProcessed, PacketsDropped, NewFlows, ActiveFlows, PortAllocationErrors) for resource gateways, resource configurations, and resource consumers, including which account receives the metrics and the valid dimension sets.

Security assessment

The diff only adds operational observability documentation: new CloudWatch metric tables, dimensions, and account-visibility notes for resource gateways/configurations/consumers. It describes monitoring data (e.g., PacketsDropped, PortAllocationErrors) and which account receives metrics, but does not document a security control, fix a vulnerability, or reference any CVE/advisory, so it is security-tangential at most.

Evidence

+Amazon VPC Lattice sends data related to your target groups, services, and VPC resources to Amazon CloudWatch, and processes it into readable, near real-time metrics. These metrics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds and send notifications or take actions when those thresholds are met. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html).

Diff

diff --git a/vpc-lattice/latest/ug/monitoring-cloudwatch.md b/vpc-lattice/latest/ug/monitoring-cloudwatch.md
index ce3f0d9..d72d135 100644
--- a//vpc-lattice/latest/ug/monitoring-cloudwatch.md
+++ b//vpc-lattice/latest/ug/monitoring-cloudwatch.md
@@ -7 +7 @@
-View Amazon CloudWatch metricsTarget group metricsService metrics
+View Amazon CloudWatch metricsTarget group metricsService metricsResource gateway and resource configuration metricsResource consumer metrics
@@ -11 +11 @@ View Amazon CloudWatch metricsTarget group metricsService metrics
-Amazon VPC Lattice sends data related to your target groups and services to Amazon CloudWatch, and processes it into readable, near real-time metrics. These metrics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds and send notifications or take actions when those thresholds are met. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html).
+Amazon VPC Lattice sends data related to your target groups, services, and VPC resources to Amazon CloudWatch, and processes it into readable, near real-time metrics. These metrics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds and send notifications or take actions when those thresholds are met. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html).
@@ -22,0 +23,4 @@ Amazon VPC Lattice uses a service-linked role in your AWS account to send metric
+  * Resource gateway and resource configuration metrics
+
+  * Resource consumer metrics
+
@@ -28 +32 @@ Amazon VPC Lattice uses a service-linked role in your AWS account to send metric
-You can view the Amazon CloudWatch metrics for your target groups and services using the CloudWatch console or AWS CLI.
+You can view the Amazon CloudWatch metrics for your target groups, services, resource gateways, resource configurations, and resource consumers using the CloudWatch console or AWS CLI.
@@ -45,0 +50,6 @@ You can view the Amazon CloudWatch metrics for your target groups and services u
+     * To display only the metrics reported for your resource gateways, choose **Resource Gateway Id**. To view the metrics for a single resource gateway, enter its ID in the search field.
+
+     * To display only the metrics reported for your resource configurations, choose **Resource Configuration Id**. To view the metrics for a single resource configuration, enter its ID in the search field.
+
+     * To display only the metrics reported for your resource endpoints, service-network endpoints, or service network VPC associations, choose **VPC Endpoint Id** or **Service Network VPC Association Id**.
+
@@ -55 +65 @@ Use the following [CloudWatch list-metrics](https://docs.aws.amazon.com/cli/late
-For information about each of the metrics and their dimensions, see Target group metrics and Service metrics.
+For information about each of the metrics and their dimensions, see Target group metrics, Service metrics, Resource gateway and resource configuration metrics, and Resource consumer metrics.
@@ -453,0 +464,61 @@ The following statistics are available for this metric:
+## Resource gateway and resource configuration metrics
+
+VPC Lattice automatically publishes metrics for your resource gateways and resource configurations to the `AWS/VpcLattice` Amazon CloudWatch namespace. These metrics are published only to the account that owns the resource gateway. If the resource gateway is in a shared VPC subnet, the participant account that owns the resource gateway receives these metrics, not the VPC owner. Service network owners don't receive these metrics. Metrics are published for all resource configuration types: single, group, child, ARN, and CIDR. For more information, see [Resource gateways](https://docs.aws.amazon.com/vpc-lattice/latest/ug/resource-gateway.html) and [Resource configurations](https://docs.aws.amazon.com/vpc-lattice/latest/ug/resource-configuration.html).
+
+**Dimensions**
+
+Dimension | Description  
+---|---  
+`Resource Gateway Id` | Filters the metric data by resource gateway.  
+`Resource Configuration Id` | Filters the metric data by resource configuration. For a group resource configuration, the group's metrics are the sum of the metrics of its child resource configurations. Each child resource configuration also has its own metrics, under its own resource configuration ID.  
+`Service Network Resource Association Id` | Filters the metric data by the association between the resource configuration and a service network. Includes traffic from clients that access the resource through a service network VPC association or a service-network VPC endpoint.  
+`VPC Endpoint Association Id` | Filters the metric data by the association between the resource configuration and a VPC endpoint. Includes traffic from clients that access the resource through a resource VPC endpoint or a service-network VPC endpoint.  
+`AvailabilityZone` | Filters the metric data by Availability Zone.  
+  
+The metrics are available only for the following dimension sets. You can't combine dimensions from different sets. For example, you can't filter by both `Service Network Resource Association Id` and `Resource Gateway Id`.
+
+Dimension set | Use it to  
+---|---  
+`Resource Gateway Id` `Resource Gateway Id, AvailabilityZone` | View all traffic through a resource gateway, overall or per Availability Zone.  
+`Resource Configuration Id` `Resource Configuration Id, AvailabilityZone` | View all traffic to a resource configuration, overall or per Availability Zone.  
+`Service Network Resource Association Id` `Service Network Resource Association Id, AvailabilityZone` | View traffic to a resource configuration from clients that connect through a service network.  
+`VPC Endpoint Association Id` `VPC Endpoint Association Id, AvailabilityZone` | View traffic to a resource configuration from clients that connect through a VPC endpoint.  
+  
+**Metrics**
+
+Metric | Description | Unit  
+---|---|---  
+`BytesProcessed` |  The number of bytes processed through the resource gateway to and from your resources, aggregated in both directions. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Bytes  
+`PacketsDropped` |  The number of packets dropped by the resource gateway. Increasing values could indicate that the resource is unhealthy or unreachable from the resource gateway. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Count  
+`NewFlows` |  The number of new flows (connections) established to your resources through the resource gateway during the one-minute period. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Count  
+`ActiveFlows` |  The number of flows currently established to your resources through the resource gateway, including idle flows that are still tracked. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistics are `Average` and `Maximum`. | Count  
+`PortAllocationErrors` |  The number of connections that the resource gateway could not establish because it could not allocate a source port. Increasing values usually mean that the resource gateway needs more IPv4 addresses per ENI or more Availability Zones. You can't change either on an existing resource gateway, so create a resource gateway with the settings you need and re-create your resource configurations on it. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Count  
+  
+## Resource consumer metrics
+
+VPC Lattice automatically publishes metrics for clients that access VPC resources to the `AWS/VpcLattice` Amazon CloudWatch namespace. These metrics are published only to the account that owns the resource VPC endpoint, service-network VPC endpoint, or service network VPC association. Service network owners don't receive these metrics. Metrics are published for all resource configuration types. For more information, see [Access a resource through a resource VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/use-resource-endpoint.html) and [Manage the associations for a VPC Lattice service network](./service-network-associations.html).
+
+**Dimensions**
+
+Dimension | Description  
+---|---  
+`VPC Endpoint Id` | Filters the metric data by resource VPC endpoint or service-network VPC endpoint.  
+`Service Network VPC Association Id` | Filters the metric data by service network VPC association.  
+`AvailabilityZone` | Filters the metric data by Availability Zone.  
+  
+The metrics are available only for the following dimension sets. You can't combine dimensions from different sets.
+
+How the client accesses the resource | Dimension sets  
+---|---  
+Resource VPC endpoint or service-network VPC endpoint |  `VPC Endpoint Id` `VPC Endpoint Id, AvailabilityZone`  
+Service network VPC association |  `Service Network VPC Association Id` `Service Network VPC Association Id, AvailabilityZone`  
+  
+**Metrics**
+
+Metric | Description | Unit  
+---|---|---  
+`BytesProcessed` |  The number of bytes processed between clients and the resource, aggregated in both directions. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Bytes  
+`PacketsDropped` |  The number of packets dropped on the path to the resource. Increasing values could indicate a connectivity issue between the client and the resource. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Count  
+`NewFlows` |  The number of new flows (connections) established with the resource during the one-minute period. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistic is `Sum`. | Count  
+`ActiveFlows` |  The number of flows currently established with the resource, including idle flows that are still tracked. Reporting criteria: VPC Lattice reports this metric only for one-minute periods in which there is traffic. Reporting frequency: once a minute. Statistics: The most useful statistics are `Average` and `Maximum`. | Count  
+