updating ec2_info with a walking function to get all the metadata