SlideShare uma empresa Scribd logo
1 de 66
Baixar para ler offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Observability for
Modern Applications
Evgeny Shulyatyev
Software Engineering Manager
Cloud Platform, Autodesk
C O N 3 0 6
Nathan Taber
Sr. Product Marketing Manager
AWS
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Autodesk’s cloud transformation
Key challenges
Autodesk’s resiliency cookbook
Step 1: Standardized cloud platform
Step 2: Full-stack observability for individual services
Step 3: Unified logging and distributed tracing across services
Step 4: Resiliency patterns across services
Service mesh
Introducing AWS App Mesh
How it works
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Image courtesy of Tesla Motors, Inc. Image courtesy of Gensler.
The Martian © 2015 Twentieth Century Fox. All rights reserved.
© 2018 Autodesk
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Automate workflow
DETAILS
Design
Modeling, detail, development
Fabrication, pre-assembly
Installation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
.NET
Go
Go
Django
.NET
Java
GoNode.js
Java
Node.js
Node.js
Node.js
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
.NET
Go
Go
Django
.NET
Node.js
Node.js
Node.js
Java
GoNode.js
Java
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Key challenges
Full-stack
observability
Logging Tracing Profiling Telemetry Standardization Retrofitting
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Our journey so far
Resiliency
1: Standardized cloud
platform
2: Full-stack
observability for
individual services
3: Unified logging and
distributed tracing
across services
4: Resiliency patterns
across services
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Autodesk
“CloudOS”
Security and
compliance
CI/CD
Developer
velocity
Cost efficiency
Availability and
resiliency
Accelerate innovation with faster,
automated, and more reliable releases
Lock-in security and compliance for all
teams, self-serve, with minimal effort
Provide a well-lit path to build, deploy,
and run services, so product teams can
focus on customer problems
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Autodesk’s CloudOS platform
Product
teams
Automated CI/CD pipeline
CI/CD best practices Standardized deploy, run, and monitor
Compliance framework
1 2
3
AWS Cloud
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Autodesk’s CloudOS platform
Product
teams
Automated CI/CD pipeline
1
AWS Cloud
 Containers
 Serverless
 Batch
2CI/CD best practices
run, and monitorCI pipelines
Source code
Learning content
Localization
Release notes
Defect detection
Codacy
SonarQube
Security
Whitesource
CheckMarx
Deploy risk
mitigation
Blue/green deployments
Automated post-release
testing
Deployment templates
Standardized
pipeline
Containers
Serverless
Batch
Key metrics
Deployment frequency
Change lead time
Mean time to recover
Change failure rate
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1
Autodesk’s CloudOS platform
Product
teams
Automated CI/CD Pipeline
AWS Cloud
2
Workloads
Containers
Batch
Serverless
Runtime
Linux
Windows
GPU
Infrastructure
Zero-downtime
patching
Automated capacity
management
Monitoring, security,
and compliance
controls
Standardized deploy, run, and monitor
Cluster management
Linux Windows GPU
Batch
WorkloadsCapacity
AWS Batch
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Autodesk’s CloudOS platform
Product
teams
Automated CI/CD pipeline
Compliance framework
3
AWS Cloud
Built-in security and compliance controls Automated change management and audit trailsStreamlined compliance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Full-stack observability for individual services
Container application
Amazon EC2 nodes
Amazon ECS cluster
Infrastructure dependencies
Single pane of glass
Alerting and escalation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Full-stack infrastructure observability
Container
application
 Application performance
monitoring (APM) agent
 Unified logging
Amazon EC2
nodes
 Disk
 Memory
 CPU
 Network I/O
 Net response time
 Docker daemon health
 Security vulnerabilities
 Orphan tasks
 Amazon ECS agent status
Amazon ECS
cluster
 Pending Amazon ECS tasks
 AWS account limits
 Auto Scaling group limits
Infrastructure
dependencies
 Vault
 Jenkins
 ServiceNow
 Artifactory
