Skip to content

Commit 176f6a1

Browse files
committed
docs: Update hosting docs for creating new droplets
1 parent f5f1f96 commit 176f6a1

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

doc/hosting.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ Nodes managed by this Puppet repository are hosted at **DigitalOcean**.
1111

1212
### Default
1313

14-
* Region: NYC3 (`nyc3-vpc-openjsf1`) or SFO3 (`default-sfo3`)
14+
* Region:
15+
* Most servers should use NYC3 (`nyc3-vpc-openjsf1`).
16+
* The exception is critical services (like wp-xx) where we have 2+ servers that are interchangeable (all servers can serve all websites). For that, we also put a server in SFO3 (`default-sfo3`) for increased resilience, allowing us to switch traffic there if needed.
1517
* Image: Debian (latest LTS).
16-
* Plan: Typically a small dual-core plan unless more is needed, such as:
17-
* Shared CPU > Basic > Regular Intel > 2 CPUs 2GB RAM ($18/month in 2022)
18-
* Shared CPU > Basic > Regular Intel > 2 CPUs 4GB RAM ($24/month in 2022)
19-
* Additional options: Monitoring.
20-
* Authentication: SSH, add yourself and 1 team mate for initial bootstrapping. These will be replaced by Puppet later.
18+
* Plan:
19+
* When replacing an existing server, pick the same plan the old one unless a spec change is part of the replacement. To see the full spec of an existing server, select it from the "Droplets" list, go to "Resize", and scroll to the highlighted row.
20+
* For new servers, we typically use a small dual-core plan unless more is needed, such as:
21+
* Shared CPU > Basic > Regular Intel > 2 CPUs 2GB RAM ($18/month in 2022)
22+
* Shared CPU > Basic > Regular Intel > 2 CPUs 4GB RAM ($24/month in 2022)
23+
* Backups:
24+
* **Enable** for **puppetserver**, **wpblogs**, and **contentorigin** servers that are in "production", because those are stateful and hard to recreate.
25+
* For most servers we leave this off to reduce sponsorship cost, and because they are either not critical (stage servers) or easy to recreate (self-provisioning via Puppet, no state).
26+
* Authentication: **SSH**. Add yourself and 1 team mate for initial bootstrapping. These will be replaced by Puppet later.
27+
* Additional options:
28+
* Enable "Monitoring" (free)
29+
* Advanced optoins:
30+
* Enable "IPv6" (free)
2131
* Hostname: Refer to [dns.md](./dns.md).
32+
* Tags: For production hosts, tag one of "jquery-prod-1cpu", "jquery-prod-2cpu" or "jquery-prod-4cpu" (match the selected plan). This means the server will be included in automatic alerting rules based on server load. We prefer load-average a metric over CPU-utilization, and unfortunately that means the alert threshold varies by CPU count.

0 commit comments

Comments
 (0)