Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/next/components/landing/compute-servers.tsx
Views: 687
/*1* This file is part of CoCalc: Copyright © 2023 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { Button } from "antd";6import { join } from "path";7import basePath from "@cocalc/backend/base-path";8import { COLORS } from "@cocalc/util/theme";9import Info from "components/landing/info";10import { Paragraph, Text } from "components/misc";11import A from "components/misc/A";12import { useCustomize } from "lib/customize";13import ComputeServerInfographic from "public/features/running-compute-server.png";14import { LANDING_HEADER_LEVEL } from "./constants";15import ComputeServerTemplates from "./compute-server-templates";16import { useRef } from "react";1718export default function ComputeServers() {19const { computeServersEnabled, siteName } = useCustomize();20const ref = useRef<any>();21if (!computeServersEnabled) {22// note frontend also makes the constraint that at least one cloud is enabled.23// see: packages/frontend/compute/config.ts24return null;25}26return (27<Info28innerRef={ref}29level={LANDING_HEADER_LEVEL}30title={31<>32Powerful Compute Servers with Optional GPUs33<ComputeServerTemplates34getPopupContainer={() => ref.current}35style={{ maxWidth: "900px" }}36/>37</>38}39icon="servers"40image={ComputeServerInfographic}41narrow={true}42anchor="a-compute"43alt={"Compute server templates"}44style={{45backgroundColor: COLORS.YELL_LLL,46// ref hook and this below is so compute server template stays in here:47// https://github.com/sagemathinc/cocalc/issues/751148position: "relative",49overflow: "hidden",50}}51icons={[52{ icon: "jupyter", link: "/features/jupyter-notebook" },53{54icon: "nvidia",55title: "GPUs",56link: "https://doc.cocalc.com/compute_server.html",57},58{59icon: "pytorch",60title: "PyTorch",61link: "https://doc.cocalc.com/compute_server.html",62},63{64icon: "tensorflow",65title: "TensorFlow",66link: "https://doc.cocalc.com/compute_server.html",67},68{69icon: "vscode",70title: "VS Code",71link: "https://doc.cocalc.com/vscode.html",72},73{74icon: "desktop",75title: "X11 Desktop",76link: "features/x11",77},78{79icon: "terminal",80title: "Linux Terminal",81link: "features/terminal",82},83{84icon: "julia",85title: "Julia & Pluto",86link: "/features/julia",87},88]}89>90<Paragraph>91Extend your {siteName} projects with powerful{" "}92<Text strong>compute servers</Text>. They give you much more power, GPU93options, and flexibility for your computations.94</Paragraph>95<Paragraph>96From within your {siteName} project, spin up and connect to a powerful97machine. You simply{" "}98<Text strong>99tell your terminals and Jupyter Notebooks to run on these machines100</Text>101, or with one click launch JupyterLab or VS Code. These compute servers102open up new possibilities by utilizing enhanced computing resources,103extending far beyond the bounds of what you can do in your local104project.105</Paragraph>106<Paragraph>107These servers optionally come with{" "}108<Text strong>very competitively priced GPU support</Text>, from a single109NVIDIA T4 to eight H100's, with many options in between, including L4110and L40, RTX-A4/5/6000, and A100 with 40GB and 80GB. The finely111configured software images include{" "}112<A href="https://youtu.be/kcxyShH3wYE">Google Colab</A>, SageMath,113Anaconda, Julia, <A href="https://youtu.be/JG6jm6yv_KE">PyTorch</A>,114Tensorflow and <A href="https://youtu.be/OMN1af0LUcA">Open WebUI</A>,115accommodating a versatile range of uses. The pre-configured software116environments make it very easy to make use of them, right out of the117box. You can also run any command as{" "}118<A href="https://doc.cocalc.com/compute_server.html#becoming-root-and-port-forwarding">119root120</A>121, install anything you want, and use Docker and Kubernetes.122</Paragraph>123<Paragraph>124Your{" "}125<A href="https://doc.cocalc.com/compute_server.html#compute-server-filesystem">126<Text strong>files are synchronized</Text>127</A>128. Therefore, you can seamlessly switch between different servers. You129also have much more disk storage on the remote machine.130</Paragraph>131<Paragraph>132Usage of these machines is <Text strong>billed by the second</Text>. The133pricing is highly competitive, starting at{" "}134<b>135<i>under $0.01/hour and under $0.15/hour with a GPU!</i>136</b>137</Paragraph>138<Paragraph>139<A href="https://doc.cocalc.com/compute_server.html">Read the docs</A>{" "}140and{" "}141<A href="https://github.com/sagemathinc/cocalc-howto/blob/main/README.md">142check out some applications143</A>144.145</Paragraph>146<Paragraph>147<Button148onClick={() =>149(window.location.href = join(basePath, "/features/compute-server"))150}151>152More about compute servers on {siteName}153</Button>154</Paragraph>155</Info>156);157}158159160