# Install Docker and start the daemon
sudo amazon-linux-extras install docker
sudo service docker start
# Allow running docker without sudo
sudo usermod -a -G docker ec2-user
# Make Docker auto start
sudo chkconfig docker on
# Install git because... everything needs git!
sudo yum install -y git
# Install tools for compilation
sudo yum groupinstall -y "Development Tools"
# Reboot to confirm all is good
sudo reboot
Give the instance some time to reboot then log back in.
# Confirm Docker is running
sudo systemctl status docker
Look for the following in the result Active: active (running) since ...
# Install docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
# Allow docker-compose to execute
sudo chmod +x /usr/local/bin/docker-compose
# Verify it works
docker-compose version
# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Install Yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
# Source the bashrc to get nvm control
. ~/.bashrc
# Install Node v10
nvm install v10
# Globally install the aurad cli
yarn global add @auroradao/aurad-cli
# Reboot for good measure
sudo reboot
Now once we log back in we should be able to run the aura
commands in the shell!
aura config
We can use infura if we'd rather use that over the built in parity node:
aura start --rpc https://mainnet.infura.io/v3/<your_infura_id>
Or just run it using the built-in method:
aura start