- Newest
- Most votes
- Most comments
In case of batch shared drives are mounted inside the container and not on the compute node where the container is running. You can access the shared directories when submitting your jobs.
Please take a look at this example for further details: https://aws-parallelcluster.readthedocs.io/en/latest/tutorials/03_batch_mpi.html#running-your-first-job-using-aws-batch
Also when choosing awsbatch as scheduler you can use shared_dir, EBS, RAID and EFS. Just be aware that share drives (all except from EFS) are shared from the master node so you need to take this into account when choosing the instance type for your master node.
I just came across this recent ticket: https://github.com/aws/aws-parallelcluster/issues/829
which is similar to my situation. The following comment from @lukeseawalker sounds good to me:
.....when the scheduler is awsbatch, the custom_ami parameter only applies to the master node.
AWS Batch is docker based and at this time we don’t allow using custom ami’s.
The only way to have pre-installed software into the AWS Batch cluster, is through installing it into the shared filesystem which will be then mounted into the docker.....
but I'm not seeing the /shared directory on a compute node. Is there something more than setting the shared_dir config property to making this work with awsbatch? Do I need to use the ebs section?
Edited by: kimyx on Mar 13, 2019 8:17 PM
Edited by: kimyx on Mar 13, 2019 8:19 PM
That's great! I'd fought with setup for long enough that I forgot about that "shared secret" example. I can now successfully run the awsbatch mpi tutorial. I'll try the awsbatch efs configuration next.
Relevant content
- asked 6 years ago
- asked 6 years ago
- asked a month ago
- asked 6 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 months ago