[JIRA] (JENKINS-59809) Extend Connection Strategy to Support AWS SSM Session Manager

3 views
Skip to first unread message

e.moshaya@gmail.com (JIRA)

unread,
Oct 16, 2019, 5:32:01 PM10/16/19
to jenkinsc...@googlegroups.com
Ebrahim Moshaya created an issue
 
Jenkins / New Feature JENKINS-59809
Extend Connection Strategy to Support AWS SSM Session Manager
Issue Type: New Feature New Feature
Assignee: FABRIZIO MANFREDI
Components: ec2-plugin
Created: 2019-10-16 21:31
Environment: Jenkins ver. 2.199
Priority: Major Major
Reporter: Ebrahim Moshaya

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

        1. 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".

        1. 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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

e.moshaya@gmail.com (JIRA)

unread,
Oct 16, 2019, 5:33:03 PM10/16/19
to jenkinsc...@googlegroups.com
Ebrahim Moshaya updated an issue
Change By: Ebrahim Moshaya
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


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.
Reply all
Reply to author
Forward
0 new messages