Advice for HackerPenetration TestingSSH

How To Configure Kali Linux on AWS Cloud with Public IP Address?

Today we’re going to configure Kali Linux on AWS Cloud with public IP Address. If you wanna use a static IP Address for Kali Linux you have to create an Elastic IP address.

Because if you restart your instance it will create a new public IP Address for you so it’s better if you use Elastic IP Address to connect to your Kali Linux instance.

How to create Kali Linux Instance on AWS?

First, create an account on if you already have an account just login.

  • Get started with the EC2 Instance.
  • Search for Kali Linux in AWS Marketplace.

How To Configure Kali Linux on AWS Cloud with Public IP Address?

Video Tutorial:

How to Access your Instance?

I would like to connect with,

  • A standalone SSH client
  • A Java SSH Client directly from my browser (Java required)

To access your instance:

  1. Open an SSH client. (find out how to connect using PuTTY)
  2. Locate your private key file (your_key_here.pem). The wizard automatically detects the key you used to launch the instance.
  3. Your key must not be publicly viewable for SSH to work. Use this command if needed:
    chmod 400 your_key_here.pem
  4. Connect to your instance using its Public DNS:


ssh -i "your_key_here.pem" [email protected]

Please note that in most cases the username above will be correct, however, please ensure that you read your AMI usage instructions to ensure that the AMI owner has not changed the default AMI username.

Noor Qureshi

Experienced Founder with a demonstrated history of working in the computer software industry. Skilled in Network Security and Information Security.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button