Architecture details
This section describes the components and AWS services that make up this solution and the architecture details on how these components work together.
The Distributed Load Testing on AWS solution consists of three high-level components: a front end, a backend, and an optional MCP Server.
AWS services in this solution
The following AWS services are included in this solution:
| AWS service | Description |
|---|---|
|
Core. Hosts REST API endpoints in the solution. |
|
|
Core. Manages deployments for the solution infrastructure. |
|
|
Core (default deployment only). Serves the web content hosted in Amazon S3 when using the default CloudFront + S3 hosting option. |
|
|
Core (ALB + ECS Fargate deployment only). Serves the web console when using the ALB + ECS Fargate deployment option. |
|
|
Supporting, Optional (ALB + ECS Fargate deployment only). Provides web application firewall protection for the ALB and ECS hosted web console. |
|
|
Core. Stores the solution logs and metrics. |
|
|
Core. Handles user management and authentication for the API. |
|
|
Core. Stores deployment information and tests scenario details and results. |
|
|
Core. Deploys and manages independent Amazon ECS tasks on AWS Fargate containers. |
|
|
Core. Hosts solution's Amazon ECS containers |
|
|
Core. Handles user role and permissions management. |
|
|
Core. Provides logic for APIs implementation, tests results parsing, and launching workers/leader tasks. |
|
|
Core. Orchestrates the provisioning of Amazon ECS containers on AWS Fargate tasks in the specified regions |
|
|
Supporting. Provides a web console powered by AWS Amplify |
|
|
Supporting. Routes Amazon ECS task and Step Functions failure events to failure handler Lambda functions, and schedules tests to automatically begin at a specified date or on recurring dates using EventBridge Scheduler. |
|
|
Supporting. Hosts the container image in a public ECR repository. |
|
|
Supporting. Enables viewing live data for a running test by subscribing to the corresponding topic in AWS IoT Core. |
|
|
Supporting. Provides application-level resource monitoring and visualization of resource operations and cost data. |
|
|
Supporting. Hosts the static web content, logs, metrics, and tests data. |
|
|
Supporting. Contains the solution's Amazon ECS containers running on AWS Fargate. |
|
|
Supporting, Optional. Hosts the solution's optional Remote Model Context Protocol (MCP) Server for AI agent integration with API. |