Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engineering: Add GCP projects overview #1413

Merged
merged 18 commits into from
Aug 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Update handbook/engineering/environments.md
  • Loading branch information
pecigonzalo committed Aug 28, 2020
commit 5b4a3c4a355a6d212aff2bdc53e0e2f32438e3b6
37 changes: 25 additions & 12 deletions handbook/engineering/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,36 @@ This page describes our different cloud environments.

## Google Cloud

We utilize multiple Google Cloud projects and folders to organize our workloads and manage access control.

We utilize multiple Google Cloud projects and folders to organize our workloads and manage access control for our engineers, as well as limit the scope of roles and service accounts across projects.

### Root Projects
These projects contain per-project permissions.
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved

- **Sourcegraph**: Services for sourcegraph.com.
- **sourcegraph-code-intel**: Services for Code Intel code execution.
- **sourcegraph-managed-**: There are multiple `-managed` projects, one for each our managed deployments.
- **TelligentSourcegraph**: Data pipeline and storage for pings and Cloud event logging.
- **Sourcegraph Auxiliary**: Testing clusters and deployments.
- **Universities**: Sourcegraph instances for universities. (Deprecated)
- **sourcegraph-interviews**: Shared project for interviews.
- **sourcegraph-calend**: Owned by @sqs.
- **sourcegraph-orgtool**: Owned by @sqs.
- **TelligentSourcegraph**: Data pipeline and storage for pings and Cloud event logging
- **Universities**: Sourcegraph instances for universities
- **sourcegraph-interviews**: Shared project for interviews

### Folders

Dynamic or temporary projects are created in the folders listed below.
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved

- **Engineers Projects**: Contains projects used by individual engineers. All projects must be prefixed with `$name-` (the name of the owner). Engineers are expected to remove all their resources once they are done testing.
### Engineers Projects
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
Contains projects used by individual engineers. Engineers are expected to remove all their resources once they are done testing. All projects must be prefixed with `$name-` (the name of the owner).

### Sourcegraph Cloud
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
Sourcegraph Cloud projects.

- **Sourcegraph**: Services for sourcegraph.com
- **Sourcegraph Auxiliary**: Testing clusters, deployments and VMs
- **sourcegraph-code-intel**: Services for Code Intel code execution
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
- **Sourcegraph CI**: Services for our CI cluster and temporary CI resources

### Other Projects
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
Misc Projects with per-project permissions.

- **sourcegraph-calend**: Owned by @sqs
- **sourcegraph-orgtool**: Owned by @sqs

### Managed Instances

Multiple `sourcegraph-managed-$name` projects, one for each our managed deployments to guarantee separation of privileges and access control.