SlideShare a Scribd company logo
1 of 82
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Improving observability of your
containers
C O N 3 2 8 - R
Shubha Rao
Principal Product Manager
AWS
Akshay Ram
Sr. Product Manager
AWS
Sharanya Devaraj
Software Development
Engineer
AWS
What does improving observability mean?
Full stack visibility: Customers wanted to get visibility into the different
layers of your stack, especially the app level
Visibility into all layers of the application stack
Fullstackvisibility
Application level: Each
service, between services
Container service level:
Services, tasks, pods
Compute service level:
Clusters, instances
What does improving observability mean?
Compatibility with existing tools: Customers wanted our container
services to work well with current systems
Compatibility with existing toolset
Compatibility with existing toolset
AWS-Managed: Amazon
CloudWatch, AWS X-Ray etc.
APN Partner: Datadog, Splunk,
Sysdig etc.
Self-Managed: Prometheus,
ELK stack, etc.
What does improving observability mean?
Run anywhere: Customers wanted to have the same observability
independent of their compute (Amazon EC2 or AWS Fargate) or
orchestrator (Amazon ECS or Amazon EKS)
Flexibility to run anywhere without changing tools
Deployment, scheduling,
scaling, and management of
containerized applications
Where the containers run
App 1
Amazon Elastic
Kubernetes Service
(Amazon EKS)
Amazon EC2 AWS Fargate
Orchestration
Compute Engine
Application
Amazon Elastic
Container Service
(Amazon ECS)
App 2 App 3
Built by different teams with
different programming
languages and protocols, and
deployed on different services
Use the same tools across compute options
Runonanycomputeoption
Amazon ECS
Amazon EKS
Amazon EC2 mode
AWS Fargate
Observability experiences that support all optionsFullstackvisibility
Application
Container service
Compute
Compatibility with existing toolset
AWS-Managed APN Partner Self-Managed
Runonanycomputeoption
Amazon ECS
Amazon EKS
Amazon EC2
mode
AWS Fargate
In this talk, you will hear more about…Fullstackvisibility
Application
Container service
Compute
Compatibility with existing toolset
AWS-Managed APN Partner Self-Managed
Runonanycomputeoption
Amazon ECS
Amazon EKS
Amazon EC2
mode
AWS Fargate
AWS Outposts
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS App Mesh: Managing application
communications across AWS
Consistency across
teams
Failure visibility and
isolation
Communication
management
Fine-grained
deployment controls
My App
What is AWS App Mesh?
My App
Search
My App
My App
My App
Recommendations
Frontend
Service mesh to manage communication between services
What is AWS App Mesh?
Search
Service mesh to manage communication between services
Proxy
SearchProxy
SearchProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
What is AWS App Mesh?
Search
Service mesh to manage communication between services
Proxy
SearchProxy
SearchProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
What is AWS App Mesh?
Search
Service mesh to manage communication between services
Proxy
SearchProxy
SearchProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Metrics, logs and tracing solution
What is AWS App Mesh?
Search
Service mesh to manage communication between services
Proxy
SearchProxy
SearchProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
RecommendationsProxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Frontend Proxy
Amazon
ECS
Amazon
EKS
Amazon
EC2
AWS App Mesh
Kubernetes on
AWS
AWS
Fargate
App Mesh works with Amazon CloudWatch
Frontend Proxy
CloudWatch
Agent
AWS-ManagedCustomer-Managed
App Mesh works with AWS Partner Network (APN)
Partner solutions
Frontend Proxy
Statsd
Agent
APN Partner-ManagedCustomer-Managed
AWS App Mesh works with self-managed solutions
Frontend Proxy /stats/prometheus
Self-ManagedCustomer-Managed
App Mesh powers dashboards to troubleshoot
Per service
dashboard
Service to
service
dashboard
Tracing
dashboards
CloudWatch Dashboards for front-end service
Prometheus: Per-service dashboard
Prometheus: Service-to-Service Dashboard
Get application-centric visualization using AWS X-Ray
Amazon CloudWatch ServiceLens brings logs, traces,
and metrics together* NEW!!
AWS App Mesh enriches application-level visibilityFullstackvisibility
Application
Container service
Compute
Compatibility with existing toolset
AWS-Managed APN Partner Self-Managed
Runonanycomputeoption
Amazon ECS
Amazon EKS
Amazon EC2
mode
AWS Fargate
AWS Outposts
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Compatibility with existing tools
Challenges
• Need support for a wider
array of analytics and
storage tools
• Decouple configuration and
lifecycle management of
telemetry software from
underlying compute
Solution
• Independent configuration
and lifecycle of telemetry
software
• Extensive community as
built on Fluent Bit and
compatible with Fluentd
• AWS manages the lifecycle
of the Fluent Bit image
FireLens: One interface, many destinations
One interface, many destinations
Send logs natively to AWS and APN Partner log
analytics and storage tools
Levers to reduce costs
You can send logs to cold storage and pull on
demand to analytics tools
De-couples log ingestion pipelines
You can configure the log routing separately through
a config file that is decoupled from the application
FireLens: Under the hood
https://aws.amazon.com/blogs/containers/under-the-hood-
firelens-for-amazon-ecs-tasks/
FireLens: Interface
//App container
"logConfiguration": {
"logDriver":"awsfirelens",
"options": {
"Name": "datadog | sumologic | splunk | loggly | Kinesis Firehose | Kinesis
Data Streams| CloudWatch",
"apiKey": "<API_KEY>",
}
"secretOptions": [{ "name": "apiKey",
"valueFrom": "arn:aws:secretsmanager:region:aws_account_id:secret:secret_name-
AbCdEf" }]
}
//FluentBit sidecar
{
"essential":true,
"image":"amazon/aws-for-fluent-bit:latest",
"name":"log_router",
"firelensConfiguration":{ "type":"fluentbit", "options":{ "enable-ecs-log-
metadata":"true" } }
}
FireLens enables sending logs to almost any destinationFullstackvisibility
Application
Container service
Compute
Compatibility with existing toolset
AWS Managed Partner Self Managed
Runonanycomputeoption
ECS
EKS
EC2 mode
AWS Fargate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Container Platform Agnostic
Challenges
• Customers had teams that
self preferred differing
container services products
• Mix of using self-managed
and fully managed services
for monitoring
• Consistent interface to
observe services running
across environments
Solution
• Launched Container
Insights, which works across
ECS, EKS and AWS Fargate
CloudWatch Container Insights
Agent
Dashboards
Events
Logs
Metrics
A fully managed observability service for
monitoring, troubleshooting and alarming
on your containerized applications and
microservices.
 Reliable, secure metrics and logs
collection
 Automated summaries and analysis
 Observability experience across metrics,
logs, traces
 Pre-created dashboards
Alarms
CloudWatch Container Insights – Performance Logs
Performance log
events from ECS,
EKS, Fargate
CloudWatch
Aggregation at
various levels
depending on
service
CloudWatch
Dashboards with
Metrics and
Performance Logs
Enabling Container Insights on ECS/Fargate
Enabling Container Insights on EKS
Container Insights provides dashboards for troubleshootingFullstackvisibility
Application
Container service
Compute
Compatibility with existing toolset
AWS Managed Partner Self Managed
Runonanycomputeoption
ECS
EKS
EC2 mode
AWS Fargate
Use Cases
• Debugging at the infrastructure level
• Clusters, Nodes/Instances resource utilization, health information
• Example: Cluster CPU, Memory consumption
• Debugging at the Container Service level
• Services, Tasks/Pods, Container level metrics and logs
• Example: Service task count, Task/Pod Memory Utilization
• Debugging at the Application level
• CloudWatch Application logs
• App Mesh - Envoy Metrics
• Example – Log insights querying for application specific information
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Cloud
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shubha Rao
shubha@amazon.com
Akshay Ram
akshram@amazon.com
Sharanya Devaraj
sharanyd@amazon.com
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sample Application
Ruby Frontend Service
Frontend Task Definition
Frontend Task Definition
Backend Services
Application Load
Container Insights
AWS Cloud
ECS Cluster Dashboard
EKS Cluster Dashboard
EKS Cluster Dashboard
EKS Nodes Dashboard
AWS Cloud
ECS Service Dashboard
Search functionality
Add more fields to Dashboard
ECS Tasks Dashboard
EKS Services Dashboard
Envoy Metrics from App Mesh
Envoy Latency Metrics
Time Range Feature
Finding Hot Tasks
EKS Network Metrics
Resize Fargate Task
Fargate Service Update
Performance Logs
Log Insights
More Performance Logs Querying
Application Logs
CloudWatch Logs
Application Log Insights
Application Log Insights
App Mesh Request Metrics
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shubha Rao
shubha@amazon.com
Akshay Ram
akshram@amazon.com
Sharanya Devaraj
sharanyd@amazon.com
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Deep Dive on Serverless Application Development NY Loft
Deep Dive on Serverless Application Development NY LoftDeep Dive on Serverless Application Development NY Loft
Deep Dive on Serverless Application Development NY LoftAmazon Web Services
 
The Cloud as a Platform
The Cloud as a PlatformThe Cloud as a Platform
The Cloud as a Platformjineshvaria
 
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Amazon Web Services
 
Workshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSWorkshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSAmazon Web Services
 
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...lanfranf
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesAmazon Web Services
 
Basics AWS Presentation
Basics AWS PresentationBasics AWS Presentation
Basics AWS PresentationShyam Kumar
 
AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)Amazon Web Services
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWSAmazon Web Services
 
AWS Webcast - What is Cloud Computing with AWS
AWS Webcast - What is Cloud Computing with AWSAWS Webcast - What is Cloud Computing with AWS
AWS Webcast - What is Cloud Computing with AWSAmazon Web Services
 
What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?Amazon Web Services
 
Best Practices for Getting Started with AWS
Best Practices for Getting Started with AWSBest Practices for Getting Started with AWS
Best Practices for Getting Started with AWSAmazon Web Services
 
Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101André Faria Gomes
 
muCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless ApplicationsmuCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless ApplicationsChris Munns
 
HSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundationsHSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundationsAmazon Web Services
 
AWS Presentation
AWS PresentationAWS Presentation
AWS Presentationjlechowicz
 
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...Amazon Web Services
 

What's hot (20)

Deep Dive on Serverless Application Development NY Loft
Deep Dive on Serverless Application Development NY LoftDeep Dive on Serverless Application Development NY Loft
Deep Dive on Serverless Application Development NY Loft
 
The Cloud as a Platform
The Cloud as a PlatformThe Cloud as a Platform
The Cloud as a Platform
 
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
Building APIs with Amazon API Gateway: re:Invent 2018 Recap at the AWS Loft -...
 
Workshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSWorkshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECS
 
Deep Dive into AWS SAM
Deep Dive into AWS SAMDeep Dive into AWS SAM
Deep Dive into AWS SAM
 
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
AWSome Day, Milan | 5 Marzo 2015 - Contenuto Tecnico (Danilo Poccia - AWS Sol...
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Basics AWS Presentation
Basics AWS PresentationBasics AWS Presentation
Basics AWS Presentation
 
AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)AWS re:Invent 2016: Operating Your Production API (SVR402)
AWS re:Invent 2016: Operating Your Production API (SVR402)
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
AWS Webcast - What is Cloud Computing with AWS
AWS Webcast - What is Cloud Computing with AWSAWS Webcast - What is Cloud Computing with AWS
AWS Webcast - What is Cloud Computing with AWS
 
What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?What is Cloud Computing with Amazon Web Services?
What is Cloud Computing with Amazon Web Services?
 
Operating Your Production API
Operating Your Production APIOperating Your Production API
Operating Your Production API
 
Best Practices for Getting Started with AWS
Best Practices for Getting Started with AWSBest Practices for Getting Started with AWS
Best Practices for Getting Started with AWS
 
Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101
 
AWS Re Invent 2019 Recap
AWS Re Invent 2019 Recap AWS Re Invent 2019 Recap
AWS Re Invent 2019 Recap
 
muCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless ApplicationsmuCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless Applications
 
HSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundationsHSBC and AWS Day - AWS foundations
HSBC and AWS Day - AWS foundations
 
AWS Presentation
AWS PresentationAWS Presentation
AWS Presentation
 
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
 

Similar to re:Invent 2019 CON328R Improving observability of your containers

[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and FirecrackerAmazon Web Services Korea
 
Aws serverless multi-tier_architectures
Aws serverless multi-tier_architecturesAws serverless multi-tier_architectures
Aws serverless multi-tier_architecturessonpro2312
 
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Amazon Web Services
 
re:Invent Recap: Security Week at the SF Loft
re:Invent Recap: Security Week at the SF Loftre:Invent Recap: Security Week at the SF Loft
re:Invent Recap: Security Week at the SF LoftAmazon Web Services
 
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless CloudSRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless CloudAmazon Web Services
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)Amazon Web Services
 
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudHybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudKumton Suttiraksiri
 
Testing of Serverless Application on Amazon WebService Cloud
Testing of Serverless Application on Amazon WebService CloudTesting of Serverless Application on Amazon WebService Cloud
Testing of Serverless Application on Amazon WebService CloudRustam Zeynalov
 
Raleigh DevDay 2017: Building CICD pipelines for serverless applications
Raleigh DevDay 2017: Building CICD pipelines for serverless applicationsRaleigh DevDay 2017: Building CICD pipelines for serverless applications
Raleigh DevDay 2017: Building CICD pipelines for serverless applicationsAmazon Web Services
 
AWS User Group Hungary - re:Invent review
AWS User Group Hungary - re:Invent reviewAWS User Group Hungary - re:Invent review
AWS User Group Hungary - re:Invent reviewAttila Lengyel
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudAmazon Web Services
 
Application Performance Management on AWS - ARC317 - re:Invent 2017
Application Performance Management on AWS - ARC317 - re:Invent 2017Application Performance Management on AWS - ARC317 - re:Invent 2017
Application Performance Management on AWS - ARC317 - re:Invent 2017Amazon Web Services
 
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)Amazon Web Services
 
AWS Webinar: What is Cloud Computing? November 2013
AWS Webinar: What is Cloud Computing?  November 2013AWS Webinar: What is Cloud Computing?  November 2013
AWS Webinar: What is Cloud Computing? November 2013Amazon Web Services
 
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...Application Lifecycle Management in a Serverless World | AWS Public Sector Su...
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...Amazon Web Services
 
Architecting in Cloud : Your Guide to AWS
Architecting in Cloud : Your Guide to AWSArchitecting in Cloud : Your Guide to AWS
Architecting in Cloud : Your Guide to AWSEdureka!
 
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017Amazon Web Services
 
Raleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applicationsRaleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applicationsAmazon Web Services
 

Similar to re:Invent 2019 CON328R Improving observability of your containers (20)

[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
 
Aws serverless multi-tier_architectures
Aws serverless multi-tier_architecturesAws serverless multi-tier_architectures
Aws serverless multi-tier_architectures
 
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
Building CICD Pipelines for Serverless Applications - DevDay Los Angeles 2017
 
re:Invent Recap: Security Week at the SF Loft
re:Invent Recap: Security Week at the SF Loftre:Invent Recap: Security Week at the SF Loft
re:Invent Recap: Security Week at the SF Loft
 
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless CloudSRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
 
App Service Web
App Service WebApp Service Web
App Service Web
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
 
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudHybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
 
Testing of Serverless Application on Amazon WebService Cloud
Testing of Serverless Application on Amazon WebService CloudTesting of Serverless Application on Amazon WebService Cloud
Testing of Serverless Application on Amazon WebService Cloud
 
What is Cloud Computing?
What is Cloud Computing?What is Cloud Computing?
What is Cloud Computing?
 
Raleigh DevDay 2017: Building CICD pipelines for serverless applications
Raleigh DevDay 2017: Building CICD pipelines for serverless applicationsRaleigh DevDay 2017: Building CICD pipelines for serverless applications
Raleigh DevDay 2017: Building CICD pipelines for serverless applications
 
AWS User Group Hungary - re:Invent review
AWS User Group Hungary - re:Invent reviewAWS User Group Hungary - re:Invent review
AWS User Group Hungary - re:Invent review
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
Application Performance Management on AWS - ARC317 - re:Invent 2017
Application Performance Management on AWS - ARC317 - re:Invent 2017Application Performance Management on AWS - ARC317 - re:Invent 2017
Application Performance Management on AWS - ARC317 - re:Invent 2017
 
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
AWS re:Invent 2016: Develop Your Migration Toolkit (ENT312)
 
AWS Webinar: What is Cloud Computing? November 2013
AWS Webinar: What is Cloud Computing?  November 2013AWS Webinar: What is Cloud Computing?  November 2013
AWS Webinar: What is Cloud Computing? November 2013
 
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...Application Lifecycle Management in a Serverless World | AWS Public Sector Su...
Application Lifecycle Management in a Serverless World | AWS Public Sector Su...
 
Architecting in Cloud : Your Guide to AWS
Architecting in Cloud : Your Guide to AWSArchitecting in Cloud : Your Guide to AWS
Architecting in Cloud : Your Guide to AWS
 
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
Building CICD Pipelines for Serverless Applications - DevDay Austin 2017
 
Raleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applicationsRaleigh DevDay 2017: Building serverless web applications
Raleigh DevDay 2017: Building serverless web applications
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 

re:Invent 2019 CON328R Improving observability of your containers

  • 1.
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Improving observability of your containers C O N 3 2 8 - R Shubha Rao Principal Product Manager AWS Akshay Ram Sr. Product Manager AWS Sharanya Devaraj Software Development Engineer AWS
  • 3. What does improving observability mean? Full stack visibility: Customers wanted to get visibility into the different layers of your stack, especially the app level
  • 4. Visibility into all layers of the application stack Fullstackvisibility Application level: Each service, between services Container service level: Services, tasks, pods Compute service level: Clusters, instances
  • 5. What does improving observability mean? Compatibility with existing tools: Customers wanted our container services to work well with current systems
  • 6. Compatibility with existing toolset Compatibility with existing toolset AWS-Managed: Amazon CloudWatch, AWS X-Ray etc. APN Partner: Datadog, Splunk, Sysdig etc. Self-Managed: Prometheus, ELK stack, etc.
  • 7. What does improving observability mean? Run anywhere: Customers wanted to have the same observability independent of their compute (Amazon EC2 or AWS Fargate) or orchestrator (Amazon ECS or Amazon EKS)
  • 8. Flexibility to run anywhere without changing tools Deployment, scheduling, scaling, and management of containerized applications Where the containers run App 1 Amazon Elastic Kubernetes Service (Amazon EKS) Amazon EC2 AWS Fargate Orchestration Compute Engine Application Amazon Elastic Container Service (Amazon ECS) App 2 App 3 Built by different teams with different programming languages and protocols, and deployed on different services
  • 9. Use the same tools across compute options Runonanycomputeoption Amazon ECS Amazon EKS Amazon EC2 mode AWS Fargate
  • 10. Observability experiences that support all optionsFullstackvisibility Application Container service Compute Compatibility with existing toolset AWS-Managed APN Partner Self-Managed Runonanycomputeoption Amazon ECS Amazon EKS Amazon EC2 mode AWS Fargate
  • 11. In this talk, you will hear more about…Fullstackvisibility Application Container service Compute Compatibility with existing toolset AWS-Managed APN Partner Self-Managed Runonanycomputeoption Amazon ECS Amazon EKS Amazon EC2 mode AWS Fargate AWS Outposts
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. AWS App Mesh: Managing application communications across AWS Consistency across teams Failure visibility and isolation Communication management Fine-grained deployment controls
  • 14. My App What is AWS App Mesh? My App Search My App My App My App Recommendations Frontend Service mesh to manage communication between services
  • 15. What is AWS App Mesh? Search Service mesh to manage communication between services Proxy SearchProxy SearchProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy
  • 16. What is AWS App Mesh? Search Service mesh to manage communication between services Proxy SearchProxy SearchProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy
  • 17. What is AWS App Mesh? Search Service mesh to manage communication between services Proxy SearchProxy SearchProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Metrics, logs and tracing solution
  • 18. What is AWS App Mesh? Search Service mesh to manage communication between services Proxy SearchProxy SearchProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy RecommendationsProxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Frontend Proxy Amazon ECS Amazon EKS Amazon EC2 AWS App Mesh Kubernetes on AWS AWS Fargate
  • 19. App Mesh works with Amazon CloudWatch Frontend Proxy CloudWatch Agent AWS-ManagedCustomer-Managed
  • 20. App Mesh works with AWS Partner Network (APN) Partner solutions Frontend Proxy Statsd Agent APN Partner-ManagedCustomer-Managed
  • 21. AWS App Mesh works with self-managed solutions Frontend Proxy /stats/prometheus Self-ManagedCustomer-Managed
  • 22. App Mesh powers dashboards to troubleshoot Per service dashboard Service to service dashboard Tracing dashboards
  • 23. CloudWatch Dashboards for front-end service
  • 27. Amazon CloudWatch ServiceLens brings logs, traces, and metrics together* NEW!!
  • 28. AWS App Mesh enriches application-level visibilityFullstackvisibility Application Container service Compute Compatibility with existing toolset AWS-Managed APN Partner Self-Managed Runonanycomputeoption Amazon ECS Amazon EKS Amazon EC2 mode AWS Fargate AWS Outposts
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 30. Compatibility with existing tools Challenges • Need support for a wider array of analytics and storage tools • Decouple configuration and lifecycle management of telemetry software from underlying compute Solution • Independent configuration and lifecycle of telemetry software • Extensive community as built on Fluent Bit and compatible with Fluentd • AWS manages the lifecycle of the Fluent Bit image
  • 31. FireLens: One interface, many destinations One interface, many destinations Send logs natively to AWS and APN Partner log analytics and storage tools Levers to reduce costs You can send logs to cold storage and pull on demand to analytics tools De-couples log ingestion pipelines You can configure the log routing separately through a config file that is decoupled from the application
  • 32. FireLens: Under the hood https://aws.amazon.com/blogs/containers/under-the-hood- firelens-for-amazon-ecs-tasks/
  • 33. FireLens: Interface //App container "logConfiguration": { "logDriver":"awsfirelens", "options": { "Name": "datadog | sumologic | splunk | loggly | Kinesis Firehose | Kinesis Data Streams| CloudWatch", "apiKey": "<API_KEY>", } "secretOptions": [{ "name": "apiKey", "valueFrom": "arn:aws:secretsmanager:region:aws_account_id:secret:secret_name- AbCdEf" }] } //FluentBit sidecar { "essential":true, "image":"amazon/aws-for-fluent-bit:latest", "name":"log_router", "firelensConfiguration":{ "type":"fluentbit", "options":{ "enable-ecs-log- metadata":"true" } } }
  • 34. FireLens enables sending logs to almost any destinationFullstackvisibility Application Container service Compute Compatibility with existing toolset AWS Managed Partner Self Managed Runonanycomputeoption ECS EKS EC2 mode AWS Fargate
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 36. Container Platform Agnostic Challenges • Customers had teams that self preferred differing container services products • Mix of using self-managed and fully managed services for monitoring • Consistent interface to observe services running across environments Solution • Launched Container Insights, which works across ECS, EKS and AWS Fargate
  • 37. CloudWatch Container Insights Agent Dashboards Events Logs Metrics A fully managed observability service for monitoring, troubleshooting and alarming on your containerized applications and microservices.  Reliable, secure metrics and logs collection  Automated summaries and analysis  Observability experience across metrics, logs, traces  Pre-created dashboards Alarms
  • 38. CloudWatch Container Insights – Performance Logs Performance log events from ECS, EKS, Fargate CloudWatch Aggregation at various levels depending on service CloudWatch Dashboards with Metrics and Performance Logs
  • 39. Enabling Container Insights on ECS/Fargate
  • 41. Container Insights provides dashboards for troubleshootingFullstackvisibility Application Container service Compute Compatibility with existing toolset AWS Managed Partner Self Managed Runonanycomputeoption ECS EKS EC2 mode AWS Fargate
  • 42. Use Cases • Debugging at the infrastructure level • Clusters, Nodes/Instances resource utilization, health information • Example: Cluster CPU, Memory consumption • Debugging at the Container Service level • Services, Tasks/Pods, Container level metrics and logs • Example: Service task count, Task/Pod Memory Utilization • Debugging at the Application level • CloudWatch Application logs • App Mesh - Envoy Metrics • Example – Log insights querying for application specific information
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 45. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shubha Rao shubha@amazon.com Akshay Ram akshram@amazon.com Sharanya Devaraj sharanyd@amazon.com
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 63. Add more fields to Dashboard
  • 66. Envoy Metrics from App Mesh
  • 80. App Mesh Request Metrics
  • 81. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shubha Rao shubha@amazon.com Akshay Ram akshram@amazon.com Sharanya Devaraj sharanyd@amazon.com
  • 82. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Editor's Notes

  1. Talk about how customers need observability here… while there exists a lot of instrumentation on the instance and the service level, applications was a bling spot. Every team uses a differnt languages , every team uses a different layer some serverless some manage clusters so clusters are important
  2. The current AWS container services landscape covers a broad set of products. At the orchestration layer we’ve Amazon ECS and Amazon EKS. EKS makes it easy to deploy, manage, and scale containerized applications using Kubernetes on AWS. You can currently run your containers on ECS using either the EC2 launch type – where get to manage the the underlying instances on which your containers are running - or you can choose to run your containers in a serverless manner with the AWS Fargate launch type. Finally, we provide a registry services, Amazon ECR, where you can store your container images.
  3. Another recent release that we recently shipped working from customer use cases is Firelens. Firelens was build working from feedback from customers, especially on AWS Fargate. For context when Fargate shipped at reinvent in 2017 we had only cloudwatch support. Customers who fall in to the patner, other AWS or self managed segmented wanted a better way to send their log data from containers running on fargate to their preffered tool of choice.
  4. Another recent release that we recently shipped working from customer use cases is Firelens. Firelens was build working from feedback from customers, especially on AWS Fargate. For context when Fargate shipped at reinvent in 2017 we had only cloudwatch support. Customers who fall in to the partner or other AWS or self managed segmented wanted a better way to send their log data from containers running on fargate to their preferred tool of choice. As we spoke to customers further we realized here are different teams that manage ingestion pipelie.
  5. We contributed Kinesis Firehose, Kinesis Data Streams, Cloud watch fluent bit plugins. Customers can use these to get to S3, Amazon Elasticsearch, Redshit We worked with partners to contribute to or vet their Fluentd solutions You can use FluentBit features to send logs to outputs based on importance. Lets say you want to send logs straight to S3 you can keep logs there and pull later on demand to tools We noticed sometime there are two separate teams that configure the log ingestion from the application. Independently configure ingestin
  6. This is how it works under the hood. We build all plubing from container to a sidecar Fluent Bit container. They talk via a unix socket.
  7. Clearly you can see there are a lot of options to send to any destination. What this means is customers get compatability which ever service they use, even a fully managed service like AWS Fargate. Now let me hand it to Sharanya who is going to speak about Container Insights and how it helps in the context of better observability.
  8. Initially, we learned from customers that there were teams in the organization that preferred using different container orchestration solutions for building applications, be it microservices/ devops. This was mainly due to different developer experiences and ease of use. With different container services, they used different tools for getting observability into their applications. For eg: in ECS/Fargate world, customers relied on cloudwatch for getting cluster/service level monitoring. EKS customers integrated 3rd party solutions such as Prometheus to get observability into their clusters. Many times, these different microservices talked to each other in some way or the other. Hence the missing piece here was a single unified tool that provides observability for services running across different platforms.
  9. Lets dive into what container insights is.  Container insights is a fully managed observability service integrated with amazon cloud watch for providing visibility into your containerized applications and micro services  What does container insights provide? Metrics aggregated on different levels of the stack namely  infrastructure, application,  ECS/EKS clusters that contains EC2 instances, you could get cluster/instance or node cpu,memory, disk utilization. It drills down even further and provides metrics and logs at the task or pod level  and even down to individual containers.  What could you do with it? Cloudwatch provides mechanisms for monitoring, alarming which customers could leverage for debugging when say there is an operation issue.  It also provides automated dashboards at different aggregation level for better visualization of the metrics 
  10. How does container insights do that ? Cloud watch gets it metrics from the respective container orchestrators in the form of performance log events in a JSON schema that contain the metrics. Cloudwatch uses these log events to perform aggregations based on the container services for example: your ECS or fargate tasks or pods in EKS  One good thing is these performance log events are available to customers as well, which when combined with log insights can be used for powerful querying and analysis of the applications. 
  11. Now that we know what container insights is and how does it work., lets look at enabling container insights for ECS/fargate  You could use the put account setting API for enabling container insights for all the new clusters that would be created using that account  If you already have existing clusters, you could use update cluster level settings api to turn on container insights monitoring.  or you could simply use the account settings field when you’re creating a new cluster if you want to turn on insights for selected clusters.  A recent new feature with container insights is you could get container instance level monitoring by deploying the cloudwatch agent as a daemon service 
  12.  - for EKS, its simple. you deploy CW agent as a daemon set in your cluster.  And there is a simple one click setup script for that available in the container insights documentation. 
  13. Let us go over the architecture of the application. There is a frontend service that is a ruby on rails application running on top of fargate, since it’s a serverless workload. It talks to a couple of backend services. One is a crystal backend service that’s again running on top of fargate and the other backend service is a nodejs application running on top of EKS. Each service has about 3 copies of the task running.