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 Risposte
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
ESPERTO
kentrad
con risposta 2 anni fa
  • 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
Risposta accettata

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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande