01 · LAB OVERVIEW
Operate cloud systems
with evidence.
A reproducible reference environment for practicing Azure identity, Linux administration, network troubleshooting, monitoring, automation, and safe recovery workflows.
The repository contains tested local tooling, reviewable Terraform, and documented exercises. It does not claim that cloud resources are currently deployed.
Azure + Linux
One resource group, VNet, protected subnet, NSG, Linux VM reference, and centralized monitoring layer.
Observe → change → verify
Capture the baseline, make the smallest safe change, validate recovery, and preserve evidence.
Terraform + Bash
Repeatable infrastructure definitions and bounded diagnostic commands with redacted outputs.
02 · ARCHITECTURE
Lab topology.
The resource boundary is explicit: internet traffic reaches only the NSG-approved path, administration uses controlled identity, and logs flow to a monitoring workspace.
RBAC · MFA · service principal
10.42.0.0/16 · NSG rules
SSH · patching · systemd
Metrics · queries · alerts · evidence
03 · RUNBOOKS
Numbered playbooks.
Each playbook follows the same operational contract: pre-checks, least-risk action, recovery validation, and rollback or escalation.
RB-01IDENTITY / 12 MINRotate a service principal credential+
- Confirm the application owner, use, and approved change window.
- Create the replacement credential without deleting the active one.
- Update the consuming secret store and restart only the dependent workload.
- Verify authentication telemetry before revoking the old credential.
az ad app credential reset \
--id "$APP_CLIENT_ID" \
--append \
--display-name "rotation-$(date +%Y%m%d)"RB-02LINUX / 18 MINHarden SSH access+
- Keep one verified administrative session open.
- Validate key-based access for the replacement account.
- Disable password and root login, then test configuration syntax.
- Reload SSH and verify a fresh connection before closing the old session.
sudo sshd -t
sudo systemctl reload ssh
sudo journalctl -u ssh --since "10 minutes ago"RB-03ACCESS / 20 MINStage Conditional Access+
- Confirm two monitored emergency-access accounts.
- Target a pilot group and configure report-only mode.
- Review sign-in impact and resolve unexpected blocks.
- Approve phased enforcement with named rollback ownership.
# Review sign-in failures before enforcement
SigninLogs
| where ResultType != 0
| summarize failures=count() by UserPrincipalNameRB-04PATCHING / 25 MINPatch and validate a Linux host+
- Record disk, memory, service, and package baseline.
- Take the approved recovery point and confirm rollback access.
- Apply security updates, reboot only when required.
- Validate service health, logs, connectivity, and monitoring.
sudo apt-get update
apt list --upgradable
sudo unattended-upgrade --dry-run --debug04 · TROUBLESHOOTING LOG
Symptoms become evidence.
05 · SKILLS MAP
Exercise to competency.
Identity and access
Service principals, credential rotation, MFA, Conditional Access, RBAC scope.
RB-01 · RB-03Networking
VNets, subnets, NSGs, DNS, TCP checks, routes, private service paths.
ARCH · DIAGNOSTICSLinux operations
SSH hardening, systemd, patching, logs, recovery validation.
RB-02 · RB-04Monitoring
Diagnostic settings, Log Analytics, Azure Monitor, alerts, evidence capture.
TROUBLESHOOTING LOGAutomation
Terraform definitions, Bash diagnostics, GitHub Actions checks, repeatability.
INFRA/ · SCRIPTS/