SlideShare a Scribd company logo
1 of 47
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
George Mao
Specialist Solutions Architect, Serverless, Amazon Web Services
198249
Fearless from Monolith to Serverless
with Dynatrace
Wayne Segar
Solutions Architect, Dynatrace
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
From Monolith to Serverless with Dynatrace
What is Serverless?
Evolution of Serverless Computing
From Monolith to Serverless with Dynatrace
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
What is
Serverless?
Build and run applications
without thinking about servers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Challenges with Servers
Operations and management Scaling
Provisioning and utilization Availability and fault tolerance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Physical Servers
Cloud
Serverless
Serverless Revolution
201620061996
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
AWS Lambda: Serverless Compute
• AWS Lambda lets you run code without managing servers.
• Don’t Pay for Idle time: You only pay for compute you consume
No Servers to Manage Continuous Scaling Subsecond Metering
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
How it Works
EVENT SOURCE SERVICES (ANYTHING)
Changes in data
state
Requests to
endpoints
Changes in
resource state
FUNCTION
Node.js
Python
Java
C#
Go
Splitting
Monoliths
Into
Components
Courtesy of
Into
Services
Courtesy of
Courtesy of
Amazon SNS
Amazon S3
Amazon API
Gateway
Amazon
SQS
Amazon
Kinesis
Amazon
DynamoDB
Business Logic
Glue between
the bricks
AWS Serverless
Leveraging standard service
and platform capabilities
Courtesy of
Amazon SNS
Amazon S3
Amazon API
Gateway
Amazon
SQS
Amazon
Kinesis
Amazon
DynamoDB
Microservices
to Functions
Courtesy of
Amazon API
Gateway
Amazon
SQS
Courtesy of
Microservices
for message
delivery
Amazon API
Gateway
Amazon
Kinesis
Amazon
DynamoDB
Courtesy of
Microservices
for data
persistence
Amazon API
Gateway
Amazon SNS
Amazon S3
Courtesy of
Microservices
for workflow
management
Amazon SNS
Amazon S3
Amazon API
Gateway
Amazon
SQS
Amazon
Kinesis
Amazon
DynamoDB
Microservices
On Lambda
Are Ephemeral
When the system is
idle, it shuts down and
costs nothing to run
Courtesy of
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Who is
• Dynatrace is at the forefront of AI-based monitoring platform
• 8 years a leader in Gartner’s MQ for Application Performance
Monitoring Suites,
5th consecutive year leader in terms of market share*
• Runs on the AWS Cloud, monitoring up to 100,000+ hosts
• 72 of the Fortune 100, trust Dynatrace incl. Verizon, Citrix
• AWS Competency Partner and available on AWS Marketplace
• Dynatrace digital assistant davis using Amazon Technology
*Gartner: Market Share Analysis: Performance
Analysis Software, Worldwide, 2016
26
500
Feature Releases / Year
Deployments / Day
31000 60h
Unit & Int Tests / hour UI Tests per Build
More Quality
~120 340
Code commits / day Stories per sprint
More Agile
93%
Production bugs found by Dev
More Stability 450 99.998%
Global EC2 Instances Global Availability
Dynatrace Journey! It shaped our product!
Questions / Challenges on that “Migration” Journey
• Where to start?
• What to break out?
• Dependencies?
• Works as expected?
• Users happy?
• Does it scale?
• Does it perform?
• Works as expected?
• Users happy?
• How to optimize?
• How to automate?
?
? ?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
? ?
?
?
?
? ? ?
?
?
?
?
From
On-Premise Monolith
Via
Containerized Services
To
Functions & Cloud Services
FullStack-PoweredbyDynatraceOneAgent
Where to start?
What to break out?
Dependencies?
Works as expected?
Does it scale?
Does it perform?
Works as expected?
How to scale? How to optimize?
How to automate?
Dynatrace Smartscape
We tell you WHAT to migrate and
WHERE to break the monolith!
Dynatrace AI
Automatic End User, Service and
Infrastructure Root Cause Analysis
Dynatrace Automation API
Automate Rollout in your
Containers & Functions. Automate
Shift-Left and Self-Healing
Dynatrace enables Break, Shift, Re-Platform
Dynatrace Helps to Decide What to Migrate/Shift
Dynatrace Smartscape
• Auto-dependency
mapping of internal &
external services
• Auto-load detection
and baselining
• Auto-resource
consumption detection
Automate T-Shirt Size Categorization for your Migration Plan
Tightly coupled! Shall we really distribute/extract?
Dynatrace “virtually” breaks your monolith!
Dynatrace helps to decide WHERE to break the
monolith
Getting to know the Monolith Architecture
?
?
?
?
?
?
?
?
?
?
?
Service
Endpoints
Depending
Services
Service Flow
Step #1 Dependency Information
Step #2 Detecting Service Endpoints
Endpoints CPULoad
Step #3 Understanding Service Flow per Endpoint
#1 Filter on specific endpoint
#2 See Execution Flow to Depending Services
#3 Dependencies
& Call Patterns
#4 Call Pattern Details
Step #3 Understanding Service Flow per Endpoint
#1 Filter on specific endpoint
#2 See Execution Flow to Depending Services
#3 Dependencies
& Call Patterns
#4 Call Pattern Details
What We Learned So Far!
/review
/finish
/config
/payment
Backend
Service X
DB A
Q 1
Endpoints +
Throughput
Dependencies &
Call Patterns
Flow & CPU
Consumption
Next: Where to Break the Monolith?
/review
/finish
/config
/payment
Backend
Service X
DB A
Q 1
?
?
?
?
?
?
?
?
?
?
Entry Points? Entry Points?
Step 4: Finding Entry Points with CPU Sampling
#1 Filter on specific endpoint
#2 Search for specific code
#3 Found Entry Point to Package
Step #5 Define Custom Service Entry Points
#1 Service Name
#2 Method
We “virtually” broke the monolith!
/review
/finish
/config
/payment
Backend
Service X
DB A
Q 1
User
Catalog
Check
Avail.
Credit-
Card
Billing
Order
Journey
Booking
Configuration
Payment
Step #6 Learn from Dynatrace Data
Tightly coupled! Shall we really distribute/extract?
Dynatrace validates & optimizes scalability
Low Load Peak LoadRegular Load
How does each service scale? Does it correctly fail over??
Dynatrace Baselining Validates Before vs After!
How is Performance & Resource Consumption per Service Endpoint?
Before After
Dynatrace APIs: How to DevOps? Shift-Left? Self-Healing?
pushDynatraceDeploymentEvent
Pushes Deployment Info to Dynatrace Entities
validateBuildDynatraceWorker
Compares Builds and Approves/Rejects Pipeline
pushDynatraceDeploymentEvent
Pushes Deployment Info to Dynatrace Entities
validateBuildDynatraceWorker
Validates Production and Approves/Rejects Pipeline
handleDynatraceProblemNotification
Executes Auto-Remediating Actions, e.g: Rollback
Build 6
Build 7
Production
Production
Auto-Approve!
Auto-Reject!
Auto-Approve!
Auto-Reject!
https://github.com/Dynatrace/AWSDevOpsTutorial
Planned Architectural Service Flow
Actual Architectural Service Flow
Identify / Optimize Architectural Patterns
Recursive Calls, N+1 Call Pattern, Chatty Interfaces, No Caching Layer …
Dynatrace Service Flow Validates your Architecture!
WHAT RUNS WHERE?
Monitoring Data and Tags for each EC2 instance through CloudWatch
Dependencies to Cloud Services
Who is calling RDS? DynamoDB? Lambdas?
Dynatrace Cloud Monitoring Validates Cloud Services
Dynatrace Cloud Monitoring Validates Cloud Resource Usage
Automated Cloud Resource Usage and Error Detection
Dynatrace Container Monitoring
Automatic Injection & Meta Data Extraction!
Automatic Service Monitoring within the Containers
Method Level Visibility: No Code Change Required!
Dynatrace End-to-End through Lambda
From Monolith via Microservices to Serverless – and into the Mainframe
Dynatrace End-to-End through your Stack
Monolith
Serverless
Micro-
services
Legacy /
3rd-Party
Dynatrace RUM Validates User Behavior Before vs After!
How are Conversions, Bounce Rates, Interaction Behavior, JavaScript Errors, Crashes?
Dynatrace AI: When something fails, find out: Where, Why and How Faster
If you break things!
ChatOps with the AI
• Signup through AWS Marketplace
• Run as SaaS or On-Premises
• Visit us at our booth
• Follow us @dynatrace
Try
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fearless from Monolith to Serverless with Dynatrace
Thank You
Please complete the session
survey in the summit mobile app.

