{
  "templates": [
    {
      "title": "Dask (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/dask.png",
      "weight": 100,
      "resource": {
        "name": "example-dask",
        "image_uri": "public.ecr.aws/saturncloud/saturn:2022.01.06",
        "description": "Use distributed computing with Dask",
        "extra_packages": {
          "pip": "lightgbm"
        },
        "working_directory": "/home/jovyan/examples/examples/dask",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "10Gi",
          "instance_type": "large"
        },
        "dask_cluster": {
          "num_workers": 3,
          "worker": {
            "instance_type": "large"
          },
          "scheduler": {
            "instance_type": "large"
          }
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "PyTorch (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/pytorch.png",
      "weight": 200,
      "resource": {
        "name": "example-pytorch",
        "image_uri": "public.ecr.aws/saturncloud/saturn-pytorch:2022.01.06",
        "description": "Use PyTorch with a single GPU or across multiple GPUs with Dask",
        "environment_variables": {
          "DASK_DISTRIBUTED__WORKER__DAEMON": "False",
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "working_directory": "/home/jovyan/examples/examples/pytorch",
        "extra_packages": {
          "pip": "torch dask-pytorch-ddp seaborn"
        },
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "10Gi",
          "instance_type": "g4dnxlarge"
        },
        "dask_cluster": {
          "num_workers": 3,
          "worker": {
            "instance_type": "g4dnxlarge"
          },
          "scheduler": {
            "instance_type": "large"
          }
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Deploy a Dashboard (R)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/r-shiny.png",
      "weight": 300,
      "resource": {
        "name": "example-r-shiny",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rstudio:2022.01.06",
        "description": "Deploy a dashboard to Saturn Cloud using R Shiny. Learn more at: https://scld.io/ex/r-dashboard",
        "working_directory": "/home/jovyan/examples/examples/r-shiny",
        "start_script": "Rscript setup.R",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "deployment": {
          "instance_type": "large",
          "command": "Rscript -e \"shiny::runApp(host='0.0.0.0', port=8000)\""
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "TensorFlow (R)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/tensorflow.png",
      "weight": 400,
      "resource": {
        "name": "example-r-tensorflow",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rstudio-tensorflow:2022.01.06",
        "description": "Train a neural network in TensorFlow with R on a GPU",
        "working_directory": "/home/jovyan/examples/examples/r-tensorflow",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples.git",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "rstudio_server": {
          "instance_type": "g4dnxlarge",
          "disk_space": "10Gi"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Snowflake (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/snowflake.png",
      "weight": 500,
      "resource": {
        "name": "example-snowflake",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rapids:2022.01.06",
        "description": "Connect to a Snowflake database from either a single machine or distributed cluster",
        "environment_variables": {
          "TAXI_DATABASE": "saturn_nyc_taxi",
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "working_directory": "/home/jovyan/examples/examples/snowflake",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "10Gi",
          "instance_type": "g4dnxlarge"
        },
        "dask_cluster": {
          "num_workers": 3,
          "worker": {
            "instance_type": "g4dnxlarge"
          },
          "scheduler": {
            "instance_type": "large"
          }
        },
        "credentials": [
          {
            "name": "example-snowflake-account",
            "type": "environment_variable",
            "location": "EXAMPLE_SNOWFLAKE_ACCOUNT"
          },
          {
            "name": "example-snowflake-user",
            "type": "environment_variable",
            "location": "EXAMPLE_SNOWFLAKE_USER"
          },
          {
            "name": "example-snowflake-password",
            "type": "environment_variable",
            "location": "EXAMPLE_SNOWFLAKE_PASSWORD"
          }
        ],
        "version": "2022.01.06"
      }
    },
    {
      "title": "Deploy a Dashboard (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/dashboard.png",
      "weight": 600,
      "resource": {
        "name": "example-dashboard",
        "image_uri": "public.ecr.aws/saturncloud/saturn:2022.01.06",
        "description": "Deploy a dashboard to Saturn Cloud. Learn more at: https://scld.io/ex/py-dashboard",
        "environment_variables": {
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "extra_packages": {
          "pip": "hvplot"
        },
        "working_directory": "/home/jovyan/examples/examples/dashboard",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "deployment": {
          "instance_type": "large",
          "command": "panel serve dashboard.ipynb --port=8000 --address='0.0.0.0' --allow-websocket-origin='*'"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Deploy an API (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/api.png",
      "weight": 700,
      "resource": {
        "name": "example-api",
        "image_uri": "public.ecr.aws/saturncloud/saturn:2022.01.06",
        "description": "Deploy an API to Saturn Cloud. Learn more at: https://scld.io/ex/py-api",
        "extra_packages": {
          "pip": "uvicorn fastapi"
        },
        "working_directory": "/home/jovyan/examples/examples/api",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "deployment": {
          "instance_type": "large",
          "command": "python3 -m uvicorn houseprice:app --reload --host 0.0.0.0 --port 8000"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Deploy an API (R)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/api-icon.png",
      "weight": 800,
      "resource": {
        "name": "example-r-api",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rstudio:2022.01.06",
        "description": "Deploy an API to Saturn Cloud using R. Learn more at: https://scld.io/ex/r-api",
        "working_directory": "/home/jovyan/examples/examples/r-api",
        "start_script": "Rscript setup.R",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "deployment": {
          "instance_type": "large",
          "command": "Rscript run-api.R"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Run Jobs (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/jobs.png",
      "weight": 900,
      "resource": {
        "name": "example-job",
        "image_uri": "public.ecr.aws/saturncloud/saturn:2022.01.06",
        "description": "Run a job on Saturn Cloud. Learn more at: https://scld.io/ex/py-job",
        "working_directory": "/home/jovyan/examples/examples/job",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "job": {
          "instance_type": "large",
          "command": "python example.py"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Run Jobs (R)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/jobs.png",
      "weight": 1000,
      "resource": {
        "name": "example-r-job",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rstudio:2022.01.06",
        "description": "Run a job on Saturn Cloud using R. Learn more at: https://scld.io/ex/r-job",
        "working_directory": "/home/jovyan/examples/examples/r-job",
        "start_script": "Rscript setup.R",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "job": {
          "instance_type": "large",
          "command": "Rscript example.R"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "TensorFlow (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/tensorflow.png",
      "weight": 1100,
      "resource": {
        "name": "example-tensorflow",
        "image_uri": "public.ecr.aws/saturncloud/saturn-tensorflow:2022.01.06",
        "description": "Train deep learning models with TensorFlow",
        "environment_variables": {
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "working_directory": "/home/jovyan/examples/examples/tensorflow",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "40Gi",
          "instance_type": "g4dnxlarge"
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "RAPIDS (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/rapids.png",
      "weight": 1200,
      "resource": {
        "name": "example-rapids",
        "image_uri": "public.ecr.aws/saturncloud/saturn-rapids:2022.01.06",
        "description": "Use GPUs for data science and machine learning with this platform by NVIDIA",
        "environment_variables": {
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "working_directory": "/home/jovyan/examples/examples/rapids",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "10Gi",
          "instance_type": "g4dnxlarge"
        },
        "dask_cluster": {
          "num_workers": 3,
          "worker": {
            "instance_type": "g4dnxlarge"
          },
          "scheduler": {
            "instance_type": "large"
          }
        },
        "version": "2022.01.06"
      }
    },
    {
      "title": "Prefect (Python)",
      "thumbnail_image_url": "https://saturn-public-assets.s3.us-east-2.amazonaws.com/example-thumbnails/prefect.png",
      "weight": 1300,
      "resource": {
        "name": "example-prefect",
        "image_uri": "public.ecr.aws/saturncloud/saturn:2022.01.06",
        "description": "Scheduled jobs with Prefect and Prefect Cloud",
        "environment_variables": {
          "PREFECT_CLOUD_PROJECT_NAME": "dask-iz-gr8",
          "SATURN__JUPYTER_SETUP_DASK_WORKSPACE": "true"
        },
        "working_directory": "/home/jovyan/examples/examples/prefect",
        "git_repositories": [
          {
            "url": "https://github.com/saturncloud/examples",
            "reference": "ff40f05727fe0376c3f15319dc946d0d1e880f10",
            "reference_type": "commit"
          }
        ],
        "jupyter_server": {
          "disk_space": "10Gi",
          "instance_type": "large"
        },
        "dask_cluster": {
          "num_workers": 3,
          "worker": {
            "instance_type": "large"
          },
          "scheduler": {
            "instance_type": "large"
          }
        },
        "credentials": [
          {
            "name": "prefect-user-token",
            "type": "environment_variable",
            "location": "PREFECT_USER_TOKEN"
          }
        ],
        "version": "2022.01.06"
      }
    }
  ]
}
