Project overview
- Client
- Confidential client (under NDA)
- Industry
- Software and technology
- Role
- Principal DevOps Engineer (sole engineer on the observability and security workstream)
- Scope
- Observability stack, alert design, logging, access and server hardening
Business challenge
- Problems were reported by customers before the team saw them, because there was no shared view of system health.
- Existing alerts were noisy, so people stopped trusting them.
- Logs lived on individual servers, which made investigation slow and left security events hard to audit.
Existing infrastructure
- Basic cloud provider metrics with no application-level dashboards.
- Application logs written to local disks and rotated away.
- Inconsistent server configuration and unmanaged patching.
Architecture
Engineering approach
- Start from the questions the team asks during incidents, and design dashboards around those.
- Collect metrics, logs and traces through a single collector layer to avoid vendor lock-in.
- Rewrite alerts around user-visible symptoms, removing alerts nobody acts on.
- Centralize logs with retention and access control, including cloud audit logs.
- Harden servers to a documented baseline and automate patching.
Technologies used
- Prometheus
- Grafana
- OpenTelemetry
- Loki
- ELK
- Linux hardening
- Ansible
- AWS IAM
Security considerations
- Audit and access logs are centralized and protected from modification by the systems that produce them.
- Log and dashboard access follows least privilege, with SSO where supported.
- Server baselines cover SSH configuration, unnecessary services, patching and file permissions.
- Telemetry is reviewed so that secrets and personal data are not written to logs.
- For regulated data, controls are mapped to the relevant technical requirements, such as HIPAA or PCI DSS, and documented. Certification remains a separate assessor-led process.
Implementation
- Questions Workshop on past incidents to define what needs to be visible.
- Collect Collectors and exporters deployed, with metrics and logs flowing to central stores.
- Visualize Service and infrastructure dashboards built with the team.
- Alert Symptom-based alerts and routing replace noisy threshold alerts.
- Harden Ansible-based server baseline and scheduled patching, with documentation.
Results and improvements
Technical improvements
- A single place to see metrics, logs and traces for a service.
- Fewer, more actionable alerts with runbook links.
- Security-relevant events are searchable and retained.
- Server configuration is consistent and patching is scheduled.
Lessons learned
- Retention and cardinality decisions drive observability cost, so settle them early.
- Dashboards built with the team get used. Dashboards built for the team often do not.
- Hardening works best as code, so drift is detected and corrected.