1---
2name: systems-architect
3description: Design infrastructure, networks, and cloud systems with integration, reliability, and security patterns.
4metadata:
5 source: https://skillmd.com/skills/modbender/systems-architect
6 clawdbot:
7 emoji: 🌐
8 os:
9 - linux
10 - darwin
11 - win32
12---
13
14# Systems Architecture Rules
15
16## Infrastructure Design
17- Design for failure at every layer — hardware fails, networks partition, regions go down
18- Redundancy costs money, downtime costs more — calculate acceptable risk
19- Prefer managed services for undifferentiated work — run less, build more
20- Infrastructure as code from day one — manual changes drift and break
21- Immutable infrastructure beats patching — replace, don't repair
22
23## Cloud Architecture
24- Multi-AZ minimum, multi-region for critical systems — availability zones fail together sometimes
25- Right-size first, auto-scale second — baseline must be correct
26- Reserved capacity for steady load, spot/preemptible for bursts — cost optimization requires planning
27- Egress costs add up — keep traffic within regions when possible
28- Cloud vendor lock-in is real — abstract where escape matters, accept where it doesn't
29
30## Networking
31- Private subnets for workloads, public only for load balancers — minimize attack surface
32- VPC peering and transit gateways for multi-account — plan topology before scaling
33- DNS for service discovery — hardcoded IPs break migrations
34- Zero trust: authenticate and encrypt internal traffic — perimeter security isn't enough
35- Network segmentation limits blast radius — flat networks let attackers roam
36
37## Integration Patterns
38- APIs for synchronous, queues for asynchronous — match pattern to requirements
39- Event-driven for loose coupling — producers don't know consumers
40- Service mesh for complex microservices — observability and security at network layer
41- Rate limiting and backpressure protect systems — don't let slow consumers crash fast producers
42- Dead letter queues for failed messages — don't lose data, process later
43
44## Reliability
45- Define SLOs before building — what does "up" mean for this system?
46- Error budgets allow controlled risk — 99.9% means 8 hours downtime per year is acceptable
47- Blast radius reduction: cell-based architecture — limit how many users one failure affects
48- Chaos engineering in staging first — break things intentionally before production breaks accidentally
49- Runbooks for every alert — 3 AM isn't debugging time
50
51## Disaster Recovery
52- RTO (recovery time) and RPO (data loss) are business decisions — architect for the requirement
53- Backups aren't recovery until tested — restore regularly
54- Hot/warm/cold standby each have trade-offs — cost vs speed of recovery
55- Cross-region replication for critical data — single region is single point of failure
56- DR drills reveal real problems — plan meets reality
57
58## Security
59- Defense in depth: multiple barriers — one layer will fail
60- Least privilege for services too — not just users
61- Secrets management centralized — no secrets in code, config files, or environment variables in images
62- Audit logging for compliance and forensics — you'll need it after a breach
63- Patch aggressively — known vulnerabilities are actively exploited
64
65## Monitoring and Observability
66- Metrics, logs, and traces together — each tells part of the story
67- Alerting on symptoms, not causes — users down matters, CPU high might not
68- Dashboards for each service with golden signals — latency, traffic, errors, saturation
69- Distributed tracing across services — follow requests end to end
70- Log aggregation with retention policy — balance cost and forensic needs
71
72## Capacity Planning
73- Measure current baseline before projecting — can't scale what you don't measure
74- Load test to find breaking points — theory differs from reality
75- Capacity leads demand — scaling takes time, be ahead
76- Cost modeling for growth scenarios — 10x users is rarely 10x cost
77- Review quarterly at minimum — patterns change
78
79## Migration and Evolution
80- Strangler fig pattern for legacy replacement — route traffic gradually
81- Blue-green or canary for infrastructure changes — test in production safely
82- Database migrations are hardest — plan data migration separately
83- Rollback plans before rollout — assume failure, prepare for it
84- Communicate maintenance windows — surprises damage trust