QuestionQ56

Monitoring and Logging

An application has microservices distributed across multiple AWS accounts and integrates with an on-premises legacy system for some functionality.

Because of the segmented architecture and absent logs, each time the application has issues, collecting logs to identify those issues takes too long. A DevOps Engineer must improve the log-aggregation process and provide a way to analyze logs centrally.

Which solution is the MOST efficient and cost-effective?

Explanation

A centralized Amazon S3 log store provides a single repository for logs from AWS and on-premises resources. Amazon S3 event notifications can invoke AWS Lambda for automated processing of arriving logs, while Amazon Athena provides serverless, pay-per-query analysis of logs stored in S3. The CloudWatch agent supports collecting logs from both EC2 instances and on-premises servers.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!