Networking modes for AWS Batch jobs
The following table describes the networking modes and typical usage for AWS Batch job types. See the links in the "Job type" column for more details regarding considerations and behaviors.
Job Type | Supported Network Mode(s) | Typical Usage |
---|---|---|
ECS-EC2 simple job | host |
Used for the highest scalable embarrasingly parallel batch workloads that only require egress to vpc defined in Compute Environment. |
ECS-EC2 multi-node parallel job | awsvpc |
Used for tightly-coupled, multi-host (node) distributed workloads modeled as a single job with coordinated communications between task-nodes. |
ECS-Fargate simple job | awsvpc |
True serverless for embarrasingly parallel batch workloads. Typically lowest TCO and highest container isolation job model. |
EKS-EC2 simple job | host and pod | Used for highly scalable embarrasingly parallel batch workloads that only require egress to vpc defined in Compute Environment. Default is host networking. |
EKS-EC2 multi-node parallel job | host and pod | Used for tightly-coupled, multi-host (node) distributed workloads modeled as a single job with coordinated communications between pod-nodes. Default is host networking. |