updated ec2 and added p2p