updated ec2 spec to pass instance id as an arguement, also looking for instance id and public as well as privtate ip address