Step 5: Configure monitoring with CloudWatch
This step shows you how to use Amazon CloudWatch to monitor the VPC endpoint connection to Amazon Keyspaces.
Amazon PrivateLink publishes data points to CloudWatch about your interface endpoints. You can
use metrics to verify that your system is performing as expected. The
Amazon/PrivateLinkEndpoints
namespace in CloudWatch includes the metrics for
interface endpoints. For more information, see CloudWatch metrics for
Amazon PrivateLink in the Amazon PrivateLink Guide.
To create a CloudWatch dashboard with VPC endpoint metrics
-
Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/
. -
In the navigation pane, choose Dashboards. Then choose Create dashboard. Enter a name for the dashboard and choose Create.
-
Under Add widget, choose Number.
-
Under Metrics, choose AWS/PrivateLinkEndpoints.
-
Choose Endpoint Type, Service Name, VPC Endpoint ID, VPC ID.
-
Select the metrics
ActiveConnections
andNewConnections
, and choose Create Widget. -
Save the dashboard.
The ActiveConnections
metric is defined as the number of concurrent
active connections that the endpoint received during the last one-minute period. The
NewConnections
metric is defined as the number of new connections that
were established through the endpoint during the last one-minute period.
For more information about creating dashboards, see Create dashboard in the CloudWatch User Guide.