- Create a new compute environment in AWS Batch with additional EC2 instance types.
- Associate the new compute environment to the priority job queue.
- Remove the old compute environment.
To do this, you need to make some changes in Job Queues
and Compute Environments
.
Expand the option Additional settings: service role, instance role, EC2 key pair
c5.9xlarge
: 72.0 GiB / 36 vCPUsc5n.9xlarge
: 96.0 GiB / 36 vCPUsm5.8xlarge
: 128.0 GiB / 32 vCPUsm5.12xlarge
: 192.0 GiB / 48 vCPUsm5n.8xlarge
: 128.0 GiB / 32 vCPUsm5n.12xlarge
: 192.0 GiB / 48 vCPUsr5.8xlarge
: 256.0 GiB / 32 vCPUsr5.12xlarge
: 384.0 GiB / 48 vCPUsr5n.8xlarge
: 256.0 GiB / 32 vCPUsr5n.12xlarge
: 384.0 GiB / 48 vCPUs
Expand the option Additional settings: launch template, user specified AMI
Click the Create compute environment
button to save the changes.
Choose the queue that your new compute environment to be added to.
Select your new compute environment and make sure to move it to the top of the order so that it can be used before any other environment (or remove all other environments).