support ec2 by hacking