SlideShare a Scribd company logo
Monitoring the Dynamic
Nature of the Cloud
How Docker and the Cloud bring your application to life
Lee Atchison, Principal Cloud Architect at New Relic, Inc.
@leeatchison leeatchison
Safe Harbor
This document and the information herein (including any information that may be incorporated by reference) is provided for
informational purposes only and should not be construed as an offer, commitment, promise or obligation on behalf of New
Relic, Inc. (“New Relic”) to sell securities or deliver any product, material, code, functionality, or other feature. Any information
provided hereby is proprietary to New Relic and may not be replicated or disclosed without New Relic’s express written
permission.
Such information may contain forward-looking statements within the meaning of federal securities laws. Any statement that is
not a historical fact or refers to expectations, projections, future plans, objectives, estimates, goals, or other characterizations
of future events is a forward-looking statement. These forward-looking statements can often be identified as such because the
context of the statement will include words such as “believes,” “anticipates,”, “expects” or words of similar import.
Actual results may differ materially from those expressed in these forward-looking statements, which speak only as of the date
hereof, and are subject to change at any time without notice. Existing and prospective investors, customers and other third
parties transacting business with New Relic are cautioned not to place undue reliance on this forward-looking information. The
achievement or success of the matters covered by such forward-looking statements are based on New Relic’s current
assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in
circumstances that may cause the actual results, performance, or achievements to differ materially from those expressed or
implied in any forward-looking statement. Further information on factors that could affect such forward-looking statements is
included in the filings we make with the SEC from time to time. Copies of these documents may be obtained by visiting New
Relic’s Investor Relations website at http://ir.newrelic.com or the SEC’s website at www.sec.gov.
New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law.
New Relic makes no warranties, expressed or implied, in this document or otherwise, with respect to the information provided.
Who am I?
Specialize in:
Cloud computing
Services & Microservices
Scalability, Availability
29 years in industry
7 in Amazon Retail & AWS
(Built SW/VG AppStore, AWS Elastic Beanstalk)
4 in New Relic
(Architecture Lead, Cloud, Service Migration)
@leeatchison leeatchison
Dynamic
Environment
Better
Data Center
We want better apps faster
How do we use the cloud to accomplish this?
Cloud as a Better
Data Center
Cloud as a “Better Data Center”
Resources
are allocated to
uses, just like in
a data center
Cloud as a “Better Data Center”
Resources
are allocated to
uses, just like in
a data center
Provisioning
process
is faster
Cloud as a “Better Data Center”
Resources
are allocated to
uses, just like in
a data center
Lifetime of
components is
relatively long
Provisioning
process
is faster
Cloud as a “Better Data Center”
Resources
are allocated to
uses, just like in
a data center
Lifetime of
components is
relatively long
Provisioning
process
is faster
Capacity
planning is still
important and
still applies
Why use a “Better Data Center”?
Why use a “Better Data Center”?
Add new Capacity
(faster)
Why use a “Better Data Center”?
Improve Application
Availability
(redundancy)
Add new Capacity
(faster)
Why use a “Better Data Center”?
ComplianceImprove Application
Availability
(redundancy)
Add new Capacity
(faster)
Who is impacted?
Better Data Center
Operations Development
Who is impacted?
Can I scale my server fleet?
Can apps run anywhere?
How do they perform in the cloud?
Better Data Center
Operations Development
Who is impacted?
Data center is
a data center…
Can I scale my server fleet?
Can apps run anywhere?
How do they perform in the cloud?
Better Data Center
Operations Development
Who is impacted?
Better Data Center Faster Application
Launch / Deploy=
Better Data Center
Operations Development
How do I monitor it?
Similar to monitoring any other data center…
Monitoring an application
Typical Server / EC2 Instance
• Application &
Application Microservices
• Server OS
• Hardware (virtual)
EC2 Instance
Application &
Application
Microservices
Server OS
Server
(Virtual)
Hardware
AWS Monitoring
CloudWatch
Monitors:
• EC2 instance
• Virtualization
• Hardware
• [CPU / Disk / Networking]
Doesn’t know about:
• Server OS
• Memory / Filesystem
• Processes
• Application
• Latency
• Error rates
• Internal insights
EC2 Instance
Application &
Application
Microservices
Server OS
Server
(Virtual)
Hardware
AWS
CONSOLE CloudWatch
New Relic Monitoring
New Relic
Monitors (Server):
• How O.S. is performing
• Processes
• Hardware
Monitors (Application):
• App health
• App performance
• Microservices
Doesn’t know
• Virtualization
EC2 Instance
Application &
Application
Microservices
Server OS
Server
(Virtual)
Hardware
AWS
CONSOLE
New Relic
Application
Monitoring
New Relic
Server
Monitoring
DASHBOARDS
CloudWatch
EC2 Instance
Application &
Application
Microservices
Server OS
Server
(Virtual)
Hardware
AWS
CONSOLE
New Relic
Application
Monitoring
New Relic
Server
Monitoring
DASHBOARDS
AWS çè New Relic work together
AWS / CloudWatch
• Visibility into virtualization
• CPU / Disk / Networking
New Relic
• CPU / Disk / Networking
• Memory / Filesystem
• Processes
• Infrastructure components
• Application / Microservices:
– Latency
– Error rates
– App insights
CloudWatch
New Relic
monitors
CloudWatch
monitors
Cloud as a
Dynamic Tool
Cloud as a “Dynamic Tool for Dynamic Apps”
Use only
the resources
you need
Cloud as a “Dynamic Tool for Dynamic Apps”
Use only
the resources
you need
Allocate / de-allocate
resources on
the fly
Cloud as a “Dynamic Tool for Dynamic Apps”
Use only
the resources
you need
Resource allocation
is an integral part
of your application
architecture
Allocate / de-allocate
resources on
the fly
Dynamic Cloud
Resources are:
Application is aware of
and is controlling
traditional OPs
resources
De-allocatedConsumedAllocated
Auto Scale
Dynamic Cloud
Quicker / cheaper
startup / shutdown
than EC2 instances
Easy to consume
Docker containers
much like you do
“processes”
Perform jobs:
• In a script
• Off of some queue
of job requests
Dynamic Cloud
833 days
Docker Container Age
(Count vs. Hours)
Confidential ©2008-16 New Relic, Inc. All rights reserved. 29
200 days
1 Hour
Dynamic Cloud
1,200,000
11% under one minute
Docker Container Age
(by Minute Under and Hour)
Confidential ©2008-16 New Relic, Inc. All rights reserved. 30
EC2 Auto Scaling
Dynamic Cloud Technologies
Mobile / IoT
Dynamic routing
Load balancing
Data transport
Queues and notifications
Docker
Dynamic Cloud is about scaling
How do I monitor the Dynamic Cloud?
Dynamic Cloud has unique monitoring requirements…
Responsibility (Dynamic Cloud)
Responsible for the
parts you care about
• Application &
Application Microservices
Let cloud manage rest
• Infrastructure
• Allocation/Provisioning
• Scaling
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
AWS Infrastructure çè New Relic work together
DASHBOARDS
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
CloudWatch
AWS
CONSOLE
AWS Infrastructure çè New Relic work together
DASHBOARDS
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
CloudWatch
AWS
CONSOLE
New Relic
Application
Monitoring
AWS Infrastructure çè New Relic work together
DASHBOARDS
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
CloudWatch
AWS
CONSOLE
New Relic
Application
Monitoring
New Relic
monitors
CloudWatch & AWS
monitors
How do you monitor this?
?How do you
monitor this?
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
Where did it go? It was just here!!!
? The thing you monitored 10 minutes ago…
...doesn’t exist anymore!
Dynamic Cloud
1,200,000
11% under one minute
Docker Container Age
(by Minute Under and Hour)
Confidential ©2008-16 New Relic, Inc. All rights reserved. 39
Monitoring the Dynamic Cloud
Very different than monitoring traditional
Data Center components
Monitor the
Cloud Components
themselves
Monitor the
lifecycle of the
Cloud Components
Who is impacted?
Operations
Data center is
a data center…
Development
Can I scale my server fleet?
Can apps run anywhere?
How do they perform in the cloud?
Better Data Center
Who is impacted?
Operations
Data center is
a data center…
Development
Can I scale my server fleet?
Can apps run anywhere?
How do they perform in the cloud?
Better Data CenterDynamic Cloud
What is a container?
Why do I care??
It was just here,
where did it go???
Cloud architecture is integral
to the application architecture
Developers deeply involved
in cloud activities
Change is speeding up
Dynamic Cloud enables better applications faster.
Traditional
Data Center
Good
Cloud
Data Center
Better
Dynamic
Cloud
Best
The way you’ve done things in the past won’t work in the future.
Dynamic Cloud
Things happen faster because of…
EC2
Server running
application /
processes
Docker container
Process running
a command
This is
HARD
Dynamic Cloud
EC2
Server running
application /
processes
Docker container
Process running
a command
Lambda
Function performing
a task or operation
The Future with
Lambda
Microcomputing & AWS Lambda
• Newest entrance to the “dynamic cloud”
• Provides event driven compute
capabilities
Microcomputing & AWS Lambda
• No infrastructure to provision
• Massively shared infrastructure
Why use Lambda?
Lambda scripts
Run in response to
a state change or
action in the cloud
Stateless, “filters”
Perform quick actions
Virtually no
startup/shutdown cost
AWS Lambda
S3
Bucket
Dynamo
DB
API
Gateway
SQS
RESOURCESSOME
• Takes an event from an
AWS resource (A
Trigger)
AWS Lambda
S3
Bucket
Dynamo
DB
API
Gateway
SQS
RESOURCESSOME
Lambda
Script
• Takes an event from an
AWS resource (A
Trigger)
• Creates an instance
to execute
Lambda
Instance
AWS Lambda
S3
Bucket
Dynamo
DB
API
Gateway
SQS
RESOURCESSOME
S3
Bucket
API
Gateway SQS
RESOURCESSOME
Lambda
Script
• Takes an event from an
AWS resource (A
Trigger)
• Creates an instance
to execute
• Can impact original or
different AWS Resource
Lambda
Instance
AWS Lambda
S3
Bucket
Dynamo
DB
API
Gateway
SQS
RESOURCESSOME
S3
Bucket
API
Gateway SQS
RESOURCESSOME
Lambda
Script
Lambda
Instances
• Takes an event from an
AWS resource (A
Trigger)
• Creates an instance
to execute
• Can impact original or
different AWS Resource
• Any number of instances
can run at a time
Lambda example #1:
Photo Management App
Photo management application
S3 Bucket
Image
Import
• Photos uploaded to S3 Upload
File
User
Photo management application
S3 Bucket
Image
Import
S3 Bucket
Image
Thumbnails
Lambda
Script
• Photos uploaded to S3
• Lambda script creates
thumbnails
Upload
File
View
Thumbnail
User
Photo management application
Image
Database
S3 Bucket
Image
Import
S3 Bucket
Image
Thumbnails
Lambda
Script
Lambda
Script
• Photos uploaded to S3
• Lambda script creates
thumbnails
• Lambda script updates
metadata in database
Upload
File
View
Thumbnail
User
Photo management application
Image
Database
Application
Upload
File
S3 Bucket
Image
Import
S3 Bucket
Image
Thumbnails
Lambda
Script
App
Interactions
View
Thumbnail
Lambda
Script
• Photos uploaded to S3
• Lambda script creates
thumbnails
• Lambda script updates
metadata in database
• Application only has
to deal with metadata
editing, not photo /
file management
User
Lambda example #1:
Mobile Game App
Mobile game platform
API
Gateway
Lambda
Script
Lambda
Script
Lambda
Script
Mobile Phone
Application Users
Database
• Cloud platform hosts an
API for mobile app
– API Gateway
• Lambda scripts
implement the API
• Lambda scripts
manipulate database
• Extremely high
scale possible
– No infrastructure
Monitoring
Lambda Scripts
Less like server monitoring /
More like web application
monitoring
We Care
About
We Don’t
Care About
• Run time
(average, extremes
– TP90/TP99)
• Statistical metrics
• Error rates and
other deviations
from norm
• “Drill down” into
individual “runs”
• Details about
all ”runs”
• Server /
infrastructure
metrics
Monitoring Lambda
More like application performance monitoring than
infrastructure monitoring
Monitoring Lambda
More like application performance monitoring than
infrastructure monitoring
Change is speeding up
Dynamic Cloud enables better applications faster.
The rate of change is increasing…
Traditional
Data Center
Good
Cloud
Data Center
Better
Dynamic
Cloud
Best
The way you’ve done things in the past won’t work in the future.
Monitoring just the server
Worked when rate of change was low…
EC2 Instance
Application &
Application
Microservices
Server OS
Server
(Virtual)
Hardware
AWS
CONSOLE CloudWatch
Monitoring just the server
Insufficient in the cloud:
• Rate of change is faster
• Problems come up quicker
• “Server” isn’t a server anymore
• “Provisioning” isn’t provisioning anymore
You need top to
bottom monitoring…
You need full stack
accountability...
Server OS
Server (Virtual)
Hardware
Application &
Application
Microservices
Provisioning
Application &
Application
Microservices
Application &
Application
Microservices
New Relic enables accountability between
your code & AWS
Customers
Mobile / Apps / Browser
On-Premises
On Premises
Relational Data
EC2
AWS
Container Service
AWS RDSSynthetic
Customers
S3
NoSQL
AWS Storage
Services
Your Responsibilities
§ Application code & 3rd
party
services
§ App architecture
§ Customer experience
§ On-Premises components
NoSQL
AWS Responsibility:
§ Service Availability & Performance
§ Provisioning & operation of DC
§ Isolation & security of resources
§ Service maintenance & innovation
Architecting for Scale
By: Lee Atchison
Published by: O’Reilly Media
www.architectingforscale.com
Want to Learn More?
@leeatchison leeatchison
Thank you
Lee Atchison, Principal Cloud Architect and Advocate at New Relic, Inc.
@leeatchison leeatchison
Architecting for Scale
Published by: O’Reilly Media,
www.architectingforscale.com

