Triggering ECS events on Amazon EventBridge
We have understood that ECS is made up of events via tasks. This section will focus on how we can turn these events into meaningful triggers and responses in the form of a feedback system.
The events sent by ECS help us to understand more about the status of the tasks and containers. Each of these states can be captured as events and sent to Amazon EventBridge, and also be used to trigger another type of event. This can help make our tasks within Amazon ECS responsive to events when an Amazon EventBridge target is attached to the specific event. It is essential to know the status of the tasks from time to time, as the system administrator or DevOps engineer in charge of the ECS cluster. You are not going to log in to the console and continue to check for states, but the state events can be forwarded to another AWS service for action to be taken when that event triggers. ECS is made up of different moving parts, and it is essential to...