Monitors ToolsStack
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Single pane of glass
Standardized dashboards for key metrics
Automated provisioning
Service summary
Key API metrics
Service dependencies
Underlying infrastructure
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Unified alerting and escalation
Alerting source
Incident record
Service Operations
Center (SOC)
SME escalation
I2I
Process
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Need a consistent way to collect and measure metrics of services:
MTTR: Forensics
Incident management
MTBF: Analytics
Insights to drive features
+ resiliency
MTTD: Monitoring
Real-time operational problem
detection and notification
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Unified Logging
Problem
Log data in various formats
• Cross-service tracing impossible
• Complexity for monitoring,
forensics, analytics
Solution
Standardize the log data model
• Annotate log records with distributed
tracing states
• Adopt OpenTracing (http://opentracing.io)
• Provide SDK that supports major languages
• Integrate with vendor APM products
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Example: Unified logging
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Unified logging architecture
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Unified logging – End-to-end tracing (AWS X-Ray)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
.NET
Go
Go
Django
.NET
Node.js
Node.js
Node.js
Java
GoNode.js
Java
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Monitoring
Degraded state
.NETGo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Degraded state
Outage
Latency
Time (ms)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Resiliency patterns
Traffic shaping Rate limiting Circuit breaking Retries Throttling
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Implementation options
Microservice
container
In-process
(SDK)
Out-of-process
(sidecar proxy)
Microservice
container
Proxy
Option 1 Option 2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Implementation options
Microservice
container
In-process
(SDK)
Out-of-process
(sidecar proxy)
Microservice
Container
Proxy
Option 1 Option 2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Option 1: In-process resiliency SDK
SDK maintenance
Application code changes
Retrofitting
Unknown dependencies
…
Java
Scala
Node.js
Python
C++
Django
.NET
GO
…
…
MySQL (hosted + Amazon Relational
Database Service (Amazon RDS))
Aurora
Microsoft SQL Server
PostgreSQL (hosted and Amazon
RDS)
Redis
InfluxDB
RabbitMQ
MongoDB
Amazon DynamoDB
Cassandra
…
Languages
Databases
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Implementation options
Microservice
container
In-process
(SDK)
Out-of-process
(sidecar proxy)
Microservice
container
Proxy
Option 1 Option 2
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Option 2: Side-car proxy
Decouple operational logic and SDKs
Microservice
container
Proxy
Amazon ECS task / Kubernetes Pod
Port
8081
Port
8080External traffic
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Option 2: Side-car proxy
Out-of-process and language
independent:
Logging
Tracing
Metrics
Resiliency patterns
Separation of operational and business
logic
Integration with legacy services
However…
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Centralized production-grade configuration
of proxies at scale is difficult
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We need a control plane
Centralized location to manage configuration of proxies at scale
Dynamic configuration reload without redeploying code
Compatibility across different compute platforms
Production-grade and fully managed
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Introducing AWS App Mesh
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS App Mesh configures every proxy
Microservice
Proxy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Easily deliver configuration and receive data
Infra
Operator
Application
Developer Metrics
Intent
Microservice
Proxy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why AWS App Mesh
Libraries or application code vs. mesh
Overall—migrate to microservices safer and faster
Reduce work required
by developers
Provide operational
controls decoupled
from application logic
Use any language
or platform
Simplify visibility,
troubleshooting, and
deployments
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
App Mesh uses Envoy proxy
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why AWS App Mesh
vs. building or running your own mesh
No need to spend on
Dev to build and Ops
to maintain
Not tied to application
deployment system
(e.g., container orchestration)
Works across different
compute systems
Gradual migration,
onboard services
one at a time
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why AWS App Mesh
vs. existing control plane solutions
Works across
clusters,
container services
Integrations with AWS
and partner tools
Run by AWS for scale
and stability
Extensible architecture
from OSS base
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Services connect directly
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployments
B
B’
A
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Traffic controls
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application observability
+ others
Universal metrics
collection for
a wide range of
monitoring tools
</>
</>
</>
</>
</>
</>
</>
</>
</>
</>
</>
</>
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Mesh – [sample_app]
Elastic
Load
Balancing
Virtual
node A
Service
discovery
Listener Backends
Virtual
node B
Service
discovery
Listener Backends
App MeshMicroservices
How it works
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual node
Virtual node
Service
discovery
BackendsListeners
Virtual node
Logical representation
of runtime services.
Backends
Set of destinations that this node
will communicate with (hostnames)
Service discovery
Describes how its callers locate this node
Listeners
Policies to handle
incoming traffic
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Mesh – [sample_app]
Virtual router
HTTP route
Targets:
Prefix: /
B
B’
Virtual
node A
Service
discovery
Listener Backends Virtual
node B
Service
discovery
Listener Backends
Virtual
node B’
Service
discovery
Listener Backends
Connecting microservices
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployments
B
B’
A
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual router
Virtual router
HTTP route
Prefix: /
Targets:
B
B’
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Representing your sample_app in AWS App Mesh
Mesh – [sample_app]
Service C
Virtual router
Virtual
node C
Service D
Virtual router
Virtual
node D
Service A
Service B
Virtual
router
Virtual
node B
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS App Mesh is available as a preview for
all customers
Observability and traffic control
AWS container services compatibility
Regions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS App Mesh is available as a preview for
all customers
Preview today, GA in 2019
Learn more at:
aws.amazon.com/app-mesh
github.com/awslabs/aws-app-mesh-examples
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Evgeny Shulyatyev
https://www.linkedin.com/in/evgeny-shulyatyev-741b3026
Nathan Taber
https://www.linkedin.com/in/natetaber/
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Mais conteúdo relacionado

Mais procurados

A Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionA Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionAmazon Web Services
 
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...Amazon Web Services
 
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...Amazon Web Services
 
Observability, what, why and how
Observability, what, why and howObservability, what, why and how
Observability, what, why and howNeeraj Bagga
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Araf Karsh Hamid
 
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
End-to-End CI/CD at scale with Infrastructure-as-Code on AWSEnd-to-End CI/CD at scale with Infrastructure-as-Code on AWS
End-to-End CI/CD at scale with Infrastructure-as-Code on AWSBhuvaneswari Subramani
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...Amazon Web Services
 
DevSecOps: Key Controls for Modern Security Success
DevSecOps: Key Controls for Modern Security SuccessDevSecOps: Key Controls for Modern Security Success
DevSecOps: Key Controls for Modern Security SuccessPuma Security, LLC
 
DevSecOps and the CI/CD Pipeline
 DevSecOps and the CI/CD Pipeline DevSecOps and the CI/CD Pipeline
DevSecOps and the CI/CD PipelineJames Wickett
 
Red Hat Openshift on Microsoft Azure
Red Hat Openshift on Microsoft AzureRed Hat Openshift on Microsoft Azure
Red Hat Openshift on Microsoft AzureJohn Archer
 
Introduction to Azure monitor
Introduction to Azure monitorIntroduction to Azure monitor
Introduction to Azure monitorPraveen Nair
 
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Amazon Web Services
 

Mais procurados (20)

A Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence AdoptionA Roadmap to Cloud Center of Excellence Adoption
A Roadmap to Cloud Center of Excellence Adoption
 
Observability
ObservabilityObservability
Observability
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
Instrumenting Kubernetes for Observability Using AWS X-Ray and Amazon CloudWa...
 
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
AWS CodeDeploy, AWS CodePipeline, and AWS CodeCommit: Transforming Software D...
 
Cloud Migration: A How-To Guide
Cloud Migration: A How-To GuideCloud Migration: A How-To Guide
Cloud Migration: A How-To Guide
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
Observability, what, why and how
Observability, what, why and howObservability, what, why and how
Observability, what, why and how
 
Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018Microservices Architecture - Bangkok 2018
Microservices Architecture - Bangkok 2018
 
Migrating to the Cloud
Migrating to the CloudMigrating to the Cloud
Migrating to the Cloud
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
End-to-End CI/CD at scale with Infrastructure-as-Code on AWSEnd-to-End CI/CD at scale with Infrastructure-as-Code on AWS
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
 
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
An Overview of Best Practices for Large Scale Migrations - AWS Transformation...
 
DevSecOps: Key Controls for Modern Security Success
DevSecOps: Key Controls for Modern Security SuccessDevSecOps: Key Controls for Modern Security Success
DevSecOps: Key Controls for Modern Security Success
 
DevSecOps and the CI/CD Pipeline
 DevSecOps and the CI/CD Pipeline DevSecOps and the CI/CD Pipeline
DevSecOps and the CI/CD Pipeline
 
Api observability
Api observability Api observability
Api observability
 
Red Hat Openshift on Microsoft Azure
Red Hat Openshift on Microsoft AzureRed Hat Openshift on Microsoft Azure
Red Hat Openshift on Microsoft Azure
 
Migration Planning
Migration PlanningMigration Planning
Migration Planning
 
Introduction to Azure monitor
Introduction to Azure monitorIntroduction to Azure monitor
Introduction to Azure monitor
 
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
Breaking Observability Chaos: Best Practices to Monitor AWS Cloud Native Apps...
 

Semelhante a Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018

Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Amazon Web Services
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Amazon Web Services
 
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...Amazon Web Services
 
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
 
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Amazon Web Services
 
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Amazon Web Services
 
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...Amazon Web Services
 
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...Amazon Web Services
 
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...Amazon Web Services
 
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018Amazon Web Services
 
DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)Amazon Web Services
 
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...Amazon Web Services
 
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...Amazon Web Services
 