More Related Content

What's hot (20)

PPTX
Do DevOps Right with New Relic
New Relic
 
PDF
Requirements of monitoring cloud apps & infrastructure (webinar)
New Relic
 
PDF
New Relic Infrastructure: Servers Transition August 2017
New Relic
 
PPTX
Managing the Customer Experience for Media – Web, Mobile, and Video
New Relic
 
PDF
Building a System That Never Stops New Relic at Scale
New Relic
 
PPTX
Microservices? Dynamic Infrastructure? - Adventures in Keeping Your Applicati...
New Relic
 
PPTX
Best Practices for Measuring your Code Pipeline
New Relic
 
PPTX
The Future of APM and Why It Requires Analytics Everywhere!
New Relic
 
PDF
Step one in our quest for dev ops
New Relic
 
PDF
Why Measuring Page Load Is The Wrong Metric
New Relic
 
PPTX
Setting SLOs and SLIs in the Real World
New Relic
 
PPTX
DevOps 101 - Moving Fast with Confidence
New Relic
 
PPTX
Cloud-Native Workshop New York- Pivotal
VMware Tanzu
 
PPTX
The Delight and Difficulties of Universal Java Script with React
New Relic
 
PPTX
The Transformation of Healthcare.gov: Two years of innovation in how our gov...
New Relic
 
