Skip to content

Commit

Permalink
first pass on digital ocean guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Sep 5, 2024
1 parent e88edc5 commit 6d1e1ce
Show file tree
Hide file tree
Showing 17 changed files with 428 additions and 41 deletions.
3 changes: 2 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@
"guides": "Guides",
"runOnArm64Mac": "Run on ARM64 Mac",
"devnetDeployment": "Devnet Deployment",
"productionDeployment": "Production Deployment"
"productionDeployment": "Production Deployment",
"digitalOcean": "Digital Ocean & ERC20 Gas Token Testnet"
}
},
"footer": {
Expand Down
4 changes: 4 additions & 0 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ export const getSidebar = () => {
title: t("sidebar.sdk.productionDeployment"),
url: formatUrl("sdk/guides/production-deployment"),
},
{
title: t("sidebar.sdk.digitalOcean"),
url: formatUrl("sdk/guides/digital-ocean-alt-gas-token"),
},
// {
// title: t("sidebar.sdk.runOnArm64Mac"),
// url: formatUrl("sdk/guides/run-on-arm64-mac"),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
418 changes: 418 additions & 0 deletions src/content/docs/en/sdk/guides/digital-ocean-alt-gas-token.mdx

Large diffs are not rendered by default.

44 changes: 4 additions & 40 deletions src/content/docs/en/sdk/guides/production-deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import Steps from '../../../../../components/Steps/Steps.astro';

This guide will support DevOps teams in running Scroll SDK in a production environment. This requires many considerations beyond a local [Devnet deployment](/en/sdk/guides/devnet-deployment).

While we build this out, we'd recommend looking at the specifics in our [Digital Ocean guide](/en/sdk/guides/digital-ocean-alt-gas-token), which walks through a full Kubernetes deployment using an easy-to-understand interface.

<Aside type="danger">
Scroll SDK is experimental software. "Production" here means a cloud-based Kubernetes stack. We do not yet recommend running Scroll SDK for a "mainnet" network.
</Aside>
Expand All @@ -30,49 +32,11 @@ We're using Prometheus and some custom tooling. More info later.

### Ingress

We're using Nginx. More info later.

We're using Nginx and Cert Manager. More info later.

### Secrets

We use External Secret Manager to store secrets. This is a Kubernetes-native solution that allows you to store secrets in a separate repository. This is a more secure way to store secrets than in the Scroll SDK repository.

As of 08/26/2024, these are the secrets managed by External Secret Manager:
- blockscout :
- scroll/blockscout-secret-env:
- DATABASE_URL

- bridge-history-fetcher :
- scroll/bridge-history-fetcher-secret-env:
- DATABASE_URL
- scroll/bridge-history-fetcher-migrate-db:
- migrate-db.json

- chain-monitor:
- scroll/chain-monitor-secret-env
- DATABASE_URL

- coordinator-cron:
- scroll/coordinator-secret-env
- DATABASE_URL

- gas-oracle:
- scroll/gas-oracle-secret-env
- DATABASE_URL
- scroll/gas-oracle-migrate-db
- migrate-db.json

- l2-sequencer:
- scroll/l2-sequencer-secret-env
- L2GETH_KEYSTORE
- L2GETH_PASSWORD
- L2GETH_NODEKEY

- rollup-node:
- scroll/rollup-node-secret-env
- DATABASE_URL
- scroll/rollup-node-migrate-db
- migrate-db.json
We use External Secret Manager to store secrets. This is a Kubernetes-native solution that allows you to store secrets in a separate repository. This is a more secure way to store secrets than in the Scroll SDK repository, but you will still need to bring your own secret management tool. This could be Hashicorp Vault, AWS Secret Manager, or similar.

### Machine Resources

Expand Down

0 comments on commit 6d1e1ce

Please sign in to comment.