nemo_gym.sandbox.providers.ecs_fargate
nemo_gym.sandbox.providers.ecs_fargate
ECS Fargate sandbox provider package.
Submodules
Package Contents
Classes
Functions
API
Configuration for the ECS Fargate sandbox.
Run sandboxes as AWS ECS Fargate tasks behind an SSH sidecar.
Release one borrowed connection while a shared provider stays in use.
Share the owner’s local exec-server forward with same-host Gym workers.
The creator must stay alive to own the SSH tunnel. AWS credentials and SSH private keys are resolved from provider configuration, never from this descriptor.
SSH sidecar container configuration.
exec_server_port set → exec-server mode (one-way tunnel). exec_server_port None → agent-server mode (two-way tunnel).
Build an EcsFargateConfig from provider kwargs.
When region is given but cluster is omitted, infrastructure is auto-discovered from SSM;
explicit kwargs always win over SSM.