Skip to content

Commit d94f0df

Browse files
committed
Document historical EC2 deployment evidence
1 parent 03b027b commit d94f0df

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@ Push to main / feature branch
2020
└── create-release: GitHub Release for tagged deploys
2121
```
2222

23+
---
24+
25+
## Deployment Evidence
26+
27+
This lab was deployed to a temporary EC2 instance and the instance was later
28+
destroyed after the exercise. The repo is kept as deployment automation
29+
evidence, not as a currently running service.
30+
31+
| Evidence | Link |
32+
|---|---|
33+
| Latest successful tagged deploy | [Release and Deploy run: v1.0.20](https://github.com/darestack/github-actions-ec2-pipeline/actions/runs/18031293362) |
34+
| GitHub release created by the workflow | [Release v1.0.20](https://github.com/darestack/github-actions-ec2-pipeline/releases/tag/v1.0.20) |
35+
| EC2 instance from the lab | [devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/ec2-dashboard.png) |
36+
| GitHub Actions deploy workflow | [devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/deploy-workflow.png) |
37+
| Successful Actions run | [devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/actions-success.png) |
38+
| App running on the EC2 public IP | [devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/live-app.png) |
39+
2340
### Key Design Decisions
2441

2542
| Decision | Implementation | Why |
@@ -50,6 +67,10 @@ Triggers: manual dispatch or new tag matching `v*`
5067
### `health-check.yml` — Uptime Monitoring
5168
Runs hourly. Hits `/api/health` for configured environments. If a check fails, the workflow creates one health-check issue or comments on the existing open issue instead of creating duplicates.
5269

70+
Current scheduled health-check runs skip endpoint checks unless `PROD_URL` or
71+
`DEV_URL` is configured. That is intentional for this archived EC2 lab: the old
72+
host is gone, but the workflow is ready to use again if the app is re-deployed.
73+
5374
---
5475

5576
## Required GitHub Secrets
@@ -59,6 +80,8 @@ Runs hourly. Hits `/api/health` for configured environments. If a check fails, t
5980
| `PROD_EC2_HOST` | Production EC2 hostname or IP |
6081
| `PROD_EC2_USER` | SSH username |
6182
| `PROD_EC2_KEY` | Private SSH key (PEM format) |
83+
| `PROD_URL` | Optional public base URL for scheduled health checks |
84+
| `DEV_URL` | Optional development base URL for scheduled health checks |
6285

6386
Also set: **Actions → General → Workflow permissions → Read and write** (allows built-in token to create releases and issues).
6487

0 commit comments

Comments
 (0)