About This Architecture

ECS OpenTelemetry observability pipeline routes metrics and traces from Java applications running in ECS tasks through an OpenTelemetry Collector to CloudWatch, Amazon Managed Prometheus, and AWS X-Ray via VPC endpoints. The Transaction Processor Java application instrumented with the OTel Java Agent sends telemetry to the OpenTelemetry Collector running on localhost within the same ECS task, eliminating external network hops. VPC endpoints in a private subnet enable secure, cost-efficient communication to AWS observability services without traversing the public internet. This architecture demonstrates best practices for zero-trust networking, reduced data transfer costs, and unified observability across metrics, traces, and logs. Fork and customize this diagram on Diagrams.so to adapt endpoint configurations, add log aggregation, or extend to multi-region deployments.

People also ask

How do I set up OpenTelemetry observability for Java applications running in AWS ECS with VPC endpoints?

This diagram shows a complete ECS observability pipeline where a Java application instrumented with the OTel Java Agent sends metrics and traces to an OpenTelemetry Collector running on localhost within the same ECS task. The Collector routes telemetry through VPC endpoints to CloudWatch, Amazon Managed Prometheus, and AWS X-Ray, ensuring secure, private communication without internet exposure and

ECS OpenTelemetry Observability Pipeline

AWSintermediateAWS ECSOpenTelemetryobservabilityVPC endpointsCloudWatchX-Ray
Domain: Cloud AwsAudience: AWS solutions architects designing observability for containerized Java applications
3 views0 favoritesPublic

Created by

August 18, 2026

Updated

August 30, 2026 at 9:06 AM

Type

network

Need a custom architecture diagram?

Describe your architecture in plain English and get a production-ready Draw.io diagram in seconds. Works for AWS, Azure, GCP, Kubernetes, and more.

Generate with AI

AI-generated. Verify before production use. Learn more

Report this diagram