This document describes using Amazon CloudWatch Events, AWS Lambda, and Spark Streaming to process EC2 instance events. Specifically, it discusses: 1) Configuring CloudWatch rules to detect EC2 Auto Scaling and lifecycle events and trigger a Lambda function. 2) Having the Lambda function send the event details to Kinesis Firehose for delivery to S3. 3) Using Spark Streaming to read the event data from S3 and process it.