Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Improving code quality and application availabi...

Improving code quality and application availability using AWS AI Services

Nicolas DAVID

June 15, 2021
Tweet

More Decks by Nicolas DAVID

Other Decks in Programming

Transcript

  1. © 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
  2. © 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
  3. © 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
  4. © 2017, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. A typical software workflow Write & review Build & test Deploy Measure Improve Logging Debugging
  5. © 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
  6. © 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
  7. © 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
  8. © 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
  9. © 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
  10. © 2017, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo
  11. © 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
  12. © 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
  13. © 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
  14. © 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
  15. © 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
  16. © 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
  17. © 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/
  18. © 2017, Amazon Web Services, Inc. or its Affiliates. All

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

    rights reserved. Thank you ! [email protected] @nuage_ninja @anamorph