Go back

How to get Bitcoin FullNode on AWS

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

Note: Bitcoin Full Node upgraded to latest Bitcoin Core V0.25 along with bitcoin-qt, bitcoin-cli and bitcoin-wallet on Ubuntu 22.04. The VM also provide you the latest Ordinal installed which is a numbering scheme for satoshis that allows tracking and transferring individual sats. For more details please visit- Ordinals Documentation



  1. Open Bitcoin FullNode Listing on AWS Marketplace

/img/aws/bitcoin_offering_2.png

  1. Click on Continue to subscribe.
  • Login with your credentials and follow the instruction.
  • Subscribe to the product and click on Continue to configuration button.
  • Select a Region where you want to launch the VM(such as US East (N.Virginia)) /img/aws/bitcoin_vm_detail_2.png
  • Click on Continue to Launch Button.
  • 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_2.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.

/img/aws/bitcoin_vm_created_2.png

  1. 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

/img/aws/bitcoin_vm_EC2Console.png

  1. 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

/img/aws/bitcoin_vm_putty.png
/img/aws/bitcoin_vm_putty_privatekey.png

  1. By default this VM comes with ubuntu user.So login with username as “ubuntu”.Once connected, change the password for ubuntu user using-
sudo passwd ubuntu

/img/aws/bitcoin_ubuntu_password.png

  1. 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.

  2. From your local windows machine, goto “start” menu, in the search box type and select “Remote desktop connection”

  3. In the “Remote Desktop connection” wizard, copy the public IP address and click connect

/img/aws/bitcoin_rdp.png

  1. 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

/img/aws/bitcoin_rdp_login.png

  1. Now you are connected to the out of box Bitcoin FullNode environment via Windows Machine.

/img/azure/bitcoin_rdp_desktop.png

  1. 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.

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

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

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

  1. 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

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

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

/img/azure/bitcoin_rdp_desktop.png

  1. Once VM is provisioned, you can start Bitcoin node either via command line or using the Bitcoin QT GUI wallet
  • 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/ubuntu/.bitcoin/debug.log

/img/aws/bitcoin-tail-command-aws.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

  1. How to stop bitcoind daemon :

To manually stop bitcoind, run below command.

bitcoin-cli stop

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

  1. Delete the wallet.dat file by running below command
sudo rm /home/ubuntu/.bitcoin/wallets/wallet.dat

/img/aws/bitcoin_wallet_dat_delete.png

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

To upgrade the ordinal to the latest stable version please refer to our Ordinal Upgrade Guide

Go back