pyinfra icon indicating copy to clipboard operation
pyinfra copied to clipboard

AWS SSM Session Connector

Open bonovoxly opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe

While SSH can be great, there are times when AWS EC2 instances are private. AWS supports SSM connections, where you connect via HTTPS through AWS. It's great; no bastion SSH host, no VPN. Access is controlled via AWS IAM polices.

Ansible has this feature https://docs.ansible.com/ansible/latest/collections/community/aws/aws_ssm_connection.html

It would be incredibly useful. It seems like it's a bit difficult to port in your own connector (https://github.com/Fizzadar/pyinfra/issues/977), so I'm putting this request out there to see if anyone has done this or if this feature has been considered.

Describe the solution you'd like

Support a connector for AWS SSM session connection instead of SSH.

bonovoxly avatar Jun 13 '23 13:06 bonovoxly

This would be an excellent addition! Not heard of anyone implementing this yet so in need of an owner!

Fizzadar avatar Jul 17 '23 20:07 Fizzadar