PPTX
Do DevOps Right with New Relic
New Relic
 
KEY
How to Build a SaaS App With Twitter-like Throughput on Just 9 Servers
New Relic
 
PPTX
Scaling Enterprise DevOps w/ New Relic: Nationwide’s Modernization Journey, F...
New Relic
 
PPTX
SplunkLive! London 2016 Splunk for Devops
Splunk
 
PPTX
Dynatrace
Purnima Kurella
 
Do DevOps Right with New Relic
New Relic
 
Requirements of monitoring cloud apps & infrastructure (webinar)
New Relic
 
New Relic Infrastructure: Servers Transition August 2017
New Relic
 
Managing the Customer Experience for Media – Web, Mobile, and Video
New Relic
 
Building a System That Never Stops New Relic at Scale
New Relic
 
Microservices? Dynamic Infrastructure? - Adventures in Keeping Your Applicati...
New Relic
 
Best Practices for Measuring your Code Pipeline
New Relic
 
The Future of APM and Why It Requires Analytics Everywhere!
New Relic
 
Step one in our quest for dev ops
New Relic
 
Why Measuring Page Load Is The Wrong Metric
New Relic
 
Setting SLOs and SLIs in the Real World
New Relic
 
DevOps 101 - Moving Fast with Confidence
New Relic
 
