ec2 with json