In this video we are going to install Kali Linux in cloud with graphical user interface within free
tier provides a free tier where you can keep a virtual machine in the cloud for 12 months for totally
free.
It does require your credit card details for verification, but the service is totally free for 12 months.
Having a Kali in the cloud is beneficial as you can perform your attacks from a remote location without
providing your actual location.
So we are going to launch an EC2 instance with Kali and then we are going to install graphical user
interface on the same machine.
So in step one, go to your home and launch an EC2 instance.
Once the instance is created.
Access to your Kali instance with SSH command.
Now you need to install the desktop environment and tightvnc server on your machine.
Just use the command as shown on the screen.
Now we need to set up a tight VNC server geometry.
You can check whether Tightvnc is running on the server or not with netstat dash two command.
The back on your windows machine.
You can download Tightvnc client for Windows.
Open the client, void your IP and port and connect to it.
So go on your dashboard and create an EC2 instance.
Click on launch instance.
Don't give it a name.
From tab.
Search for Kali Linux.
Go to Marketplace and Kali Linux will be available there.
Select it.
And click on Continue.
Now select the architecture, which will be 64.
On instance type select T micro which is free tier eligible.
Now create a new key pair.
Give it a name.
And download it.
This key file will be used to connect to our Kali instance.
Now go down.
Ensure that such traffic is allowed from anywhere.
Select your hard disk size.
And click on launch instance.
Your instance will be launched in a few seconds.
And after the instance is launched, you can open the instance page and your IP address will be visible.
You can even go to security groups.
And amend any security rules that you want.
We are going to add a rule that allows all types of traffic through firewall so that we may be able
to connect to our server.
You may also only allow the traffic to the server.
However, for simplicity, I'm allowing all traffic.
Now go back to your instance.
Copy the IP address.
And try to ping it.
And you can see that we can reach our instance.
Now in the folder where your key file is stored.
Open PowerShell.
And into your machine with SSH command as shown in the video.
And we are connected with our Kali machine.
You can use all commands of Kali from the same terminal.
For example, who am I?
Now let's install graphical user interface on our Kali machine.
First update the repositories.
And then use the command as shown on the screen and install the desktop.
To set up Tightvnc server geometry with Tightvnc Server Geometry Command.
And check whether VNC server is running on your machine with netstat command and you can see that it
is running on port 5901.
So back on your windows machine download VNC viewer.
Once installed.
Open it.
Type in the IP address of, for instance.
With Port 5901 and click Connect.
Click.
Continue.
Enter your password.
And click okay.
And you will get the desktop.
You can use this Kali machine in the same manner as you use your Kali in VMware or virtual box.