Repository navigation
Add a script for running apply-load on a fixed AWS instance. - #5256
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an AWS-focused orchestration script and template configs to run Stellar Core apply-load on a fixed-spec EC2 instance (intended for external orchestrators like Jenkins), using SSM for remote execution and log retrieval.
Changes:
- Add
apply_load_aws.pyCLI to provision/initialize an EC2 instance and runapply-loadmodes remotely (plus local equivalents). - Add template
.cfgfiles for the supportedapply-loadmodes (benchmark, ledger-limits, max-sac-tps) with CLI-populated placeholders. - Implement file transfer to the instance via S3+SSM and log download via SSM stdout chunking.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| scripts/apply_load/aws/apply_load_aws.py | New orchestration CLI for EC2/SSM-based apply-load runs, plus config rendering and log download. |
| scripts/apply_load/aws/apply-load-aws-benchmark.cfg | New template config for APPLY_LOAD_MODE="benchmark". |
| scripts/apply_load/aws/apply-load-aws-ledger-limits.cfg | New template config for APPLY_LOAD_MODE="ledger-limits" with network-limit knobs. |
| scripts/apply_load/aws/apply-load-aws-max-sac-tps.cfg | New template config for APPLY_LOAD_MODE="max-sac-tps" binary-search scenario. |
dmkozh
force-pushed
the
apply-load-aws
branch
2 times, most recently
from
May 7, 2026 01:10
5d988c7 to
69becf9
Compare
The primary use case is running this from an external orchestrator (Jenkins), though any machine with AWS access should be able to run this. This supports all the modes that Core currently supports. Eventually we may want to hardcode more parameters or scenarios, but for now this is rather flexible so that we can figure out what works best.
marta-lokhova
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The primary use case is running this from an external orchestrator (Jenkins), though any machine with AWS access should be able to run this.
This supports all the modes that Core currently supports. Eventually we may want to hardcode more parameters or scenarios, but for now this is rather flexible so that we can figure out what works best.
This is based on #5056, though probably most of the apply-load-related logic has been updated to reflect more modes and recent updates.
Checklist
clang-formatv8.0.0 (viamake formator the Visual Studio extension)