SlideShare a Scribd company logo
Revolutionize DevOps with ML capabilities
Deep dive into DevOps Guru and CodeGuru
Vadym Kazulkin, ip.labs, 14 June 2022
Contact
Vadym Kazulkin
ip.labs GmbH Bonn, Germany
Co-Organizer of the Java User Group Bonn
v.kazulkin@gmail.com
@VKazulkin
https://www.linkedin.com/in/vadymkazulkin
https://www.iplabs.de/
ip.labs
https://www.iplabs.de/
AWS DevOps Guru
What is AWS DevOps Guru
Amazon DevOps Guru is a service powered by machine learning
(ML) that is designed to make it easy to improve an application’s
operational performance and availability
DevOps Guru helps detect behaviors that deviate from normal
operating patterns so you can identify operational issues long
before they impact your customers
• increased latency
• error rates (timeouts, throttles)
• resource constraints (exceeding AWS account limits)
https://aws.amazon.com/devops-guru
Benefits of DevOps Guru
https://aws.amazon.com/devops-guru
How DevOps Guru work
https://aws.amazon.com/devops-guru
DevOps Guru integration in 3rd party incident
management tools
https://aws.amazon.com/devops-guru
• PagerDuty
• Atlassian Opsgenie
DevOps Guru Example Application
DevOps Guru Set Up
DevOps Guru Integration with PagerDuty
https://www.pagerduty.com/docs/guides/amazon-devops-guru-integration-guide/
DevOps Guru Integration with PagerDuty
Enter „Integration
URL“ generated by
PagerDuty
DevOps Guru Dashboard
DevOps Guru Dashboard
DevOps Guru Insights
DevOps Guru PagerDuty Incidents
• Design test experiment to provoke errors and latency increase
• Reduce the service quote of the AWS service (API
Gateway, Lambda, DynamoDB)
• Set very low service quotas for the sake of
reducing AWS costs only
• Add latency artificially
• Stress test with JMeter to run into the operational issues
• See if the DevOps Guru recognized the operational issues
• Remediate the operational issues by increasing service quote
or removing the artificial latency
• See If DevOps Guru closes the incident
DevOps Guru Examples
| CONFIDENTIAL
21
DevOps Guru: Recognize operational issues
in DynamoDB
DevOps Guru Examples: DynamoDB Throttling
DevOps Guru Examples: DynamoDB Throttling
stress test and empty burst credits
DevOps Guru Examples: DynamoDB Throttling
DevOps Guru: Recognize operational issues
in API Gateway
DevOps Guru Examples: API Gateway Throttling
DevOps Guru Examples: API Gateway Throttling
DevOps Guru: Recognize operational issues
in Lambda
DevOps Guru Examples: Lambda Throttling
DevOps Guru Examples: Lambda Throttling
DevOps Guru Examples: Lambda Timeout Error
Add 11 sec
sleep in the
code of the
Lambda
function
DevOps Guru Examples: Lambda Timeout Error
DevOps Guru Examples: Lambda Increased
Latency
Temporary add
9.5 sec sleep in
the code of the
Lambda function
DevOps Guru Examples: Lambda Increased
Latency
• Lambda concurrent executions reaching account limit
• Triggered when concurrent executions reach an account limit for a continuous period. Reduce the
service quote of the AWS service (API Gateway, Lambda, DynamoDB)
• Lambda Provisioned Concurrency function limit breached
• Triggered when the reserved amount of provisioned concurrency is not enough over a period.
Stress test with JMeter to run into the operational issues
• Lambda timeout high compared to SQS’s visibility timeout
• Triggered when the duration of the lambda function exceeds the visibility timeout for the event
source Amazon Simple Queue Service (Amazon SQS).
Other operational issues and the proactive
insights 1/2
| CONFIDENTIAL
38
https://aws.amazon.com/de/blogs/aws/automatically-detect-operational-issues-in-lambda-functions-with-amazon-devops-guru-for-serverless/
• Account read/write capacity for DynamoDB consumption reaching account limit
• Triggered when the account consumed capacity is approaching account-level limits during a
period of time.
• DynamoDB table consumed capacity reaching AutoScaling Maximum parameter limit
• Triggered when table consumed capacity is reaching AutoScaling Max parameters limit over a
period.
• DynamoDB read/write consumption lower than expected
• Triggered when the value for ProvisionedWriteCapacityUnits or ProvisionedReadCapacityUnits is
far from what is being consumed during a period of time
Other operational issues and the proactive
insights 2/2
| CONFIDENTIAL
39
https://aws.amazon.com/de/blogs/aws/automatically-detect-operational-issues-in-lambda-functions-with-amazon-devops-guru-for-serverless/
DevOps Guru Conclusions
• All errors have been correctly recognized so far
• It took several minutes to create an incident after anomaly
appeared
• Tested mainly in the context of AWS Serverless stack
• AWS is responsible for monitoring those managed services
• Not all PagerDuty alarms have been automatically closed after
the incident resolution
• Especially in case there have been several anomalies within
one incident
DevOps Guru for RDS
https://aws.amazon.com/devops-guru/features/devops-guru-for-rds/ https://aws.amazon.com/de/blogs/devops/leverage-devops-guru-for-rds-to-detect-anomalies-and-resolve-operational-issues/
AWS CodeGuru
What is AWS CodeGuru
Amazon CodeGuru is a developer tool that provides intelligent
recommendations to improve code quality and identify an
application’s most expensive lines of code
• CodeGuru Reviewer uses machine learning and automated
reasoning to identify critical issues, security vulnerabilities, and
hard-to-find bugs during application development and provides
recommendations to improve code quality
• CodeGuru Profiler helps developers find an application’s most
expensive lines of code by helping them understand the runtime
behavior of their applications, identify and remove code
inefficiencies and improve performance
https://aws.amazon.com/codeguru
Benefits of CodeGuru
• CodeGuru Reviewer benefits
• Catch code problems before they hit production
• Proactively improve code quality with continuous monitoring
• CodeGuru Profiler benefits
• Troubleshoot performance issues
• Discover anomalies and common issues in your application
performance
• Catch your most expensive line of code
https://aws.amazon.com/codeguru
CodeGuru Programming Language Support
• Java
• Python
CodeGuru
CodeGuru Reviewer in Java
CodeGuru Setup
CodeGuru Setup
CodeGuru Reviewer Scans
• Full repository analysis
• Incremental code reviews (pull requests)
Java Code for CodeGuru Analysis
CodeGuru Reviewer Recommendation
The recommendations for Java fall into the following categories:
• AWS best practices
• Security
• Resource leaks
• Concurrency
• Integration with Infer (https://fbinfer.com/)
• detect null pointer dereferences, thread safety violations and
improper use of synchronization locks
• General best practices on data structures, control flow, exception
handling, and more
https://aws.amazon.com/de/blogs/devops/improving-aws-java-applications-with-amazon-codeguru-reviewer/
CodeGuru Review Full Repository Analysis
What's different between the AWS SDK for Java
1.x and 2.x
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-whats-different.html
CodeGuru Review AWS Best Practices with
Java SDK V1
CodeGuru Review AWS Best Practices with
Java SDK V1
CodeGuru Review AWS Best Practices with
Java SDK V1
CodeGuru Review AWS Best Practices with
Java SDK V2
CodeGuru Review other AWS Best Practices
CodeGuru Review Concurrency
CodeGuru Review Concurrency
CodeGuru Review Resource Leak
CodeGuru Review Security
CodeGuru Review Security
CodeGuru Incremental Review
Occurs automatically when creating a pull request with CodeGuru associated
with CodeCommit repository
CodeGuru Review Expected, but No Findings
https://aws.amazon.com/de/blogs/devops/tightening-application-security-with-amazon-codeguru/
CodeGuru vs SonarQube
CodeGuru vs SonarQube
• CodeGuru currently support only 2 languages vs SonarQube
supporting 20+
• CodeGuru is much powerful in detecting AWS best practices
(including AWS security best practices)
• SonarQube is much more powerful detecting common Java
issues
• SonarQube is better at detecting OWASP Top 10-related issues
CodeGuru vs SonarQube
• Code Repositories
• CodeGuru
• SonarQube
• CI Integration
• CodeGuru
• SonarQube
CodeGuru vs SonarQube
• SonarQube plugin eco system is much more powerful
• SonarLint alternative on the CodeGuru side is currently missing
• Use CodeGuru in conjunction with SonarQube
CodeGuru Conclusions
• Very good findings for AWS best practices when using Java SDK
V1
• Many missing findings with Java SDK V2 compared to 1
• Many officially described security findings are not detected in my
examples
• Full repository scans are very expensive
• Use incremental code reviews (pull requests) scan as much
as possible
Revolutionize DevOps with ML capabilities. Introduction to Amazon CodeGuru and DevOps Guru at  We Are Developers World Congress 2022
www.iplabs.de
Accelerate Your Photo Business
Get in Touch
Ad

More Related Content

Similar to Revolutionize DevOps with ML capabilities. Introduction to Amazon CodeGuru and DevOps Guru at We Are Developers World Congress 2022 (14)

Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 LondonAmazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Vadym Kazulkin
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
Craeg Strong
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Emerson Eduardo Rodrigues Von Staffen
 
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
Cloud Native Day Tel Aviv
 
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
Vadym Kazulkin
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Chase Douglas
 
Serverless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloadsServerless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloads
Tensult
 
muCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless ApplicationsmuCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless Applications
Chris Munns
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
 
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Vadym Kazulkin
 
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
Craeg Strong
 
DevOps On AWS - Deep Dive on Continuous Delivery
DevOps On AWS - Deep Dive on Continuous DeliveryDevOps On AWS - Deep Dive on Continuous Delivery
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
 
Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 LondonAmazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Amazon DevOps Guru for Serverless Applications at DevOpsCon 2024 London
Vadym Kazulkin
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
Craeg Strong
 
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Emerson Eduardo Rodrigues Von Staffen
 
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
Cloud Native Day Tel Aviv
 
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
How to reduce cold starts for Java Serverless applications in AWS at InfoShar...
Vadym Kazulkin
 
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User GroupIs Serverless The New Swiss Cheese? - AWS Seattle User Group
Is Serverless The New Swiss Cheese? - AWS Seattle User Group
Chase Douglas
 
Serverless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloadsServerless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloads
Tensult
 
muCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless ApplicationsmuCon 2017 - 12 Factor Serverless Applications
muCon 2017 - 12 Factor Serverless Applications
Chris Munns
 
AWS DevOps: Introduction to DevOps on AWS
  AWS DevOps: Introduction to DevOps on AWS  AWS DevOps: Introduction to DevOps on AWS
AWS DevOps: Introduction to DevOps on AWS
Datacademy.ai
 
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Amazon CodeGuru vs SonarQube for Java Developers at JCon 2022
Vadym Kazulkin
 
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
20211202 North America DevOps Group NADOG Adapting to Covid With Serverless C...
Craeg Strong
 
DevOps On AWS - Deep Dive on Continuous Delivery
DevOps On AWS - Deep Dive on Continuous DeliveryDevOps On AWS - Deep Dive on Continuous Delivery
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
 

More from Vadym Kazulkin (20)

How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
Vadym Kazulkin
 
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Making sense of AWS Serverless operations- AWS User Group NurembergMaking sense of AWS Serverless operations- AWS User Group Nuremberg
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
Vadym Kazulkin
 
Making sense of AWS Serverless operations at Believe in Serverless community ...
Making sense of AWS Serverless operations at Believe in Serverless community ...Making sense of AWS Serverless operations at Believe in Serverless community ...
Making sense of AWS Serverless operations at Believe in Serverless community ...
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
Vadym Kazulkin
 
Making sense of AWS Serverless operations - Amarathon Geek China 2024
Making sense of AWS Serverless operations - Amarathon Geek China 2024Making sense of AWS Serverless operations - Amarathon Geek China 2024
Making sense of AWS Serverless operations - Amarathon Geek China 2024
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Meetup Toronto
High performance Serverless Java on AWS- Serverless Meetup TorontoHigh performance Serverless Java on AWS- Serverless Meetup Toronto
High performance Serverless Java on AWS- Serverless Meetup Toronto
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Architecture Conference B...
High performance Serverless Java on AWS- Serverless Architecture Conference B...High performance Serverless Java on AWS- Serverless Architecture Conference B...
High performance Serverless Java on AWS- Serverless Architecture Conference B...
Vadym Kazulkin
 
Making sense of AWS Serverless operations- Serverless Architecture Conference...
Making sense of AWS Serverless operations- Serverless Architecture Conference...Making sense of AWS Serverless operations- Serverless Architecture Conference...
Making sense of AWS Serverless operations- Serverless Architecture Conference...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
High performance Serverless Java on AWS- AWS Community Day Budapest 2024
High performance Serverless Java on AWS- AWS Community Day Budapest 2024High performance Serverless Java on AWS- AWS Community Day Budapest 2024
High performance Serverless Java on AWS- AWS Community Day Budapest 2024
Vadym Kazulkin
 
Making sense of AWS Serverless operations AWS Community Day NL 2024-
Making sense of AWS Serverless operations AWS Community Day NL 2024-Making sense of AWS Serverless operations AWS Community Day NL 2024-
Making sense of AWS Serverless operations AWS Community Day NL 2024-
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution ...
Event-driven architecture patterns in highly scalable image storage solution ...Event-driven architecture patterns in highly scalable image storage solution ...
Event-driven architecture patterns in highly scalable image storage solution ...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
High performance Serverless Java on AWS at We Are Developers 2024
High performance Serverless Java on AWS at We Are Developers 2024High performance Serverless Java on AWS at We Are Developers 2024
High performance Serverless Java on AWS at We Are Developers 2024
Vadym Kazulkin
 
High performance Serverless Java on AWS at AWS Community Day Belfast 2024
High performance Serverless Java on AWS at AWS Community Day Belfast 2024High performance Serverless Java on AWS at AWS Community Day Belfast 2024
High performance Serverless Java on AWS at AWS Community Day Belfast 2024
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Wa...
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
High performance Serverless Java on AWS- Serverless Architecture Javaland 2025
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda-OBI ...
Vadym Kazulkin
 
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Making sense of AWS Serverless operations- AWS User Group NurembergMaking sense of AWS Serverless operations- AWS User Group Nuremberg
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at V...
Vadym Kazulkin
 
Making sense of AWS Serverless operations at Believe in Serverless community ...
Making sense of AWS Serverless operations at Believe in Serverless community ...Making sense of AWS Serverless operations at Believe in Serverless community ...
Making sense of AWS Serverless operations at Believe in Serverless community ...
Vadym Kazulkin
 
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
How to develop, run and optimize Spring Boot 3 application on AWS Lambda at I...
Vadym Kazulkin
 
Making sense of AWS Serverless operations - Amarathon Geek China 2024
Making sense of AWS Serverless operations - Amarathon Geek China 2024Making sense of AWS Serverless operations - Amarathon Geek China 2024
Making sense of AWS Serverless operations - Amarathon Geek China 2024
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...Event-driven architecture patterns in highly scalable image storage solution-...
Event-driven architecture patterns in highly scalable image storage solution-...
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Meetup Toronto
High performance Serverless Java on AWS- Serverless Meetup TorontoHigh performance Serverless Java on AWS- Serverless Meetup Toronto
High performance Serverless Java on AWS- Serverless Meetup Toronto
Vadym Kazulkin
 
High performance Serverless Java on AWS- Serverless Architecture Conference B...
High performance Serverless Java on AWS- Serverless Architecture Conference B...High performance Serverless Java on AWS- Serverless Architecture Conference B...
High performance Serverless Java on AWS- Serverless Architecture Conference B...
Vadym Kazulkin
 
Making sense of AWS Serverless operations- Serverless Architecture Conference...
Making sense of AWS Serverless operations- Serverless Architecture Conference...Making sense of AWS Serverless operations- Serverless Architecture Conference...
Making sense of AWS Serverless operations- Serverless Architecture Conference...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
High performance Serverless Java on AWS- AWS Community Day Budapest 2024
High performance Serverless Java on AWS- AWS Community Day Budapest 2024High performance Serverless Java on AWS- AWS Community Day Budapest 2024
High performance Serverless Java on AWS- AWS Community Day Budapest 2024
Vadym Kazulkin
 
Making sense of AWS Serverless operations AWS Community Day NL 2024-
Making sense of AWS Serverless operations AWS Community Day NL 2024-Making sense of AWS Serverless operations AWS Community Day NL 2024-
Making sense of AWS Serverless operations AWS Community Day NL 2024-
Vadym Kazulkin
 
Event-driven architecture patterns in highly scalable image storage solution ...
Event-driven architecture patterns in highly scalable image storage solution ...Event-driven architecture patterns in highly scalable image storage solution ...
Event-driven architecture patterns in highly scalable image storage solution ...
Vadym Kazulkin
 
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Detect operational anomalies in Serverless Applications with Amazon DevOps Gu...
Vadym Kazulkin
 
High performance Serverless Java on AWS at We Are Developers 2024
High performance Serverless Java on AWS at We Are Developers 2024High performance Serverless Java on AWS at We Are Developers 2024
High performance Serverless Java on AWS at We Are Developers 2024
Vadym Kazulkin
 
High performance Serverless Java on AWS at AWS Community Day Belfast 2024
High performance Serverless Java on AWS at AWS Community Day Belfast 2024High performance Serverless Java on AWS at AWS Community Day Belfast 2024
High performance Serverless Java on AWS at AWS Community Day Belfast 2024
Vadym Kazulkin
 
Ad

Recently uploaded (20)

Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Mastering Advance Window Functions in SQL.pdf
Mastering Advance Window Functions in SQL.pdfMastering Advance Window Functions in SQL.pdf
Mastering Advance Window Functions in SQL.pdf
Spiral Mantra
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Mastering Advance Window Functions in SQL.pdf
Mastering Advance Window Functions in SQL.pdfMastering Advance Window Functions in SQL.pdf
Mastering Advance Window Functions in SQL.pdf
Spiral Mantra
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Ad

Revolutionize DevOps with ML capabilities. Introduction to Amazon CodeGuru and DevOps Guru at We Are Developers World Congress 2022

  • 1. Revolutionize DevOps with ML capabilities Deep dive into DevOps Guru and CodeGuru Vadym Kazulkin, ip.labs, 14 June 2022
  • 2. Contact Vadym Kazulkin ip.labs GmbH Bonn, Germany Co-Organizer of the Java User Group Bonn [email protected] @VKazulkin https://www.linkedin.com/in/vadymkazulkin https://www.iplabs.de/
  • 5. What is AWS DevOps Guru Amazon DevOps Guru is a service powered by machine learning (ML) that is designed to make it easy to improve an application’s operational performance and availability DevOps Guru helps detect behaviors that deviate from normal operating patterns so you can identify operational issues long before they impact your customers • increased latency • error rates (timeouts, throttles) • resource constraints (exceeding AWS account limits) https://aws.amazon.com/devops-guru
  • 6. Benefits of DevOps Guru https://aws.amazon.com/devops-guru
  • 7. How DevOps Guru work https://aws.amazon.com/devops-guru
  • 8. DevOps Guru integration in 3rd party incident management tools https://aws.amazon.com/devops-guru • PagerDuty • Atlassian Opsgenie
  • 9. DevOps Guru Example Application
  • 11. DevOps Guru Integration with PagerDuty https://www.pagerduty.com/docs/guides/amazon-devops-guru-integration-guide/
  • 12. DevOps Guru Integration with PagerDuty Enter „Integration URL“ generated by PagerDuty
  • 17. • Design test experiment to provoke errors and latency increase • Reduce the service quote of the AWS service (API Gateway, Lambda, DynamoDB) • Set very low service quotas for the sake of reducing AWS costs only • Add latency artificially • Stress test with JMeter to run into the operational issues • See if the DevOps Guru recognized the operational issues • Remediate the operational issues by increasing service quote or removing the artificial latency • See If DevOps Guru closes the incident DevOps Guru Examples | CONFIDENTIAL 21
  • 18. DevOps Guru: Recognize operational issues in DynamoDB
  • 19. DevOps Guru Examples: DynamoDB Throttling
  • 20. DevOps Guru Examples: DynamoDB Throttling stress test and empty burst credits
  • 21. DevOps Guru Examples: DynamoDB Throttling
  • 22. DevOps Guru: Recognize operational issues in API Gateway
  • 23. DevOps Guru Examples: API Gateway Throttling
  • 24. DevOps Guru Examples: API Gateway Throttling
  • 25. DevOps Guru: Recognize operational issues in Lambda
  • 26. DevOps Guru Examples: Lambda Throttling
  • 27. DevOps Guru Examples: Lambda Throttling
  • 28. DevOps Guru Examples: Lambda Timeout Error Add 11 sec sleep in the code of the Lambda function
  • 29. DevOps Guru Examples: Lambda Timeout Error
  • 30. DevOps Guru Examples: Lambda Increased Latency Temporary add 9.5 sec sleep in the code of the Lambda function
  • 31. DevOps Guru Examples: Lambda Increased Latency
  • 32. • Lambda concurrent executions reaching account limit • Triggered when concurrent executions reach an account limit for a continuous period. Reduce the service quote of the AWS service (API Gateway, Lambda, DynamoDB) • Lambda Provisioned Concurrency function limit breached • Triggered when the reserved amount of provisioned concurrency is not enough over a period. Stress test with JMeter to run into the operational issues • Lambda timeout high compared to SQS’s visibility timeout • Triggered when the duration of the lambda function exceeds the visibility timeout for the event source Amazon Simple Queue Service (Amazon SQS). Other operational issues and the proactive insights 1/2 | CONFIDENTIAL 38 https://aws.amazon.com/de/blogs/aws/automatically-detect-operational-issues-in-lambda-functions-with-amazon-devops-guru-for-serverless/
  • 33. • Account read/write capacity for DynamoDB consumption reaching account limit • Triggered when the account consumed capacity is approaching account-level limits during a period of time. • DynamoDB table consumed capacity reaching AutoScaling Maximum parameter limit • Triggered when table consumed capacity is reaching AutoScaling Max parameters limit over a period. • DynamoDB read/write consumption lower than expected • Triggered when the value for ProvisionedWriteCapacityUnits or ProvisionedReadCapacityUnits is far from what is being consumed during a period of time Other operational issues and the proactive insights 2/2 | CONFIDENTIAL 39 https://aws.amazon.com/de/blogs/aws/automatically-detect-operational-issues-in-lambda-functions-with-amazon-devops-guru-for-serverless/
  • 34. DevOps Guru Conclusions • All errors have been correctly recognized so far • It took several minutes to create an incident after anomaly appeared • Tested mainly in the context of AWS Serverless stack • AWS is responsible for monitoring those managed services • Not all PagerDuty alarms have been automatically closed after the incident resolution • Especially in case there have been several anomalies within one incident
  • 35. DevOps Guru for RDS https://aws.amazon.com/devops-guru/features/devops-guru-for-rds/ https://aws.amazon.com/de/blogs/devops/leverage-devops-guru-for-rds-to-detect-anomalies-and-resolve-operational-issues/
  • 37. What is AWS CodeGuru Amazon CodeGuru is a developer tool that provides intelligent recommendations to improve code quality and identify an application’s most expensive lines of code • CodeGuru Reviewer uses machine learning and automated reasoning to identify critical issues, security vulnerabilities, and hard-to-find bugs during application development and provides recommendations to improve code quality • CodeGuru Profiler helps developers find an application’s most expensive lines of code by helping them understand the runtime behavior of their applications, identify and remove code inefficiencies and improve performance https://aws.amazon.com/codeguru
  • 38. Benefits of CodeGuru • CodeGuru Reviewer benefits • Catch code problems before they hit production • Proactively improve code quality with continuous monitoring • CodeGuru Profiler benefits • Troubleshoot performance issues • Discover anomalies and common issues in your application performance • Catch your most expensive line of code https://aws.amazon.com/codeguru
  • 39. CodeGuru Programming Language Support • Java • Python
  • 43. CodeGuru Reviewer Scans • Full repository analysis • Incremental code reviews (pull requests)
  • 44. Java Code for CodeGuru Analysis
  • 45. CodeGuru Reviewer Recommendation The recommendations for Java fall into the following categories: • AWS best practices • Security • Resource leaks • Concurrency • Integration with Infer (https://fbinfer.com/) • detect null pointer dereferences, thread safety violations and improper use of synchronization locks • General best practices on data structures, control flow, exception handling, and more https://aws.amazon.com/de/blogs/devops/improving-aws-java-applications-with-amazon-codeguru-reviewer/
  • 46. CodeGuru Review Full Repository Analysis
  • 47. What's different between the AWS SDK for Java 1.x and 2.x https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-whats-different.html
  • 48. CodeGuru Review AWS Best Practices with Java SDK V1
  • 49. CodeGuru Review AWS Best Practices with Java SDK V1
  • 50. CodeGuru Review AWS Best Practices with Java SDK V1
  • 51. CodeGuru Review AWS Best Practices with Java SDK V2
  • 52. CodeGuru Review other AWS Best Practices
  • 58. CodeGuru Incremental Review Occurs automatically when creating a pull request with CodeGuru associated with CodeCommit repository
  • 59. CodeGuru Review Expected, but No Findings https://aws.amazon.com/de/blogs/devops/tightening-application-security-with-amazon-codeguru/
  • 61. CodeGuru vs SonarQube • CodeGuru currently support only 2 languages vs SonarQube supporting 20+ • CodeGuru is much powerful in detecting AWS best practices (including AWS security best practices) • SonarQube is much more powerful detecting common Java issues • SonarQube is better at detecting OWASP Top 10-related issues
  • 62. CodeGuru vs SonarQube • Code Repositories • CodeGuru • SonarQube • CI Integration • CodeGuru • SonarQube
  • 63. CodeGuru vs SonarQube • SonarQube plugin eco system is much more powerful • SonarLint alternative on the CodeGuru side is currently missing • Use CodeGuru in conjunction with SonarQube
  • 64. CodeGuru Conclusions • Very good findings for AWS best practices when using Java SDK V1 • Many missing findings with Java SDK V2 compared to 1 • Many officially described security findings are not detected in my examples • Full repository scans are very expensive • Use incremental code reviews (pull requests) scan as much as possible
  • 66. www.iplabs.de Accelerate Your Photo Business Get in Touch