Skip to content

AWS PrivateLink Endpoint

The Metrics displayed for AWS PrivateLink Endpoint include the number of concurrent active connections, the number of bytes exchanged between the endpoint and the endpoint service, aggregated bidirectionally, the number of new connections established through this endpoint, the number of packets dropped by this endpoint, the number of RST packets received by this endpoint, etc.

Configuration

Permissions

For AWS cloud collection permissions, see AWS cloud integration role authorization. The read-only permissions required by this integration are listed below.

  • ec2:DescribeVpcEndpoints: Get VPC endpoint information and tags.
  • cloudwatch:ListMetrics: Discover CloudWatch monitoring metrics and dimensions.
  • cloudwatch:GetMetricData: Read in batches: CloudWatch monitoring metric data.

Install Func

We recommend enabling hosted Func under Integration - Extensions in Guance. All prerequisites are installed automatically; continue with the script installation.

If deploying Func manually, refer to Manual Deployment of Func

Install Script

Prepare AWS AK in advance and authorize access as described in Permissions.

Activate Scripts in Hosted Func

  1. Log in to the Guance console
  2. Click the 【Integration】 menu and select 【Cloud Account Management】
  3. Click 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If you have already configured the cloud account information before, ignore this step
  4. Click 【Test】, and if the test is successful, click 【Save】. If the test fails, please check if the relevant configuration information is correct and test again
  5. Click 【Cloud Account Management】, and you can see the added cloud account in the list. Click the corresponding cloud account to enter the details page
  6. Click 【Integration】 on the cloud account details page, find AWS PrivateLink Endpoint in the Not Installed list and click 【Install】 to open the installation form.

Manual Activation Script

  1. Log in to the Func console, click 【Script Market】, open the Guance script market and search for integration_aws_vpc_endpoint.

  2. Click 【Install】, then enter the corresponding parameters: AWS AK ID, AK Secret, and account name.

  3. Click 【Deploy Startup Script】 to create the Startup script set and configure the corresponding startup scripts automatically.

  4. After enabling the script, open 【Management / Automatic Trigger Configuration】 to view its automatic trigger configuration. Click 【Execute】 to run it immediately without waiting for the scheduled time. After a short wait, review the task records and logs.

Verification

  1. Under 【Management / Automatic Trigger Configuration】, confirm that the task has an automatic trigger configuration. Review its task records and logs for errors.
  2. In Guance, check [Infrastructure / Custom] for asset information.
  3. In Guance, check 【Metrics】 for the corresponding monitoring data.

Metrics

After configuring Amazon CloudWatch, the default Measurement is as follows. More Metrics can be collected through configuration:

AWS PrivateLink Endpoint metric details

Metric Name Description Unit Valid Statistics Dimensions
ActiveConnections The number of concurrent active connections. This includes connections in the SYN_SENT and ESTABLISHED states Count Average, Maximum, Minimum EndpointType, ServiceName, VPCEndpointId, VPCId
EndpointType, ServiceName, SubnetId, VPCEndpointId, VPCId
BytesProcessed The number of bytes exchanged between the endpoint and the endpoint service, aggregated bidirectionally. This is the number of bytes that the endpoint owner needs to pay for Bytes Average, Sum, Maximum, Minimum EndpointType, ServiceName, VPCEndpointId, VPCId
EndpointType, ServiceName, SubnetId, VPCEndpointId, VPCId
NewConnections The number of new connections established through this endpoint Count Average, Sum, Maximum, Minimum EndpointType, ServiceName, VPCEndpointId, VPCId
EndpointType, ServiceName, SubnetId, VPCEndpointId, VPCId
PacketsDropped The number of packets dropped by this endpoint. This metric may not capture all packet drops. An increase in value may indicate that the endpoint or endpoint service is not functioning properly Count Average, Sum, Maximum EndpointType, ServiceName, VPCEndpointId, VPCId
EndpointType, ServiceName, SubnetId, VPCEndpointId, VPCId
RstPacketsReceived The number of RST packets received by this endpoint. An increase in value may indicate that the endpoint service is not functioning properly Count Average, Sum, Maximum EndpointType, ServiceName, VPCEndpointId, VPCId
EndpointType, ServiceName, SubnetId, VPCEndpointId, VPCId

Feedback

Is this page helpful?