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

PPTX
AWS Summit - Chicago 2016 - New Relic - Monitoring the Dynamic Cloud
PDF
Enterprise Cloud Adoption Strategies
PPTX
Webinar - Life's Too Short for Cloud without Analytics
PDF
5 keys to high availability applications
PPTX
Enterprise security in the AWS cloud
PPTX
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
PDF
Avere & AWS Enterprise Solution with Special Bundle Pricing Offer
PDF
RightScale Webinar: Security and Compliance in the Cloud
AWS Summit - Chicago 2016 - New Relic - Monitoring the Dynamic Cloud
Enterprise Cloud Adoption Strategies
Webinar - Life's Too Short for Cloud without Analytics
5 keys to high availability applications
Enterprise security in the AWS cloud
Microsoft Azure vs Amazon Web Services (AWS) Services & Feature Mapping
Avere & AWS Enterprise Solution with Special Bundle Pricing Offer
RightScale Webinar: Security and Compliance in the Cloud

Viewers also liked (14)

PDF
Cloud Asia 2013 Highlights
PPTX
Velocity - cloudy with a chance of scaling
PPTX
Architecting a Private Cloud - Cloud Expo
PPTX
The Future of APM and Why It Requires Analytics Everywhere!
PPT
Cloud Expo Santa Clara Nov 2010 General Session: Roadmap to Enterprise Cloud ...
PPTX
Introduction to Cloud Computing
PPTX
IDC Directions 2014 in Nordics - IT Service challenges and new sourcing models
PPTX
Do DevOps Right with New Relic
PPT
Multi-Cloud Roadmap: Architecting Hybrid Environments for Maximum Results
PDF
"Containers, DevOps, Microservices and Kafka: Tools used by our Monolith wrec...
PDF
Roadmap to the Clouds - How to Easily Migrate to the Cloud Platform Using WSO...
PDF
Q317 Results
PPT
Roadmap to Enterprise Cloud Computing
PPTX
Application Architecture Summit - Monitoring the Dynamic Cloud
Cloud Asia 2013 Highlights
Velocity - cloudy with a chance of scaling
Architecting a Private Cloud - Cloud Expo
The Future of APM and Why It Requires Analytics Everywhere!
Cloud Expo Santa Clara Nov 2010 General Session: Roadmap to Enterprise Cloud ...
Introduction to Cloud Computing
IDC Directions 2014 in Nordics - IT Service challenges and new sourcing models
Do DevOps Right with New Relic
Multi-Cloud Roadmap: Architecting Hybrid Environments for Maximum Results
"Containers, DevOps, Microservices and Kafka: Tools used by our Monolith wrec...
Roadmap to the Clouds - How to Easily Migrate to the Cloud Platform Using WSO...
Q317 Results
Roadmap to Enterprise Cloud Computing
Application Architecture Summit - Monitoring the Dynamic Cloud
Ad

Similar to Future Stack NY - Monitoring the Dynamic Nature of the Cloud (20)

PPTX
Storms Ahead - How Your Monitoring Can Keep Pace in the Dynamic Cloud {Future...
PDF
AWS Summit Sydney: Life’s Too Short...for Cloud without Analytics
PPTX
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
PPTX
2017 04-05 aws summit - sydney
PPTX
Dynamic Infrastructure and The Cloud
PPTX
Lew Cirne, FS16 Keynote [FutureStack16]
PDF
Elastic, DevSecOps, and the DOD software factory
PPTX
Microservices? Dynamic Infrastructure? - Adventures in Keeping Your Applicati...
PPTX
Architecting for scale - dynamic infrastructure and the cloud
PPTX
Increasing MTBLS with New Relic [FutureStack16 NYC]
PDF
AWS_New Relic TechSoup Presentation.pdf
PDF
Sukumar Nayak-Agile-DevOps-Cloud Management
PPTX
A Skeptic's Guide to Docker
PPTX
Implementing Docker in Production at Scale
PDF
AWS-Solution-Brief-09151
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
Cisco ACI for the Microsoft Cloud Platform
PDF
Elastic Cloud keynote
PPTX
How to Optimize Your AWS Environment for Improved Cloud Performance
Storms Ahead - How Your Monitoring Can Keep Pace in the Dynamic Cloud {Future...
AWS Summit Sydney: Life’s Too Short...for Cloud without Analytics
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
2017 04-05 aws summit - sydney
Dynamic Infrastructure and The Cloud
Lew Cirne, FS16 Keynote [FutureStack16]
Elastic, DevSecOps, and the DOD software factory
Microservices? Dynamic Infrastructure? - Adventures in Keeping Your Applicati...
Architecting for scale - dynamic infrastructure and the cloud
Increasing MTBLS with New Relic [FutureStack16 NYC]
AWS_New Relic TechSoup Presentation.pdf
Sukumar Nayak-Agile-DevOps-Cloud Management
A Skeptic's Guide to Docker
Implementing Docker in Production at Scale
AWS-Solution-Brief-09151
MongoDB SoCal 2020: MongoDB Atlas Jump Start
Cisco ACI for the Microsoft Cloud Platform
Elastic Cloud keynote
How to Optimize Your AWS Environment for Improved Cloud Performance
Ad

More from Lee Atchison (8)

PPTX
Risk Management - Avoiding Availability Disasters in Service-based Applications
PPTX
FutureStack'19 Closing Keynote
PPTX
2018 re invent lee
PPTX
Keeping Modern Applications Performing
PPTX
Migrating to the Cloud - What to do when things go sideways
PPTX
Monitoring the Dynamic Nature of Cloud Computing
PDF
Cloud Expo (Keynote) - Static vs Dynamic
PDF
Cloud Expo - Flying Two Mistakes High
Risk Management - Avoiding Availability Disasters in Service-based Applications
FutureStack'19 Closing Keynote
2018 re invent lee
Keeping Modern Applications Performing
Migrating to the Cloud - What to do when things go sideways
Monitoring the Dynamic Nature of Cloud Computing
Cloud Expo (Keynote) - Static vs Dynamic
Cloud Expo - Flying Two Mistakes High

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Approach and Philosophy of On baking technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Electronic commerce courselecture one. Pdf
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Diabetes mellitus diagnosis method based random forest with bat algorithm
Approach and Philosophy of On baking technology
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Electronic commerce courselecture one. Pdf
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?

Future Stack NY - Monitoring the Dynamic Nature of the Cloud

  • 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