Check this if you are using IAM instance profile to authenticate your AWS API calls