Important: As you are using Event Engine for this workshop, you will be using the code snippet with the temporary account’s credentials from the Console page. This will be analogous to going through the manual setting up described next in points 1-4 under “AWS Configure - General Use”.
Copy the Credentials/CLI Snippet onto the command line.
Now rerun the ec2 describe-instances command again and check the output.
aws ec2 describe-instances
This gives a description of all the EC2 instances in the account for the specified region.
aws ec2 describe-key-pairs