AWS Service Events

CloudTrail supports logging non-API service events to your Amazon S3 bucket. These events are related to AWS services but are not directly triggered by a request to a public AWS API. For these events, the eventType field is AwsServiceEvent. The following is an example scenario of an AWS service event.

  1. You want to run a Spot Instance for your application and submit a bid for a specified number and type of EC2 instances.
  2. Your bid price exceeds the current Spot price, and the EC2 instances are created for you.
  3. When the Spot price exceeds your bid price, your EC2 Spot Instances are terminated and given to other customers.

In the example, CloudTrail logs the service event activity to your Amazon S3 bucket. One event shows that the EC2 Spot Instance was created and another event shows when the EC2 Spot Instance was terminated. For information related to the event, see theserviceEventDetails field.

Leave a Reply

Your email address will not be published. Required fields are marked *