Aws Tools for Alexa Skills
Aws Tools for Alexa SkillsAws Tools for Alexa Skills
Aws Tools for Alexa SkillsBoaz Ziniman
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019AWS Summits
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019Amazon Web Services
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Amazon Web Services
 
Building Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSBuilding Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSAmazon Web Services
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Amazon Web Services
 
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...Amazon Web Services
 

Semelhante a Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018 (20)

Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
Driving Innovation with Serverless Applications (GPSBUS212) - AWS re:Invent 2018
 
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
Deep Dive into AWS X-Ray: Monitor Modern Applications (DEV324) - AWS re:Inven...
 
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
[NEW LAUNCH!] Introducing AWS App Mesh – service mesh on AWS (CON367) - AWS r...
 
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
 
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
Deploying Microservices using AWS Fargate (CON315-R1) - AWS re:Invent 2018
 
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
Architecting ASP.NET Core Microservices Applications on AWS (WIN401) - AWS re...
 
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...
Distributed Solar Systems at EDF Renewables and AWS IoT: A Natural Fit (PUT30...
 
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
Ensuring Your Windows Server Workloads Are Well-Architected - AWS Online Tech...
 
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...
Mythical Mysfits: Management and Ops with AWS Fargate (CON322-R1) - AWS re:In...
 
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018
Realize Value of Your Microsoft Investments - Transformation Day Montreal 2018
 
DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)DevSecOps 的規模化實踐 (Level: 300-400)
DevSecOps 的規模化實踐 (Level: 300-400)
 
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...
Earn Your DevOps Black Belt: Deployment Scenarios with AWS CloudFormation (DE...
 
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
Build Modern Applications that Align with Twelve-Factor Methods (API303) - AW...
 
Aws Tools for Alexa Skills
Aws Tools for Alexa SkillsAws Tools for Alexa Skills
Aws Tools for Alexa Skills
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019Orchestrating containers on AWS  | AWS Summit Tel Aviv 2019
Orchestrating containers on AWS | AWS Summit Tel Aviv 2019
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
 
Building Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWSBuilding Microservices with the Twelve Factor App Pattern on AWS
Building Microservices with the Twelve Factor App Pattern on AWS
 
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
Build Your Own Log Analytics Solutions on AWS (ANT323-R) - AWS re:Invent 2018
 
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
 

Mais de 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
 

Mais de 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
 

Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Observability for Modern Applications Evgeny Shulyatyev Software Engineering Manager Cloud Platform, Autodesk C O N 3 0 6 Nathan Taber Sr. Product Marketing Manager AWS
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Autodesk’s cloud transformation Key challenges Autodesk’s resiliency cookbook Step 1: Standardized cloud platform Step 2: Full-stack observability for individual services Step 3: Unified logging and distributed tracing across services Step 4: Resiliency patterns across services Service mesh Introducing AWS App Mesh How it works
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. Image courtesy of Tesla Motors, Inc. Image courtesy of Gensler. The Martian © 2015 Twentieth Century Fox. All rights reserved.
  • 6.
  • 7.
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Automate workflow DETAILS Design Modeling, detail, development Fabrication, pre-assembly Installation
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. .NET Go Go Django .NET Java GoNode.js Java Node.js Node.js Node.js
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. .NET Go Go Django .NET Node.js Node.js Node.js Java GoNode.js Java
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Key challenges Full-stack observability Logging Tracing Profiling Telemetry Standardization Retrofitting
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Our journey so far Resiliency 1: Standardized cloud platform 2: Full-stack observability for individual services 3: Unified logging and distributed tracing across services 4: Resiliency patterns across services
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Autodesk “CloudOS” Security and compliance CI/CD Developer velocity Cost efficiency Availability and resiliency Accelerate innovation with faster, automated, and more reliable releases Lock-in security and compliance for all teams, self-serve, with minimal effort Provide a well-lit path to build, deploy, and run services, so product teams can focus on customer problems
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Autodesk’s CloudOS platform Product teams Automated CI/CD pipeline CI/CD best practices Standardized deploy, run, and monitor Compliance framework 1 2 3 AWS Cloud
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Autodesk’s CloudOS platform Product teams Automated CI/CD pipeline 1 AWS Cloud  Containers  Serverless  Batch 2CI/CD best practices run, and monitorCI pipelines Source code Learning content Localization Release notes Defect detection Codacy SonarQube Security Whitesource CheckMarx Deploy risk mitigation Blue/green deployments Automated post-release testing Deployment templates Standardized pipeline Containers Serverless Batch Key metrics Deployment frequency Change lead time Mean time to recover Change failure rate
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1 Autodesk’s CloudOS platform Product teams Automated CI/CD Pipeline AWS Cloud 2 Workloads Containers Batch Serverless Runtime Linux Windows GPU Infrastructure Zero-downtime patching Automated capacity management Monitoring, security, and compliance controls Standardized deploy, run, and monitor Cluster management Linux Windows GPU Batch WorkloadsCapacity AWS Batch
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Autodesk’s CloudOS platform Product teams Automated CI/CD pipeline Compliance framework 3 AWS Cloud Built-in security and compliance controls Automated change management and audit trailsStreamlined compliance
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Full-stack observability for individual services Container application Amazon EC2 nodes Amazon ECS cluster Infrastructure dependencies Single pane of glass Alerting and escalation
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Full-stack infrastructure observability Container application  Application performance monitoring (APM) agent  Unified logging Amazon EC2 nodes  Disk  Memory  CPU  Network I/O  Net response time  Docker daemon health  Security vulnerabilities  Orphan tasks  Amazon ECS agent status Amazon ECS cluster  Pending Amazon ECS tasks  AWS account limits  Auto Scaling group limits Infrastructure dependencies  Vault  Jenkins  ServiceNow  Artifactory Monitors ToolsStack
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Single pane of glass Standardized dashboards for key metrics Automated provisioning Service summary Key API metrics Service dependencies Underlying infrastructure
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Unified alerting and escalation Alerting source Incident record Service Operations Center (SOC) SME escalation I2I Process
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Need a consistent way to collect and measure metrics of services: MTTR: Forensics Incident management MTBF: Analytics Insights to drive features + resiliency MTTD: Monitoring Real-time operational problem detection and notification
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Unified Logging Problem Log data in various formats • Cross-service tracing impossible • Complexity for monitoring, forensics, analytics Solution Standardize the log data model • Annotate log records with distributed tracing states • Adopt OpenTracing (http://opentracing.io) • Provide SDK that supports major languages • Integrate with vendor APM products
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Example: Unified logging
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Unified logging architecture
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Unified logging – End-to-end tracing (AWS X-Ray)
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. .NET Go Go Django .NET Node.js Node.js Node.js Java GoNode.js Java
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Monitoring Degraded state .NETGo
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Degraded state Outage Latency Time (ms)
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resiliency patterns Traffic shaping Rate limiting Circuit breaking Retries Throttling
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Implementation options Microservice container In-process (SDK) Out-of-process (sidecar proxy) Microservice container Proxy Option 1 Option 2
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Implementation options Microservice container In-process (SDK) Out-of-process (sidecar proxy) Microservice Container Proxy Option 1 Option 2
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Option 1: In-process resiliency SDK SDK maintenance Application code changes Retrofitting Unknown dependencies … Java Scala Node.js Python C++ Django .NET GO … … MySQL (hosted + Amazon Relational Database Service (Amazon RDS)) Aurora Microsoft SQL Server PostgreSQL (hosted and Amazon RDS) Redis InfluxDB RabbitMQ MongoDB Amazon DynamoDB Cassandra … Languages Databases
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Implementation options Microservice container In-process (SDK) Out-of-process (sidecar proxy) Microservice container Proxy Option 1 Option 2
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Option 2: Side-car proxy Decouple operational logic and SDKs Microservice container Proxy Amazon ECS task / Kubernetes Pod Port 8081 Port 8080External traffic
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Option 2: Side-car proxy Out-of-process and language independent: Logging Tracing Metrics Resiliency patterns Separation of operational and business logic Integration with legacy services However…
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Centralized production-grade configuration of proxies at scale is difficult
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. We need a control plane Centralized location to manage configuration of proxies at scale Dynamic configuration reload without redeploying code Compatibility across different compute platforms Production-grade and fully managed
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Introducing AWS App Mesh
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS App Mesh configures every proxy Microservice Proxy
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Easily deliver configuration and receive data Infra Operator Application Developer Metrics Intent Microservice Proxy
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why AWS App Mesh Libraries or application code vs. mesh Overall—migrate to microservices safer and faster Reduce work required by developers Provide operational controls decoupled from application logic Use any language or platform Simplify visibility, troubleshooting, and deployments
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. App Mesh uses Envoy proxy
  • 50. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why AWS App Mesh vs. building or running your own mesh No need to spend on Dev to build and Ops to maintain Not tied to application deployment system (e.g., container orchestration) Works across different compute systems Gradual migration, onboard services one at a time
  • 51. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why AWS App Mesh vs. existing control plane solutions Works across clusters, container services Integrations with AWS and partner tools Run by AWS for scale and stability Extensible architecture from OSS base
  • 52. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Services connect directly
  • 53. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployments B B’ A
  • 54. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Traffic controls
  • 55. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application observability + others Universal metrics collection for a wide range of monitoring tools
  • 57. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Mesh – [sample_app] Elastic Load Balancing Virtual node A Service discovery Listener Backends Virtual node B Service discovery Listener Backends App MeshMicroservices How it works
  • 58. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Virtual node Virtual node Service discovery BackendsListeners Virtual node Logical representation of runtime services. Backends Set of destinations that this node will communicate with (hostnames) Service discovery Describes how its callers locate this node Listeners Policies to handle incoming traffic
  • 59. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Mesh – [sample_app] Virtual router HTTP route Targets: Prefix: / B B’ Virtual node A Service discovery Listener Backends Virtual node B Service discovery Listener Backends Virtual node B’ Service discovery Listener Backends Connecting microservices
  • 60. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployments B B’ A
  • 61. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Virtual router Virtual router HTTP route Prefix: / Targets: B B’
  • 62. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Representing your sample_app in AWS App Mesh Mesh – [sample_app] Service C Virtual router Virtual node C Service D Virtual router Virtual node D Service A Service B Virtual router Virtual node B
  • 63. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS App Mesh is available as a preview for all customers Observability and traffic control AWS container services compatibility Regions
  • 64. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS App Mesh is available as a preview for all customers Preview today, GA in 2019 Learn more at: aws.amazon.com/app-mesh github.com/awslabs/aws-app-mesh-examples
  • 65. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Evgeny Shulyatyev https://www.linkedin.com/in/evgeny-shulyatyev-741b3026 Nathan Taber https://www.linkedin.com/in/natetaber/
  • 66. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.