Guide for running the Taraxa Node with Docker on Amazon Web Services (AWS)
Please note that account confirmation usually takes about 24 hours
To create access keys for an IAM user:
- In the navigation pane, choose Users.
- Create new user with
Access typeset to
Programmatic accessor choose the name of the user whose access keys you want to create, and then choose the Security credentials tab.
- In the Access keys section, choose Create access key.
- To view the new access key pair, choose Show. You will not have access to the secret access key again after this dialog box closes. Your credentials will look something like this:
Access key ID: AKIAIOSFODNN7EXAMPLE
Secret access key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Make a note of that keys. We will use it in the next step.
Export your AWS access keys to your environment so that the node creation script can access it without prompting you for it:
Otherwise, the installation script will ask you for access keys interactively
Then you can download and run the node creation script using this command:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/scripts/one-click-AWS.sh)"
Look carefully at the output of the script, if everything went well, the script will write the AWS region in which the node was deployed, the IP address of the node and the command to connect to the node via SSH.
NOTE: It takes a few minutes after the droplet starts to install the Taraxa Node software.
You can use the following commands inside the created server to check if the node is up and running:
sudo docker ps
sudo docker logs -f taraxa_compose_node_1