Skip to content

suterusu-team/suter-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains various scripts to create and manage suterusu nodes.

Quick start

Provision with terraform

To create 3 ec2 instances for suterusu node in the region ap-northeast-1, run

terraform apply -var instance_count=3 -var aws_region=ap-northeast-1 ec2

This will also copy files under caddy to ~/.suter/node/ which can be used to set up suter node.

Change dns record

Set up A-records for the newly created instances. This is required for wss access to the node server.

Setup node and websocket access

Copy the files under the directory caddy to the server, and specify the domain for websocket access, with environment variable TLS_DOMAIN, then run

export TLS_DOMAIN=node.cluster.suterusu.io [email protected] SUTER_NODE_ EXTRA_ARGUMENTS="--bootnodes /dns4/alice.cluster.suterusu.io/tcp/30333/p2p/QmVe2vHDbgpXWTmgpkmG51DeaFTPWxanU2LqzHp7ZHqoTa"
docker-compose up

Connect to node with suter_cli

Compile suter_cli with suter_cli and run

./wsclient.native -url https://node.cluster.suterusu.io -f ./tests/get_runtime_version.sut

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages