Constellation Network
IntroductionFundamentalsFor DevelopersNode Validators
  • Index
  • Introduction
  • Elements
    • Toolkit
    • Development Environment
    • Hydra CLI
    • Developer Dashboard
    • Telemetry Dashboard
    • Metagraph Monitoring Service
  • Metagraph Framework
    • Overview
    • Framework Architecture
    • Installation
    • Currency
      • Working with Tokens
    • Data
      • State Management
      • Lifecycle functions
    • Framework Endpoints
    • Custom Endpoints
  • Guides
    • Quick Start
    • Send a Transaction
    • Manual Setup
    • Customize Rewards Logic
    • Custom Data Validation
    • Working with p12 files
    • Snapshot Fees
    • Deploy a Metagraph
      • Security groups
      • Key pairs
      • Base instance
        • Generating base instance
        • Connect to the instance
        • Generating AMI (Image) from Base Instance
        • Launching instances from AMI
      • Start Metagraph Instances
        • Configuring P12 Files
        • Start Global L0 Instances
        • Start Metagraph L0 Instances
        • Start Currency L1 Instances
        • Start Data L1 Instances
  • Resources
    • Network APIs
    • Example Codebases
    • Metagraph Development Video Series
Powered by GitBook

Main

  • Website
  • Get DAG
  • Explore Projects
  • Partners

Socials

  • Telegram
  • Discord
  • X (Twitter)

Tools

  • Wallet
  • DAG Explorer
  • Coingecko

© 2025 CONSTELLATION NETWORK

On this page

Was this helpful?

Export as PDF
  1. Guides
  2. Deploy a Metagraph
  3. Start Metagraph Instances

Start Global L0 Instances

PreviousConfiguring P12 FilesNextStart Metagraph L0 Instances

Last updated 1 month ago

Was this helpful?

In the following sections, we will SSH into each of our 3 servers and configure each layer and then join it to the network. Note that both IntegrationNet and MainNet have seedlists for the Global L0 layer. Make sure your node IDs have been added to the seedlist prior to joining, otherwise you will not be allowed to join.

Setup Global L0

SSH into one of your EC2 instances and move to the global-l0 directory.

ssh -i "MyKeypair.pem" ubuntu@your_instance_ip"
cd code/global-l0

Set environment variables

Export the following environment variables, changing the values to use your p12 file's real name, alias, and password.

export CL_KEYSTORE=":p12_file.p12"
export CL_KEYALIAS=":p12_file_alias"
export CL_PASSWORD=":p12_password"

Obtain public IP

Obtain the public IP of your cluster by using the following command.

curl ifconfig.me

Download the latest seedlist

Download the latest seedlist from either IntegrationNet or MainNet.

For IntegrationNet, the seedlist is kept in an S3 bucket and can be downloaded directly.

wget https://constellationlabs-dag.s3.us-west-1.amazonaws.com/integrationnet-seedlist

For MainNet, the seedlist is stored in Github as a build asset for each release. Make sure to fill in the latest version below to get the correct seedlist.

wget https://github.com/Constellation-Labs/tessellation/releases/download/v2.2.1/mainnet-seedlist

The following command will start your Global L0 node in validator mode.

nohup java -jar cl-node.jar run-validator --ip :instance_public_ip --public-port 9000 --p2p-port 9001 --cli-port 9002 --collateral 0 --seedlist integrationnet-seedlist -e integrationnet  > logs.log 2>&1 &

You should see a new directory logs with a app.log file. Check the logs for any errors.

Now that the node is running, we need to join it to a node on the network. You can find a node to connect to using the network load balancer at

https://l0-lb-integrationnet.constellationnetwork.io/node/info

Run the following command with the id, ip, and p2pPort parameters updated.

curl -v -X POST http://localhost:9002/cluster/join -H "Content-type: application/json" -d '{ "id":":integrationnet_node_id", "ip": ":integrationnet_node_ip", "p2pPort": :integrationnet_node_p2p_port }'

Verify that your node is connected to the network with the /node/info endpoint on your node. It can be accessed at the following url. You should see state: Ready if your node has successfully connected to the network.

http://your_node_id:9000/node/info

Repeat the above steps for each of your 3 nodes before moving on to start your metagraph layers.

Start your node

Check logs

Join the network

Check connection

Repeat

​
​
​
​
​
​
​
​
​