SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deep Dive into AWS X-Ray:
Monitor Modern Applications
Abhishek K Singh
General Manager
AWS X-Ray
D E V 3 2 4
Kiet Nguyen
Director of Cloud Services
ConnectWise, Inc.
Mena Joseph
Director of Application Services
ConnectWise, Inc.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What to expect from the session
What are modern applications
Challenges of monitoring modern applications
AWS X-Ray overview and benefits
Customer story
Demo
Q&A
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Modern applications
Each component is
autonomous and independent
Built on containers
and serverless
Microservices architecture
and distributed
See impact of
isolated errors
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Traditional debugging does not scale
VPCOn-Premise Cloud
Database
Users
Local test
Add log
statements
Add
breakpoints
Local test
Add log
statements
Add
breakpoints
Local test
Add log
statements
Add
breakpoints
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tracing connects the dots in modern application
Get insights into
individual
operations
Discover
multiple
services
See issues
isolated within
a service
Perform root
cause analysis
for specific issue
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tracing for your modern application
VPCOn-Premise
Cloud
Users Amazon
API Gateway
Amazon
API Gateway
Amazon EC2 Amazon EKS
AWS
Lambda
Amazon
DynamoDB
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How does AWS X-Ray help?
X-Ray helps answer three critical questions:
1. How is my application doing?
2. Why is my application performing the way it is?
3. Who is impacted by the issues?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How the X-Ray service works
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Built for modern applications
End-to-end view of
individual services
Analyze and debug
issues quickly
Identify customer
impact
Cloud agnostic
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Supports multiple languages
Ruby (beta)
.NET
(with .NET Core 2.0)
Python
Java
Node.js
Go (beta)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Value proposition for serverless
Get information on
AWS Lambda Cold
Start
Latency information on
Amazon API Gateway custom
authorizers
Identify Lambda
Timeouts
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enable X-Ray for API Gateway
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enable X-Ray for Lambda
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Value proposition for containers
Find issues in a specific
container
Pinpoint to a specific
availability zone
Supports Amazon
Elastic Compute Cloud
(Amazon ECS), Amazon
Elastic Container
Service for Kubernetes
(Amazon EKS), and
AWS Fargate
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enable X-Ray for Amazon ECS/AWS Fargate
{
"environment": [],
"name": "xray-sidecar",
"mountPoints": [],
"image": "<repository_uri_xray_daemon>",
"cpu": 0,
"portMappings": [
{
"protocol": "udp",
"containerPort": 2000,
"hostPort": 2000
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/service-a"
}
},
"essential": true,
"volumesFrom": []
}
https://github.com/aws-samples/aws-microservices-deploy-options
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enable X-Ray for Amazon EKS/K8s
https://github.com/aws-samples/aws-xray-kubernetes
https://aws.amazon.com/blogs/compute/application-tracing-on-kubernetes-with-aws-x-ray/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ConnectWise transforms how technology teams
build, manage, and grow their businesses. Our
solutions increase productivity, efficiency, and
profitability.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Professional Quote and Proposal Automation
Hyper-Efficient Business Management
Robust Remote Monitoring and Management
Lightning-Fast Secure Remote Control
Unified Cloud Solutions Management
Marketing Campaign Management Tool
Immediate Response Support
Solution
The ConnectWise products
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The ConnectWise
Platform
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
24,300+ customers
103,000+ daily active users
ConnectWise Manage alone has 2,583 web
requests per second during peak time
900+ tables per customer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Prior to AWS
On-premise datacenter
High operational and maintenance cost
Hardware to deal with
Time to provision
AWS
All in with AWS in 2012
Able to design a true distributed architecture
High availability
No hardware to think about
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Distributed architecture
• Adopting microservices
• Integrating with many
AWS services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
X-Ray adoption
• Lack visibility into critical application
• Visibility of application performance
• Efficiency of diagnosing
Integrated X-Ray with main architecture components
• Incoming requests
• Outgoing calls
• AWS services and client integration
• Data access layer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Provides architects with a live architecture diagram
• Pinpoints the bottlenecks
• Helps optimize performance
• Helps optimize SQL queries
• Enables data-driven architecture decisions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon
EC2
Amazon
S3
Lambda Amazon
EFS
DynamoDB
ElastiCache
ALBKinesis
SWF
Step
Functions
Amazon
SNS
Amazon
SES
Amazon
SQS
AWS KMS
API
Gateway
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Visibility into downstream AWS services integration
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
First line of defense
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Created subsegments for data
access layer to capture queries
performance
Troubleshooting SQL queries performance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL performance logs
Latency (ms) Parameters SQL Command
7.0 @RecID Int 32639064 IF EXISTS (SELECT 1 FROM dbo.Schedule_Detail sd LEFT JOIN dbo.Schedule s on s.Schedule_RecID =
sd.Schedule_RecID . . .
34.8 IF EXISTS (SELECT sr.SR_Location_RecID FROM DBO.SR_LOCATION as sr WHERE sr.SR_Location_RecID =24)
SELECT . . .
1.0 @recid Int 65 SELECT Owner_Level_RecID FROM dbo.User_Defined_Field_Owner_Level WHERE
User_Defined_Field_RecID = @recid
18.6 @serviceRecId Int
11111899
SELECT Company_RecID FROM dbo.SR_Service WHERE SR_Service_RecID = @serviceRecId
123.7 @problemFlag Int 1 . . . exec dbo.usp_getSRDetailTable @problemFlag, @resolutionFlag, @internalAnalysisFlag, @serviceRecID,
@includeChild
1201.8 @problemFlag Int 1 . . . exec dbo.usp_getSRDetailTable @problemFlag, @resolutionFlag, @internalAnalysisFlag, @serviceRecID,
@includeChild
batch-get-traces --trace-ids <trace-ids>
<value> <value>
Pass trace-ids for SQL calls
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Troubleshooting service integrations
Entity Sync
Our web servers are pushing modules and entity update events to
Amazon SQS to be processed by auditing services and global search
indexing in Amazon CloudSearch
Amazon
EC2
Amazon
SQS
Amazon
ECS
Amazon
SNS
CloudSearch
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sending messages
synchronously
….
Still waiting for the
response
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Down to 0.0 ms
Syncing is now taking place on an asynchronous worker threads, no impact on main application
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Data intensive
• High transactional rate
• Highly customizable
• Different implementation per
customer
• Different configuration per user
X-Ray annotations & metadata
• Down to transactions per customer
• Down to single entity per user
• Down to single transaction per entity
Customer impact
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
By customer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
By user
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
By record
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
- Reduce cost by 75% (HUGE SAVINGS)
Down from $17k to $4k per quarter
- Average time to diagnose an issue from couple of hours to
minutes
Identifying bottlenecks and causes in real time
- X-Ray for analytics
Instrument annotations to represent different business
components
Business impact
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Usage
Business impact—Usage analytics
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Latency Usage Error rate
capture more than just analytics
Business impact—Usage analytics
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Taking full advantage of X-Ray
WHY?
WHO?
WHAT?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analytics dashboards
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Context missing strategy—Wrapping X-Ray recorder
Wrapping Add
Annotation
Wrapping Add
Subsegment
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Context missing strategy – safe recording
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tracing & logging
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tracing & logging
X-Amzn-Trace-Id
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Helps in answering WHY unintended behaviors are taking place
Merging logging and tracing to empower your monitoring infrastructure
Connecting the Dots
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo Overview
Perform root
cause
analysis
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Recap: What’s new with X-Ray
Sampling made easier Added API gateway integration Deep-dive into your application
Adjust sampling rate during
an operational event and
control cost
Update sampling on the fly
without need to redeploy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
X-Ray Pricing
Free tier
 The first 100,000 traces recorded are free
 The first 1,000,000 traces retrieved or scanned are free
Additional charges
 Beyond the free tier, traces recorded cost $5.00 per million traces
 Beyond the free tier, traces retrieved or scanned cost $0.50 per million traces
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key Takeaways
why who
annotations
metadata
groups
automated trace analysis latency errors
faults
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
X-Ray SDKs and Daemon
 Go: https://github.com/aws/aws-xray-sdk-go
 Java: https://github.com/aws/aws-xray-sdk-java
 Ruby: https://github.com/aws/aws-xray-sdk-ruby
 Node.js: https://github.com/aws/aws-xray-sdk-node
 Python: https://github.com/aws/aws-xray-sdk-python
 .NET & .NET Core: https://github.com/aws/aws-xray-sdk-dotnet
 X-Ray Daemon: https://github.com/aws/aws-xray-daemon
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sample apps
 .NET: https://github.com/awslabs/aws-xray-dotnet-webapp
 Java: https://github.com/awslabs/eb-java-scorekeep/tree/xray
 Node.js: https://github.com/awslabs/eb-node-express-sample/tree/xray
 Python: https://github.com/awslabs/eb-py-flask-signup/tree/xray
 Alarms & Alerts: https://github.com/aws-samples/aws-xray-cloudwatch-event
 Lambda: https://github.com/awslabs/aws-xray-rekognition-lambda-sample
 Apache Kafka: https://github.com/aws-samples/aws-xray-apache-kafka-sample
 X-Ray + EKS: https://github.com/aws-samples/aws-xray-kubernetes
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Abhishek Singh (@abhik5ingh)
Kiet H Nguyen
Mean Joseph
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Amazon EventBridge
Amazon EventBridgeAmazon EventBridge
Amazon EventBridge
Dhaval Nagar
 
Intro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute ServicesIntro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute Services
Amazon Web Services
 
AWS Amplify
AWS AmplifyAWS Amplify
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
Mark Bate
 
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
Amazon Web Services Korea
 
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
Amazon Web Services Korea
 
Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...
Amazon Web Services
 
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Amazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services
 
Deep Dive on AWS Lambda
Deep Dive on AWS LambdaDeep Dive on AWS Lambda
Deep Dive on AWS Lambda
Amazon Web Services
 
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
Amazon Web Services Korea
 
AWS Aurora 100% 활용하기
AWS Aurora 100% 활용하기AWS Aurora 100% 활용하기
AWS Aurora 100% 활용하기
I Goo Lee
 
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
Serverless computing
Serverless computingServerless computing
Serverless computing
Dmitriy Ivanov
 
Route 53 Latency Based Routing
Route 53 Latency Based RoutingRoute 53 Latency Based Routing
Route 53 Latency Based Routing
Amazon Web Services
 
AWS Monitoring & Logging
AWS Monitoring & LoggingAWS Monitoring & Logging
AWS Monitoring & Logging
Jason Poley
 
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Amazon Web Services
 
AWS - Lambda Fundamentals
AWS - Lambda FundamentalsAWS - Lambda Fundamentals
AWS - Lambda Fundamentals
Piyush Agrawal
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
Amazon Web Services Korea
 

What's hot (20)

Amazon EventBridge
Amazon EventBridgeAmazon EventBridge
Amazon EventBridge
 
Intro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute ServicesIntro to AWS: Amazon EC2 and Compute Services
Intro to AWS: Amazon EC2 and Compute Services
 
AWS Amplify
AWS AmplifyAWS Amplify
AWS Amplify
 
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
성공적인 AWS Cloud 마이그레이션 전략 및 사례 - 방희란 매니저:: AWS Cloud Track 1 Intro
 
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
천만 사용자를 위한 AWS 클라우드 아키텍쳐 진화하기- AWS Summit Seoul 2017
 
Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...
 
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Deep Dive on AWS Lambda
Deep Dive on AWS LambdaDeep Dive on AWS Lambda
Deep Dive on AWS Lambda
 
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
 
AWS Aurora 100% 활용하기
AWS Aurora 100% 활용하기AWS Aurora 100% 활용하기
AWS Aurora 100% 활용하기
 
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
GS Shop의 AWS 클라우드 기반 스토리지 활용 사례 - AWS Summit Seoul 2017
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
Route 53 Latency Based Routing
Route 53 Latency Based RoutingRoute 53 Latency Based Routing
Route 53 Latency Based Routing
 
AWS Monitoring & Logging
AWS Monitoring & LoggingAWS Monitoring & Logging
AWS Monitoring & Logging
 
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
 
AWS - Lambda Fundamentals
AWS - Lambda FundamentalsAWS - Lambda Fundamentals
AWS - Lambda Fundamentals
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
 

Similar to Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Invent 2018

Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
Boaz Ziniman
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Amazon Web Services
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Amazon Web Services
 
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Amazon Web Services
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
 
Microservices for Startups
Microservices for StartupsMicroservices for Startups
Microservices for Startups
Amazon Web Services
 
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech TalksIntroduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Amazon Web Services
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Amazon Web Services
 
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
Amazon Web Services
 
Introduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWSIntroduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWS
Tom Laszewski
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Amazon Web Services
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going Serverless
Amazon Web Services
 
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Amazon Web Services
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Amazon Web Services
 
Accelerate and Modernise Microsoft Workload Migrations on AWS
Accelerate and Modernise Microsoft Workload Migrations on AWSAccelerate and Modernise Microsoft Workload Migrations on AWS
Accelerate and Modernise Microsoft Workload Migrations on AWS
Amazon Web Services
 
Virtual AWSome Day October 2018 - Amazon Web Services
Virtual AWSome Day October 2018 - Amazon Web ServicesVirtual AWSome Day October 2018 - Amazon Web Services
Virtual AWSome Day October 2018 - Amazon Web Services
Amazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
Amazon Web Services
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
Vladimir Simek
 
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
Amazon Web Services
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Amazon Web Services
 

Similar to Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Invent 2018 (20)

Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
 
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Microservices for Startups
Microservices for StartupsMicroservices for Startups
Microservices for Startups
 
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech TalksIntroduction to Hybrid Cloud on AWS - AWS Online Tech Talks
Introduction to Hybrid Cloud on AWS - AWS Online Tech Talks
 
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
Building Microservices with Containers (CON308-R1) - AWS re:Invent 2018
 
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
 
Introduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWSIntroduction to Hybrid Cloud on AWS
Introduction to Hybrid Cloud on AWS
 
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
Running Lean Architectures: How to Optimize for Cost Efficiency (ARC202-R2) -...
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going Serverless
 
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
Nuvem Híbrida - EBC on the road Brazil Edition [Portuguese]
 
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
Enabling Your Organization’s Amazon Redshift Adoption – Going from Zero to He...
 
Accelerate and Modernise Microsoft Workload Migrations on AWS
Accelerate and Modernise Microsoft Workload Migrations on AWSAccelerate and Modernise Microsoft Workload Migrations on AWS
Accelerate and Modernise Microsoft Workload Migrations on AWS
 
Virtual AWSome Day October 2018 - Amazon Web Services
Virtual AWSome Day October 2018 - Amazon Web ServicesVirtual AWSome Day October 2018 - Amazon Web Services
Virtual AWSome Day October 2018 - Amazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
Debug your Container and Serverless Applications with AWS X-Ray in 5 Minutes ...
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 

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 Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon 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
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
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 Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon 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 sfatare
Amazon 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 NodeJS
Amazon 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 web
Amazon 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 sfatare
Amazon 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 Service
Amazon 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
 

Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deep Dive into AWS X-Ray: Monitor Modern Applications Abhishek K Singh General Manager AWS X-Ray D E V 3 2 4 Kiet Nguyen Director of Cloud Services ConnectWise, Inc. Mena Joseph Director of Application Services ConnectWise, Inc.
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What to expect from the session What are modern applications Challenges of monitoring modern applications AWS X-Ray overview and benefits Customer story Demo Q&A
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Modern applications Each component is autonomous and independent Built on containers and serverless Microservices architecture and distributed See impact of isolated errors
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Traditional debugging does not scale VPCOn-Premise Cloud Database Users Local test Add log statements Add breakpoints Local test Add log statements Add breakpoints Local test Add log statements Add breakpoints
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tracing connects the dots in modern application Get insights into individual operations Discover multiple services See issues isolated within a service Perform root cause analysis for specific issue
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tracing for your modern application VPCOn-Premise Cloud Users Amazon API Gateway Amazon API Gateway Amazon EC2 Amazon EKS AWS Lambda Amazon DynamoDB
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How does AWS X-Ray help? X-Ray helps answer three critical questions: 1. How is my application doing? 2. Why is my application performing the way it is? 3. Who is impacted by the issues?
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How the X-Ray service works
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Built for modern applications End-to-end view of individual services Analyze and debug issues quickly Identify customer impact Cloud agnostic
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Supports multiple languages Ruby (beta) .NET (with .NET Core 2.0) Python Java Node.js Go (beta)
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Value proposition for serverless Get information on AWS Lambda Cold Start Latency information on Amazon API Gateway custom authorizers Identify Lambda Timeouts
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enable X-Ray for API Gateway
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enable X-Ray for Lambda
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Value proposition for containers Find issues in a specific container Pinpoint to a specific availability zone Supports Amazon Elastic Compute Cloud (Amazon ECS), Amazon Elastic Container Service for Kubernetes (Amazon EKS), and AWS Fargate
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enable X-Ray for Amazon ECS/AWS Fargate { "environment": [], "name": "xray-sidecar", "mountPoints": [], "image": "<repository_uri_xray_daemon>", "cpu": 0, "portMappings": [ { "protocol": "udp", "containerPort": 2000, "hostPort": 2000 } ], "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-region": "us-east-1", "awslogs-stream-prefix": "ecs", "awslogs-group": "/ecs/service-a" } }, "essential": true, "volumesFrom": [] } https://github.com/aws-samples/aws-microservices-deploy-options
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enable X-Ray for Amazon EKS/K8s https://github.com/aws-samples/aws-xray-kubernetes https://aws.amazon.com/blogs/compute/application-tracing-on-kubernetes-with-aws-x-ray/
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. ConnectWise transforms how technology teams build, manage, and grow their businesses. Our solutions increase productivity, efficiency, and profitability.
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Professional Quote and Proposal Automation Hyper-Efficient Business Management Robust Remote Monitoring and Management Lightning-Fast Secure Remote Control Unified Cloud Solutions Management Marketing Campaign Management Tool Immediate Response Support Solution The ConnectWise products
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. The ConnectWise Platform
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 24,300+ customers 103,000+ daily active users ConnectWise Manage alone has 2,583 web requests per second during peak time 900+ tables per customer
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Prior to AWS On-premise datacenter High operational and maintenance cost Hardware to deal with Time to provision AWS All in with AWS in 2012 Able to design a true distributed architecture High availability No hardware to think about
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Distributed architecture • Adopting microservices • Integrating with many AWS services
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. X-Ray adoption • Lack visibility into critical application • Visibility of application performance • Efficiency of diagnosing Integrated X-Ray with main architecture components • Incoming requests • Outgoing calls • AWS services and client integration • Data access layer
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Provides architects with a live architecture diagram • Pinpoints the bottlenecks • Helps optimize performance • Helps optimize SQL queries • Enables data-driven architecture decisions
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2 Amazon S3 Lambda Amazon EFS DynamoDB ElastiCache ALBKinesis SWF Step Functions Amazon SNS Amazon SES Amazon SQS AWS KMS API Gateway
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Visibility into downstream AWS services integration
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. First line of defense
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Created subsegments for data access layer to capture queries performance Troubleshooting SQL queries performance
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL performance logs Latency (ms) Parameters SQL Command 7.0 @RecID Int 32639064 IF EXISTS (SELECT 1 FROM dbo.Schedule_Detail sd LEFT JOIN dbo.Schedule s on s.Schedule_RecID = sd.Schedule_RecID . . . 34.8 IF EXISTS (SELECT sr.SR_Location_RecID FROM DBO.SR_LOCATION as sr WHERE sr.SR_Location_RecID =24) SELECT . . . 1.0 @recid Int 65 SELECT Owner_Level_RecID FROM dbo.User_Defined_Field_Owner_Level WHERE User_Defined_Field_RecID = @recid 18.6 @serviceRecId Int 11111899 SELECT Company_RecID FROM dbo.SR_Service WHERE SR_Service_RecID = @serviceRecId 123.7 @problemFlag Int 1 . . . exec dbo.usp_getSRDetailTable @problemFlag, @resolutionFlag, @internalAnalysisFlag, @serviceRecID, @includeChild 1201.8 @problemFlag Int 1 . . . exec dbo.usp_getSRDetailTable @problemFlag, @resolutionFlag, @internalAnalysisFlag, @serviceRecID, @includeChild batch-get-traces --trace-ids <trace-ids> <value> <value> Pass trace-ids for SQL calls
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Troubleshooting service integrations Entity Sync Our web servers are pushing modules and entity update events to Amazon SQS to be processed by auditing services and global search indexing in Amazon CloudSearch Amazon EC2 Amazon SQS Amazon ECS Amazon SNS CloudSearch
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sending messages synchronously …. Still waiting for the response
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Down to 0.0 ms Syncing is now taking place on an asynchronous worker threads, no impact on main application
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. • Data intensive • High transactional rate • Highly customizable • Different implementation per customer • Different configuration per user X-Ray annotations & metadata • Down to transactions per customer • Down to single entity per user • Down to single transaction per entity Customer impact
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. By customer
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. By user
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. By record
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. - Reduce cost by 75% (HUGE SAVINGS) Down from $17k to $4k per quarter - Average time to diagnose an issue from couple of hours to minutes Identifying bottlenecks and causes in real time - X-Ray for analytics Instrument annotations to represent different business components Business impact
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Usage Business impact—Usage analytics
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Latency Usage Error rate capture more than just analytics Business impact—Usage analytics
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Taking full advantage of X-Ray WHY? WHO? WHAT?
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Analytics dashboards
  • 52. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Context missing strategy—Wrapping X-Ray recorder Wrapping Add Annotation Wrapping Add Subsegment
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Context missing strategy – safe recording
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tracing & logging
  • 55. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tracing & logging X-Amzn-Trace-Id
  • 56. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Helps in answering WHY unintended behaviors are taking place Merging logging and tracing to empower your monitoring infrastructure Connecting the Dots
  • 57. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 58. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo Overview Perform root cause analysis
  • 59. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 60. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Recap: What’s new with X-Ray Sampling made easier Added API gateway integration Deep-dive into your application Adjust sampling rate during an operational event and control cost Update sampling on the fly without need to redeploy
  • 61. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. X-Ray Pricing Free tier  The first 100,000 traces recorded are free  The first 1,000,000 traces retrieved or scanned are free Additional charges  Beyond the free tier, traces recorded cost $5.00 per million traces  Beyond the free tier, traces retrieved or scanned cost $0.50 per million traces
  • 62. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key Takeaways why who annotations metadata groups automated trace analysis latency errors faults
  • 63. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. X-Ray SDKs and Daemon  Go: https://github.com/aws/aws-xray-sdk-go  Java: https://github.com/aws/aws-xray-sdk-java  Ruby: https://github.com/aws/aws-xray-sdk-ruby  Node.js: https://github.com/aws/aws-xray-sdk-node  Python: https://github.com/aws/aws-xray-sdk-python  .NET & .NET Core: https://github.com/aws/aws-xray-sdk-dotnet  X-Ray Daemon: https://github.com/aws/aws-xray-daemon
  • 64. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sample apps  .NET: https://github.com/awslabs/aws-xray-dotnet-webapp  Java: https://github.com/awslabs/eb-java-scorekeep/tree/xray  Node.js: https://github.com/awslabs/eb-node-express-sample/tree/xray  Python: https://github.com/awslabs/eb-py-flask-signup/tree/xray  Alarms & Alerts: https://github.com/aws-samples/aws-xray-cloudwatch-event  Lambda: https://github.com/awslabs/aws-xray-rekognition-lambda-sample  Apache Kafka: https://github.com/aws-samples/aws-xray-apache-kafka-sample  X-Ray + EKS: https://github.com/aws-samples/aws-xray-kubernetes
  • 65. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Abhishek Singh (@abhik5ingh) Kiet H Nguyen Mean Joseph
  • 66. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.