System Manager Automation

0

Hi,

I would like to pass events from ASG to Amazon Event Bridge and then System Manager Automation.

Amazon event bridge will receive Ec2 instance , how do I pass Ec2 instance name to System Manager Automation.

In System Automation , I would like to create a folder in Ec2 isnatnce.

Could you please provide the required coding in Event bridge and System Automation manager to achieve the same.

Regards Chetan

Chetan
已提问 1 个月前112 查看次数
1 回答
0

Hello.

How about running Lambda from SNS using AutoScaling event notification?
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html

I thought it would be easy to implement since you can get the instance ID etc. from the event by executing "send_command" from Lambda.
https://medium.com/@kamal.maiti/how-can-aws-lambda-remotely-execute-any-command-on-an-ec2-machine-c07d628c1a1f

profile picture
专家
已回答 1 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则