Chapter 30Lesson 05320–450 min

Production Capstone: Design, Secure, Automate, Migrate, and Recover an Enterprise Artifact Platform: Final Operational Review and Handoff

The final lesson is an operational handoff, not another configuration exercise. A different engineer should be able to understand the platform, operate it safely, change it through controlled automation, detect drift and incidents, recover it from tested backups, and know exactly which parts depend on edition, version, external infrastructure, or separately licensed Sonatype capabilities.

Operational handoffReadiness reviewRunbooksOwnershipCourse completion

Learning objectives

  • Assemble a complete production-readiness evidence packet and ownership model.
  • Validate provisioning, publication, governance, cleanup, observability, recovery, migration, and upgrade runbooks.
  • Distinguish mandatory Community-compatible controls from optional Pro/IQ/HA extensions.
  • Define ongoing capacity, security, backup, recovery, and change-review cadences.
  • Perform a final course-wide review that ties Nexus Repository to reliable, secure, recoverable software delivery.
Dated capstone baseline (27 August 2026). The lessons use Nexus Repository 3.95.2-01 and Java 21 as the reference line. The live release notes, feature matrix, format support, migration/upgrade gates, and edition/licensing requirements must be re-checked before any production implementation.
Two targets, one operating model. The production architecture may include external PostgreSQL, Pro HA, licensed Firewall/IQ, enterprise identity, and shared/object storage. The mandatory lab remains Community/free-compatible and disposable, using synthetic namespaces and fixtures where a paid or infrastructure-heavy capability would otherwise be required.
Safety boundary. Never run this capstone against an employer/production Nexus instance, production database/blob store, real SSO, CI secrets, public DNS, valuable package namespace, or recovery backup. Destructive operations are limited to resources explicitly named capstone-lab-*, and every change has preflight, evidence, verification, and rollback.

1. Handoff criterion: another operator can run the platform

The capstone is complete only when the implementation is understandable without the original builder. A handoff must explain what exists, why it exists, how it is changed, how it is observed, what the failure domains are, how recovery works, and which decisions must be revisited as versions, workload, teams, and licensing change.

2. Final platform inventory

Layer Record Owner
Nexus version, edition/license, runtime, application/data dirs artifact platform
Repositories format/type/member order/blob/policy/cleanup artifact platform + package owners
Database H2 lab or PostgreSQL production topology, backup/failover platform/DBA
Blob backend, capacity, latency, backup/reclamation platform/storage
Identity realms, roles, selectors, service identities, rotation platform/security/IAM
Network/TLS LB/reverse proxy, DNS, certificates, egress network/platform
CI publication endpoints, secret source, build ID/hash evidence delivery engineering
Policy namespace rules, optional Firewall/IQ, waivers security/governance
Operations tasks, logs, metrics, support evidence, capacity thresholds platform/SRE
Recovery/change backup, restore, migration, upgrade, rollback platform + change owners

3. Production readiness checklist

  • Repository hosted/proxy/group responsibilities are documented and client endpoints are unambiguous.
  • Internal namespace ownership is explicit and direct-public bypass is governed.
  • CI publishes only to hosted repositories with a dedicated least-privilege identity.
  • Release identity records coordinate/version or digest, SHA-256, build ID, source commit, and publication evidence.
  • Promotion moves/copies exact bytes; it does not rebuild source.
  • Anonymous access, realms, roles, selectors, and service credentials are deliberate and negatively tested.
  • TLS/reverse-proxy/client URLs are tested from the actual client path.
  • Cleanup is previewed; logical deletion and physical reclamation are separate.
  • Scheduled tasks have owners, windows, history, and concurrency awareness.
  • Automation is idempotent, pagination-aware, version-schema-aware, and drift-governed.
  • Supply-chain evidence types are not conflated; optional licensed policy is labeled.
  • Database and blobs are backed up coherently and restores are rehearsed.
  • Migration/upgrade changes satisfy exact source/target and crossed-version gates.
  • HA, if purchased/required, uses supported shared state and does not replace backup.
  • Logs/metrics/support evidence can diagnose client→Nexus→DB/blob/upstream paths without leaking secrets.
  • Capacity trends and thresholds leave headroom for cleanup, upgrade, backup, and recovery operations.

4. Runbook set

runbooks/
  provision-reconcile.md
  publish-maven.md
  publish-npm.md
  promote-exact-artifact.md
  rotate-service-credential.md
  upstream-outage.md
  cleanup-preview-and-reclaim.md
  task-failure.md
  create-and-review-support-zip.md
  backup.md
  restore-validation.md
  database-migration.md
  nexus-upgrade.md
  ha-node-db-blob-failure.md       # optional Pro/HA architecture path
  firewall-policy-review.md        # optional licensed path
  capacity-threshold-response.md

Each runbook begins with preflight and scope, records version/edition assumptions, lists expected evidence, identifies destructive steps, defines rollback, and ends with verification.

5. Change ownership and emergency manual operations

Automation owns routine desired state. Emergency manual change is permitted only when the incident procedure requires it, with evidence preserved and a follow-up reconciliation/drift review. “Humans can also edit anything whenever needed” creates two competing sources of truth and makes rollback/audit ambiguous.

6. Operating cadence

Cadence Review
Daily/continuous availability, request errors, capacity alarms, DB/blob health, critical task failures
Weekly capacity trend, cleanup/task results, automation drift, failed auth/publish patterns
Monthly credential/service-account review, retention exceptions, restore evidence spot-check, supportability issues
Quarterly full restore rehearsal, RPO/RTO measurement, incident runbook exercise, edition/license review
Before every upgrade/migration release notes, version gates, runtime/DB/blob compatibility, backup checkpoint, rehearsal, rollback

These are example operating cadences for the capstone. Real organizations align them to business impact, change frequency, regulation, and platform scale.

