add some implementation for aws ec2.