| Day | Task | Start Date | Completion Date | Reference Materials |
|---|---|---|---|---|
| Mon | - Worked on-site at the office. + Discussed the daily work plan with the team before starting. - Enhanced the anomaly detection logic: + Implemented a function to read historical cost data from S3 and calculate the average cost. + Added spike detection logic (cost > average × multiplier). + Introduced two new configuration variables: SPIKE_MULTIPLIER and HISTORY_DAYS.+ Summarized the day’s progress and shared the results with the team. | 29/06/2026 | 29/06/2026 | - Boto3 S3 Client: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html |
| Tue | - Implemented alert classification and finalized SNS notifications: + Discussed the daily work plan with the team before starting. + Implemented the INFO / WARNING / CRITICAL classification logic based on both the budget threshold and spike detection. + Updated the email notification content to include the alert severity, reason, percentage increase, and historical average. + Standardized the currency format ($X.XX). + Summarized the day’s progress and shared the results with the team. | 30/06/2026 | 30/06/2026 | |
| Wed | - Updated Terraform, tested all three alert levels, and verified the DLQ mechanism: + Discussed the daily work plan with the team before starting. + Added the spike_multiplier and history_days variables and deployed the enhanced Analyzer code.+ Created a script to generate simulated cost data and tested the INFO / WARNING / CRITICAL scenarios. + Tested the DLQ by sending an invalid message and verified that it was automatically moved to the Dead Letter Queue. + Summarized the day’s progress and shared the results with the team. | 01/07/2026 | 01/07/2026 | - Amazon SQS Dead-Letter Queues: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html - Terraform aws_lambda_function: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function |
| Thu | - Performed end-to-end testing of the entire system: + Discussed the daily work plan with the team before starting. + Prepared simulated cost data (historical data and test-day data) in S3 for the WARNING and CRITICAL scenarios. + Triggered only the Lambda Collector and allowed the system to automatically process the workflow through SQS to the Analyzer without manual intervention. + Monitored the complete execution chain: Collector, S3, SQS, Analyzer, and SNS. + Summarized the day’s progress and shared the results with the team. | 02/07/2026 | 02/07/2026 | - Testing Lambda functions: https://docs.aws.amazon.com/lambda/latest/dg/testing-functions.html - Using Lambda with SQS: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html |
| Fri | - Verified the results and refined the implementation: + Discussed the daily work plan with the team before starting. + Confirmed that WARNING and CRITICAL alert emails were delivered correctly with properly formatted currency values ($X.XX). + Reviewed CloudWatch Logs to verify that alerts were classified correctly. + Restored the threshold values to realistic settings and cleaned up the test data. + Summarized the day’s progress and shared the results with the team. | 03/07/2026 | 03/07/2026 |