This template creates a managed compute environment called `C4OnDemand` that uses C4 On-Demand instances and a custom AMI. It specifies the maximum and minimum number of vCPUs, security group IDs, subnets, instance types, EC2 key pair, and desired number of vCPUs. The compute environment is enabled.

ComputeEnvironment
AWS::Batch::ComputeEnvironment


ComputeResources
Ec2Configuration

InstanceTypes

LaunchTemplate

SecurityGroupIds

Subnets

CloudFormation Template

Share Template