You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/hosting.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,22 @@ Nodes managed by this Puppet repository are hosted at **DigitalOcean**.
11
11
12
12
### Default
13
13
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.
15
17
* 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)
21
31
* 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