SlideShare a Scribd company logo
1 of 81
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudWatch Logs and AWS Lambda:
A Match Made in Heaven
Leo Zhadanovsky
Principal Solutions Architect, AWS
June 14, 2017
What to Expect from the Session
Look at industry trends
impacting monitoring
Learn about Amazon
CloudWatch and Amazon
CloudWatch Logs
Understand several key
monitoring use cases
See CloudWatch and AWS
Lambda in action
Centralize
Centralize logs from
Elastic Load Balancing
(ELB) using S3 bucket
triggers
Customize
Customize alarms from
Amazon CloudWatch to fit
your specific needs
Analyze
Build an on-demand,
scalable Amazon
Elasticsearch Service
cluster to solve a specific
problem or to do analysis
What to expect: Scenario preview
Recognize this?
Day in the life!
The story you are about to hear is true (mostly)…Only the
names have been changed to protect the innocent…
A customer writes a high severity ticket – your Application,
ImportantApp, is down.
John, the on-call developer, is paged through the ticketing
system.
None of your alarms fired.
Blissful ignorance
John engages and starts to scan service dashboards.
He does see intermittent availability impact, but doesn’t
know how to assess impact to customers or where to begin
troubleshooting.
He decides to escalate to a manager on call.
Confusion
More customer tickets are pouring in.
An escalation manager, Jane, joins the event and starts to
assess the situation and impact.
John and Jane’s CTO happens to notice the problem.
Sends Jane an IM – “Jane, what’s going on with
ImportantApp?”
Stress
Jane and John recall a recent issue where certain
customers started to issue “expensive” operations.
John starts log diving on their production hosts.
John identifies a suspect customer. Jane cuts a ticket and
John prepares a configuration change to block the
customer.
False hope
The other team engages and indicates they didn’t change
anything.
Jane and John also confirm this when the availability
impact persists after deploying the configuration change.
Out of ideas, John suggests to fail over to the standby – “It
can’t hurt…”
Desperation
After the failover, ImportantApp recovers. (Yay!)
Our root cause deep dive finds that a new JDBC version
introduced a memory leak leading to Java heap
exhaustion.
We fix the leak, add new alarms on memory usage, and
tune our service alarms.
Enlightenment
Can we do better than that?
Day in the life - Reflection
• We have missing alarms, and some of the alarms we
have are not actionable.
• We don’t always have the right logs and interacting with
them can be tedious.
• Our dashboards do not tell us enough about customer
impact or behavior changes.
Monitoring is really (really) hard!
Trends in monitoring
Trend: Complexity increasing
• Distributed micro-services based applications
• Applications are written in different languages and
frameworks
• Workloads are increasingly running on transient
resources such as containers and serverless compute
• Specialization in persistence tier
• Small changes are continuously built, tested, and
deployed
• As the scale and design of applications are changing
rapidly, so are the infrastructure needs
• Applications are global and customer behavior is
unpredictable
• Increased role of automation
Trend: Applications are more dynamic
• Increased role of applications in business outcomes
(revenue, cost, SLA)
• Rapidly evolving applications are required to gain
competitive advantage
• Increased expectations from customers
Trend: More business impact
• Monitoring is no
longer standalone.
It is one aspect of
management and
increasingly integrated
into the lifecycle of
application
Trend: Integrated management
Amazon CloudWatch
See React Diagnose Resolve
Use AWS generated metrics,
logs, and events over time to
understand the behavior of
your system
Publish custom metrics,
logs, and events for your
application specific
telemetry
See React Diagnose Resolve
Trigger automatic
notifications based on
your own rules and
metric thresholds
See React Diagnose Resolve
Inspect, navigate, zoom, and
correlate across time to
investigate issues
Jump to your logs directly
from your metrics to perform
searches or generate
additional metrics from log
data
See React Diagnose Resolve
Easily and automatically
correct issues using common
actions that you control
Define your own custom
actions based on Lambda
functions for more fine-grained
control
See React Diagnose Resolve
• Metrics price drop
• More metrics, logs, events from AWS
services: AWS CloudTrail,
AWS Elastic Beanstalk, Amazon SES
• Simple navigation from metrics to
your logs
• Upgraded metric retention from 2
weeks to up to 15 months
Recent improvements
• Support for arbitrary metric percentiles
• collectd output plugin to simplify metric
collection
• Improvements in dashboards (new
widgets, dark theme, Y axis limits)
• Improved Logs console experience
Recent improvements (continued)
Not just about what’s inside CloudWatch
• Monitoring is hard (very hard)
• Every enterprise, team and situation has unique needs
• We have a rich partner ecosystem
• We give you the tools and flexibility to integrate with
other AWS services
Flexible
Egress
Comprehensive
Ingress
Amazon EC2
AWS CloudTrail
Amazon ECS
AWS Lambda
Amazon ES
Amazon S3
AWS Lambda
AMAZON
CLOUDWATCH LOGS
Centralize
Search
Monitor
Stream
Retain
Secure
A log service for arbitrary scale,
availability, durability, and security
AWS Kinesis
Custom
Serverless compute: AWS Lambda
COMPUTE
SERVICE
EVENT
DRIVEN
Run arbitrary
code without
managing
servers
Code only runs
when it needs to
run
Centralize
Centralize logs from
Elastic Load Balancing
(ELB) using S3 bucket
triggers
Customize
Customize alarms from
Amazon CloudWatch to fit
your specific needs
Analyze
Build an on-demand,
scalable Amazon
Elasticsearch Service
cluster to solve a specific
problem or to do analysis
Problem statements
• Log data is scattered on instances and S3 buckets
• It would be better if it were centralized in CloudWatch Logs
for searching and filtering
• Today CloudWatch provides an agent for instance logs;
what about Amazon S3 delivered logs?
Flow of events
LambdaS3ELB CloudWatch
Logs
ELB logs
archived in
Amazon S3
S3 Object Create
Event Notification
to AWS Lambda
AWS Lambda
reads the ELB log
from Amazon S3
and publishes to
CloudWatch Logs
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Provision three EC2 instances running Apache
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Create a load balancer
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Create a target group with the three Apache servers
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Enable ELB log delivery to Amazon S3
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Configure the Lambda function to trigger on S3 object create
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Read the ELB logs from the S3 bucket by invoking S3 GetObject API
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Post the logs into CloudWatch Logs by invoking putLogEvents SDK API
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
ELB serving traffic
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Verify that ELB logs are delivered to S3
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Access the ELB logs from CloudWatch Logs
Apache Servers
ELB & Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Search for the HTTP GET calls in the last 24 hours
Apache Servers
ELB& Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Create a filter pattern to extract requests with a latency of more than 1 ms
Define a metric filter on the log group
Apache Servers
ELB& Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
Apache Servers
ELB& Lambda
Configured
Lambda Triggered
ELB logs in
CloudWatch
View the metric graph for ELB latency
HighLatencyCount
Key takeaways
1. S3 delivered log data from any source can be
centralized into CloudWatch Logs using Lambda
2. You can search and extract metrics from those logs in
near real time
Centralize
Centralize logs from
Elastic Load Balancing
(ELB) using S3 bucket
triggers
Customize
Customize alarms from
Amazon CloudWatch to fit
your specific needs
Analyze
Build an on-demand,
scalable Amazon
Elasticsearch Service
cluster to solve a specific
problem or to do analysis
Problem Statements
• When you get an alarm, you want enough information
to decide whether it needs immediate attention or not
• You want to customize the alarm text and format to your
operational needs
Flow of Events
Error in Logs
generates an alarm to
an SNS topic
Amazon SNS
topic triggers an
Event Notification
to Lambda
AWS Lambda gets
the filtered logs,
calls SES to email
with those logs
Amazon SESAWS LambdaCloudWatch
Logs
CloudWatch
Alarms
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Provision an EC2 instance with Tomcat running on it
Hello World
CloudWatch agent sends EC2 instance logs to CloudWatch Logs
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Define a filter pattern to extract unauthorized access attempts
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Define a metric filter on the log group
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Define an alarm with a specific threshold for that metric
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
test
Configure the Lambda function to trigger on SNS topic message
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Hello World
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Get the metric filter information by invoking the describeMetricFilters SDK API
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Get the relevant log data by invoking the filterLogEvents SDK API
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
SES sends an email with the relevant log data
Unauthorized access attempts on the Tomcat server
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
Alarm generated due to unauthorized access attempts
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
test
test
test
test
View email with the relevant log data about the alarm
Metric Filter
Defined
Alarm & Lambda
Configured
Lambda Triggered SES sends Email
test
test
Hell
o
test
Key takeaways
• Alarms can be customized to add specific details about
the issue
• When you see a spike on a metric, you can also get the
logs describing the issue triggering the alarm
• The Lambda function can be extended to add your
specific information to the alarm
Centralize
Centralize logs from
Elastic Load Balancing
(ELB) using S3 bucket
triggers
Customize
Customize alarms from
Amazon CloudWatch to fit
your specific needs
Analyze
Build an on-demand,
scalable
Amazon Elasticsearch
Service cluster to solve a
specific problem or to do
analysis
Problem Statements
• You want to do log analysis using Amazon Elasticsearch
Service but don’t want to leave the cluster running all the
time
• You want to send data to Amazon Elasticsearch Service,
but don’t want to manage ongoing operations
• Build an on-demand Elasticsearch cluster from historical
data
Flow of events
LambdaS3
CloudWatch
Logs
CloudWatch Logs in
a specific timeframe
exported to S3
S3 Object Create
Event Notification
to Lambda
AWS Lambda
transforms and sends
only filtered logs to
Amazon Elasticsearch
Service
Amazon
ES
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Configure flow logging for your VPC
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
View the VPC Flow Logs in CloudWatch Logs
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Create an Amazon ES domain
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Read the VPC Flow Logs from the S3 bucket by invoking GetObject API
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Transform the VPC Flow Logs into a JSON document for Amazon ES
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Ingest the logs into Amazon ES by putting to its HTTP endpoint
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
Export the VPC Flow Logs to S3
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
VPC Flow Logs exported to S3
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
View the VPC Flow Logs in Kibana
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
View different dashboards in Kibana
Logs exported to
S3
Lambda
Configured
Logs to
Elasticsearch
Visuals in Kibana
View different dashboards in Kibana
Key takeaways
• Send historical data within a timeframe to Amazon
Elasticsearch Service on demand
• This reduces cost, burden of scalability, and operations
time
• Troubleshooting gets easier because you have only
limited and relevant data
Recap
• Monitoring is more important than ever, but still too hard
• Amazon CloudWatch is working to make monitoring
easier
• Amazon CloudWatch Logs and AWS Lambda are
powerful tools for tailoring your monitoring for your
business needs
Useful Links
• CloudWatch Overview - https://aws.amazon.com/cloudwatch/
• Documentation - https://aws.amazon.com/documentation/cloudwatch/
• CloudWatch Blog - https://aws.amazon.com/blogs/aws/category/amazon-
cloud-watch/
• Lambda functions used in the demo scenarios
Centralize - https://github.com/awslabs/cloudwatch-logs-centralize-logs
Customize - https://github.com/awslabs/cloudwatch-logs-customize-alarms
Analyze - https://github.com/awslabs/cloudwatch-logs-analyze-data
Remember to complete
your evaluations!
Thank you!

