Setup
Google Cloud Platform (GCP) for GCS
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.
Amazon Web Services (AWS) for S3
Amazon Web Services (AWS) credentials
Create application default credentials by using your user account for your AWS project by following these steps:
- Download and install the SDK.
- Create authentication credentials. They should automatically store in this location:
$HOME/.aws/credentials
- Verify that this file exists before moving on to the next step.
Amazon Simple Storage Service (S3) bucket
If you already have an S3 bucket with read and write permissions, you can skip this section. If not, follow these steps:
- Visit the AWS Console's Storage section (https://console.aws.amazon.com/s3/) and create a new bucket.
- Choose a descriptive name for the bucket, such as
stellar-ledger-data
. Refer to S3 General purpose bucket naming rules for bucket naming conventions. Note down the bucket name, you will need it later during the configuration process.