- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
Hi Team, I understand that you would like to trigger events on EC2 Instance managed via Systems Manager. You can trigger events via Event Bridge.
Example for EventBridge :
{
"source": ["aws.ec2"],
"detail-type": ["EC2 Instance State-change Notification"],
"detail": {
"state": ["running"],
"tagSpecificationSet": {
"items": {
"tags": {
"key": ["Name"]
}
}
}
}
}
Kindly refer the link : https://docs.aws.amazon.com/systems-manager/latest/userguide/running-automations-event-bridge.html
Additionally, I am also providing you a Github link for sample resource tagging automation that might help you.
Hello, Hope you are doing good!! Yes you are right it is for AWS::SSM::EC2Instance. EventBridge delivers a stream of real-time data from your own applications, software-as-a-service (SaaS) applications, and AWS services and routes that data to targets such as AWS Lambda. Yes you are right and I am also sending you a link to check the integration with EventBridge. https://aws.amazon.com/eventbridge/integrations/ https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-saas.html
EventBridge supports events from the following AWS Systems Manager capabilities that you can trigger to on premises and EC2 both. Example you can trigger Automation via Event Bridge to both ( EC2 or On premises).
- Automation (Events are emitted on a best effort basis.)
- Change Calendar (Events are emitted on a best effort basis.)
- Compliance
- Inventory (Events are emitted on a best effort basis.)
- Maintenance Windows (Events are emitted on a best effort basis.)
- Parameter Store (Events are emitted on a best effort basis.)
- Run Command (Events are emitted on a best effort basis.)
- State Manager (Events are emitted on a best effort basis.)
https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-eventbridge-events.html
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
Hi, thanks for your answer. Will this work for AWS::SSM::ManagedInstance (Hybrid/OnPrem) as well as AWS::SSM::EC2Instance? I see lots of triggers in EventBridge for EC2 but we also need this automation to work primarily against ManagedInstances . Our fleet is 99.9% on prem