fix aws ec2 client setup