Record verified releases and prepare recovery exercises

This commit is contained in:
2026-11-15 23:00:00 -05:00
parent 231d11528a
commit 6c5342219a
23 changed files with 1619 additions and 119 deletions
+19 -11
View File
@@ -29,7 +29,10 @@ DNS records and Codex enabled Caddy HTTPS; certificates and redirects passed,
while the undeployed application backends returned 502. Later that evening
(November 16 UTC), build 4 deployed staging v1 and verified its HTTPS identity
and price; its unchanged rerun stopped on a Docker health timeout. Production
is still absent. No credential or permission changed during these runs.
was still absent at that point. The subsequent reviewed builds 5 and 6 promoted
both versions with Vincent's approvals; staging and production are now v2.
Their unchanged reruns passed. The production probe and Grafana panel were
added after healthy production. No credential or permission changed during these runs.
\section{Hosts}
\small
@@ -53,8 +56,8 @@ Private WebSocket to Jenkins and SSH through Docker host gateway with pinned
public-IP host-key alias. Docker socket control grants host administration.
Named identity/workspace and BuildKit cache volumes stay outside Git;
configuration under \path{/opt/ssw590-delivery-agent/}; restart unless stopped.
Prerequisite builds 2/3 and preparation trials passed; build 4 reached staging
but its health rerun blocked. Campus rehearsal and completed promotion remain pending.\\
Prerequisite builds 2/3 and preparation trials passed; pricing builds 5/6
completed both promotions. Campus rehearsal and both recovery exercises remain pending.\\
Environment & Course production (team use)\\
Provider & DigitalOcean, NYC1; Ubuntu 24.04 LTS; 1 vCPU; resized from
512\,MB to 1\,GiB in October, then to 2\,GiB on November 14, 2026
@@ -76,11 +79,13 @@ each; Blackbox runs as \texttt{nobody}) on network \texttt{monitoring\_monitorin
\texttt{gitea\_probe} (172.30.90.0/28); volumes
\texttt{monitoring\_prometheus\_data} (7\,d / 500\,MB) and
\texttt{monitoring\_grafana\_data}\\
Staging application & Compose project \texttt{pricing-staging}, v1 on private
port 8000 with alias \texttt{pricing-staging}; 64/96 MiB RAM/RAM+swap, 0.25 CPU,
64 PIDs, UID 10001, read-only root and no published port. Configuration and
release metadata in \path{/opt/startup/pricing-staging}; no app data volume.
Initial HTTPS assertions passed; unchanged-rerun health gate blocked.\\
Pricing applications & Separate Compose projects/aliases
\texttt{pricing-staging} and \texttt{pricing-production}, currently v2 on private
port 8000. Each: 64/96 MiB RAM/RAM+swap, 0.25 CPU, 64 PIDs, UID 10001,
read-only root, 16 MiB /tmp, ten-second overall health deadline and no host
port or app data volume. Separate configuration/release directories:
\texttt{/opt/startup/pricing-\{staging,production\}}.
Both versions passed promotion and unchanged staging reruns.\\
Exposed ports & 443/TCP and 80/TCP to all; 22/TCP to approved team addresses only
(Cloud Firewall \texttt{gitea-fw}); \texttt{ci.yebilly.me} and
\texttt{metrics.yebilly.me} answer only Stevens 155.246.0.0/16 and team
@@ -89,8 +94,8 @@ otherwise; monitoring ports 9090, 9100, 9115 not reachable\\
Owner & BY (server administration); VS (review)\\
HTTPS URLs & \url{https://git.yebilly.me}, \url{https://ci.yebilly.me/login},
\url{https://metrics.yebilly.me/login}; \url{https://staging.yebilly.me} and
\url{https://app.yebilly.me} have trusted certificates. Staging v1 passed
initial HTTPS checks; production still returns 502 before deployment\\
\url{https://app.yebilly.me} have trusted certificates. Both were verified
as healthy v2, source \texttt{6bddbfb}, total 36, with invalid input HTTP 400\\
Backup status & No scheduled backup job; manual Gitea SQLite and Jenkins-home
backups saved in a protected root directory before the November 14 delivery
bootstrap. Container-replacement persistence verified for
@@ -99,7 +104,10 @@ Gitea (\ChapterRef{GiteaFoundation}), restart persistence for Jenkins
(\ChapterRef{SREMonitoring}); manual volume backup procedure in
\texttt{monitoring/README.md}\\
Monitoring status & Prometheus and Grafana: host CPU, memory, root disk, and
HTTPS probes of Gitea and Jenkins every 30\,s; alerts \emph{HTTPS service
HTTPS probes of Gitea, Jenkins and pricing production every 30\,s; Grafana
retains seven earlier panels plus pricing availability. One production HTTP 502
sample was recorded during v2 replacement (\ChapterRef{SecureDelivery}); no
zero-downtime or app alert-notification claim is made. Existing alerts \emph{HTTPS service
down}, \emph{Root disk space low}, and \emph{Monitoring target down} to Discord \texttt{\#devops-alerts}.
Shares the droplet's failure domain; no external check yet (issue~\#20)\\
\end{tabularx}