Fix spelling mistake
Add logging around interaction with ec2
Fix bug in getting logs