You can obtain information about EC2 instances using:
aws ec2 describe-instances
You can obtain information about specific EC2 instances using:
aws ec2 describe-instances --instance-ids ...
where ... contains one or more instance identifiers. For example:
aws ec2 describe-instances --instan...