More Related Content

What's hot

BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesBDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesAmazon Web Services
 
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...Amazon Web Services
 
Ponencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - MadridPonencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - MadridAmazon Web Services
 
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...Amazon Web Services
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)Amazon Web Services
 
SEC303 Automating Security in Cloud Workloads with DevSecOps
SEC303 Automating Security in Cloud Workloads with DevSecOpsSEC303 Automating Security in Cloud Workloads with DevSecOps
SEC303 Automating Security in Cloud Workloads with DevSecOpsAmazon Web Services
 
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)Amazon Web Services
 
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...Amazon Web Services
 
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...Amazon Web Services
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudAmazon Web Services
 
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)Amazon Web Services
 
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...Amazon Web Services
 
ENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS ResourcesENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS ResourcesAmazon Web Services
 
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)Amazon Web Services
 
NEW LAUNCH! Serverless Apps with AWS Step Functions
NEW LAUNCH! Serverless Apps with AWS Step FunctionsNEW LAUNCH! Serverless Apps with AWS Step Functions
NEW LAUNCH! Serverless Apps with AWS Step FunctionsAmazon Web Services
 
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...Amazon Web Services
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWSAmazon Web Services
 
ENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New LaunchesENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New LaunchesAmazon Web Services
 
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...Amazon Web Services
 

