V4 signing support for ec2

added v4 signing for ec2