Finalize Assignment 8 recovery evidence and manual
This commit is contained in:
@@ -30,9 +30,11 @@ 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
|
||||
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.
|
||||
both versions with Vincent's approvals; their unchanged reruns passed.
|
||||
After PR~\#27, build 8 rolled production back to v1; build 9 blocked the
|
||||
staging-only fault; build 10 restored staging v2 with changed=0. Final production
|
||||
is v1 and staging v2. The production probe and Grafana panel were added after
|
||||
healthy production. No credential or permission changed during these runs.
|
||||
|
||||
\section{Hosts}
|
||||
\small
|
||||
@@ -57,7 +59,9 @@ 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; pricing builds 5/6
|
||||
completed both promotions. Campus rehearsal and both recovery exercises remain pending.\\
|
||||
completed both promotions; builds 8--10 completed both recovery cases. Build 7
|
||||
stopped before deployment at the process limit; restarting only the idle agent
|
||||
cleared the condition without raising limits. Campus rehearsal remains 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
|
||||
@@ -80,12 +84,13 @@ each; Blackbox runs as \texttt{nobody}) on network \texttt{monitoring\_monitorin
|
||||
\texttt{monitoring\_prometheus\_data} (7\,d / 500\,MB) and
|
||||
\texttt{monitoring\_grafana\_data}\\
|
||||
Pricing applications & Separate Compose projects/aliases
|
||||
\texttt{pricing-staging} and \texttt{pricing-production}, currently v2 on private
|
||||
\texttt{pricing-staging} (v2) and \texttt{pricing-production} (v1), 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.\\
|
||||
Both versions passed promotion and unchanged staging reruns; production was
|
||||
then rolled back to v1 and staging recovered to v2.\\
|
||||
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
|
||||
@@ -94,8 +99,9 @@ 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. Both were verified
|
||||
as healthy v2, source \texttt{6bddbfb}, total 36, with invalid input HTTP 400\\
|
||||
\url{https://app.yebilly.me} have trusted certificates. Final verification:
|
||||
staging v2/source \texttt{6bddbfb}/total 36; production v1/source
|
||||
\texttt{34f26e6}/total 30. Both healthy; 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
|
||||
@@ -106,7 +112,8 @@ Gitea (\ChapterRef{GiteaFoundation}), restart persistence for Jenkins
|
||||
Monitoring status & Prometheus and Grafana: host CPU, memory, root disk, and
|
||||
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
|
||||
sample was recorded during v2 replacement. The 30-second probe missed nine
|
||||
finer observer failures during rollback (\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)\\
|
||||
|
||||
Reference in New Issue
Block a user