What's hot (20)

BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesBDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
 
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...
The Changing Landscape of Development with AWS Cloud - AWS PS Summit Canberra...
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
Ponencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - MadridPonencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - Madrid
 
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...
AWS re:Invent 2016: Effective Application Data Analytics for Modern Applicati...
 
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
AWS re:Invent 2016: Cost Optimization at Scale (ENT209)
 
SEC303 Automating Security in Cloud Workloads with DevSecOps
SEC303 Automating Security in Cloud Workloads with DevSecOpsSEC303 Automating Security in Cloud Workloads with DevSecOps
SEC303 Automating Security in Cloud Workloads with DevSecOps
 
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
 
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...
AWS re:Invent 2016: How AWS Automates Internal Compliance at Massive Scale us...
 
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
 
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...
Accelerating cloud adoption for your regulated workloads - AWS PS Summit Canb...
 
ENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS ResourcesENT314 Automate Best Practices and Operational Health for Your AWS Resources
ENT314 Automate Best Practices and Operational Health for Your AWS Resources
 
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)
AWS re:Invent 2016: High Performance Cinematic Production in the Cloud (MAE304)
 
NEW LAUNCH! Serverless Apps with AWS Step Functions
NEW LAUNCH! Serverless Apps with AWS Step FunctionsNEW LAUNCH! Serverless Apps with AWS Step Functions
NEW LAUNCH! Serverless Apps with AWS Step Functions
 
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...
ENT312 NEW LAUNCH! Better Software Procurement and Management Using AWS Marke...
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 
ENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New LaunchesENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New Launches
 
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...
ENT202 Creating Your Virtual Data Center: VPC Fundamentals and Connectivity O...
 

