I do this with VSCode Remote (SSH). It “feels” like a local binary but since you’re actually connected to in my case an EC2 VM (which transparently picks up IAM credentials in the instance metadata), when you run the terminal you can connect to all the resources in the VPC. It’s really convenient.
Comments
This in my mind is the biggest reason to go this way over alternatives.
I do this with VSCode Remote (SSH). It “feels” like a local binary but since you’re actually connected to in my case an EC2 VM (which transparently picks up IAM credentials in the instance metadata), when you run the terminal you can connect to all the resources in the VPC. It’s really convenient.