Two producers, two delivery paths
How service log delivery and CloudWatch Agent configuration, permissions, and connectivity control log ingestion and explain missing logs. · advanced
Log generation is not log delivery. An application can write healthy local files while nothing reaches CloudWatch Logs. Likewise, enabling an AWS service does not automatically enable every supported log destination. Identify the producer, its delivery mechanism, and its configured destination before changing permissions.
The diagram fixes two paths: an EC2 application's files collected by the CloudWatch Agent, and a CloudTrail trail explicitly configured for CloudWatch Logs delivery. Only the agent path uses the workload VPC's Logs interface endpoint. Service-managed delivery does not pass through that endpoint.
Keep adjacent tools distinct: Systems Manager can store and distribute agent configuration but does not itself tail these files; X-Ray collects traces rather than tailing application logs. A Transit Gateway routes between networks, and CloudFront distributes content; neither provides a CloudWatch Logs interface endpoint.
1 / 6 The application on EC2 writes log records to local files. Those files are the source for this collection path.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.