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
Show file tree
Hide file tree
Changes from all commits
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
41 changes: 41 additions & 0 deletions handbook/engineering/environments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Environment

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 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

- **TelligentSourcegraph**: Data pipeline and storage for pings and Cloud event logging.
- **Universities**: Sourcegraph instances for universities.
- **sourcegraph-interviews**: Shared project for interviews.
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved

### Folders

### 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 that are separated from our production project for extra isolation.
- **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 permissions set at the project level.

- **sourcegraph-calend**: Owned by @sqs.
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved
- **sourcegraph-orgtool**: Owned by @sqs.
pecigonzalo marked this conversation as resolved.
Show resolved Hide resolved

### Managed Instances

Multiple `sourcegraph-managed-$name` projects, one for each our managed deployments to guarantee separation of privileges and access control.
1 change: 1 addition & 0 deletions handbook/engineering/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- [Incidents](incidents.md)
- [Releases](releases/index.md)
- [Release issue template](releases/release_issue_template.md)
- [Cloud environments](environments.md)
- [Deployments](deployments.md)
- [On-call](on_call/index.md)
- [Prometheus](prometheus.md)
Expand Down