- Automate Code Reviews
- Application Performance Recommendations
├── aws-codeguru-profiler-ec2
└── aws-codeguru-reviewer
└── src
├── main
│ └── java
│ └── com
│ ├── acme
│ │ └── basic
│ └── com
│ └── shipmentEvents
│ ├── demo
│ ├── handlers
│ └── util
└── test
└── java
└── com
└── acme
└── basic
- Fork the Github repo to your github account. Goto https://github.com/berry2012/maven-codeguru
- Clone the repo to your local machine.
- Goto AWS Console > AWS Code Guru, then click Associate to associate the forked repository
- Connect to your Github Account
- Create your own branch or use the
aws-meetup-naijabranch. Push code or edit code in the branch - Goto Github, Create PR to master
- Check CodeGuru for recommendations
git checkout -b aws-meetup-naija
git add --all
git commit -m 'added sample files'
git push --set-upstream origin staging
- Goto AWS Console > AWS CodeGuru, create a profiler group called
MyProfilingGroup cd aws-codeguru-profiler-ec2- Launch an EC2 instance. For this demo, I used the EC2 A1 instance. Amazon EC2 A1 instances deliver up to 45% cost savings for scale-out applications and are powered by AWS Graviton Processors that feature 64-bit Arm Neoverse cores and custom silicon designed by AWS.
- copy the script in the installation.sh and add it to
user-datawhen launching the instance. - Once the instance is running, you can check the public-ip of your instance to check the Java app
- Also, Goto AWS Console > AWS CodeGuru and visualize you Java app