monitoring serverless architectures can you help with
play

MONITORING SERVERLESS ARCHITECTURES CAN YOU HELP WITH SOME - PowerPoint PPT Presentation

MONITORING SERVERLESS ARCHITECTURES CAN YOU HELP WITH SOME PRODUCTION PROBLEMS? Your Manager @RafalGancarz (CC) Rachel Gardner Rafal Gancarz Lead Consultant @ OpenCredo @RafalGancarz WHAT IS SERVERLESS? @RafalGancarz (CC) theaucitron


  1. MONITORING SERVERLESS ARCHITECTURES

  2. CAN YOU HELP WITH SOME PRODUCTION PROBLEMS? Your Manager @RafalGancarz

  3. (CC) Rachel Gardner

  4. Rafal Gancarz Lead Consultant @ OpenCredo @RafalGancarz

  5. WHAT IS SERVERLESS? @RafalGancarz

  6. (CC) theaucitron

  7. Cloud-native @RafalGancarz

  8. PaaS? @RafalGancarz

  9. Serverless ≠ FaaS Serverless Faas @RafalGancarz

  10. Managed runtime @RafalGancarz

  11. WHY SERVERLESS? @RafalGancarz

  12. (CC) snapp3r

  13. Availability @RafalGancarz

  14. Scalability @RafalGancarz

  15. Economy @RafalGancarz

  16. Time to market @RafalGancarz

  17. Security @RafalGancarz

  18. Operability @RafalGancarz

  19. SERVERLESS BUILDING BLOCKS @RafalGancarz

  20. AWS Lambda Java, C#, NodeJS, Python sync & async invocation 1 million invocations and 400k GB-s free per month $0.20 per 1 million requests and ~$6.65 for 400k GB-s thereafter @RafalGancarz

  21. AWS API Gateway security, caching, throttling functions as API implementations 1 million requests free per month $3.50 per 1 million requests and $0.09/GB (for the first 10 TB, then cheaper) @RafalGancarz

  22. AWS DynamoDB document and key-value function as triggered procedures 25 GB of storage and 25 units of read capacity each month for free (~200k requests per month) $0.25 per GB/month and $0.0065 per hour for 10 units of write capacity (36k writes/hour) or 50 units of read capacity (180k reads/hour) @RafalGancarz

  23. AWS S3 durable, available and scalable functions as content processors 5 GB of storage and 15 GB of data transfer out to Internet each month for free $0.03 per TB/month and $0.09 per GB data transfer out to Internet @RafalGancarz

  24. AWS SNS pub-sub, push notifications functions as destinations 1m publishes, 1m mobile push notifications, 1k emails, 100k HTTP notifications and 1 GB of data transfer out each month for free $0.50 per 1m publishes, $0.60 per 1m HTTP notifications and $0.09 per GB data transfer out to the Internet @RafalGancarz

  25. AWS Kinesis Streams pub-sub, persistent functions as consumers no free tier $0.015 per shard/hour, $0.014 per 1m PUT payload units (25KB) + extended retention charges data transfer is free @RafalGancarz

  26. Other AWS services SQS SES Cognito IoT Greengrass Button Step Functions CloudFront Route53 Batch ElasticSearch ElastiCache RDS EMR Redshift @RafalGancarz

  27. MONITORING (CC) Grégoire Lannoy

  28. AWS CloudWatch scalable, managed real-time monitoring metrics, logs, alarms, events @RafalGancarz

  29. METRICS (CC) Jérôme S

  30. CloudWatch Metrics retention: 1m (15 days), 5m (63 days), 1h (15 months) basic monitoring (1m/5m) is free 10 metrics and 1 million API requests for free each month $0.30 per metric/month for the first 10k metrics ($0.02 for metrics over 1M) $0.01 for 1000 API requests @RafalGancarz

  31. AWS Lambda Invocations Errors Dead Letter Errors Duration Throttles @RafalGancarz

  32. AWS API Gateway 4XX Error 5XX Error Cache Hit Count Cache Miss Count Count Integration Latency Latency @RafalGancarz

  33. AWS DynamoDB Provisioned Capacity Units Read/Write Consumed Capacity Units Read/Write Online Index Consumed Capacity/Progress/Throttling Returned Bytes Returned Item Count Returned Records Count (Streams) Successful Request Latency Errors System/User Conditional Check Failed Requests Throttled Events Read/Write/Requests @RafalGancarz

  34. AWS S3 Bucket Size Bytes (daily) Number Of Objects (daily) All Requests Get/Put/Delete/Head/Post/List Requests Bytes Downloaded/Uploaded Errors 4XX/5XX First Byte Latency Total Request Latency @RafalGancarz

  35. AWS SNS Number Of Messages Published Publish Size Number Of Notifications Delivered Number Of Notifications Failed SMS Success Rate @RafalGancarz

  36. Custom Metrics Lambda function CloudWatch SDK @RafalGancarz

  37. Estimated Billing Total Estimated Charges Estimated Charges (per service) @RafalGancarz

  38. DASHBOARDS (CC) Kevin Dooley

  39. CloudWatch Dashboards metrics, alarms, static text 3 dashboards (up to 50 metrics) per month for free $3 per dashboard per month @RafalGancarz

  40. ALERTING (CC) Martin Abegglen

  41. CloudWatch Alarms watches metrics over time can trigger a function via SNS 10 alarms per month for free $0.10 per alarm per month @RafalGancarz

  42. Serverless Alerting email condition SMS alarm topic metric channel function @RafalGancarz

  43. LOGGING (CC) Mari Smith

  44. CloudWatch Logs ingests and stores application logs configurable retention period 5 GB data ingestion and 5 GB archived storage per month for free $0.5985 per GB ingested per month $0.0315 per GB archived per month @RafalGancarz

  45. Log Collection stdout stderr Lambda log group function @RafalGancarz

  46. Log Filtering filter condition log group metric alarm @RafalGancarz

  47. Log Streaming function Elastic Search log group stream function @RafalGancarz

  48. Log Browsing Bunyan Elastic Kibana Search JSON function log group + Bunyan CLI @RafalGancarz

  49. EVENTS (CC) JD Hancock

  50. CloudWatch Events stores & streams application events $1 per 1 million custom events @RafalGancarz

  51. Custom Events function event rule function SDK @RafalGancarz

  52. DynamoDB dynamic capacity metrics SDK event table function @RafalGancarz

  53. HEALTH CHECKS (CC) Rosmarie Voegtli

  54. Route53 Health Checks monitors HTTP(S) endpoints 50 AWS endpoint checks per month for free $0.50 per health check per month $1 per feature (HTTPS, string matching, fast interval, latency) per month @RafalGancarz

  55. Health Checks api function table health metric alarm check @RafalGancarz

  56. TRACING (CC) Ozzy Delaney

  57. AWS X-Ray collects transaction traces support for Lambda coming soon 100k traces recorded and 1 million traces retrieved/scanned free per month $5 per 1 million traces recorded and $0.50 per 1 million traces retrieved/ scanned per month @RafalGancarz

  58. AUDITING (CC) The Steve

  59. AWS CloudTrail audits all console, API, SDK activity first copy of management event free additional copies $2 per 100k events $0.10 per 100k data events @RafalGancarz

  60. THE FUTURE (CC) matt northam

  61. Total Visibility @RafalGancarz

  62. Monitoring as a Service @RafalGancarz

  63. Monitoring not only for Operations @RafalGancarz

  64. Application <-> Monitoring metrics events logs Application Monitoring Services Services feedback @RafalGancarz

  65. Monitoring as the enabler for the new functionality @RafalGancarz

  66. @RafalGancarz QUESTIONS? (CC) Alan Turkus

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend