Commit Graph
17 Commits
Author SHA1 Message Date
vsun1 bf28adc7fb Prepare Assignment 8 secure delivery and rollback
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add the locked pricing service, trusted-agent pipeline, Ansible deployments, security gates, recovery runbooks, prerequisite evidence, and preparation manual.

Prepared with Codex assistance. Vincent explicitly authorized this local commit and will handle the push. Assessed releases and recovery exercises remain pending.
2026-11-14 17:09:25 -05:00
vsun1 4d1996c0ab Finalize Assignment 7 evidence and local manual builds (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-10-28 16:23:42 -04:00
billandClaude Opus 5.5 11270cfced Address second chapter audit: accuracy and presentation (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
A second independent, grader-style review of the built PDF found smaller
gaps; all fixed except template-wide items left unchanged.

- Build comparison: phase labels match the 1-minute rate windows
  (15:17:30 is before the build), 15:19:30 row added, Phase header,
  2-minute vs 1-minute rate difference explained, no-annotation reason,
  and the baseline-build deviation from Step 1 stated.
- Full image digests listed; metric inventory gains a labels column;
  collection-test figure adds the HTTPS resolved capture.
- Corrections: network membership of the exporters, dashboard version
  wording, "two and a half minutes", diagram network name, "A SLO/SLA",
  -- rendering in retention flags, dashboard capture predating the
  I/O-wait line.
- Presentation: login URLs as a list, floats for DNS/dashboard figures,
  split wrapped queries, unbroken restart policy, Grafana OSS casing in
  the bibliography, Windows taskbar cropped from Grafana screenshots.
- Starting commit linked; backup pins alpine:3.22 and documents restore;
  MFA recorded for Billy's Discord and GitHub; EVIDENCE.md records the
  PR #22 approvals, pr-main checks, and the live verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:13:51 -04:00
billandClaude Opus 5.5 249488d6fc Address chapter audit: collection-health alert, hardening, citations (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
An independent review of the SRE chapter against the instructor's rubric
found gaps; each was fixed and, where operational, tested on the droplet.

Monitoring:
- New Grafana rule "Monitoring target down" (up < 1 for 1 m, no data ->
  Alerting). Tested by stopping Blackbox Exporter 17:34:44-17:37:52 UTC:
  it fired and resolved, and "HTTPS service down" fired on NoData when
  every probe series disappeared.
- Blackbox Exporter runs as nobody (65534) instead of the image's root.
- README: runbook for the new rule; contact-point test prompts for the
  password; secrets section reflects the replaced admin password.

Manual (v5.0):
- Alert table with all three rules and their summaries; runbooks in the
  PDF; accurate no-data description; collection-test figure.
- Diagram shows networks per container and the existing volumes.
- Targets table, CPU counters vs /proc/stat, probe module excerpt,
  container identities and mounts, backup command, exposure commands,
  replaced Grafana admin credential, PR #22 and review gate.
- Bibliography enabled with SRE Workbook and tool documentation.
- Corrected baseline memory figures, Jenkins start-up length, dashboard
  version wording, and start-up order; links point to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:52:13 -04:00
billandClaude Opus 5.5 336eaaefa7 Add SRE monitoring chapter and manual v5.0 (refs #19)
vpn-dns-gateway/pipeline/pr-main This commit looks good
New chapter "Introduction to SRE: Monitoring and Reliability" covering the
eight Assignment 7 rubric rows: deployment and capacity trial, metrics and
probes, HTTPS and exposure tests, dashboard and build comparison, SLI/SLO
worked example and measured window, alert rules and tests, the Jenkins
outage exercise with blameless review (#20, #21), and controls.

- Title page and abstract for Assignment 7 "Grafana and Prometheus SRE --
  Group", version 5.0; Document History entry.
- Hosts table: monitoring containers, ports, volumes, metrics DNS, swap,
  disabled host services, monitoring and backup status.
- Passwords table: Grafana billy and vsun1, monitoring secrets file,
  Discord webhook (hints only).
- Glossary: SLI, SLA, SRE, error budget, exporter, scrape, contact point,
  blameless review. AI prompt log record.
- EVIDENCE.md: SLO window, post-recovery build, probe status codes,
  improvement issues, Grafana accounts. Outage dashboard figure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 13:08:23 -04:00
billandClaude Opus 5.5 b6cf080618 Record alert tests, Jenkins outage drill, and restart persistence (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
- Dashboard: CPU panel adds an I/O wait series; the background CPU on
  the 1 GiB droplet is mostly swap-in wait, not computation.
- EVIDENCE.md: normal Jenkins build #1 vs host metrics (no attributable
  change), Discord contact-point test, capacity alert test (threshold
  raised to 70% on the droplet, fired after 5 m, restored to 15%),
  controlled Jenkins outage timeline (firing ~2 m after injection,
  recovery ~1 m after restart), and Prometheus/Grafana restart
  persistence with no collection gap.
- Screenshots: build window, disk alert firing/resolved, Jenkins alert
  firing/resolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:30:30 -04:00
billandClaude Opus 5.5 d3a5e6bc73 Add Prometheus/Grafana monitoring stack (refs #19)
vpn-dns-gateway/pipeline/head This commit looks good
Assignment 7 (instructor manual v1.42, Chapter 5): Prometheus, Grafana OSS,
Node Exporter and Blackbox Exporter beside Gitea/Jenkins on The-Ocean, pinned
by tag and digest, memory-capped for the 1 GiB droplet, no host ports.

- monitoring/: compose, scrape and probe config, Grafana provisioning
  (data source, Group 1 SRE dashboard, two alert rules, Discord contact
  point via env var), README with deploy/backup/rollback and runbooks,
  EVIDENCE.md with the deploy, capacity and exposure test records.
- deploy/: private probe network (172.30.90.0/28) with Caddy aliases;
  ci allowlist admits only the Blackbox address 172.30.90.10; new
  metrics.yebilly.me route behind the same allowlist.
- manual images: DNS record, Discord webhook, contact-point test, dashboard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:11:02 -04:00
vsun1 d54d801020 Finalize Assignment 6 documentation corrections
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
2026-10-23 18:06:07 -04:00
billandClaude Opus 5.5 6152f4777b Address re-audit findings in the Jenkins chapter (v4.1)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
- Add a table of all 14 Gitea webhook deliveries with commits and
  results, and diagnose the real timed-out delivery #3 (Jenkins still
  queued the build two seconds later).
- Redraw the deployment figure as a UML deployment diagram with
  <<device>>/<<container>>/<<artifact>>/<<executionEnvironment>>
  stereotypes; route checkout and status through Caddy.
- Show the stored Jenkins URL, free disk space, and reconciled plugin
  counts (59 tested, 63 locked, 66 installed).
- Correct wording on push rights (jenkins-bot also has Write), the
  resource-limit change, five corrective actions, startup timings, and
  the AI log's backup statement; quote the run-1 checkout.
- Fix the stray tab that printed "extttStevens-Net", the stale
  "version 4.0" sentence, and the overflowing VPN table row; note that
  grader IPs are removed from .env after grading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:01:00 -04:00
billandClaude Opus 5.5 34bd5e6146 Correct Jenkins instructor access path and record campus test (v4.1)
The manual said the instructor could reach ci.yebilly.me from campus or
the Stevens VPN. A GlobalProtect test (sitvpn.stevens.edu, the only
gateway) showed the VPN is split-tunnel: only 155.246.0.0/16 is routed
through it, so off-campus visitors keep their own ISP address and get
403. The approved path is now the campus network (Stevens-Net), with
off-campus graders' addresses added to CI_TEAM_IPS on request.

Vincent's campus test on Stevens-Net (155.246.151.38) loaded the Jenkins
sign-in page; it is added as a figure and a PASS row in the exposure
table alongside the VPN finding. Password field and personal addresses
are redacted. Bumps the manual to 4.1 with a history row and AI log
entry, and updates the Caddyfile comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 15:46:41 -04:00
billandClaude Opus 5.5 92bc9545e2 Use short AI initials in Document History (CDX, CD)
Replace the tool names in the Author Initials column with initials:
OpenAI Codex -> CDX (matching the existing DDM, CDX rows) and Anthropic
Claude -> CD. GEM is reserved for Google Gemini; no row uses it yet.
Only the initials column changes; dates, versions, and change text are
untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:23:33 -04:00
billandClaude Opus 5.5 1149e9fbc3 Document Assignment 6 Jenkins CI in the manual (refs #14)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add the Continuous Integration with Jenkins chapter in the eight rubric
sections: deployment and persistence (capacity test, memory-limit fix,
restart test), HTTPS/access/firewall with IPv4 and IPv6 exposure checks,
webhook traceability with an actual deployment diagram, pipeline stages,
the required pr-main merge gate, PR #15's failure/repair/review/merge
sequence, credentials and controller build boundary, and controls.

Update the Hosts and Passwords tables (1 GiB resize, Jenkins and
ci.yebilly.me, jenkins-bot account and token hints), the title page,
abstract, Document History, glossary, and AI prompt log (including
Vincent's prepared Oct 19-21 record). Note that Assignment 5's PR #13
merged.

Also version pipeline-graph-view and its dependencies in the Jenkins
plugin lockfile, and add Vincent's source-only ci/jenkins-capacity test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:20:31 -04:00
vsun1 63bb5ed27e Document successful repair and finalize Assignment 5 evidence (refs #12)
Automated Manual Build / manual (push) Successful in 30s
2026-10-07 22:31:53 -04:00
vsun1 b68425ba13 Repair LaTeX build and document verification (refs #12)
Automated Manual Build / manual (push) Successful in 29s
2026-10-07 20:16:01 -04:00
vsun1 1d2822f8a3 Assignment 5 intentional compilation failure test
Automated Manual Build / manual (push) Failing after 20s
2026-10-07 19:53:37 -04:00
vsun1 0ca3bebe3e Update Assignment 5 title and add first-run evidence (refs #12)
Automated Manual Build / manual (push) Successful in 48s
2026-10-07 19:38:59 -04:00
vsun1 828f6c555b Add automated LaTeX manual build (refs #12)
Automated Manual Build / manual (push) Successful in 1m27s
2026-10-07 18:56:18 -04:00