Skip to content

Commit

Permalink
Amend hosted node GCP documentation (#7347)
Browse files Browse the repository at this point in the history
### Description

GCP won't display public images, so you need to know the name before launching, which means you need to go via the API or `gcloud`.
  • Loading branch information
Alex authored Mar 22, 2021
1 parent 7e7a791 commit 9b43d07
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
19 changes: 15 additions & 4 deletions packages/docs/getting-started/hosted-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ If you would like to keep up-to-date with all the news happening in the Celo com
You can add the [Celo Signal public calendar](https://calendar.google.com/calendar/u/0/[email protected]) as well which has relevant dates.
{% endhint %}

Currently cLabs provides the following machine images:

- `celo-alfajores-full-node-latest`
- `celo-alfajores-lightest-node-latest`
- `celo-mainnet-full-node-latest`
- `celo-mainnet-lightest-node-latest`

Please note that the time taken to sync a full node could be significant.

## Amazon Web Services

To get started with a Celo blockchain node on AWS, ensure you're in the North Virginia region (us-east-1). You'll need to navigate to the AMIs tab of the EC2 page. From there you can change your search to only include `Public images` and enter `celo-`.
Expand All @@ -22,10 +31,12 @@ For more information if you're not familiar with launching EC2 instances from ma

## Google Cloud Platform

To get started with a Celo blockchain node on GCP, you'll need to navigate to the Images tab of the Compute Engine page. From there you can search for public images and enter `celo-`.
GCP by default won't display public machine images when you search for them in your console. This means you'll need to go via the API or [gcloud](https://cloud.google.com/sdk/gcloud) command line to launch a node.

{% hint style="info" %}
The cLabs GCP account is called `celo-testnet`, if you're new to Celo or GCP, ensure that the `Created by` column of the image you're launching matches `celo-testnet`.
{% endhint %}
Depending on the type of node you'd like to launch (see the above list), the `gcloud` command to use may look a bit like this:

```bash
gcloud compute instances create <INSTANCE_NAME> --image <IMAGE_NAME> --image-project celo-testnet --project <YOUR_GCP_PROJECT>
```

For more information please check the excellent [GCP documentation](https://cloud.google.com/compute/docs/images) on how to launch a compute instance from a public image.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This section explains how to get a full node running on the [Alfajores Network](alfajores-testnet.md), using a Docker image that was built for this purpose.

If you'd prefer a one click, hosted setup for running a node on one of the major cloud providers (AWS and GCP), checkout our [hosted nodes](hosted-nodes.md) documentation.
If you'd prefer a simple, one click hosted setup for running a node on one of the major cloud providers (AWS and GCP), checkout our [hosted nodes](hosted-nodes.md) documentation.

{% hint style="info" %}
If you would like to keep up-to-date with all the news happening in the Celo community, including validation, node operation and governance, please sign up to our [Celo Signal mailing list](https://celo.activehosted.com/f/15).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This section explains how to get a full node running on the [Mainnet Network](mainnet.md), using a Docker image that was built for this purpose.

If you'd prefer a one click, hosted setup for running a node on one of the major cloud providers (AWS and GCP), checkout our [hosted nodes](hosted-nodes.md) documentation.
If you'd prefer a simple, one click hosted setup for running a node on one of the major cloud providers (AWS and GCP), checkout our [hosted nodes](hosted-nodes.md) documentation.

{% hint style="info" %}
If you would like to keep up-to-date with all the news happening in the Celo community, including validation, node operation and governance, please sign up to our [Celo Signal mailing list here](https://celo.activehosted.com/f/15).
Expand Down

0 comments on commit 9b43d07

Please sign in to comment.