@@ -11,22 +11,22 @@ and platform scaling capabilities.
11
11
12
12
### coderd
13
13
14
- coderd is the service created by running ` coder server ` . It is a thin API that
15
- connects workspaces, provisioners and users. coderd stores its state in Postgres
16
- and is the only service that communicates with Postgres.
14
+ _ coderd _ is the service created by running ` coder server ` . It is a thin API that
15
+ connects workspaces, provisioners and users. _ coderd _ stores its state in
16
+ Postgres and is the only service that communicates with Postgres.
17
17
18
18
It offers:
19
19
20
20
- Dashboard (UI)
21
21
- HTTP API
22
22
- Dev URLs (HTTP reverse proxy to workspaces)
23
- - Workspace Web Applications (e.g easily access code-server)
23
+ - Workspace Web Applications (e.g easily access ` code-server ` )
24
24
- Agent registration
25
25
26
26
### provisionerd
27
27
28
- provisionerd is the execution context for infrastructure modifying providers. At
29
- the moment, the only provider is Terraform (running ` terraform ` ).
28
+ _ provisionerd _ is the execution context for infrastructure modifying providers.
29
+ At the moment, the only provider is Terraform (running ` terraform ` ).
30
30
31
31
By default, the Coder server runs multiple provisioner daemons.
32
32
[ External provisioners] ( ../admin/provisioners.md ) can be added for security or
@@ -51,7 +51,7 @@ workspaces.
51
51
52
52
### Service Bundling
53
53
54
- While coderd and Postgres can be orchestrated independently, our default
54
+ While _ coderd _ and Postgres can be orchestrated independently, our default
55
55
installation paths bundle them all together into one system service. It's
56
56
perfectly fine to run a production deployment this way, but there are certain
57
57
situations that necessitate decomposition:
@@ -78,6 +78,34 @@ they're destroyed on workspace stop.
78
78
79
79
![ Architecture Diagram] ( ../images/architecture-single-region.png )
80
80
81
+ #### Components
82
+
83
+ This architecture consists of a single load balancer, several _ Coder Server_
84
+ replicas, and _ Coder workspaces_ deployed in the same region.
85
+
86
+ ##### Workload resources
87
+
88
+ - Use Terraform to deploy at least one ** Coder Server Replica** with _ Coder
89
+ Server_ instances and provisioners.
90
+ - Single replica deployment is a special case that can address a
91
+ tiny/small/proof-of-concept installation on a single virtual machine serving
92
+ less than 100 workspace users.
93
+
94
+ ** Coder workspace**
95
+
96
+ - For small deployments consider a lightweight workspace runtime like
97
+ [ Sysbox] ( https://github.com/nestybox/sysbox ) container runtime. Learn more how
98
+ to enable
99
+ [ docker-in-docker using Sysbox] ( https://asciinema.org/a/kkTmOxl8DhEZiM2fLZNFlYzbo?speed=2 ) .
100
+
101
+ ** HA Database**
102
+
103
+ ##### Workload supporting resources
104
+
105
+ ** Load balancer**
106
+
107
+ ** Single sign-on**
108
+
81
109
<!-- Single VM, up to 100 users, Docker+sysbox container runtime -->
82
110
83
111
### Multi-region architecture
0 commit comments