Slide 1

Slide 1 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Nicolas David Senior Digital Innovation Technical Lead MEA Worldwide Public Sector Improving code quality and application availability using AWS AI Services Software Engineering Symposium, UoB June 21st, 2021

Slide 2

Slide 2 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Challenges with application lifecycle Amazon CodeGuru Overview Demo Integrating Amazon CodeGuru to CI/CD Pipeline Conclusion & Next Steps Q&A

Slide 3

Slide 3 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenges with application lifecycle

Slide 4

Slide 4 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A typical software workflow Write & review Build & test Deploy Measure Improve Logging Debugging

Slide 5

Slide 5 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A typical software workflow Write & review Build & test Deploy Measure Improve Logging Debugging Inefficient code

Slide 6

Slide 6 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenges with the application lifecycle Difficult for developers to visualize the most expensive lines of code and how to fix them Code analysis tools lack industry standard best practices Time consuming for developers to identify problematic code

Slide 7

Slide 7 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CodeGuru overview

Slide 8

Slide 8 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CodeGuru A developer tool powered by machine learning that provides intelligent recommendations for improving code quality and identifying an application’s most expensive lines of code

Slide 9

Slide 9 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Augment different steps in the application development cycle Optimizes application performance and identifies the most expensive lines of code, saving compute and infrastructure costs Uses machine learning to identify critical issues and hard-to-find bugs, improving code quality and recommending how to remediate them Amazon CodeGuru Reviewer Amazon CodeGuru Profiler

Slide 10

Slide 10 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo

Slide 11

Slide 11 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CodeGuru Reviewer • Integration to Pull Request • Repository Analysis • Source code and build artifact analysis (Java only) Amazon CodeGuru Profiler • Setup for EC2 based application • Setup for Lambda based application

Slide 12

Slide 12 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Integrating Amazon CodeGuru to CI/CD Pipeline

Slide 13

Slide 13 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Integrating Amazon CodeGuru to CI/CD Pipeline AWS Regional Cloud CodeGuru service Reviewer Reviewer CodeCommit CodeBuild CodeDeploy CI / CD pipeline Cloud9 IDE New code Developers Deploy Recommendations Visualization Feedback Profiler Profiler private endpoint Internet Traffic VPC

Slide 14

Slide 14 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conclusions & next steps

Slide 15

Slide 15 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conclusion & next steps Conclusion CALL TO ACTION / NEXT STEPS Team agility Increase throughput of code reviews using CodeGuru Amazon CodeGuru Reviewer › Identifies code defects and provides actionable recommendations on code fixes › Integration with pull requests › Repository analysis for existing repository and artifacts

Slide 16

Slide 16 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conclusion & next steps Conclusion CALL TO ACTION / NEXT STEPS Amazon CodeGuru Profiler › Actionable recommendations on performance issues › Application onboarding on EC2 and Lambda › Rich visualizations to help troubleshoot issues

Slide 17

Slide 17 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Conclusion & next steps Conclusion CALL TO ACTION / NEXT STEPS Try CodeGuru with the free trial – no charge for the first 90 days Sample application codes – https://github.com/aws-samples/amazon- codeguru-reviewer-sample-app https://github.com/aws-samples/aws-codeguru- profiler-demo-application Get started at https://aws.amazon.com/codeguru/

Slide 18

Slide 18 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A

Slide 19

Slide 19 text

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you ! [email protected] @nuage_ninja @anamorph