The blocklet that helps you manage ABT Node instances across AWS regions.
Put following contents in your local .env
:
SKIP_PREFLIGHT_CHECK=true
# server side
BLOCKLET_PORT="3030"
BLOCKLET_APP_SK="0x7ebe8ba807cb217c57563aeb96b5c4c755af29a4bb935d77b1af549edaddf3a09bff6e162bd8a2fbfb6284921ecc243c209339f2e14f5eb64c5f7e5dccdc6700"
BLOCKLET_APP_ID="zNKn6o1t7CPMWU4wrbNnLuzKvoPWMVyhVgaf"
BLOCKLET_DATA_DIR="/tmp/abtnode/aws-node-launcher"
BLOCKLET_BASE_URL="http://192.168.1.2:3030"
REACT_APP_APP_NAME="AWS Node Launcher"
REACT_APP_API_PREFIX=""
Besides, you need to set up AWS credential environment variables before develop/running this blocklet. Please checkout this link for detailed instructions: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html.
mkdir -p /tmp/abtnode/aws-node-launcher
npm run start:server
npm run start:client
abtnode deploy .