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.03k stars 323 forks source link

Can we use this to SSH into a Kubernetes dev pod? #578

Closed alex-treebeard closed 4 days ago

alex-treebeard commented 6 days ago

Hi there - I haven't seen any docs on this use case, but we'd like to migrate some dev EC2 instances to using Kubernetes pods instead.

I'm assuming it will be something like:

Are there any issues/considerations we should make when running amazon-ssm-agent in an (Ubuntu) pod so that we can allow SSH tunneling from a developer laptop into the pod?

Thanks!

sluggard76 commented 4 days ago

alex-treebeard,

You will need a hybrid activation and run your agent as on-prem mode. Please follow this link to confirm whether your Ubuntu OS is supported. If you run into any issues, please feel free to open an AWS support case.