added ec2,s3 functionality