https://github.com/qainsights/packer-jmeter
🤖 This repo creates custom AMI for JMeter on AWS.
https://github.com/qainsights/packer-jmeter
amazon-web-services ami apache aws-ami hashicorp jmeter packer
Last synced: about 1 year ago
JSON representation
🤖 This repo creates custom AMI for JMeter on AWS.
- Host: GitHub
- URL: https://github.com/qainsights/packer-jmeter
- Owner: QAInsights
- Created: 2022-01-30T02:53:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T03:11:25.000Z (over 4 years ago)
- Last Synced: 2025-03-31T00:24:20.715Z (over 1 year ago)
- Topics: amazon-web-services, ami, apache, aws-ami, hashicorp, jmeter, packer
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[]()
[](https://saythanks.io/to/catch.nkn%40gmail.com)
[](https://qainsights.com)
[](https://qainsights.com)
[](https://www.youtube.com/user/QAInsights?sub_confirmation=1)
[](https://www.paypal.com/paypalme/NAVEENKUMARN)
# JMeter Packer
This repo creates custom AMI for JMeter on AWS.
# Prerequisites
* Packer
* AWS Console Access
# Usage
* Install Packer
* `git clone https://github.com/QAInsights/Packer-JMeter.git`
* `cd Packer-JMeter\file` or `cd Packer-JMeter\shell`
* `packer build .`
* Wait for a moment, typically it will take 3-5 minutes to create the AMI.
* The output contains the AMI ID and Region.
```
amazon-ebs.jmeter: output will be in this color.
==> amazon-ebs.jmeter: Prevalidating any provided VPC information
==> amazon-ebs.jmeter: Prevalidating AMI Name: jmeter_1643499054
amazon-ebs.jmeter: Found Image ID: ami-001089eb624938d9f
...
...
...
...
==> amazon-ebs.jmeter: No volumes to clean up, skipping
==> amazon-ebs.jmeter: Deleting temporary security group...
==> amazon-ebs.jmeter: Deleting temporary keypair...
Build 'amazon-ebs.jmeter' finished after 3 minutes 59 seconds.
==> Wait completed after 3 minutes 59 seconds
==> Builds finished. The artifacts of successful builds are:
--> amazon-ebs.jmeter: AMIs were created:
us-east-2: ami-095b20c4727d864cb
```
* Copy the AMI ID to spin up the instance on AWS.
# AMI Specifications
The AMI is created with the following specifications:
- Java Corretto
- Apache JMeter 5.4.3
- JMeter Plugins: jpgc-casutg,jpgc-functions
- `us-east-2` region
- Base image: `amzn2-ami-kernel-5.10-hvm-*-x86_64-gp2`
- Owner: `137112412989`
# Customize the specifications
To customize the AMI, open `jmeter-amazon.pkr.hcl` file and change the specifications.
# References
- https://apache.jmeter.org
- https://packer.io
- https://aws.amazon.com