Architecture overview
This section provides a reference implementation architecture diagram with description and AWS Well-Architected design considerations.
Architecture diagram
Deploying this solution with the default parameters builds the following environment in the AWS Cloud.
This solution deploys the AWS CloudFormation template in your AWS Cloud account and completes the following settings.
-
Amazon CloudFront
distributes the frontend web UI assets hosted in an Amazon S3 bucket. -
Amazon Cognito
user pool or OpenID Connector (OIDC) can be used for authentication. -
AWS AppSync
provides the backend GraphQL APIs. -
Amazon DynamoDB
stores the solution-related information as the backend database. -
AWS Lambda
interacts with other AWS Services to process the core logic of managing log pipeline, log agents, and obtains information updated in DynamoDB tables. -
AWS Step Functions
orchestrates the on-demand AWS CloudFormation deployment of a set of predefined stacks for log pipeline management. The log pipeline stacks deploy separate AWS resources and are used to collect and process logs and ingest them into Amazon OpenSearch Service for further analysis and visualization. -
Service Log Pipeline or Application Log Pipeline is provisioned on demand via Centralized Logging with the OpenSearch console.
-
AWS Systems Manager
and Amazon EventBridge manage log agents for collecting logs from application servers, such as installing log agents (Fluent Bit) for application servers and monitoring the health status of the agents. -
Amazon EC2
or Amazon EKS installs Fluent Bit agents and uploads log data to the application log pipeline. -
Application log pipelines read, parse, process application logs, and ingest them into Amazon OpenSearch Service domains or Light Engine.
-
Service log pipelines read, parse, process AWS service logs and ingest them into Amazon OpenSearch Service domains or Light Engine.
Note
This solution supports two types of log pipelines: Service Log Analytics Pipeline and Application Log Analytics Pipeline, and two types of log analytics engines: OpenSearch Engine and Light Engine. Architecture details for pipelines and Light Engine are described in: