SlideShare ist ein Scribd-Unternehmen logo
1 von 66
Downloaden Sie, um offline zu lesen
© 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.

Weitere ähnliche Inhalte

Was ist angesagt?

Deploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerAmazon Web Services
 
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈Amazon Web Services Korea
 
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬Amazon Web Services Korea
 
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019Amazon Web Services Korea
 
The AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeThe AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeAmazon Web Services
 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control TowerCloudHesive
 
Building the business case for AWS
Building the business case for AWSBuilding the business case for AWS
Building the business case for AWSAmazon Web Services
 
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...Amazon Web Services Korea
 
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and ServerlessGetting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and ServerlessAmazon Web Services
 
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
 
Deep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech TalksDeep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech TalksAmazon Web Services
 
Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Amazon Web Services
 
AWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and WorkshopsAWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and WorkshopsTom Laszewski
 
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...Amazon Web Services
 
AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019Amazon Web Services
 

Was ist angesagt? (20)

Deploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control Tower
 
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈
AWS 클라우드 이해하기-사례 중심 (정민정) - AWS 웨비나 시리즈
 
AWS Security Hub
AWS Security HubAWS Security Hub
AWS Security Hub
 
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
AWS 클라우드 기반 확장성 높은 천만 사용자 웹 서비스 만들기 - 윤석찬
 
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019
AWS를 활용한 글로벌 오피스 업무 환경 구축하기 - 류한진, 이랜드시스템스 :: AWS Summit Seoul 2019
 
The AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeThe AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in Practice
 
AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control Tower
 
Building the business case for AWS
Building the business case for AWSBuilding the business case for AWS
Building the business case for AWS
 
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...
컨텐트 협업플랫폼 Amazon WorkDocs 활용하기 - 박상희 상무, 한글과컴퓨터 / Ben Fitzpatrick, Head of Bu...
 
Setting Up a Landing Zone
Setting Up a Landing ZoneSetting Up a Landing Zone
Setting Up a Landing Zone
 
AWS 101
AWS 101AWS 101
AWS 101
 
Getting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and ServerlessGetting Started with AWS Lambda and Serverless
Getting Started with AWS Lambda and Serverless
 
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 ...
 
Deep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech TalksDeep Dive on AWS Single Sign-On - AWS Online Tech Talks
Deep Dive on AWS Single Sign-On - AWS Online Tech Talks
 
Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...Managing and governing multi-account AWS environments using AWS Organizations...
Managing and governing multi-account AWS environments using AWS Organizations...
 
AWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and WorkshopsAWS Cloud Adoption Framework and Workshops
AWS Cloud Adoption Framework and Workshops
 
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...
Creating an Effective Roadmap for Your Cloud Journey (ENT225-R1) - AWS re:Inv...
 
Fundamentals of AWS Security
Fundamentals of AWS SecurityFundamentals of AWS Security
Fundamentals of AWS Security
 
AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019AWS Introduction & History - AWSome Day Philadelphia 2019
AWS Introduction & History - AWSome Day Philadelphia 2019
 

Ähnlich wie 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 - Floor28Boaz 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 Floor28Amazon 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 2018Amazon 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 KeynoteArun Gupta
 
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 TalksAmazon 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 2018Amazon 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 AWSTom 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 ServerlessAmazon 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 AWSAmazon 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 ServicesAmazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesAmazon 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 PracticesVladimir Simek
 
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
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?Adrian Hornsby
 

Ähnlich wie 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
 
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...
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?
 

Mehr von 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
 

Mehr von 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.