Overview
Explore how to build a serverless solution for gathering high-resolution metrics into Amazon CloudWatch using AWS Lambda and Step Functions. Learn to create a Python 3 Lambda function that collects custom metrics from Elastic Container Service (ECS), implement a Step Function workflow to control Lambda execution every five seconds for one minute, and set up a CloudWatch Event Rule to trigger the Step Function each minute. Understand the necessary IAM role configurations for Lambda, Step Functions, and CloudWatch Events. Gain insights into applying this technique to gather metrics from any service with a public API, using tools like Microsoft Visual Studio Code, AWS Tools for PowerShell, and PowerShell Core Edition.
Syllabus
Gathering High-Resolution CloudWatch Metrics with AWS Lambda and Step Functions
Taught by
Trevor Sullivan