# Doc changes for `elastic-hardening` (OpenVidu Elastic, GCP) Target docs repo: `openvidu.io`, branch `next` Docs affected: `docs/docs/self-hosting/elastic/gcp/*.md` ## Context Hardening of `pro/elastic/gcp/tf-gpc-openvidu-elastic.tf` (deployment repo, branch `elastic-hardening`). Almost all changes are internal robustness improvements to the Terraform bootstrap scripts and resource graph: explicit `depends_on` on the enabled Google APIs, robust installer download (download-to-file with retries instead of `sh <(curl ...)`), bounded readiness/secret gates on master and media nodes, a fixed and de-duplicated install-completion marker so reboots take the restart path, a reboot guard on media nodes, and `set +x` around secret-handling blocks so credentials are not written to the serial console. One change adds new infrastructure behavior (see "Optional note for `admin.md`"). ## Impact on the docs: essentially none No user-facing surface changes. Specifically: - **Parameters**: unchanged. No input variable added, removed, or renamed. The parameters table in `install.md` needs no structural edit (but see the stale default-value fix below). - **Outputs**: unchanged. `output.tf` is untouched; the Outputs / connection section in `install.md` is identical. - **Install / upgrade flow**: unchanged (`install.md`, `upgrade.md`). No screenshots need to be retaken. ### Deployment time ("7 to 12 minutes") — REMAINS VALID, no edit `install.md` states around lines 236 and 295: > Wait around 7 to 12 minutes for the nodes to install OpenVidu. The hardening changes are robustness-only and do not lengthen the happy-path install. The bounded waits are failure upper bounds (master readiness 240x5s = 20 min; media secret wait 180x10s = 30 min), not expected durations — on a healthy deploy the gates pass as soon as the node is ready, exactly as before. Leave both sentences unchanged. ## Required fix: stale default instance types Independent of the hardening, `install.md` documents default instance types that no longer match `variables.tf`. The Terraform defaults are `e2-standard-4` for both node types (`variables.tf`: `masterNodeInstanceType`, `mediaNodeInstanceType`), but the parameters table still lists `e2-standard-2`. - `install.md` ~line 179 (row `masterNodeInstanceType`): `