Skip to content

Commit 2f662bf

Browse files
committed
docs: Update hosting docs for creating new droplets
1 parent f5f1f96 commit 2f662bf

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

doc/hosting.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@ 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+
* Default: NYC3 (`nyc3-vpc-openjsf1`)
16+
* Secondary: SFO3 (`default-sfo3`)
17+
* Most servers should use **NYC3**. For critical services (like wp-xx) that have 2+ interchangeable servers (all servers can serve all websites), we also put one server in SFO3 for increased resilience, allowing us to switch traffic there if needed.
1518
* 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.
19+
* Plan:
20+
* 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.
21+
* For new servers, we typically use a small dual-core plan unless more is needed, such as:
22+
* Shared CPU > Basic > Regular Intel > 2 CPUs 2GB RAM ($18/month in 2022)
23+
* Shared CPU > Basic > Regular Intel > 2 CPUs 4GB RAM ($24/month in 2022)
24+
* Backups:
25+
* **Enable** for **puppetserver**, **wpblogs**, and **contentorigin** servers that are in "production", because those are stateful and hard to recreate.
26+
* 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).
27+
* Authentication: **SSH**. Add yourself and 1 team mate for initial bootstrapping. These will be replaced by Puppet later.
28+
* Additional options:
29+
* Enable "Monitoring" (free)
30+
* Advanced optoins:
31+
* Enable "IPv6" (free)
2132
* Hostname: Refer to [dns.md](./dns.md).
33+
* 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)