I'm using AWS Batch for ML model-runs on Gnothi. I'm using hugginface/transformers, UKPLab/sentence-transformers, Gensim, spaCy, and more which download large model artifacts (ml-tools). I could add these to the Dockerfile run by Batch via their CLI download commands (eg python -m spacy download en), but the Dockerfile would be huge, incurring an unnecessary provision uptime cost to Batch. It's preferred to download these models once to an external mounted file-system, for re-mount & re-use across all the Batch runs. AWS's own tutorial on this was pretty lacking, so here are my steps.
scp in files.chown root.