LACChain Protestnet
  • Launchnodes Provision of LACChain Open Protestnet Nodes
  • EKS Cluster Creation
  • Identity Provider Creation
  • Running the node
  • Query EKS Cluster
Powered by GitBook
On this page

Running the node

Running Script in AWS Cloud Shell

PreviousIdentity Provider CreationNextQuery EKS Cluster

Last updated 1 year ago

Objective:

Run the deployment script in AWS Cloud Shell using the uploaded .env file. Ensure that you have obtained the correct .envfile and filled up respective information from the CloudFormation EKS stack outputs and review the .env file for node customization requirements. The script is responsible for deploying resources related to the EKS cluster and requires the .env file containing the necessary information.

Prerequisites

  1. Access to the AWS Management Console.

  2. CloudFormation stack for EKS cluster successfully created.

  3. Identity provider Created.

  4. A Sample file .env is available at https://raw.githubusercontent.com/launchnodes/ln-lacchain/master/.env

  5. The .env file with required information obtained from the CloudFormation stack outputs.

Instructions

Below is a video guide for the following instructions:

Step 1: Access the AWS Management Console

  1. Enter your login credentials to access your AWS account.

Step 2: Open AWS Cloud Shell

  1. Once logged in, search for "CloudShell" in the AWS Management Console search bar.

  2. Click on the "AWS CloudShell" service from the search results to open the Cloud Shell.

Step 3: Upload the .env File

  1. In the AWS Cloud Shell terminal, click on the "Upload/Download files" button in the toolbar.

  2. Browse and select the .env file containing the required information (e.g., IP address, EKS cluster name, region, Node Name, Email address).

  3. Wait for the file to upload successfully.

Step 4: Run the Deployment Script

  1. In the AWS Cloud Shell terminal, execute the following command to download and run the deployment script desired network: select between ( mainnet / testnet)

    source <(curl -s -L https://raw.githubusercontent.com/launchnodes/ln-lacchain/master/deploy.sh) testnet
  2. The script will start running and deploying the necessary resources for the EKS cluster.

  3. Monitor the script execution for any errors or prompts for user input, if applicable.

  4. Wait for the script to complete the deployment process.

Step 5: Verify the Deployment

  1. Once the script execution is complete, verify that all the required resources for the EKS cluster have been successfully deployed.

  2. Check the AWS Management Console or run appropriate commands to validate the deployment.

Open a web browser and navigate to the AWS Management Console ().

https://console.aws.amazon.com