Can I get private IP of API server(ec2-3-7-103-38.ap-south-1.compute.amazonaws.com) to be used within same AWS AZ ?
I have a free-tier EC2 instance running in AP-MUMBAI zone, the same zone as Zerodha API server is running at. When I use the public IP,(DNS resolved), I am getting charged under, "$0.010 per GB - regional data transfer - in/out/between EC2 AZs or using elastic IPs or ELB3.451 GB$0.03" .
This is because, (my)client and (kite)server being in the same AZ, communication is happening on public IPs, which is discouraged by AWS, by making it a paid service. It does not fall under 100G free monthly "in from internet" category.
[I use websocket API to to receive tickdata which is around 2.5G per day.]