Go back

How to get Bitcoin FullNode kit on AZURE

This section describes how to launch and connect to Bitcoin FullNode kit in Azure.

Note: Bitcoin Full Node upgraded to latest Bitcoin Core V0.24 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 Listingon AZURE Marketplace.
  2. Click on Get it now button and follow the login step.It will take you to azure portal. /img/azure/bitcoin_offering.png
  3. Click on Create.
  • Select a Resource group for your virtual machine
  • Select a Region where you want to launch the VM(such as East US)
  • Optionally change the number of cores and amount of memory. (This defaults to 2 vCPUs and 8 GB ram.)
  • Select the Authentication type as Password and enter Username and Password for the VM
  • Optionally change the OS disk type.
  • Optionally change the network name and subnetwork names.You can go with the defaults settings.
  • Optionally go to the Management, Advanced and Tags tabs for any advance settings you want for the VM.
  • Click on Review + create and then click on Create when you are done. Bitcoin FullNode kit will begin deploying. /img/azure/bitcoin_vm_created.png
  1. A summary page displays when the virtual machine is successfully created. Click on the Go to resource link to to go to the resource page. /img/azure/bitcoin_vm_detail.png

  2. In the left navigation pane, select Run command, select RunShellScript and enter following command to change the password of the vm .

sudo echo ubuntu:yourpassword | chpasswd

/img/azure/run_command_option-01.png

/img/azure/run_command_change_passwd-01.png

  1. To SSH the VM, use the IP address or DNS address in the putty. /img/azure/bitcoin_putty.png

  2. Provide the password for ubuntu user, you created in step 5. /img/azure/bitcoin_ssh_login.png

  3. To connect using RDP via Windows Machine, first note the public IP address or DNS address of the VM from VM details page as highlighted below /img/azure/bitcoin_ip_address.png

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

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

/img/azure/bitcoin_rdp.png

  1. This will connect you to the VM’s desktop environment.Provide username and password.Click OK.

/img/azure/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 13. 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 14. This will connect you to the VM’s desktop environment. Provide “ubuntu” as the userid and the password set in step 5 to authenticate. Click OK

/img/gcp/common/remmina-rdp-login.png 15. Now you are connected to the out of box Bitcoin Fullnode Desktop 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/azure/bitcoind.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/azure/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 7 to 11 .
    Once connected, click on bitcoin-qt to start the sync process.

/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/wallet.dat

/img/azure/bitcoin-wallet-remove.png

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