How the security agent connects to GuardDuty - Amazon GuardDuty
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

How the security agent connects to GuardDuty

The Runtime Monitoring security agent delivers runtime events to GuardDuty through an Amazon VPC endpoint. The data stays within the AWS network. There is no additional cost for GuardDuty connectivity.

Amazon VPC endpoint connectivity

The agent connects to the GuardDuty backend through an Amazon VPC endpoint. It resolves and connects to the endpoint's private DNS name. For a non-FIPS endpoint, this is guardduty-data.us-east-1.amazonaws.com. Replace us-east-1 with your AWS Region.

The resource must have a valid network path to an active guardduty-data Amazon VPC endpoint. GuardDuty selects the subnet based on IP availability, so for advanced network topologies, validate that a valid network path exists.

Prerequisites

For prerequisites, see Prerequisites to enabling Runtime Monitoring.

Considerations

  • Automated agent configuration – GuardDuty establishes connectivity automatically. If you manage the agent manually, you need to create an Amazon VPC endpoint for the agent to connect through.

  • All VPCs – With automated agent configuration, GuardDuty sets up connectivity across all your VPCs, including centralized and spoke VPCs. For more information about centralized VPCs, see Interface VPC endpoints in the AWS Whitepaper - Building a Scalable and Secure Multi-VPC AWS Network Infrastructure.

  • Shared VPC – If you use a shared VPC, GuardDuty uses that shared VPC to receive runtime events from your resources after the prerequisites are met. See Using shared VPC with Runtime Monitoring.

  • Cross-Region routing through Amazon VPC endpoints – GuardDuty is a Regional service. When the agent connects through an Amazon VPC endpoint, it must use a guardduty-data endpoint in the same AWS Region as the resource. If you route traffic between Regions, such as over a VPN or tunnel, don't send agent traffic to a guardduty-data endpoint in another Region. Agent traffic sent to another Region isn't supported.