paint-brush
auto-create CloudWatch Alarms for APIs with Lambdaby@theburningmonk
1,664 reads
1,664 reads

auto-create CloudWatch Alarms for APIs with Lambda

by Yan Cui3mMay 13th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

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

Yan Cui

@theburningmonk

AWS Serverless Hero. Independent Consultant. Developer Advocate at Lumigo.

Learn More
LEARN MORE ABOUT @THEBURNINGMONK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Yan Cui HackerNoon profile picture
Yan Cui@theburningmonk
AWS Serverless Hero. Independent Consultant. Developer Advocate at Lumigo.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite