pyinfra turns Python code into shell commands and runs them on your servers. Execute ad-hoc commands and write declarative operations. Target SSH servers, local machine and Docker containers. Fast and scales from one server to thousands.
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.
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.
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.