How to get BlackArch Linux on AWS

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

  1. Open BlackArch Linux VM listing on AWS marketplace

  2. /img/aws/blackarch-linux/marketplace.png

  3. Click on Continue to subscribe.
    • Login with your credentials and follow the on Continue to configuration
    • Select a Region where you want to launch the VM(such as US East (N.Virginia))

    • /img/aws/blackarch-linux/region.png

    • Choose Action: You can launch it through EC2 or from Website.(Let's choose Launch from website)

    • /img/aws/blackarch-linux/launch.png

    • Optionally change the EC2 instance type. (This defaults to t2.medium instance type, 2 vCPUs and 4 GB RAM)

    • Optionally change the network name and subnetwork names.


    • Select the Security Group. Be sure that whichever Security Group you specify have ports 22 (for ssh) and 5900 (for VNC) exposed.
    • Be sure to download the key-pair which is available by default, or you can create the new key-pair and download it.

    • /img/aws/blackarch-linux/SG.png

    • Click on Launch..
      BlackArch Linux will begin deploying.
  4. A summary page displays.To see this instance on EC2 Console click on EC2 Console link.

  5. /img/aws/blackarch-linux/deployed.png

  6. On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address

  7. /img/aws/blackarch-linux/public-ip.png

  8. Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to SSH->Auth , click on Open.

  9. /img/aws/ethereum-fullnode/putty-01.png


  10. login as ubuntu.

  11. /img/aws/blackarch-linux/ssh-login.png

    • run below command to connect to BlackArch terminal from ssh command prompt.
    • sudo docker exec -it blackarch /bin/bash


    • If above command returns "Error response from daemon:" error, then run below command to start the BlackArch container and then run above command again.
    • sudo docker start blackarch


  12. You can connect to the VM's desktop environment from any local windows machine using VNC protocol or local linux machine using Remmina.
  13. To connect using VNC Client via Windows Machine, first note the public IP address of the VM.
    Then From your local windows machine, goto "start" menu , in the search box type and select "VNC".
  14. Note:: If you don't have VNC installed on your Windows machine, first Install VNC Viewer as per your device.

  15. In the "VNC Viewer" wizard, copy the external ip and click connect.Accept the encryption warning.

  16. /img/gcp/desktop-linux-kali/kali-vnc-login.png

  17. Now you are connected to out of box BlackArch Linux environment via Windows Machine with root user.

  18. To connect using Remmina 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".
  19. Note:: If you don't have Remmina installed on your Linux machine, first Install Remmina as per your linux distribution.


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

  21. /img/gcp/desktop-linux-kali/remmina-login.png

  22. Now you are connected to out of box BlackArch Linux environment via Linux Machine.

  23. After your first login, Open terminal and run below command to change the root user password.

  24. x11vnc -storepasswd


  25. Once passwd for root user is set, re-login with root user and new password. -
  26. /img/gcp/blackarch-linux/vnc-password-prompt.png

  27. Now your are connected to out of box BlackArch Linux environment which comes with preinstalled blackarch programs.
  28. /img/gcp/blackarch-linux/blackarch-apps.png