Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 75ba004

Browse files
[Backport 5.0] Cloud private code host support docs (#49832)
[issue](sourcegraph/pr-faqs#69) Private code hosts support documentation. ## Test plan Not required for docs change. <br> Backport 9365a50 from #49748 Co-authored-by: Filip Haftek <[email protected]>
1 parent 04a8c1a commit 75ba004

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

doc/cloud/index.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,32 @@ Sourcegraph Cloud instances are deployed in one of Google Cloud Platform data ce
7575

7676
More details about the locations and data storage can be found in [our handbook](https://handbook.sourcegraph.com/departments/cloud/technical-docs/multi-region/)
7777

78+
### Private Code Host support
79+
80+
Private Code Hosts refer to code hosts that are not publicly accessible, such as a GitHub or GitLab instance protected by a VPN.
81+
82+
Sourcegraph Cloud connects to customer code hosts from 2 public NAT IPs. Customers can add the dedicated IPs for their Sourcegraph Cloud instance to an IP allowlist on their private code host.
83+
84+
#### Code host on AWS without public access
85+
86+
As part of the [Enterprise tier](https://about.sourcegraph.com/pricing), Sourcegraph Cloud offers customers that have code hosts without public access deployed on AWS a [highly available site-to-site VPN solution](https://cloud.google.com/network-connectivity/docs/vpn/tutorials/create-ha-vpn-connections-google-cloud-aws) with [AWS Private Link](https://docs.aws.amazon.com/vpc/latest/privatelink/what-is-privatelink.html) inside AWS's network, so that access to a private code host never occurs over the public internet.
87+
88+
Solution architecture:
89+
<img src="https://sourcegraphstatic.com/private-code-host-solution-vpn-aws-private-link.png" class="screenshot">
90+
91+
Advantages of the site-to-site GCP to AWS VPN include:
92+
- encrypted connection between Sourcegraph Cloud and customer code host
93+
- multiple tunnels to provide high availability between Cloud
94+
instance and customer code host
95+
96+
Advantages of AWS Private Link include:
97+
- connectivity to customer VPC is only available inside AWS network
98+
- ability to select AWS Principal (AWS Account or more granular) that can connect to customer code host
99+
- allows customer to control incoming connections
100+
- supports private DNS
101+
102+
When a customer has private code hosts inside the AWS VPC and needs to expose it for Sourcegraph managed AWS VPC, customers can follow [AWS Documentation](https://docs.aws.amazon.com/vpc/latest/privatelink/create-endpoint-service.html)
103+
78104
### Health monitoring, support, and SLAs
79105

80106
- Instance performance and health [monitored](../admin/observability/index.md) by our team's on-call engineers.

0 commit comments

Comments
 (0)