Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59809

Extend Connection Strategy to Support AWS SSM Session Manager

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • None
    • Jenkins ver. 2.199

      With AWS SSM Session Manger no supporting ssh connections via session manager. It would be amazing if this plugin can extend connection strategy to return instance_id

      https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html

      Feature Description

      Due to security, we disabled all SSH 22 ports on aws have switched to session manager. We would like to utilise session manager for connections to our jenkins ec2 agents. The way this would work would be to extend connection_strategy to return the instance id, so instead of "Private IP" we would set ssh_interface: "id".

      Use Case(s)

      https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html

      test-kitchen https://github.com/test-kitchen/kitchen-ec2 has already been updated to support session manager so it would be great if packer can support too.

            thoulen FABRIZIO MANFREDI
            synalogik Ebrahim Moshaya
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: