Setup
Google Cloud Platform (GCP) credentials
Create application default credentials by using your user account for your GCP project by following these steps:
- Download the SDK.
- Install and initialize the gcloud CLI.
- Create application default credentials and it should automatically store in this location:
$HOME/.config/gcloud/application_default_credentials.json.
- Verify that this file exists before moving on to the next step.
Google Cloud Storage (GCS) bucket
If you already have a GCS bucket with read and write permissions, you can skip this section. If not, follow these steps:
- Visit the GCP Console's Storage section (https://console.cloud.google.com/storage) and create a new bucket.
- Choose a descriptive name for the bucket, such as
stellar-ledger-data
. Refer to Google Cloud Storage Bucket Naming Guideline for bucket naming conventions. Note down the bucket name, you will need it later during the configuration process.