aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.06k stars 326 forks source link

[hybrid] on-premise server has many IPs #440

Closed Hokwang closed 1 year ago

Hokwang commented 2 years ago

Hi,

I was enabling Advanced tier in Fleet Manager and add on-premise server.

I can access on-premise server using session manager.

But for me, server's IP is very important. Because I will create ansible's dynamic inventory.

스크린샷 2022-04-08 02 00 01

actually on-premise server can have many IPs like, 스크린샷 2022-04-08 02 02 49

in my case, bond0 is real IP. (what I want to use)

I don't know ssm agent how to pick one IP and if I can't use picked IP, how to change server IP information.

Thanks,

sluggard76 commented 1 year ago

Right now, SSM Agent is unable to pick a designated IP address when there are multiple IP addresses. I have entered a feature request accordingly.