Chapter 1
Cloud Architecture
Course: Comptia Cloud Cv0 004
Subject: Comptia Cloud Cv0004
Chapter: Operations
Scenario Context:
Imagine a modern web application deployed across AWS (or Azure/GCP) with:
- A front-end served via CDN
- A backend of microservices (containerized)
- A relational database (RDS or similar)
- Serverless functions for background jobs
- External APIs and 3rd-party services
1. Logging
a. Collection
Purpose:
Collect logs from all parts of your system to gain visibility, monitor operations, troubleshoot issues, and meet compliance needs. Logs can come from:
- Applications (web servers, APIs)
- Infrastructure (virtual machines, containers, networks)
- Databases (query logs, slow logs)
- Cloud-native services (Lambda, Azure Functions, GCP Cloud Functions)
Cloud Resources:
- AWS
CloudWatch Logs Agent: Installed on EC2 or on-prem servers to send system and application logs to CloudWatch.
FireLens: A container log router used in Amazon ECS/Fargate. Works with Fluent Bit/Fluentd to send logs to destinations like S3, CloudWatch, or OpenSearch.