quick-lighter-52296
05/22/2023, 11:25 AMmflog 'Setting up task environment.' && python -m pip install awscli requests boto3 -qqq && ...
If my EC2 machine is overloaded with more than 30-40 tasks this step starts taking around 1 minute due to congested network. As you can imagine I am reluctant to pay an overhead of 1 minute when my total task runtime is <10s. Do you guys have any ideas on how I can avoid this install? We package all our application-level dependencies via a docker container, I am willing to package these dependnecies into it as well if there’s a way to disable this statement.