-
Notifications
You must be signed in to change notification settings - Fork 120
/
orgs-and-spaces.html.md.erb
256 lines (211 loc) · 7.72 KB
/
orgs-and-spaces.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
---
title: Planning orgs and spaces in Cloud Foundry
owner: CAPI
---
<%# Reset page title based on product title %>
<% if vars.platform_code != 'CF' %>
<% set_title("Planning", vars.app_runtime_abbr, "orgs and spaces") %>
<% end %>
This topic tells you about the considerations for effectively planning foundations, orgs, and spaces. You can plan your orgs and spaces to make the best use of the
authorization features in <%= vars.app_runtime_first %>.
An installation of <%= vars.app_runtime_abbr %> is referred to as a _foundation_.
Each foundation has _orgs_ and _spaces_. For more information, see [Orgs, Spaces, Roles, and Permissions](./roles.html).
The <%= vars.app_runtime_abbr %> roles described in _Orgs, Spaces, Roles, and Permissions_ use the principle of least privilege. Each role exists for a purpose and features in <%= vars.app_runtime_abbr %> enable these purposes.
Consider these roles when planning your foundations, orgs, and spaces. This allows for full use of the features and assumptions of <%= vars.app_runtime_abbr %>.
## <a id="conceptual"></a> How <%= vars.app_runtime_abbr %> layers relate to your company
The following sections describe what <%= vars.app_runtime_abbr %> layers are and how they relate to your company structure.
### <a id="layers"></a> Overview of <%= vars.app_runtime_abbr %> layers
For an overview of each of the structural <%= vars.app_runtime_abbr %> layers, see the following table:
<table>
<thead>
<tr>
<th><%= vars.app_runtime_abbr %> Layer</th>
<th>Challenge to Maintain</th>
<th>Contains</th>
<th>Description</th>
<th>Roles</th>
</tr>
</thead>
<tbody>
<tr>
<td>Foundations</td>
<td>Hardest</td>
<td>Orgs</td>
<td>For shared components: domains, service tiles, and the physical infrastructure</td>
<td>Admin, Admin Read-Only, Global Auditor</td>
</tr>
<tr>
<td>Orgs</td>
<td>Average</td>
<td>Spaces</td>
<td>A group of users who share a resource quota plan, apps, services availability, and custom domains</td>
<td>Org Manager, Org Auditor, Org Billing Manager</td>
</tr>
<tr>
<td>Spaces</td>
<td>Easiest</td>
<td>Apps</td>
<td>A shared location for app development, deployment, and maintenance</td>
<td>Space Manager, Space Developer, Space Auditor</td>
</tr>
</tbody>
</table>
### <a id="mappingfoundations"></a> Foundations
Foundations roughly map to a company and environments. For an illustration, see the following diagram:
![Foundations roughly map to a company and to an environment](./images/mapping_foundations.png)
### <a id="mappingorgs"></a> Orgs
Orgs often map to a business unit in a particular foundation. To understand how you can map your company
structure to a <%= vars.app_runtime_abbr %> org, see the following diagram:
![Orgs can encompass Business Units, environments, teams, or products](./images/mapping_organizations.png)
### <a id="mappingspaces"></a> Spaces
Spaces can encompass teams, products, and specific deployables. To understand how you can map your company structure to a <%= vars.app_runtime_abbr %> space, see the following diagram:
![Spaces can encompass Teams, Products and specific deployables](./images/mapping_spaces.png)
## <a id="mappingconsiderations"></a> Mapping considerations
The following sections describe considerations you can make when mapping foundations, orgs, and spaces.
### <a id="environments"></a> Planning for your environment
To effectively plan your environments, you must decide at what <%= vars.app_runtime_abbr %> layer they belong.
Broad environments, such as production environments, are commonly mapped to a foundation. More specific environments are mapped to an org or space.
Because of the large human cost to maintaining a foundation, you might see foundations mapped to production and staging environments separately.
For examples of environments and how they map to <%= vars.app_runtime_abbr %> layers, see the following table:
<table>
<thead>
<tr>
<th><%= vars.app_runtime_abbr %> Layer</th>
<th>Examples of Environments</th>
</tr>
</thead>
<tbody>
<tr>
<td>Foundations</td>
<td>Production, Non-production, Sandbox</td>
</tr>
<tr>
<td>Orgs and Spaces</td>
<td>Development, UAT, QA</td>
</tr>
</tbody>
</table>
### <a id="considerations"></a> Questions to consider about each <%= vars.app_runtime_abbr %> layer
For guiding questions to help you make decisions about planning your <%= vars.app_runtime_abbr %> structure, see the following table:
<table>
<thead>
<tr>
<th><%= vars.app_runtime_abbr %> Layer</th>
<th>Questions to Consider</th>
</tr>
</thead>
<tbody>
<tr>
<td>Foundation</td>
<td>
<ul>
<li>How many foundations can your platform team create, update, and monitor?</li>
<li>How much isolation does your organization require?</li>
<li>Do you need foundations local to a particular cloud or IaaS environment?</li>
</ul>
</td>
</tr>
<tr>
<td>Org</td>
<td>
<ul>
<li>How do you plan for capacity needs and changes?</li>
<li>What groups need to self-organize together?</li>
<li>How do you measure cost and perform billing and chargeback?</li>
</ul>
</td>
</tr>
<tr>
<td>Space</td>
<td>
<ul>
<li>Are teams building single apps or constellations of microservices?</li>
<li>Are teams building a portfolio of apps or standalone apps?</li>
<li>When a new space can be created or destroyed?</li>
<li>What developer processes require the sandboxed isolation?</li>
<li>Do all apps need public routes?</li>
<li>What apps need to share the same service instance?</li>
</ul>
</td>
</tr>
</tbody>
</table>
### <a id="impact"></a> Mapping larger and smaller subsets
_Subsets_ are the company divisions you decide to map to <%= vars.app_runtime_abbr %>. When creating your subsets, consider that the lower the <%= vars.app_runtime_abbr %> layer, the more specific you want to map your subsets. Conversely, the higher the <%= vars.app_runtime_abbr %> layer, the broader you want to make your subsets.
For more information about mapping larger subsets for each <%= vars.app_runtime_abbr %> layer, see the following table:
<table>
<tr>
<th><%= vars.app_runtime_abbr %> Layer</th>
<th>The impact of mapping larger subsets of your company</th>
</tr>
<tr>
<td>Foundations</td>
<td>
<ul>
<li>Less maintenance</li>
<li>Less isolation</li>
<li>Better use of shared platform components</li>
</ul>
</td>
</tr>
<tr>
<td>Orgs</td>
<td>
<ul>
<li>Less quota micromanagement</li>
<li>Ability to delegate user onboarding</li>
<li>More likely there are people with divergent needs</li>
<li>BU must be platform trained and manage potentially many spaces</li>
</td>
</tr>
<tr>
<td>Spaces</td>
<td>
<ul>
<li>More likelihood of accidental changes to someone else’s app or service</li>
<li>Easier integration between apps</li>
<li>More apps can use non-public routes</li>
</ul>
</td>
</tr>
</table>
For more information about mapping smaller subsets for each <%= vars.app_runtime_abbr %> layer, see the following table:
<table>
<thead>
<tr>
<th><%= vars.app_runtime_abbr %> Layer</th>
<th>The impact of mapping smaller subsets of your company</th>
</tr>
</thead>
<tbody>
<tr>
<td>Foundations</td>
<td>
<ul>
<li>More maintenance, which could be offset with platform automation</li>
<li>Higher likelihood of foundations being different</li>
<li>More isolation</li>
</ul>
</td>
</tr>
<tr>
<td>Orgs</td>
<td>
<ul>
<li>More quota management from platform team</li>
<li>More freedom to create spaces as needed</li>
</ul>
</td>
</tr>
<tr>
<td>Spaces</td>
<td>
<ul>
<li>More app isolation</li>
<li>Security with more specific ASGs</li>
<li>More reliant on external services or service instance sharing</li>
</ul>
</td>
</tr>
</tbody>
</table>