magnificent-church-42829
04/26/2022, 10:41 PMcommand.remote.ConnectionArgs
, command.remote.CopyFile
, and command.remote.Command
but this wouldn’t work if the instance is in a private subnet.billowy-army-68599
04/26/2022, 10:46 PMlittle-cartoon-10569
04/27/2022, 12:27 AMgreen-musician-49057
04/27/2022, 4:17 AMcommand.local.Command
to use the aws CLI to invoke handy built-in AWS SSM / Systems Manager features, like running remote commands/scripts, or starting a port forwarding session.
One of the nice parts of this approach is that your automations never touch your SSH keys...but there are some pre-reqs for using Systems Manager.little-cartoon-10569
04/27/2022, 4:34 AM