There are two options when it comes to deploying a Kali Linux Linode instance. We will quickly cover both and then explain how to go about setting up them.
Keep in mind that both these options are free to create, with the only cost being the standard running cost of the instance. Now lets set up these systems!
Kali as a Distribution
By creating a Linode instance and selecting Kali as the distribution, this will create a bare-bones Kali install, with only kali-linux-core installed. This can be useful if there is only a selected amount of tools that are going to be used, so this allows finer control over the system. Plus this in turn also helps reduce operating cost!
Kali as a Distribution Configuration
We want to first select Kali Linux in the drop down for “Image”:
From there we customize based off of personal preference. Here is an example configuration:
One very important field is “Root Password”. What we set here will determine the password we use during SSH (unless you also select a public key). Once ready we can select “Create Linode” again and then wait for provisioning to complete.
Once complete we can use the SSH Access command to connect to our instance:
Kali Default Tools In Linode
If you change your mind later and want the traditional set of tools which you commonly find with the desktop version of Kali Linux, they are always installable with our metapackages. You just need to run the following:
[email protected]:~$ sudo apt update && sudo apt install kali-linux-default -y [...] [email protected]:~$
Kali from the Marketplace
The alternative option is to run “Deploy This App” from the Linode marketplace. This will create a Linode instance and, depending on the options selected during configuration, will install a Kali Linux instance with certain metapackages installed. Keep in mind this may take some time before Linode’s scripts run and installs everything. This option is good if you may not know ahead of time what may be needed or just want to have the familiar Kali Linux environment.
Kali from the Marketplace Configuration
When selecting “Create Linode” we will want to select “Marketplace” at the top of the webpage. From here, we can see Kali Linux listed as the third option (at the time of writing):
After selecting Kali Linux we will scroll down and notice some configuration options specific to Kali:
As mentioned previously, these will determine what metapackages are installed as well as will setup VNC access automatically. These options should be configured according to your needs to prevent too many resources being taken up:
From here we will have standard Linode configuration settings:
Lastly, select “Create Linode” and wait for provisioning to complete. As stated before, please allow some time for Linode’s scripts to run. When they have, you will be able to use the SSH Access command to connect to our instance.
Updated on: 2022-Jul-16