Steps to complete :-
- Setup AWS EC2 Machine
- Setup EtherLite Validator Node
I. Setup AWS EC2 Machine
Create an AWS account by signup on
- AWS Console — Signup (amazon.com)
- After signup, you will be redirected to the AWS dashboard
- Click on Services Dropdown on Navbar
- A dropdown will open in ‘Compute’ section there is an option for ‘EC2’. Click on that
- Click on ‘Launch Instance’
- In Search Bar search EtherLite
- There will be one result showing from AWS Marketplace
- There will be EtherLite Validator AMI By ‘EthterLite Foundation‘. Click on ‘Select’ Button
- Pricing Details will be displayed by AWS Standard Prices for the instances.
NOTE: EtherLite Foundation does not charge any amount for running the instances.
- Click on continue. Select your preferred Instance Type for running the node.
If you use the node for production use we recommend you use a minimum c5xlarge option
- Click on Next: Configure Instance Details Button
- Click on Next: Add Storage Button
Recommended Storage is 100GB
- Enter the Storage above 100GB to avoid any difficulties in the future.
- Click on add tags to give specific tags to your EC2 Instance
- Click on Configure Security Group to add 22 — SSH Port it will help you to login into the EC2 instance you are about to create.
- Click on Add Rule Button. A new row will be added to the table
- Now we are going to add the SSH option by selecting the option from the first dropdown. Now you have to specify from which IP address you want to access your EC2 machine under the Source column of the newly added row.
- Click on ‘Review and Launch’ Button.
- Click on ‘Launch’ Button.
- A dialog box will open which will prompt you to select a key or create a new key pair.
- Select your preferred option and download the key file.
Make sure you keep this key file in a safe place because with the help of this key file you can login into your EC2 Machine.
- After safely downloading your key file, Click on ‘Launch Instance’.
- Wait for your instance to get initialized. After getting success in Launch Status. Click on ‘View instances’.
- A new instance of your EtherLite Validator Node will be created. Now wait until the Instance State is Running and it has passed all the Status Check.
- After All Status Check is completed. Assign an Elastic IP to your EC2 Machine.
- On the left side of the menu Select the ‘Elastic IP’ Option under the Network & Security section and Click on Allocate Elastic IP address Button
- Enter Tag Name for Elastic IP [Optional] and Click on Allocate Button
You will receive an Elastic IP Address from Amazon which will help your EtherLite node to communicate with other EtherLite nodes and it will help you to login into your EC2 Machine.
Now you have to attach this Elastic IP address to your EC2 Machine.
- Select the Elastic IP
- Then click on the Actions dropdown and Click on ‘Associate Elastic IP Address’.
- A new page will open where you have selected the EC2 Machine you have created. Select your option EC2 machine and Elastic IP address
- Click on ‘Associate’
- Now to verify, go to the EC2 Dashboard
- Click on ‘View Instances’ and Click the instance you created
- Bottom section pull up the details tab. It will show your EC2 Instance details.
It should show the Elastic IP Address you created for your instance that option will be Public IPv4 address under the Details tab.
II. Setup EtherLite Validator Node
Open the terminal and change the location where you have saved your key file.
For eg. If I saved my key file in /m/d
After changing your current location in terminal
Now ssh into your instance using the key file and Elastic IP you assign to your EC2 Machine.
It will ask for your password to connect with a remote machine.
Enter your password and hit enter
It prompts you again before connecting to your remote machine. Just type yes and hit enter. Now you will be logged in to your remote machine. Change the user of the remote machine by typing
hit enter and change the directory to the validator installation location
Create a password file for your validator account
Now create your account.
The Above command will create and output an account that you can use to run a validator node.
Create a copy of .env.example file
Change the contents of your .env file. For easier use nano editor to edit the .env file. Open the .env file in nano editor
Change YOUR-EXTERNAL-IP-ADDRESS to the Elastic IP address you have created when setting up your EC2 Machine.
Change 0x… to the output you received while you created your validator account using following command
Now to save the file and exit from nano editor Press CTRL+x, then press y and enter. Now you are ready to run the validator node
Enter
The above command will download all the necessary files and start the validator node
Now you have to wait for your validator node to sync with other nodes.
You can check the synchronization status of your validator node by the below command.
If your validator node is fully synced it will output the below result.
{“jsonrpc”:”2.0",”result”:false,”id”:1}
After getting the successful response you now have to visit https://staking.etherlite.org/ and click on Become a Candidate.
A Form will appear for becoming a candidate. Form Fields are
- Amount: Amount refers to the amount you are investing for becoming a validator on EtherLite network.
2. Your RPC Url: Here you will have to specify your rpc url. Your rpc url will be http://YOUR-EXTERNAL-IP-ADDRESS:8545.
Change YOUR-EXTERNAL-IP-ADDRESS to the Elastic IP address you have created when setting up your EC2 Machine.
3. Your Mining Address: This is a dropdown where you will have to select your mining address you have created while setting up your EtherLite Validator Node.
4. Your Pool Name: This will be the pool name given to your pool.
5. Your Pool Description : This will be the description of your pool.
After completing the form Click on Become a Candidate Button. Metamask prompt will open and complete the transaction. After the transaction is complete your pool will be added to the pool’s list.