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.04k stars 322 forks source link

Automate AWS SSM Agent registration for Hybrid Activations #401

Closed PeterBarczi closed 2 years ago

PeterBarczi commented 2 years ago

Hi folks,

I'd like to ask you for a help.

Our use Case is to Automate AWS SSM agent registration on On-Prem VMs.

Simply speaking: if new machine running On-prem is installed with ssm agent, it should be automatically registered into AWS SSM. You can generate Activation ID & Activation Code once and register on-prem VM using such ID & Code. That is working fine, it can be easily automated, hardcoded into VM. But stuck point is Registration of new VMs later on, since Activation credentials is max 30 days..

Any idea/experience how to achieve such kind of Automation?

Many thanks in advance Peter

ferkhat-aws commented 2 years ago

Hello Peter. Thanks for reaching out. We cannot provide suggestions for the Hybrid Activations service here. Please cut a support ticket through the AWS Console for further assistance.