Similar to Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Sector Summit 2017

Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon Web Services
 
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon Web Services
 
Amazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon Web Services
 
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...Amazon Web Services
 
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...Amazon Web Services
 
Amazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon Web Services
 
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless Cloud
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless CloudAWS Summit Auckland - Getting Started with AWS Lambda and the Serverless Cloud
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless CloudAmazon Web Services
 
devworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationdevworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationAlex Wu
 
Best Practices for SecOps on AWS
Best Practices for SecOps on AWSBest Practices for SecOps on AWS
Best Practices for SecOps on AWSAmazon Web Services
 
DPD:AWS Developer Training
DPD:AWS Developer TrainingDPD:AWS Developer Training
DPD:AWS Developer TrainingJosh Curtis
 
Architecting Cloud Apps
Architecting Cloud AppsArchitecting Cloud Apps
Architecting Cloud Appsjineshvaria
 
(CMP403) AWS Lambda: Simplifying Big Data Workloads
(CMP403) AWS Lambda: Simplifying Big Data Workloads(CMP403) AWS Lambda: Simplifying Big Data Workloads
(CMP403) AWS Lambda: Simplifying Big Data WorkloadsAmazon Web Services
 
Serverless Analytics and Monitoring For Your Cloud App
Serverless Analytics and Monitoring For Your Cloud AppServerless Analytics and Monitoring For Your Cloud App
Serverless Analytics and Monitoring For Your Cloud AppAtlassian
 
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013Amazon Web Services
 
Cloud Roundtable | Amazon Web Services: Key = Iteration
Cloud Roundtable | Amazon Web Services: Key = IterationCloud Roundtable | Amazon Web Services: Key = Iteration
Cloud Roundtable | Amazon Web Services: Key = IterationCodemotion
 
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)Amazon Web Services
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudAmazon Web Services
 
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Amazon Web Services
 

Similar to Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Sector Summit 2017 (20)

Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
 
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
 
Amazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS Lambda
 
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
 
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
AWS re:Invent 2016: Amazon CloudWatch Logs and AWS Lambda: A Match Made in He...
 
Amazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS LambdaAmazon CloudWatch Logs and AWS Lambda
Amazon CloudWatch Logs and AWS Lambda
 
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless Cloud
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless CloudAWS Summit Auckland - Getting Started with AWS Lambda and the Serverless Cloud
AWS Summit Auckland - Getting Started with AWS Lambda and the Serverless Cloud
 
devworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentationdevworkshop-10_28_1015-amazon-conference-presentation
devworkshop-10_28_1015-amazon-conference-presentation
 
Best Practices for SecOps on AWS
Best Practices for SecOps on AWSBest Practices for SecOps on AWS
Best Practices for SecOps on AWS
 
DPD:AWS Developer Training
DPD:AWS Developer TrainingDPD:AWS Developer Training
DPD:AWS Developer Training
 
