Added method to check EC2 instance states and status
Added method to check EC2 instance states and status