Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/dashboard/src/teams/TeamNetworking.tsx
2501 views
1
/**
2
* Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
* Licensed under the GNU Affero General Public License (AGPL).
4
* See License.AGPL.txt in the project root for license information.
5
*/
6
7
import { isGitpodIo } from "../utils";
8
import { Heading2, Heading3, Subheading } from "../components/typography/headings";
9
import { OrgSettingsPage } from "./OrgSettingsPage";
10
import { ConfigurationSettingsField } from "../repositories/detail/ConfigurationSettingsField";
11
import { useDocumentTitle } from "../hooks/use-document-title";
12
import { LinkButton } from "@podkit/buttons/LinkButton";
13
import { CheckCircle2Icon } from "lucide-react";
14
import { Redirect } from "react-router";
15
import PillLabel from "../components/PillLabel";
16
17
export default function TeamPoliciesPage() {
18
useDocumentTitle("Organization Settings - Networking");
19
20
if (!isGitpodIo) {
21
return <Redirect to="/settings" />;
22
}
23
24
return (
25
<>
26
<OrgSettingsPage>
27
<div className="space-y-8">
28
<div>
29
<Heading2 className="flex items-center gap-4">
30
Networking
31
<PillLabel type="warn">Enterprise</PillLabel>
32
</Heading2>
33
<Subheading className="mt-1">
34
Self-host a single-tenant installation in your own cloud account.
35
</Subheading>
36
</div>
37
38
<SelfHostedCalloutCard />
39
<DeployedRegionCard />
40
<VPNCard />
41
</div>
42
</OrgSettingsPage>
43
</>
44
);
45
}
46
47
const SelfHostedCalloutCard = () => {
48
return (
49
<ConfigurationSettingsField className="bg-pk-surface-secondary">
50
<Heading3>Self-host in your cloud account</Heading3>
51
<Subheading className="mt-1">
52
Deploy the Gitpod infrastructure into your own cloud account and connect to your private network
53
</Subheading>
54
55
<div className="mt-8 flex flex-col space-y-2">
56
<div className="flex flex-row gap-2 items-center text-pk-content-secondary">
57
<CheckCircle2Icon size={20} className="text-pk-content-primary" />
58
Managed application feature release and backup process
59
</div>
60
<div className="flex flex-row gap-2 items-center text-pk-content-secondary">
61
<CheckCircle2Icon size={20} className="text-pk-content-primary" />
62
Managed security updates and patches
63
</div>
64
</div>
65
66
<LinkButton
67
href="https://www.gitpod.io/contact/enterprise-self-serve"
68
isExternalUrl={true}
69
className="mt-8"
70
>
71
Request Free Trial
72
</LinkButton>
73
</ConfigurationSettingsField>
74
);
75
};
76
77
const DeployedRegionCard = () => {
78
return (
79
<ConfigurationSettingsField className="bg-pk-surface-secondary">
80
<Heading3>Choose your deployed region</Heading3>
81
<Subheading className="mt-1">
82
Deploy Gitpod to any location, such as: United States, South America, Europe and Asia Pacific
83
</Subheading>
84
85
<div className="mt-8 flex flex-col space-y-2">
86
<div className="flex flex-row gap-2 items-center text-pk-content-secondary">
87
<CheckCircle2Icon size={20} className="text-pk-content-primary" />
88
Meet data residency compliance requirements
89
</div>
90
<div className="flex flex-row gap-2 items-center text-pk-content-secondary">
91
<CheckCircle2Icon size={20} className="text-pk-content-primary" />
92
Reduce latency and bring your code closer to your data
93
</div>
94
</div>
95
96
<LinkButton
97
variant="secondary"
98
className="mt-8 border border-pk-content-tertiary text-pk-content-primary bg-pk-surface-primary"
99
href="https://www.gitpod.io/docs/enterprise/overview#aws-support-and-regions"
100
isExternalUrl={true}
101
>
102
Documentation
103
</LinkButton>
104
</ConfigurationSettingsField>
105
);
106
};
107
108
const VPNCard = () => {
109
return (
110
<ConfigurationSettingsField className="bg-pk-surface-secondary">
111
<Heading3>Virtual Private Network (VPN)</Heading3>
112
<Subheading className="mt-1">
113
Restrict access to your instance using your own private VPN network
114
</Subheading>
115
116
<LinkButton
117
variant="secondary"
118
className="mt-8 border border-pk-content-tertiary text-pk-content-primary bg-pk-surface-primary"
119
href="https://www.gitpod.io/docs/enterprise/getting-started/networking#private-networking-configuration-highly-restrictive"
120
isExternalUrl={true}
121
>
122
Documentation
123
</LinkButton>
124
</ConfigurationSettingsField>
125
);
126
};
127
128