Share
Embed
Improving code quality and application availability using AWS AI Services
Nicolas DAVID
June 15, 2021
Transcript
19 slides
-
© 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 -
© 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 -
© 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 -
© 2017, Amazon Web Services, Inc. or its Affiliates. All
rights reserved. A typical software workflow Write & review Build & test Deploy Measure Improve Logging Debugging -
© 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 -
© 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 -
© 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 -
© 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 -
© 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 -
© 2017, Amazon Web Services, Inc. or its Affiliates. All
rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo -
© 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 -
© 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 -
© 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 -
© 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 -
© 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 -
© 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 -
© 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/ -
© 2017, Amazon Web Services, Inc. or its Affiliates. All
rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Q&A -
© 2017, Amazon Web Services, Inc. or its Affiliates. All
rights reserved. Thank you ! [email protected] @nuage_ninja @anamorph