When juggling multiple devices, the cloud offers many benefits. I have been maintaining multiple instances of Kali across my desktops and laptops for a bit now – and it is getting tiresome. Sounds like the perfect opportunity to dive into AWS. Here is how to setup your Kali box up in the AWS cloud.
- Set up an free AWS account (12 months): Amazon will offer a free 12 months of its services for you. Click through this link to set up your account and claim your free 12 month trial.https://aws.amazon.com/free/
- Generate an SSH Key Pair: Generate an SSH key pair to use to log into your instance once created. When you create a key pair, a .pem file will download to your computer. This is your private key. Keep this in a secure location. DO NOT SHARE YOUR PRIVATE KEYS.
- Subscribe to the Kali Linux Software Package: Navigate to the following link and click the subscribe button. Kali is free to run in the cloud, just as it is free to run on your local computer.
- Launch a New EC2 Instance: 4a. Navigate to your AWS console and click ‘Instances’. Click the blue ‘Launch Instance’ button to start the wizard.
4b. Enter ‘kali linux’ into the search field and start the search.
4c. Scroll down the page until you see the Kali instance. Click the blue ‘Select’ button.
4d. Select the ‘Free tier eligible’ instance type.
- Accept the defaults for Step 3-5, unless you have reason to change.
Step 3: Instance Details
Step 4: Add Storage
Step 5: Add Tags
- Optional: Change the source IP address in the Security Group to your IP address for additional security.
- Review your details and click the ‘Launch’ button
- Select your key pair you created in Step 2 when prompted. Click Launch Instances.
- You are now in the cloud!
- Navigate back to the console to see your machine
- Use your favorite SSH client to connect to the Public DNS IP.
- Happy Hunting!