How to Register an AWS Static IP in Kite API

As per SEBI regulations, a static IP address is mandatory for placing orders using the Kite API. You can now register your static IP directly from your Kite Developer profile page.

This article explains

  • What is a Public IP Address?
  • Obtain a static public IP (Elastic IP) from AWS EC2
  • Update or whitelist static IP in your Kite Connect API

What is a Public IP Address?

A public IP address (like home address) is a unique identifier assigned to your computer or device on the internet. It enables your device to communicate with other computers and online services to send and receive data.

Whenever you connect to the internet (WAN), your Internet Service Provider (ISP) assigns a public IP address.

In most cases, this IP is dynamic, meaning it may change after a restart or reconnection. (Since IPv4 addresses have limited availability.)

A static IP address, on the other hand, is permanently assigned to your connection (usually at an extra cost). It does not change on reboot or reconnect and is commonly used for hosting servers, remote access, and API IP-whitelisting.

Most home broadband or standard internet connections do not provide a static IP address. Therefore, you will need to use a cloud server that offers a dedicated static IP. We recommend using AWS (Amazon Web Services) for this purpose.

 

Obtain a static public IP (Elastic IP) from AWS EC2

If you are not currently using a cloud server, you can create a new instance on AWS. Check this article https://howutrade.in/2026/03/26/how-to-set-up-an-aws-windows-trading-server-for-api-trading/

In AWS, a static public IP is called an Elastic IP (EIP).

Step 1 — Open AWS Console

  • Login to the AWS Management Console
  • At the top-right corner, select the correct region ‘Asia Pacific (Mumbai) – ap-south-1’
  • At the top-left corner, from Services, select Compute->EC2

Step 2 — Check Whether Your Instance Already Has a Static Public IP

  • Click Instances
  • Select your running instance
  • In the Details tab, check: Elastic IP address
    If an Elastic IP is already assigned, copy that IP address and skip to the section ‘Update or whitelist static IP in your Kite Connect API.’

If you see, Elastic IP: —, then you need to allocate a new IP address and associate it with your instance.

Step 3 — Allocate a New Elastic IP

  • In EC2 Dashboard → Left menu → Network & Security
  • Click Elastic IPs
  • Click Allocate Elastic IP address

Settings:
Network border group → ap-south-1
Leave other options as default

  • Click Allocate
    Now AWS will create a new static public IP. (This IP belongs to your account until you release it. Each Elastic IP incurs an additional cost of $3.65 per month.)

Step 4 — Associate the Elastic IP to Your EC2 Instance

  • Select the newly created Elastic IP
  • Click Actions → Associate Elastic IP
  • Choose:

* Resource type → Instance
* Select your EC2 instance
* Private IP → leave default

  • Click Associate

Now the static IP is successfully attached.

Step 5 — Verify the Assignment

Go back to:
EC2 → Instances → Select Instance -> Refresh

Check:

  • Elastic IP address: Now it should have an IP address
  • Public IPv4: Should be Same as Elastic IP

Now copy that Elastic IP

Update or whitelist static IP in your Kite Connect API

  • Login to Kite Developer Account
  • Go to Profile
  • Enter the copied IP address in ‘IP Whitelist’ box (One IP per line and maximum two IP’s)
  • Click ‘Update’

➢ Repeat the above steps for each server or API, as needed.
➢ If you face any issues while linking the IP with the API, contact Zerodha support.
➢ For any problems related to allocating or associating an Elastic IP, contact AWS support.