Create a compute environment
Before you can run jobs in Amazon Batch, you need to create a compute environment. You can create a managed compute environment where Amazon Batch manages the Amazon EC2 instances or Amazon Fargate resources within the environment based on your specifications. Or, alternatively, you can create an unmanaged compute environment where you handle the Amazon EC2 instance configuration within the environment.
Important
Fargate Spot instances are not supported in the following scenarios:
-
On Amazon Linux containers with ARM64 architecture.
-
Windows containers on Amazon Fargate
A job queue will be blocked in these scenarios if a job is submitted to a job queue that only uses Fargate Spot compute environments.
Topics
- Tutorial: Create a managed compute environment using Fargate resources
- Tutorial: Create a managed compute environment using Amazon EC2 resources
- Tutorial: Create an unmanaged compute environment using Amazon EC2 resources
- Tutorial: Create a managed compute environment using Amazon EKS resources
- Resource: Compute environment template