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 個答案
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
專家
kentrad
已回答 2 年前
  • 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
已接受的答案

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.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南