7. Final evidence manifest

{
  "architecture": "approved",
  "desiredStateReconciliation": "idempotence-proved",
  "leastPrivilege": "positive-and-negative-tests-passed",
  "multiFormatPublication": ["maven2", "npm", "raw-evidence"],
  "promotion": "same-bytes-same-sha256",
  "policy": "free-fixture-passed; licensed-extension-optional",
  "cleanup": "preview-before-delete",
  "observability": "client-to-db-blob-upstream-correlation-proved",
  "backupRestore": "isolated-restore-passed",
  "migrationUpgrade": "gates-and-rehearsal-documented",
  "ha": "simulation-complete; Pro-required-for-live-HA",
  "rpoMinutesObservedFixture": 22,
  "rtoMinutesObservedFixture": 46,
  "handoff": "runbooks-and-owners-assigned"
}

8. Final automated readiness gate

checks={
 "architecture": True,
 "idempotent_reconcile": True,
 "least_privilege_negative_tests": True,
 "multi_format_publish": True,
 "immutable_identity": True,
 "policy_boundary_labeled": True,
 "cleanup_preview": True,
 "observability_baseline": True,
 "backup_restore_proven": True,
 "migration_upgrade_rehearsal": True,
 "ha_not_confused_with_backup": True,
 "rpo_met": 22 <= 30,
 "rto_met": 46 <= 60,
 "runbooks_owned": True,
 "no_real_secrets": True,
}
failed=[name for name,ok in checks.items() if not ok]
print("PRODUCTION-READINESS-LAB: PASS" if not failed else "NO-GO")
print("failed:",failed)
assert not failed

9. Paid-capability handoff

Capability Mandatory lab evidence Optional production implementation
HA failure-domain simulation + HA/DR distinction Nexus Repository Pro HA with supported PostgreSQL/shared blob topology
Staging/promotion exact-byte transfer + SHA-256 proof Pro Staging where current format/workflow supports it
Firewall/IQ synthetic allow/quarantine/hold policy separately licensed Repository Firewall/IQ integration
Enterprise identity role/realm/client-auth model supported LDAP/SAML/OIDC design with browser/client distinction
Object/shared storage storage-latency/capacity fixture supported backend chosen from current docs and architecture needs

10. Course-wide operating model

The 30 chapters form one progression:

  1. Identity of artifacts: components/assets, coordinates, checksums/digests, package-format metadata.
  2. Repository topology: hosted/proxy/group and cache/routing behavior.
  3. Persistent state: database, blob stores, storage/capacity.
  4. Package ecosystems: Maven, npm, Docker/OCI, Python, NuGet, OS/generic and emerging formats.
  5. Security: selectors, roles, realms, external identity, TLS/network exposure.
  6. Operations: cleanup, tasks, REST automation, webhooks/CI, promotion.
  7. Supply chain: IQ/Firewall boundaries, SBOM/provenance/vulnerability governance.
  8. Lifecycle: Docker operations, backup/restore, migration, upgrades, HA.
  9. Evidence: logging, metrics, support ZIPs, performance/capacity diagnostics.
  10. Capstone: these controls combined into an owned, testable, recoverable delivery platform.

11. What the platform guarantees—and what it does not

A well-operated artifact platform can provide controlled publication/consumption paths, durable artifact storage, access control, caching, retention, evidence, automation, and tested recovery. It does not automatically prove that every package is safe, that every build is reproducible, that every signer is trustworthy, or that every direct-public path is closed. Those guarantees require complementary build, identity, network, provenance, vulnerability, and organizational controls.

12. Final cleanup of the mandatory lab

Export/retain the redacted evidence packet, then list every disposable resource. Delete only resources whose names begin with capstone-lab- through supported Nexus APIs/UI, and remove temporary Maven/npm/client homes. Do not delete database rows or blob files. Do not delete the only recovery evidence before you have verified that the lab no longer needs it.

13. Final production-readiness review

Final standard. A production artifact platform is ready when its artifact identities are explicit, repository routes are controlled, privileges are minimal, automation is repeatable, supply-chain decisions are evidence-based, retention is safe, operational state is observable, database/blob recovery is rehearsed, migrations/upgrades are version-gated, HA is correctly scoped, and another operator can execute the runbooks without relying on undocumented tribal knowledge.

14. Course completion

You have moved from “What is an artifact repository?” to a complete operating model that can be designed, implemented, secured, automated, monitored, changed, migrated, upgraded, recovered, and handed off. The enduring skill is not memorizing the 3.95 UI. It is being able to identify state, trust boundaries, version/edition constraints, evidence, failure modes, and the least destructive supported path as Nexus Repository evolves.

Knowledge check

What is the final proof that the platform is operable rather than merely configured?

Who owns routine desired state after handoff?

Which evidence proves release promotion did not rebuild the artifact?

Why must edition/licensing be part of the handoff inventory?

What is the durable skill from the course when Nexus versions change?

Summary and next step

The capstone is complete: architecture, desired state, multi-format publication, least privilege, build-once identity, policy boundaries, cleanup, observability, tested recovery, migration/upgrade gates, HA semantics, failure drills, ownership, and runbooks are tied into one production operating model.

This is the final lesson of the Nexus Repository course. Return to the Course curriculum to review any chapter or repeat the capstone against a fresh disposable environment when future Nexus releases change the supported operational boundaries.

Official references and version notes

Keep the academy open

Support free, practical DevOps education.

Every lesson is designed to remain readable in a browser, downloadable from GitHub, and usable without a paid learning platform. Contributions help expand and maintain the curriculum.

Ethereum / ERC-20
0x716c4Ab160C4B66F31a28AE2448BfF68fc3a2ef0 Send only Ethereum/ERC-20 compatible assets to this address.