auto-create CloudWatch Alarms for APIs with Lambdaby@theburningmonk
1,647 reads

auto-create CloudWatch Alarms for APIs with Lambda

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Yan Cui is an AWS Serverless Hero and the author of Production-Ready Serverless. Yan explains how to use CloudTrail and CloudWatch Events to automate many day-to-day operational steps with Lambda. These are manual steps that often get missed, but can be easily automated using Lambda and API Gateway. Yan is using the serverless-iam-roles-per-function plugin to give the function a tailored IAM role. The function needs the.apigateway:PATCHpermission to enable detailed metrics,. create alarms for each endpoint, and create CloudWatch Alarms for p99 latencies and error counts.

People Mentioned

Mention Thumbnail

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - auto-create CloudWatch Alarms for APIs with Lambda
Yan Cui HackerNoon profile picture

@theburningmonk

Yan Cui


Receive Stories from @theburningmonk

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa