EC2 fleets made easy
Forge exposes all string and numeric (ints and floats) variables from the combined user and environmental configs, some extra variables, and any environment-specific additional variables (regardless of type) to be used in tags (defined in the environment yaml), run_cmd, and user_data configs.
tags
tags:
- Key: "Name"
Value: "{name}-{market}-{task}-{date}"
user_data
aws ec2 describe-instances --filters "Name=tag:Name,Values={name}-{market_master}-{service}-master-{date}"
run_cmd
run_cmd: single_run.sh {ip} carsforge/jupyter-example:latest
cluster_master, cluster_worker, or singleip - This is the IP of the master in a cluster (only exposed to run_cmd)
name of each individual parameters defined in additional_config will be passes.