---
# System prepended metadata

title: Running Telliot For Tellor Mesosphere

---

# Running Telliot For Tellor Mesosphere
## AWS Setup
1. Create an AWS account
2. In the AWS Management Console, choose ‘Launch a virtual machine with EC2’
3. This should take you to ‘Step 1: Choose an Amazon Machine Image’. Scroll to find Ubuntu Server 20.04 LTS (HVM), SSD Volume Type. Keep ’64-bit (x86)’ selected. Click ‘Select’ button.
4. Step 2: Choose an Instance Type
	- Choose instance type t2.micro
5. Hit “Next” button on bottom right of page until you arrive at  Step 6: Configure Security Group
	- You can leave this page as-is if you want to allow any IP to SSH into your virtual machine. Or, for more security, whitelist your IP by choosing “My IP” under “Source”. This should automatically input your IP address. You can also add more IP addresses if you want by clicking “Add Rule”.
6. Click “Review and Launch” and if everything looks good, you can click “Launch”. When you click launch, a window will appear. If this is your first AWS virtual machine, choose “Create a new key pair”, give your key pair a name, and click “Download Key Pair”. You will need this key pair file to access your virtual machine via SSH and you will not be able to download it again in the future, so make sure you keep it safe. If you already have a key pair on file with AWS, you can choose to use that existing key pair. But make sure you still have the file saved somewhere. 
7. Click “Launch Instances” to deploy your new virtual machine. It will take a few minutes for the machine to start up.
8. In the EC2 Dashboard, you should see your new instance. Once the “Instance State” is “Running”, click the new Instance ID. Then, click “Connect” in the top right corner. There, you can see a instructions for connecting to your new instance via an SSH client:
	1. Open an SSH client.
	2. Locate your private key.
	3. Run the following command to ensure your key is not publicly available: `chmod 400 <key-file-name>`
	4. Connect to your instance using its Public DNS: `ssh -i <key-file-name> ubuntu@<Public DNS Address>
9. Your terminal might ask you: `Are you sure you want to continue connecting (yes/no/[fingerprint])?` Type `yes` and hit `<enter>`.
10. You should now be connected to your new instance.

## Setup Telliot
1. Now in your new instance, run:
	1. `sudo apt update`
	2. `sudo apt upgrade`
	3. Install go: `sudo apt install golang-go`
	4. Install make: `sudo apt install make`
2. Clone Telliot: `git clone https://github.com/tellor-io/telliot.git`
3. Change directory to new telliot/configs directory: `cd telliot/configs`
4. Edit `index.json` file to include only the needed price feeds
5. Make copy of .env file: `cp .env.example .env` 
6. Edit new .env file: `vim .env`
7. Replace existing private keys with your private key(s).
8. Replace existing node URL with desired network URL.
	 - Arbitrum Rinkeby Testnet: https://rinkeby.arbitrum.io/rpc
	- Polygon Mumbai Testnet: 
10. Save and exit: `<Esc>`+`:wq`
11. Return to telliot root directory: `cd ..`
12. Run `make build`
13. Enter tmux: `tmux`
14. Start telliot: `./telliot mine --config=configs/configTellorMesosphere.json`