You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,9 @@ A NodeJS Lambda function for the API microservices. Integrated with Amazon API G
24
24
**source/console**<br/>
25
25
ReactJS Single page application to provide a GUI to the solutions. Authenticated through Amazon Cognito this dashboard allows users to Create tests and view the final results.
26
26
27
-
**source/container**<br/>
28
-
The Taurus DockerFile and bash script run at start of the test to download the test definition from S3. This is the source file for the image pipeline to build and deploy the Docker image to Amazon ECR. Details on Taurus can be found [here](https://gettaurus.org/).
29
-
30
27
**source/custom-resource**<br/>
31
28
A NodeJS Lambda function used as a CloudFormation custom resource for configuring Amazon S3 bucket notifications and to send anonymous metrics.
32
29
33
-
**source/ecr-checker**<br/>
34
-
A NodeJS Lambda function that checks if the Amazon ECR is ready or not.
35
-
36
30
**source/results-parser**<br/>
37
31
A NodeJS Lambda function used to write the xml output from the docker images to Amazon DynamoDB and generate the final results for each test.
38
32
@@ -51,7 +45,7 @@ To make changes to the solution, download or clone this repo, update the source
51
45
52
46
### Prerequisites:
53
47
*[AWS Command Line Interface](https://aws.amazon.com/cli/)
54
-
* Node.js 12.x or later
48
+
* Node.js 14.x or later
55
49
56
50
### 1. Clone the Distributed Load Testing on AWS solution repository
57
51
Clone the ```distributed-load-testing-on-aws``` GitHub repository, then make the desired code changes.
@@ -74,6 +68,8 @@ export REGION=aws-region-code # the AWS region to launch the solution (e.g. us-e
74
68
export DIST_OUTPUT_BUCKET=my-bucket-name # bucket where customized code will reside
75
69
export SOLUTION_NAME=my-solution-name
76
70
export VERSION=my-version # version number for the customized code
71
+
export PUBLIC_ECR_REGISTRY=public.ecr.aws/awssolutions/distributed-load-testing-on-aws-load-tester # replace with the container registry and image if you want to use a different container image
72
+
export PUBLIC_ECR_TAG=v2.0 # replace with the container image tag if you want to use a different container image
* Get the link of the `distributed-load-testing-on-aws.template` uploaded to your Amazon S3 bucket.
103
99
* Deploy the Distributed Load Testing on AWS solution to your account by launching a new AWS CloudFormation stack using the link of the `distributed-load-testing-on-aws.template`.
104
100
101
+
## Creating a custom container build
102
+
This solution uses a public Amazon Elastic Container Registry (Amazon ECR) image repository managed by AWS to store the solution container image that is used to run the configured tests. If you want to customize the container image, you can rebuild and push the image into an ECR image repository in your own AWS account.
103
+
For details on how to customize the container image, please see the **Container image customization** section of the [implementation guide](https://docs.aws.amazon.com/solutions/latest/distributed-load-testing-on-aws/container-image.html).
105
104
106
105
## Collection of operational metrics
107
-
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/distributed-load-testing-on-aws/operational-metrics.html).
108
106
107
+
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/distributed-load-testing-on-aws/operational-metrics.html).
109
108
***
110
109
111
110
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.<br />
0 commit comments