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.

Image credit

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)

To view or add a comment, sign in

More articles by Anees Mohammed

  • sitespeed mcp server

    A lightweight FastMCP server that integrates Sitespeed.io with Claude / Github Copilot— enabling real-time performance…

  • Running load test using AWS App Runner

    Here is yet another way of running our load test when we want to put heavy load on the target system and have…

    2 Comments
  • Running a JMeter test in AWS ECS

    This would be crude method to run our JMX scripts with higher load(Steps here would be longer for first timers). This…

    3 Comments
  • AWS Lex with Lambda function – Learning by doing

    o Deployed the OpenCart application with XAMPP server on EC2 instances and connected the MYSQL RDS. o Wrote a lambda…

  • AWS VPC Peering Connection use case – learning by doing

    Amazon web services has got the VPC Peering connection as one among the component in their Virtual Private Cloud…

  • AWS - Learning by doing

    As performance test engineer- I always wonder about the dynamics of any IT systems. How could a website or an app can…

    2 Comments

Explore content categories