Repository navigation
Closed
Description
Overview
Deploy a real Torrust Tracker demo instance to Hetzner Cloud using the deployer tool and document the entire process end-to-end. The documentation will serve two purposes:
- Internal reference: A deployment journal under
docs/deployments/hetzner-demo-tracker/capturing every step, decision, and problem encountered during a real deployment. - Blog post source: The documented process will be adapted into a blog post for the torrust.com blog.
Main domain: torrust-tracker-demo.com (subdomains to be defined during configuration)
Specification
See detailed specification: docs/issues/405-deploy-hetzner-demo-tracker-and-document-process.md
Implementation Plan
Phase 1: Setup and Prerequisites
- Create
docs/deployments/hetzner-demo-tracker/directory structure - Document prerequisites (Hetzner account, API token, SSH keys, tool versions)
- Verify all required tools are installed and working
Phase 2: Create and Configure Environment
- Generate environment configuration template for Hetzner
- Document configuration decisions (server type, location, image, credentials)
- Create the environment using the deployer
Phase 3: Deploy the Tracker
- Provision infrastructure (create Hetzner VM)
- Configure the instance (Docker, SSH, system setup)
- Release the application (deploy tracker files)
- Run the services (start the tracker)
Phase 4: Verify and Document
- Verify tracker is accessible and functioning
- Verify monitoring stack (Grafana, Prometheus)
- Take screenshots of running services
- Document any problems encountered during all phases
Phase 5: Finalize Documentation
- Write the main deployment journal (
README.md) - Review and polish all documentation files
- Update
docs/README.mdindex with new deployments section
Acceptance Criteria
Quality Checks:
- Pre-commit checks pass:
./scripts/pre-commit.sh
Task-Specific Criteria:
- A Torrust Tracker demo instance is running on Hetzner Cloud
-
docs/deployments/hetzner-demo-tracker/README.mdcontains a complete step-by-step walkthrough - All problems encountered are documented in
problems.mdwith resolutions - Configuration examples are sanitized (no real secrets/tokens)
- Documentation links to existing user-guide docs where appropriate (no duplication)
-
docs/README.mdupdated to reference the new deployments section
Related
- Specification: docs/issues/405-deploy-hetzner-demo-tracker-and-document-process.md
Activity
docs: add issue specification for #405
docs: [#405] create deployment journal directory structure for Hetzne…
docs: [#405] document and complete prerequisites for Hetzner demo tra…
docs: [#405] configure environment and create for Hetzner demo tracke…
docs: [#405] refactor hetzner-demo-tracker docs into per-command subd…
docs: [#405] add debug-command-failure skill for investigating deploy…
docs: [#405] refine Problem 5 root cause with precise log-based evidence
docs: [#405] add provision improvements document with deployer enhanc…
fix: [#405] add IdentitiesOnly=yes to default SSH options
fix: [#405] add IdentitiesOnly=yes to Ansible ssh_args
feat: [#405] log full SSH stderr in wait_for_connectivity retry messages
feat: [#405] increase SSH retry budget to 5 minutes with 5s interval
docs: [#405] add cleanup-between-attempts guide and update provision …
docs: [#405] document provision success, passphrase bug, IPv6 omissio…
docs: [#405] add attempt-4 screenshot and document Hetzner activity l…
docs: [#405] mark provision task as complete in issue tracker
docs: [#405] add post-provision guides (DNS + volume setup) and assig…
docs: [#405] configure floating IPs permanently on VM via netplan
docs: add observations file and fill in missing ToC entries
docs: document release fails when deployer runs inside Docker (docker…
fix: skip docker-compose local validation when docker is not in PATH
docs: document successful release command (task 3.3 done)
Merge torrust#406: feat: [torrust#405] deploy Hetzner demo tracker an…
Merge #424: fix(mysql): [#410] Fix multiple MySQL configuration issues
chore: remove closed issue documentation files