Skip to main content
Version: 0.11.8

Running Juno on GCP ☁️

To run Juno on the Google Cloud Platform (GCP), you can use the Starknet RPC Virtual Machine (VM) developed by Nethermind.

1. Install the Starknet RPC Node

Head to the Google Marketplace and search for "Starknet RPC Node". Then, click the "GET STARTED" button to begin the deployment process.

Starknet RPC Node overview

2. Configure the Juno client

Choose the configuration settings for the Juno client and click the "DEPLOY" button.

Starknet RPC Node configuration

3. Post-configuration and testing

Starknet RPC Node testing

4. Enable Juno during startup

  1. Click on the name of the newly created VM instance to view its details.
  2. Click the "Edit" button.
  3. Head to the "Automation" section and enter the following startup script:
    #! /bin/bash
    sudo /usr/local/bin/run_juno.sh
  4. Click the "Save" button.
  5. Restart the VM.

5. Interact with the Juno node

You can interact with Juno using its JSON-RPC Interface. Here's an example to check the availability of Juno:

curl --location 'http://localhost:6060' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "juno_version",
"params": [],
"id": 1
}'
tip

To learn how to configure Juno, check out the Configuring Juno guide.