Architecting Cloud Apps
Architecting Cloud AppsArchitecting Cloud Apps
Architecting Cloud Apps
 
(CMP403) AWS Lambda: Simplifying Big Data Workloads
(CMP403) AWS Lambda: Simplifying Big Data Workloads(CMP403) AWS Lambda: Simplifying Big Data Workloads
(CMP403) AWS Lambda: Simplifying Big Data Workloads
 
Serverless Analytics and Monitoring For Your Cloud App
Serverless Analytics and Monitoring For Your Cloud AppServerless Analytics and Monitoring For Your Cloud App
Serverless Analytics and Monitoring For Your Cloud App
 
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
Automate Your Big Data Workflows (SVC201) | AWS re:Invent 2013
 
Cloud Roundtable | Amazon Web Services: Key = Iteration
Cloud Roundtable | Amazon Web Services: Key = IterationCloud Roundtable | Amazon Web Services: Key = Iteration
Cloud Roundtable | Amazon Web Services: Key = Iteration
 
Monitoring on Amazon AWS Cloud
Monitoring on Amazon AWS Cloud Monitoring on Amazon AWS Cloud
Monitoring on Amazon AWS Cloud
 
What is AWS Cloud Watch
What is AWS Cloud WatchWhat is AWS Cloud Watch
What is AWS Cloud Watch
 
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)
AWS re:Invent 2016: Automated Governance of Your AWS Resources (DEV302)
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Sector Summit 2017

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven Leo Zhadanovsky Principal Solutions Architect, AWS June 14, 2017
  • 2. What to Expect from the Session Look at industry trends impacting monitoring Learn about Amazon CloudWatch and Amazon CloudWatch Logs Understand several key monitoring use cases See CloudWatch and AWS Lambda in action
  • 3. Centralize Centralize logs from Elastic Load Balancing (ELB) using S3 bucket triggers Customize Customize alarms from Amazon CloudWatch to fit your specific needs Analyze Build an on-demand, scalable Amazon Elasticsearch Service cluster to solve a specific problem or to do analysis What to expect: Scenario preview
  • 5. Day in the life! The story you are about to hear is true (mostly)…Only the names have been changed to protect the innocent…
  • 6. A customer writes a high severity ticket – your Application, ImportantApp, is down. John, the on-call developer, is paged through the ticketing system. None of your alarms fired. Blissful ignorance
  • 7. John engages and starts to scan service dashboards. He does see intermittent availability impact, but doesn’t know how to assess impact to customers or where to begin troubleshooting. He decides to escalate to a manager on call. Confusion
  • 8. More customer tickets are pouring in. An escalation manager, Jane, joins the event and starts to assess the situation and impact. John and Jane’s CTO happens to notice the problem. Sends Jane an IM – “Jane, what’s going on with ImportantApp?” Stress
  • 9. Jane and John recall a recent issue where certain customers started to issue “expensive” operations. John starts log diving on their production hosts. John identifies a suspect customer. Jane cuts a ticket and John prepares a configuration change to block the customer. False hope
  • 10. The other team engages and indicates they didn’t change anything. Jane and John also confirm this when the availability impact persists after deploying the configuration change. Out of ideas, John suggests to fail over to the standby – “It can’t hurt…” Desperation
  • 11. After the failover, ImportantApp recovers. (Yay!) Our root cause deep dive finds that a new JDBC version introduced a memory leak leading to Java heap exhaustion. We fix the leak, add new alarms on memory usage, and tune our service alarms. Enlightenment
  • 12. Can we do better than that?
  • 13. Day in the life - Reflection • We have missing alarms, and some of the alarms we have are not actionable. • We don’t always have the right logs and interacting with them can be tedious. • Our dashboards do not tell us enough about customer impact or behavior changes. Monitoring is really (really) hard!
  • 15. Trend: Complexity increasing • Distributed micro-services based applications • Applications are written in different languages and frameworks • Workloads are increasingly running on transient resources such as containers and serverless compute • Specialization in persistence tier
  • 16. • Small changes are continuously built, tested, and deployed • As the scale and design of applications are changing rapidly, so are the infrastructure needs • Applications are global and customer behavior is unpredictable • Increased role of automation Trend: Applications are more dynamic
  • 17. • Increased role of applications in business outcomes (revenue, cost, SLA) • Rapidly evolving applications are required to gain competitive advantage • Increased expectations from customers Trend: More business impact
  • 18. • Monitoring is no longer standalone. It is one aspect of management and increasingly integrated into the lifecycle of application Trend: Integrated management
  • 19. Amazon CloudWatch See React Diagnose Resolve
  • 20. Use AWS generated metrics, logs, and events over time to understand the behavior of your system Publish custom metrics, logs, and events for your application specific telemetry See React Diagnose Resolve
  • 21. Trigger automatic notifications based on your own rules and metric thresholds See React Diagnose Resolve
  • 22. Inspect, navigate, zoom, and correlate across time to investigate issues Jump to your logs directly from your metrics to perform searches or generate additional metrics from log data See React Diagnose Resolve
  • 23. Easily and automatically correct issues using common actions that you control Define your own custom actions based on Lambda functions for more fine-grained control See React Diagnose Resolve
  • 24. • Metrics price drop • More metrics, logs, events from AWS services: AWS CloudTrail, AWS Elastic Beanstalk, Amazon SES • Simple navigation from metrics to your logs • Upgraded metric retention from 2 weeks to up to 15 months Recent improvements
  • 25. • Support for arbitrary metric percentiles • collectd output plugin to simplify metric collection • Improvements in dashboards (new widgets, dark theme, Y axis limits) • Improved Logs console experience Recent improvements (continued)
  • 26. Not just about what’s inside CloudWatch • Monitoring is hard (very hard) • Every enterprise, team and situation has unique needs • We have a rich partner ecosystem • We give you the tools and flexibility to integrate with other AWS services
  • 27. Flexible Egress Comprehensive Ingress Amazon EC2 AWS CloudTrail Amazon ECS AWS Lambda Amazon ES Amazon S3 AWS Lambda AMAZON CLOUDWATCH LOGS Centralize Search Monitor Stream Retain Secure A log service for arbitrary scale, availability, durability, and security AWS Kinesis Custom
  • 28. Serverless compute: AWS Lambda COMPUTE SERVICE EVENT DRIVEN Run arbitrary code without managing servers Code only runs when it needs to run
  • 29. Centralize Centralize logs from Elastic Load Balancing (ELB) using S3 bucket triggers Customize Customize alarms from Amazon CloudWatch to fit your specific needs Analyze Build an on-demand, scalable Amazon Elasticsearch Service cluster to solve a specific problem or to do analysis
  • 30. Problem statements • Log data is scattered on instances and S3 buckets • It would be better if it were centralized in CloudWatch Logs for searching and filtering • Today CloudWatch provides an agent for instance logs; what about Amazon S3 delivered logs?
  • 31. Flow of events LambdaS3ELB CloudWatch Logs ELB logs archived in Amazon S3 S3 Object Create Event Notification to AWS Lambda AWS Lambda reads the ELB log from Amazon S3 and publishes to CloudWatch Logs
  • 32. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Provision three EC2 instances running Apache
  • 33. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Create a load balancer
  • 34. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Create a target group with the three Apache servers
  • 35. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Enable ELB log delivery to Amazon S3
  • 36. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Configure the Lambda function to trigger on S3 object create
  • 37. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Read the ELB logs from the S3 bucket by invoking S3 GetObject API
  • 38. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Post the logs into CloudWatch Logs by invoking putLogEvents SDK API
  • 39. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch ELB serving traffic
  • 40. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Verify that ELB logs are delivered to S3
  • 41. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Access the ELB logs from CloudWatch Logs
  • 42. Apache Servers ELB & Lambda Configured Lambda Triggered ELB logs in CloudWatch Search for the HTTP GET calls in the last 24 hours
  • 43. Apache Servers ELB& Lambda Configured Lambda Triggered ELB logs in CloudWatch Create a filter pattern to extract requests with a latency of more than 1 ms
  • 44. Define a metric filter on the log group Apache Servers ELB& Lambda Configured Lambda Triggered ELB logs in CloudWatch
  • 45. Apache Servers ELB& Lambda Configured Lambda Triggered ELB logs in CloudWatch View the metric graph for ELB latency HighLatencyCount
  • 46. Key takeaways 1. S3 delivered log data from any source can be centralized into CloudWatch Logs using Lambda 2. You can search and extract metrics from those logs in near real time
  • 47. Centralize Centralize logs from Elastic Load Balancing (ELB) using S3 bucket triggers Customize Customize alarms from Amazon CloudWatch to fit your specific needs Analyze Build an on-demand, scalable Amazon Elasticsearch Service cluster to solve a specific problem or to do analysis
  • 48. Problem Statements • When you get an alarm, you want enough information to decide whether it needs immediate attention or not • You want to customize the alarm text and format to your operational needs
  • 49. Flow of Events Error in Logs generates an alarm to an SNS topic Amazon SNS topic triggers an Event Notification to Lambda AWS Lambda gets the filtered logs, calls SES to email with those logs Amazon SESAWS LambdaCloudWatch Logs CloudWatch Alarms
  • 50. Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email Provision an EC2 instance with Tomcat running on it Hello World
  • 51. CloudWatch agent sends EC2 instance logs to CloudWatch Logs Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email
  • 52. Define a filter pattern to extract unauthorized access attempts Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email
  • 53. Define a metric filter on the log group Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email
  • 54. Define an alarm with a specific threshold for that metric Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email test
  • 55. Configure the Lambda function to trigger on SNS topic message Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email Hello World
  • 56. Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email Get the metric filter information by invoking the describeMetricFilters SDK API
  • 57. Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email Get the relevant log data by invoking the filterLogEvents SDK API
  • 58. Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email SES sends an email with the relevant log data
  • 59. Unauthorized access attempts on the Tomcat server Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email
  • 60. Alarm generated due to unauthorized access attempts Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email test test test test
  • 61. View email with the relevant log data about the alarm Metric Filter Defined Alarm & Lambda Configured Lambda Triggered SES sends Email test test Hell o test
  • 62. Key takeaways • Alarms can be customized to add specific details about the issue • When you see a spike on a metric, you can also get the logs describing the issue triggering the alarm • The Lambda function can be extended to add your specific information to the alarm
  • 63. Centralize Centralize logs from Elastic Load Balancing (ELB) using S3 bucket triggers Customize Customize alarms from Amazon CloudWatch to fit your specific needs Analyze Build an on-demand, scalable Amazon Elasticsearch Service cluster to solve a specific problem or to do analysis
  • 64. Problem Statements • You want to do log analysis using Amazon Elasticsearch Service but don’t want to leave the cluster running all the time • You want to send data to Amazon Elasticsearch Service, but don’t want to manage ongoing operations • Build an on-demand Elasticsearch cluster from historical data
  • 65. Flow of events LambdaS3 CloudWatch Logs CloudWatch Logs in a specific timeframe exported to S3 S3 Object Create Event Notification to Lambda AWS Lambda transforms and sends only filtered logs to Amazon Elasticsearch Service Amazon ES
  • 66. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Configure flow logging for your VPC
  • 67. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana View the VPC Flow Logs in CloudWatch Logs
  • 68. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Create an Amazon ES domain
  • 69. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Read the VPC Flow Logs from the S3 bucket by invoking GetObject API
  • 70. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Transform the VPC Flow Logs into a JSON document for Amazon ES
  • 71. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Ingest the logs into Amazon ES by putting to its HTTP endpoint
  • 72. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana Export the VPC Flow Logs to S3
  • 73. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana VPC Flow Logs exported to S3
  • 74. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana View the VPC Flow Logs in Kibana
  • 75. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana View different dashboards in Kibana
  • 76. Logs exported to S3 Lambda Configured Logs to Elasticsearch Visuals in Kibana View different dashboards in Kibana
  • 77. Key takeaways • Send historical data within a timeframe to Amazon Elasticsearch Service on demand • This reduces cost, burden of scalability, and operations time • Troubleshooting gets easier because you have only limited and relevant data
  • 78. Recap • Monitoring is more important than ever, but still too hard • Amazon CloudWatch is working to make monitoring easier • Amazon CloudWatch Logs and AWS Lambda are powerful tools for tailoring your monitoring for your business needs
  • 79. Useful Links • CloudWatch Overview - https://aws.amazon.com/cloudwatch/ • Documentation - https://aws.amazon.com/documentation/cloudwatch/ • CloudWatch Blog - https://aws.amazon.com/blogs/aws/category/amazon- cloud-watch/ • Lambda functions used in the demo scenarios Centralize - https://github.com/awslabs/cloudwatch-logs-centralize-logs Customize - https://github.com/awslabs/cloudwatch-logs-customize-alarms Analyze - https://github.com/awslabs/cloudwatch-logs-analyze-data