Can a SG be deployed using SSM/PS to all Ec2 instances?

0

Can an existing SG be deployed using SSM Powershell to all EC2 instances? If it is possible, then would like to then remove the same group after done using it. I found little information on how to accomplish this.

2 Antworten
1

Take a look at this: Invoking other AWS services from a Systems Manager Automation runbook.

Instead of running a script, you have SSM run the modify-instance-attribute API call against a set of instances.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor 2 Jahren
  • Thank you for the answer, kentrad.

    AWS-User-8719565, let us know if this answers your question. If this solved your issue, please remember to click on the "Accept" button to let the community know that your question is resolved. This helps everyone. Thank you in advance.

0
Akzeptierte Antwort

Thank you for your answer. I am really new to AWS, so it will take some time to figure out how to do it. Thanks again for your response Kentrad. It puts me in the right direction.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen