Setting up a Bitcoin Node on GCP with Terraform

# set up the directory
terraform init
# check resources to be created
terraform plan
# when ready, enter yes
terraform apply
# example
gcloud compute ssh bitcoin-node --zone us-central1-a --project=<project_id>
gcloud auth activate-service-account — key-file=credentials/accounts.json
bitcoin-cli getblockcount
curl https://blockchain.info/q/getblockcount

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store