
Query AWS resources using Amazon Q Developer, interact with them on the CLI
Follow along as I debug an SSH connection failure, and fix it using Amazon Q Developer

Okay, I can see that my EC2 instance is there and running, but why can't I connect to it? Let's check the security group to see if there is a connectivity issue there:

Ah that makes sense... that's not my current IP address, so my attempt to SSH is being blocked by the security group! To solve this problem, I open up the command line and run
q chat
to launch Amazon Q Developer on the CLI to ask how to solve this. I don't remember the right command and I am very lazy:
Just like that I've got commands to run, and all I have to do is make a small customization so that it uses the security group name from above:
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.