API location for ec2 instances