PRODUCTS AND SUPPORT


How to get Bitcoin FullNode on AWS




This section describes how to launch and connect to Bitcoin FullNode in Amazon Web Services (AWS).





  1. Open Bitcoin FullNode Listing on AWS Marketplace
  2. /img/aws/bitcoin_offering.png

    1. Click on Continue to subscribe.
    • Login with your credentials and follow the instruction.click on Continue to configuration
    • Select a Region where you want to launch the VM(such as US East (N.Virginia))
    • /img/aws/bitcoin_vm_detail.png
    • Choose Action: you can launce it through EC2 or from Website.(Let's choose Launce from website)
    • Optionally change the EC2 instance type. (This defaults to t2.large instance type, 2 vCPUs and 8 GB ram.)
    • /img/aws/bitcoin_choose_action.png
    • Optionally change the network name and subnetwork names. Be sure that whichever network you specify has ports 22 (for ssh) and 3389 (for RDP) exposed.
    • be sure to download the key-pair which is available by default, or you can create the new key-pair and download it.
    • Click on Launch.. Bitcoin FullNode will begin deploying.

    1. A summary page displays.To see this instance on EC2 Console click on EC2 Console link.
    2. /img/aws/bitcoin_vm_created.png
    3. On the EC2 Console page, instance is up and running. To connect to this instance through putty via Windows Machine, copy the IPv4 Public IP Address

    4. /img/aws/bitcoin_vm_EC2Console.png
    5. Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to SSH->Auth , click on Connect
    6. /img/aws/bitcoin_vm_putty.png
      /img/aws/bitcoin_vm_putty_privatekey.png
    7. By default this VM comes with ubuntu user.So login with username as "ubuntu".Once connected, change the password for ubuntu user using-
    8. sudo passwd ubuntu /img/aws/bitcoin_ubuntu_password.png
    9. Now the password for ubuntu user is set, you can connect to the VM's desktop environment from any local windows machine using RDP protocol or linux machine using Remmina.
    10. From your local windows machine, goto "start" menu , in the search box type and select "Remote desktop connection"
    11. In the "Remote Desktop connection" wizard, copy the public IP address and click connect
    12. /img/aws/bitcoin_rdp.png
    13. This will connect you to the VM's desktop environment. Provide the username (e.g "ubuntu") and the password set in the above "Reset password" step to authenticate. Click OK

    14. /img/aws/bitcoin_rdp_login.png
    15. Now you are connected to the out of box Bitcoin FullNode environment via Windows Machine.

    16. /img/azure/bitcoin_rdp_desktop.png
    17. To connect using RDP via Linux machine, first note the external IP of the VM from VM details page,then from your local Linux machine, goto menu , in the search box type and select "Remmina".

      Note: If you don't have Remmina installed on your Linux machine, first Install Remmina as per your linux distribution.

    18. /img/gcp/common/remmina-search.png

    19. In the "Remmina Remote Desktop Client" wizard, select the RDP option from dropdown and paste the external ip and click enter.

    20. /img/gcp/common/remmina-external-ip.png

    21. This will connect you to the VM's desktop environment. Provide "ubuntu" as the userid and the password set in step 6 to authenticate. Click OK

    22. /img/gcp/common/remmina-rdp-login.png

    23. Now you are connected to the out of box Bitcoin Fullnode environment via Linux machine.

    24. /img/azure/bitcoin_rdp_desktop.png
    25. Once VM is provisioned, you can start Bitcoin node either via command line or using the Bitcoin QT GUI wallet
    26. a. Start Bitcoin sync process using command line :
      Go to terminal and execute below command as ubuntu user to run Bitcoin daemon in background -

        bitcoind

      /img/gcp/bitcoin-bitcoind-command.png

      To verify the command execution or to monitor the daemon, you can tail the bitcoin debug log

      tail -f /home/bitcoin/debug.log

      /img/gcp/bitcoin-tail-command.png

      b. Start Bitcoin sync process using GUI:
      You can also run the sync process by running the Bitcoin-QT GUI wallet. For this, connect to the VM using RDP as described in steps 6 to 11 .Once connected, click on bitcoin-qt to start the sync process. A window may popup asking to mark the application executable . Click on "Mark Executable" button to avoid seeing this window in future.

      /img/gcp/bitcoin-mark-executable.png

      /img/gcp/bitcoin-GUI.png

    27. How to stop bitcoind daemon :
    28. To manually stop bitcoind, run below command.

      bitcoin-cli stop

      /img/gcp/bitcoin-cli-stop-command.png

    29. To know how to use the Bitcoin Full Node kit, please refer to the video tutorial series available on Bitcoin overview page.