More Related Content

What's hot

Deep Dive On Serverless Application Development
Deep Dive On Serverless Application DevelopmentDeep Dive On Serverless Application Development
Deep Dive On Serverless Application DevelopmentAmazon Web Services
 
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...Amazon Web Services
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to ServerlessAdrien Blind
 
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!Atlassian
 
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018Amazon Web Services
 
Building Real-Time Serverless Backends with GraphQL
Building Real-Time Serverless Backends with GraphQLBuilding Real-Time Serverless Backends with GraphQL
Building Real-Time Serverless Backends with GraphQLAmazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018Amazon Web Services
 
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018Amazon Web Services
 
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Amazon Web Services
 
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018Amazon Web Services
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Amazon Web Services
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...Amazon Web Services
 
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018Amazon Web Services
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018Amazon Web Services
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationAmazon Web Services
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Amazon Web Services
 

What's hot (20)

Deep Dive On Serverless Application Development
Deep Dive On Serverless Application DevelopmentDeep Dive On Serverless Application Development
Deep Dive On Serverless Application Development
 
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
How HSBC Uses Serverless to Process Millions of Transactions in Real Time (FS...
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to Serverless
 
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!
Jira Service Desk for Internal Developer Support: It’s Not Just for IT Anymore!
 
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
 
Building Real-Time Serverless Backends with GraphQL
Building Real-Time Serverless Backends with GraphQLBuilding Real-Time Serverless Backends with GraphQL
Building Real-Time Serverless Backends with GraphQL
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
Building Volkswagen Group's Digital Ecosystem (AMT304) - AWS re:Invent 2018
 
CI/CD using AWS developer tools
CI/CD using AWS developer toolsCI/CD using AWS developer tools
CI/CD using AWS developer tools
 
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018
Breaking up the Monolith (ARC306-R1) - AWS re:Invent 2018
 
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
 
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017
 
Serverless - State of the Union
Serverless - State of the UnionServerless - State of the Union
Serverless - State of the Union
 
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
CI/CD for Serverless and Containerized Applications (DEV309-R1) - AWS re:Inve...
 
Microservices & Data Design
Microservices & Data DesignMicroservices & Data Design
Microservices & Data Design
 
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018
Develop Integrations for Salesforce and AWS (API320) - AWS re:Invent 2018
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud Transformation
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
 

Similar to From Monolith to Serverless Migration with Dynatrace

DEM09 [Repeat] Fearless: From Monolith to Serverless with Dynatrace
DEM09 [Repeat] Fearless: From Monolith to Serverless with DynatraceDEM09 [Repeat] Fearless: From Monolith to Serverless with Dynatrace
DEM09 [Repeat] Fearless: From Monolith to Serverless with DynatraceAmazon Web Services
 
DEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with DynatraceDEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with DynatraceAmazon Web Services
 
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS SummitTransform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS SummitAmazon Web Services
 
Transform to Serverless with Dynatrace
Transform to Serverless with DynatraceTransform to Serverless with Dynatrace
Transform to Serverless with DynatraceAmazon Web Services
 
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...Amazon Web Services
 
Application Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternApplication Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternTom Laszewski
 
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018Amazon Web Services
 
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
 
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
 
From Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best PracticesFrom Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best PracticesTom Laszewski
 
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
 
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
 
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
 
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...Amazon Web Services
 
Microservices: Data & Design - Miguel Cervantes
Microservices: Data & Design - Miguel CervantesMicroservices: Data & Design - Miguel Cervantes
Microservices: Data & Design - Miguel CervantesAmazon Web Services
 
Microservices & Data Design: Database Week SF
Microservices & Data Design: Database Week SFMicroservices & Data Design: Database Week SF
Microservices & Data Design: Database Week SFAmazon Web Services
 
Microservices and Data Design
Microservices and Data DesignMicroservices and Data Design
Microservices and Data DesignAWS Germany
 
Microservices & Data Design: Database Week San Francisco
Microservices & Data Design: Database Week San FranciscoMicroservices & Data Design: Database Week San Francisco
Microservices & Data Design: Database Week San FranciscoAmazon Web Services
 

Similar to From Monolith to Serverless Migration with Dynatrace (20)

DEM09 [Repeat] Fearless: From Monolith to Serverless with Dynatrace
DEM09 [Repeat] Fearless: From Monolith to Serverless with DynatraceDEM09 [Repeat] Fearless: From Monolith to Serverless with Dynatrace
DEM09 [Repeat] Fearless: From Monolith to Serverless with Dynatrace
 
DEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with DynatraceDEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with Dynatrace
 
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS SummitTransform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
 
Transform to Serverless with Dynatrace
Transform to Serverless with DynatraceTransform to Serverless with Dynatrace
Transform to Serverless with Dynatrace
 
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
Ripping off the Bandage: Re-Architecting Traditional Three-Tier Monoliths to ...
 
Application Modernization using the Strangler Pattern
Application Modernization using the Strangler PatternApplication Modernization using the Strangler Pattern
Application Modernization using the Strangler Pattern
 
Containers for Startups
Containers for StartupsContainers for Startups
Containers for Startups
 
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018
Breaking Up the Monolith While Migrating to AWS (GPSTEC320) - AWS re:Invent 2018
 
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
 
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
 
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
 
From Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best PracticesFrom Monolithic to Modern Apps: Best Practices
From Monolithic to Modern Apps: Best Practices
 
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
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
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?
 
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...
Best Practices for Safe Deployments on AWS Lambda and Amazon API Gateway (SRV...
 
Microservices: Data & Design - Miguel Cervantes
Microservices: Data & Design - Miguel CervantesMicroservices: Data & Design - Miguel Cervantes
Microservices: Data & Design - Miguel Cervantes
 
Microservices & Data Design: Database Week SF
Microservices & Data Design: Database Week SFMicroservices & Data Design: Database Week SF
Microservices & Data Design: Database Week SF
 
Microservices and Data Design
Microservices and Data DesignMicroservices and Data Design
Microservices and Data Design
 
Microservices & Data Design: Database Week San Francisco
Microservices & Data Design: Database Week San FranciscoMicroservices & Data Design: Database Week San Francisco
Microservices & Data Design: Database Week San Francisco
 

More from Amazon Web Services

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

More from Amazon Web Services (20)

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

From Monolith to Serverless Migration with Dynatrace

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. George Mao Specialist Solutions Architect, Serverless, Amazon Web Services 198249 Fearless from Monolith to Serverless with Dynatrace Wayne Segar Solutions Architect, Dynatrace
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. From Monolith to Serverless with Dynatrace What is Serverless? Evolution of Serverless Computing From Monolith to Serverless with Dynatrace
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. What is Serverless? Build and run applications without thinking about servers
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Challenges with Servers Operations and management Scaling Provisioning and utilization Availability and fault tolerance
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Physical Servers Cloud Serverless Serverless Revolution 201620061996
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. AWS Lambda: Serverless Compute • AWS Lambda lets you run code without managing servers. • Don’t Pay for Idle time: You only pay for compute you consume No Servers to Manage Continuous Scaling Subsecond Metering
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. How it Works EVENT SOURCE SERVICES (ANYTHING) Changes in data state Requests to endpoints Changes in resource state FUNCTION Node.js Python Java C# Go
  • 11. Amazon SNS Amazon S3 Amazon API Gateway Amazon SQS Amazon Kinesis Amazon DynamoDB Business Logic Glue between the bricks AWS Serverless Leveraging standard service and platform capabilities Courtesy of
  • 12. Amazon SNS Amazon S3 Amazon API Gateway Amazon SQS Amazon Kinesis Amazon DynamoDB Microservices to Functions Courtesy of
  • 15. Amazon API Gateway Amazon SNS Amazon S3 Courtesy of Microservices for workflow management
  • 16. Amazon SNS Amazon S3 Amazon API Gateway Amazon SQS Amazon Kinesis Amazon DynamoDB Microservices On Lambda Are Ephemeral When the system is idle, it shuts down and costs nothing to run Courtesy of
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Who is • Dynatrace is at the forefront of AI-based monitoring platform • 8 years a leader in Gartner’s MQ for Application Performance Monitoring Suites, 5th consecutive year leader in terms of market share* • Runs on the AWS Cloud, monitoring up to 100,000+ hosts • 72 of the Fortune 100, trust Dynatrace incl. Verizon, Citrix • AWS Competency Partner and available on AWS Marketplace • Dynatrace digital assistant davis using Amazon Technology *Gartner: Market Share Analysis: Performance Analysis Software, Worldwide, 2016
  • 18. 26 500 Feature Releases / Year Deployments / Day 31000 60h Unit & Int Tests / hour UI Tests per Build More Quality ~120 340 Code commits / day Stories per sprint More Agile 93% Production bugs found by Dev More Stability 450 99.998% Global EC2 Instances Global Availability Dynatrace Journey! It shaped our product!
  • 19. Questions / Challenges on that “Migration” Journey • Where to start? • What to break out? • Dependencies? • Works as expected? • Users happy? • Does it scale? • Does it perform? • Works as expected? • Users happy? • How to optimize? • How to automate? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? From On-Premise Monolith Via Containerized Services To Functions & Cloud Services
  • 21. Where to start? What to break out? Dependencies? Works as expected? Does it scale? Does it perform? Works as expected? How to scale? How to optimize? How to automate? Dynatrace Smartscape We tell you WHAT to migrate and WHERE to break the monolith! Dynatrace AI Automatic End User, Service and Infrastructure Root Cause Analysis Dynatrace Automation API Automate Rollout in your Containers & Functions. Automate Shift-Left and Self-Healing Dynatrace enables Break, Shift, Re-Platform
  • 22. Dynatrace Helps to Decide What to Migrate/Shift Dynatrace Smartscape • Auto-dependency mapping of internal & external services • Auto-load detection and baselining • Auto-resource consumption detection Automate T-Shirt Size Categorization for your Migration Plan
  • 23. Tightly coupled! Shall we really distribute/extract? Dynatrace “virtually” breaks your monolith! Dynatrace helps to decide WHERE to break the monolith
  • 24. Getting to know the Monolith Architecture ? ? ? ? ? ? ? ? ? ? ? Service Endpoints Depending Services Service Flow
  • 25. Step #1 Dependency Information
  • 26. Step #2 Detecting Service Endpoints Endpoints CPULoad
  • 27. Step #3 Understanding Service Flow per Endpoint #1 Filter on specific endpoint #2 See Execution Flow to Depending Services #3 Dependencies & Call Patterns #4 Call Pattern Details
  • 28. Step #3 Understanding Service Flow per Endpoint #1 Filter on specific endpoint #2 See Execution Flow to Depending Services #3 Dependencies & Call Patterns #4 Call Pattern Details
  • 29. What We Learned So Far! /review /finish /config /payment Backend Service X DB A Q 1 Endpoints + Throughput Dependencies & Call Patterns Flow & CPU Consumption
  • 30. Next: Where to Break the Monolith? /review /finish /config /payment Backend Service X DB A Q 1 ? ? ? ? ? ? ? ? ? ? Entry Points? Entry Points?
  • 31. Step 4: Finding Entry Points with CPU Sampling #1 Filter on specific endpoint #2 Search for specific code #3 Found Entry Point to Package
  • 32. Step #5 Define Custom Service Entry Points #1 Service Name #2 Method
  • 33. We “virtually” broke the monolith! /review /finish /config /payment Backend Service X DB A Q 1 User Catalog Check Avail. Credit- Card Billing Order Journey Booking Configuration Payment
  • 34. Step #6 Learn from Dynatrace Data Tightly coupled! Shall we really distribute/extract?
  • 35. Dynatrace validates & optimizes scalability Low Load Peak LoadRegular Load How does each service scale? Does it correctly fail over??
  • 36. Dynatrace Baselining Validates Before vs After! How is Performance & Resource Consumption per Service Endpoint? Before After
  • 37. Dynatrace APIs: How to DevOps? Shift-Left? Self-Healing? pushDynatraceDeploymentEvent Pushes Deployment Info to Dynatrace Entities validateBuildDynatraceWorker Compares Builds and Approves/Rejects Pipeline pushDynatraceDeploymentEvent Pushes Deployment Info to Dynatrace Entities validateBuildDynatraceWorker Validates Production and Approves/Rejects Pipeline handleDynatraceProblemNotification Executes Auto-Remediating Actions, e.g: Rollback Build 6 Build 7 Production Production Auto-Approve! Auto-Reject! Auto-Approve! Auto-Reject! https://github.com/Dynatrace/AWSDevOpsTutorial
  • 38. Planned Architectural Service Flow Actual Architectural Service Flow Identify / Optimize Architectural Patterns Recursive Calls, N+1 Call Pattern, Chatty Interfaces, No Caching Layer … Dynatrace Service Flow Validates your Architecture!
  • 39. WHAT RUNS WHERE? Monitoring Data and Tags for each EC2 instance through CloudWatch Dependencies to Cloud Services Who is calling RDS? DynamoDB? Lambdas? Dynatrace Cloud Monitoring Validates Cloud Services
  • 40. Dynatrace Cloud Monitoring Validates Cloud Resource Usage Automated Cloud Resource Usage and Error Detection
  • 41. Dynatrace Container Monitoring Automatic Injection & Meta Data Extraction! Automatic Service Monitoring within the Containers
  • 42. Method Level Visibility: No Code Change Required! Dynatrace End-to-End through Lambda
  • 43. From Monolith via Microservices to Serverless – and into the Mainframe Dynatrace End-to-End through your Stack Monolith Serverless Micro- services Legacy / 3rd-Party
  • 44. Dynatrace RUM Validates User Behavior Before vs After! How are Conversions, Bounce Rates, Interaction Behavior, JavaScript Errors, Crashes?
  • 45. Dynatrace AI: When something fails, find out: Where, Why and How Faster If you break things! ChatOps with the AI
  • 46. • Signup through AWS Marketplace • Run as SaaS or On-Premises • Visit us at our booth • Follow us @dynatrace Try
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fearless from Monolith to Serverless with Dynatrace Thank You Please complete the session survey in the summit mobile app.