Jenkins with AWS CodeDeploy -Learning by Doing
Greetings to everyone!!!
This is my fourth post in the AWS Learning by Doing series.
This time it is about the DevOps practice(CI/CD), where the developer’s check-in their code in source code repository(here I used github) and then followed by series of activities.
Sample project was taken from here. Made few changes and is currently sitting in my repository.
Below are the automated activities, which was built as part of my learning:
- Fetch the code from GitHub-->Build the code-->Build a test server-->Deploy it.
Modules used
Jenkins server(running locally) with GIT, AWS CodeDeploy plugin.
Terraform to build the EC2 instance and assigning elastic IP to the instance.(this would prevent from dynamic IP change and my JMeter script would hit same URL for every build).
AWS CodeDeploy – To deploy the code in the above built server.
- Load test the application sitting in EC2 instance-->Terminating that instance after the test
Modules used
Apache JMETER
Terraform to terminate the EC2 instance
Once the above activities are successfully completed, the prod server would be built and the same code gets deployed.
Demo Video is here(turn on the CC button when watching)
Nice doc! Short and crisp.