Cloud-Native Workshop New York- Pivotal
VMware Tanzu
 
The Delight and Difficulties of Universal Java Script with React
New Relic
 
The Transformation of Healthcare.gov: Two years of innovation in how our gov...
New Relic
 
Do DevOps Right with New Relic
New Relic
 
How to Build a SaaS App With Twitter-like Throughput on Just 9 Servers
New Relic
 
Scaling Enterprise DevOps w/ New Relic: Nationwide’s Modernization Journey, F...
New Relic
 
SplunkLive! London 2016 Splunk for Devops
Splunk
 
Dynatrace
Purnima Kurella
 

Similar to Monitoring the Dynamic Nature of the Cloud [FutureStack16 NYC] (20)

PPTX
Storms Ahead - How Your Monitoring Can Keep Pace in the Dynamic Cloud {Future...
New Relic
 
PDF
AWS Summit Sydney: Life’s Too Short...for Cloud without Analytics
Lee Atchison
 
PPTX
Webinar - Life's Too Short for Cloud without Analytics
Lee Atchison
 
PPTX
AWS Summit - Chicago 2016 - New Relic - Monitoring the Dynamic Cloud
Lee Atchison
 
PDF
Cloud Expo (Keynote) - Static vs Dynamic
Lee Atchison
 
PPTX
2017 04-05 aws summit - sydney
Lee Atchison
 
PPTX
Dynamic Infrastructure and The Cloud
New Relic
 
PPTX
Architecting for scale - dynamic infrastructure and the cloud
Lee Atchison
 
PPTX
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
Abner Germanow
 
PPTX
Monitoring the Dynamic Nature of Cloud Computing
Lee Atchison
 
PPTX
New Relic Infrastructure in the Real World: AWS
New Relic
 
PDF
New Relic Infrastructure - New Integrations For Smarter and Faster Cloud Adop...
New Relic
 
PDF
Enterprise Cloud Adoption Strategies
Lee Atchison
 
PPTX
ARC207 Monitoring Performance of Enterprise Applications on AWS: Understandin...
New Relic
 
PPTX
Application Monitoring in a Post-Server World: Why Data Context is Critical
New Relic
 
PPTX
re:Thinking the Cloud
New Relic
 
PPTX
Kubernetes in the Wild: Best Practices for Monitoring
New Relic
 
PPTX
Application Monitoring in a Post-Server World: Why Data Context is Critical
New Relic
 
PPTX
Cloud Adoption Best Practices with New Relic
New Relic
 
PPTX
Living in the Cloud
Kevin Downs
 
Storms Ahead - How Your Monitoring Can Keep Pace in the Dynamic Cloud {Future...
New Relic
 
AWS Summit Sydney: Life’s Too Short...for Cloud without Analytics
Lee Atchison
 
Webinar - Life's Too Short for Cloud without Analytics
Lee Atchison
 
AWS Summit - Chicago 2016 - New Relic - Monitoring the Dynamic Cloud
Lee Atchison
 
Cloud Expo (Keynote) - Static vs Dynamic
Lee Atchison
 
2017 04-05 aws summit - sydney
Lee Atchison
 
Dynamic Infrastructure and The Cloud
New Relic
 
Architecting for scale - dynamic infrastructure and the cloud
Lee Atchison
 
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
Abner Germanow
 
Monitoring the Dynamic Nature of Cloud Computing
Lee Atchison
 
New Relic Infrastructure in the Real World: AWS
New Relic
 
New Relic Infrastructure - New Integrations For Smarter and Faster Cloud Adop...
New Relic
 
Enterprise Cloud Adoption Strategies
Lee Atchison
 
ARC207 Monitoring Performance of Enterprise Applications on AWS: Understandin...
New Relic
 
Application Monitoring in a Post-Server World: Why Data Context is Critical
New Relic
 
re:Thinking the Cloud
New Relic
 
Kubernetes in the Wild: Best Practices for Monitoring
New Relic
 
Application Monitoring in a Post-Server World: Why Data Context is Critical
New Relic
 
Cloud Adoption Best Practices with New Relic
New Relic
 
Living in the Cloud
Kevin Downs
 
Ad

More from New Relic (20)

PPTX
7 Tips & Tricks to Having Happy Customers at Scale
New Relic
 
PPTX
7 Tips & Tricks to Having Happy Customers at Scale
New Relic
 
PDF
New Relic University at Future Stack Tokyo 2019
New Relic
 
PDF
FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...
New Relic
 
PDF
FutureStack Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...
New Relic
 
PDF
FutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖を
New Relic
 
PDF
FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...
New Relic
 
PDF
FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏
New Relic
 
PPTX
Three Monitoring Mistakes and How to Avoid Them
New Relic
 
PPTX
Intro to Multidimensional Kubernetes Monitoring
New Relic
 
PDF
FS18 Chicago Keynote
New Relic
 
PDF
SRE-iously
New Relic
 
PDF
10 Things You Can Do With New Relic - Number 9 Will Shock You
New Relic
 
PDF
Ground Rules for Code Reviews
New Relic
 
PPTX
Understanding Microservice Latency for DevOps Teams: An Introduction to New R...
New Relic
 
PPTX
Monitor all your Kubernetes and EKS stack with New Relic
New Relic
 
PPTX
Host for the Most: Cloud Cost Optimization
New Relic
 
PPTX
Best Practices for Measuring your Code Pipeline
New Relic
 
PPTX
Top Three Mistakes People Make with Monitoring
New Relic
 
PPTX
Our Evolution to GraphQL: Unifying our API Strategy
New Relic
 
7 Tips & Tricks to Having Happy Customers at Scale
New Relic
 
7 Tips & Tricks to Having Happy Customers at Scale
New Relic
 
New Relic University at Future Stack Tokyo 2019
New Relic
 
FutureStack Tokyo 19 -[事例講演]株式会社リクルートライフスタイル:年間9300万件以上のサロン予約を支えるホットペッパービューティ...
New Relic
 
FutureStack Tokyo 19 -[New Relic テクニカル講演]モニタリングと可視化がデジタルトランスフォーメーションを救う! - サ...
New Relic
 
FutureStack Tokyo 19 -[特別講演]システム開発によろこびと驚きの連鎖を
New Relic
 
FutureStack Tokyo 19 -[パートナー講演]アマゾン ウェブ サービス ジャパン株式会社: New Relicを活用したAWSへのアプリ...
New Relic
 
FutureStack Tokyo 19_インサイトとデータを組織の力にする_株式会社ドワンゴ 池田 明啓 氏
New Relic
 
Three Monitoring Mistakes and How to Avoid Them
New Relic
 
Intro to Multidimensional Kubernetes Monitoring
New Relic
 
FS18 Chicago Keynote
New Relic
 
SRE-iously
New Relic
 
10 Things You Can Do With New Relic - Number 9 Will Shock You
New Relic
 
Ground Rules for Code Reviews
New Relic
 
Understanding Microservice Latency for DevOps Teams: An Introduction to New R...
New Relic
 
Monitor all your Kubernetes and EKS stack with New Relic
New Relic
 
Host for the Most: Cloud Cost Optimization
New Relic
 
Best Practices for Measuring your Code Pipeline
New Relic
 
Top Three Mistakes People Make with Monitoring
New Relic
 
Our Evolution to GraphQL: Unifying our API Strategy
New Relic
 
Ad

Recently uploaded (20)

PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 

Monitoring the Dynamic Nature of the Cloud [FutureStack16 NYC]

  • 1. Monitoring the Dynamic Nature of the Cloud How Docker and the Cloud bring your application to life Lee Atchison, Principal Cloud Architect at New Relic, Inc. @leeatchison leeatchison
  • 2. Safe Harbor This document and the information herein (including any information that may be incorporated by reference) is provided for informational purposes only and should not be construed as an offer, commitment, promise or obligation on behalf of New Relic, Inc. (“New Relic”) to sell securities or deliver any product, material, code, functionality, or other feature. Any information provided hereby is proprietary to New Relic and may not be replicated or disclosed without New Relic’s express written permission. Such information may contain forward-looking statements within the meaning of federal securities laws. Any statement that is not a historical fact or refers to expectations, projections, future plans, objectives, estimates, goals, or other characterizations of future events is a forward-looking statement. These forward-looking statements can often be identified as such because the context of the statement will include words such as “believes,” “anticipates,”, “expects” or words of similar import. Actual results may differ materially from those expressed in these forward-looking statements, which speak only as of the date hereof, and are subject to change at any time without notice. Existing and prospective investors, customers and other third parties transacting business with New Relic are cautioned not to place undue reliance on this forward-looking information. The achievement or success of the matters covered by such forward-looking statements are based on New Relic’s current assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in circumstances that may cause the actual results, performance, or achievements to differ materially from those expressed or implied in any forward-looking statement. Further information on factors that could affect such forward-looking statements is included in the filings we make with the SEC from time to time. Copies of these documents may be obtained by visiting New Relic’s Investor Relations website at http://ir.newrelic.com or the SEC’s website at www.sec.gov. New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law. New Relic makes no warranties, expressed or implied, in this document or otherwise, with respect to the information provided.
  • 3. Who am I? Specialize in: Cloud computing Services & Microservices Scalability, Availability 29 years in industry 7 in Amazon Retail & AWS (Built SW/VG AppStore, AWS Elastic Beanstalk) 4 in New Relic (Architecture Lead, Cloud, Service Migration) @leeatchison leeatchison
  • 4. Dynamic Environment Better Data Center We want better apps faster How do we use the cloud to accomplish this?
  • 5. Cloud as a Better Data Center
  • 6. Cloud as a “Better Data Center” Resources are allocated to uses, just like in a data center
  • 7. Cloud as a “Better Data Center” Resources are allocated to uses, just like in a data center Provisioning process is faster
  • 8. Cloud as a “Better Data Center” Resources are allocated to uses, just like in a data center Lifetime of components is relatively long Provisioning process is faster
  • 9. Cloud as a “Better Data Center” Resources are allocated to uses, just like in a data center Lifetime of components is relatively long Provisioning process is faster Capacity planning is still important and still applies
  • 10. Why use a “Better Data Center”?
  • 11. Why use a “Better Data Center”? Add new Capacity (faster)
  • 12. Why use a “Better Data Center”? Improve Application Availability (redundancy) Add new Capacity (faster)
  • 13. Why use a “Better Data Center”? ComplianceImprove Application Availability (redundancy) Add new Capacity (faster)
  • 14. Who is impacted? Better Data Center Operations Development
  • 15. Who is impacted? Can I scale my server fleet? Can apps run anywhere? How do they perform in the cloud? Better Data Center Operations Development
  • 16. Who is impacted? Data center is a data center… Can I scale my server fleet? Can apps run anywhere? How do they perform in the cloud? Better Data Center Operations Development
  • 17. Who is impacted? Better Data Center Faster Application Launch / Deploy= Better Data Center Operations Development
  • 18. How do I monitor it? Similar to monitoring any other data center…
  • 19. Monitoring an application Typical Server / EC2 Instance • Application & Application Microservices • Server OS • Hardware (virtual) EC2 Instance Application & Application Microservices Server OS Server (Virtual) Hardware
  • 20. AWS Monitoring CloudWatch Monitors: • EC2 instance • Virtualization • Hardware • [CPU / Disk / Networking] Doesn’t know about: • Server OS • Memory / Filesystem • Processes • Application • Latency • Error rates • Internal insights EC2 Instance Application & Application Microservices Server OS Server (Virtual) Hardware AWS CONSOLE CloudWatch
  • 21. New Relic Monitoring New Relic Monitors (Server): • How O.S. is performing • Processes • Hardware Monitors (Application): • App health • App performance • Microservices Doesn’t know • Virtualization EC2 Instance Application & Application Microservices Server OS Server (Virtual) Hardware AWS CONSOLE New Relic Application Monitoring New Relic Server Monitoring DASHBOARDS CloudWatch
  • 22. EC2 Instance Application & Application Microservices Server OS Server (Virtual) Hardware AWS CONSOLE New Relic Application Monitoring New Relic Server Monitoring DASHBOARDS AWS çè New Relic work together AWS / CloudWatch • Visibility into virtualization • CPU / Disk / Networking New Relic • CPU / Disk / Networking • Memory / Filesystem • Processes • Infrastructure components • Application / Microservices: – Latency – Error rates – App insights CloudWatch New Relic monitors CloudWatch monitors
  • 24. Cloud as a “Dynamic Tool for Dynamic Apps” Use only the resources you need
  • 25. Cloud as a “Dynamic Tool for Dynamic Apps” Use only the resources you need Allocate / de-allocate resources on the fly
  • 26. Cloud as a “Dynamic Tool for Dynamic Apps” Use only the resources you need Resource allocation is an integral part of your application architecture Allocate / de-allocate resources on the fly
  • 27. Dynamic Cloud Resources are: Application is aware of and is controlling traditional OPs resources De-allocatedConsumedAllocated Auto Scale
  • 28. Dynamic Cloud Quicker / cheaper startup / shutdown than EC2 instances Easy to consume Docker containers much like you do “processes” Perform jobs: • In a script • Off of some queue of job requests
  • 29. Dynamic Cloud 833 days Docker Container Age (Count vs. Hours) Confidential ©2008-16 New Relic, Inc. All rights reserved. 29 200 days 1 Hour
  • 30. Dynamic Cloud 1,200,000 11% under one minute Docker Container Age (by Minute Under and Hour) Confidential ©2008-16 New Relic, Inc. All rights reserved. 30
  • 31. EC2 Auto Scaling Dynamic Cloud Technologies Mobile / IoT Dynamic routing Load balancing Data transport Queues and notifications Docker Dynamic Cloud is about scaling
  • 32. How do I monitor the Dynamic Cloud? Dynamic Cloud has unique monitoring requirements…
  • 33. Responsibility (Dynamic Cloud) Responsible for the parts you care about • Application & Application Microservices Let cloud manage rest • Infrastructure • Allocation/Provisioning • Scaling Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices
  • 34. AWS Infrastructure çè New Relic work together DASHBOARDS Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices CloudWatch AWS CONSOLE
  • 35. AWS Infrastructure çè New Relic work together DASHBOARDS Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices CloudWatch AWS CONSOLE New Relic Application Monitoring
  • 36. AWS Infrastructure çè New Relic work together DASHBOARDS Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices CloudWatch AWS CONSOLE New Relic Application Monitoring New Relic monitors CloudWatch & AWS monitors
  • 37. How do you monitor this? ?How do you monitor this? Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices
  • 38. Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices Where did it go? It was just here!!! ? The thing you monitored 10 minutes ago… ...doesn’t exist anymore!
  • 39. Dynamic Cloud 1,200,000 11% under one minute Docker Container Age (by Minute Under and Hour) Confidential ©2008-16 New Relic, Inc. All rights reserved. 39
  • 40. Monitoring the Dynamic Cloud Very different than monitoring traditional Data Center components Monitor the Cloud Components themselves Monitor the lifecycle of the Cloud Components
  • 41. Who is impacted? Operations Data center is a data center… Development Can I scale my server fleet? Can apps run anywhere? How do they perform in the cloud? Better Data Center
  • 42. Who is impacted? Operations Data center is a data center… Development Can I scale my server fleet? Can apps run anywhere? How do they perform in the cloud? Better Data CenterDynamic Cloud What is a container? Why do I care?? It was just here, where did it go??? Cloud architecture is integral to the application architecture Developers deeply involved in cloud activities
  • 43. Change is speeding up Dynamic Cloud enables better applications faster. Traditional Data Center Good Cloud Data Center Better Dynamic Cloud Best The way you’ve done things in the past won’t work in the future.
  • 44. Dynamic Cloud Things happen faster because of… EC2 Server running application / processes Docker container Process running a command This is HARD
  • 45. Dynamic Cloud EC2 Server running application / processes Docker container Process running a command Lambda Function performing a task or operation
  • 47. Microcomputing & AWS Lambda • Newest entrance to the “dynamic cloud” • Provides event driven compute capabilities
  • 48. Microcomputing & AWS Lambda • No infrastructure to provision • Massively shared infrastructure
  • 49. Why use Lambda? Lambda scripts Run in response to a state change or action in the cloud Stateless, “filters” Perform quick actions Virtually no startup/shutdown cost
  • 51. AWS Lambda S3 Bucket Dynamo DB API Gateway SQS RESOURCESSOME Lambda Script • Takes an event from an AWS resource (A Trigger) • Creates an instance to execute Lambda Instance
  • 52. AWS Lambda S3 Bucket Dynamo DB API Gateway SQS RESOURCESSOME S3 Bucket API Gateway SQS RESOURCESSOME Lambda Script • Takes an event from an AWS resource (A Trigger) • Creates an instance to execute • Can impact original or different AWS Resource Lambda Instance
  • 53. AWS Lambda S3 Bucket Dynamo DB API Gateway SQS RESOURCESSOME S3 Bucket API Gateway SQS RESOURCESSOME Lambda Script Lambda Instances • Takes an event from an AWS resource (A Trigger) • Creates an instance to execute • Can impact original or different AWS Resource • Any number of instances can run at a time
  • 54. Lambda example #1: Photo Management App
  • 55. Photo management application S3 Bucket Image Import • Photos uploaded to S3 Upload File User
  • 56. Photo management application S3 Bucket Image Import S3 Bucket Image Thumbnails Lambda Script • Photos uploaded to S3 • Lambda script creates thumbnails Upload File View Thumbnail User
  • 57. Photo management application Image Database S3 Bucket Image Import S3 Bucket Image Thumbnails Lambda Script Lambda Script • Photos uploaded to S3 • Lambda script creates thumbnails • Lambda script updates metadata in database Upload File View Thumbnail User
  • 58. Photo management application Image Database Application Upload File S3 Bucket Image Import S3 Bucket Image Thumbnails Lambda Script App Interactions View Thumbnail Lambda Script • Photos uploaded to S3 • Lambda script creates thumbnails • Lambda script updates metadata in database • Application only has to deal with metadata editing, not photo / file management User
  • 60. Mobile game platform API Gateway Lambda Script Lambda Script Lambda Script Mobile Phone Application Users Database • Cloud platform hosts an API for mobile app – API Gateway • Lambda scripts implement the API • Lambda scripts manipulate database • Extremely high scale possible – No infrastructure
  • 61. Monitoring Lambda Scripts Less like server monitoring / More like web application monitoring We Care About We Don’t Care About • Run time (average, extremes – TP90/TP99) • Statistical metrics • Error rates and other deviations from norm • “Drill down” into individual “runs” • Details about all ”runs” • Server / infrastructure metrics
  • 62. Monitoring Lambda More like application performance monitoring than infrastructure monitoring
  • 63. Monitoring Lambda More like application performance monitoring than infrastructure monitoring
  • 64. Change is speeding up Dynamic Cloud enables better applications faster. The rate of change is increasing… Traditional Data Center Good Cloud Data Center Better Dynamic Cloud Best The way you’ve done things in the past won’t work in the future.
  • 65. Monitoring just the server Worked when rate of change was low… EC2 Instance Application & Application Microservices Server OS Server (Virtual) Hardware AWS CONSOLE CloudWatch
  • 66. Monitoring just the server Insufficient in the cloud: • Rate of change is faster • Problems come up quicker • “Server” isn’t a server anymore • “Provisioning” isn’t provisioning anymore You need top to bottom monitoring… You need full stack accountability... Server OS Server (Virtual) Hardware Application & Application Microservices Provisioning Application & Application Microservices Application & Application Microservices
  • 67. New Relic enables accountability between your code & AWS Customers Mobile / Apps / Browser On-Premises On Premises Relational Data EC2 AWS Container Service AWS RDSSynthetic Customers S3 NoSQL AWS Storage Services Your Responsibilities § Application code & 3rd party services § App architecture § Customer experience § On-Premises components NoSQL AWS Responsibility: § Service Availability & Performance § Provisioning & operation of DC § Isolation & security of resources § Service maintenance & innovation
  • 68. Architecting for Scale By: Lee Atchison Published by: O’Reilly Media www.architectingforscale.com Want to Learn More? @leeatchison leeatchison
  • 69. Thank you Lee Atchison, Principal Cloud Architect and Advocate at New Relic, Inc. @leeatchison leeatchison Architecting for Scale Published by: O’Reilly Media, www.architectingforscale.com