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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