By using AWS re:Post, you agree to the AWS re:Post Terms of Use

In AWS Batch, EC2, why I am not getting any instance provided when I ask a profile superior to 36 CPU?

0

I have a running job application in AWS Batch, ECS environment and it works as expected.

I generally request a 36 CPU instance to process my jobs. The batch platform fins a 36 cpu instance in few minutes and starts processing my job.

When I request more than 36cpu capacity I will wait forever but will not get any ECS instance assigned to my job. No mather what configuration I do, if I set it to optimize, or if I ask for an specific ECS Instance Class. I won't have it.

What should I do? I don't know if it an availability problem. If it is so, its a huge availability problem. I can never get an 48CPU 72CPU instance.

asked 11 days ago19 views
1 Answer
0

The issue you're experiencing with AWS Batch not providing instances with more than 36 CPUs could be due to several factors:

  1. Instance Type Availability: AWS may have limited availability of larger instance types in your specific region or Availability Zone. This can be especially true for high-performance instances with many CPUs.

  2. Account Limits: Your AWS account may have service quotas or limits that restrict the use of larger instance types. It's possible you've reached your limit for high-CPU instances.

  3. Compute Environment Configuration: Your AWS Batch compute environment might not be configured to use instance types with more than 36 CPUs. You may need to update your compute environment settings to include larger instance types.

  4. Pricing and Cost Management: If you have budget constraints set on your account, it might be preventing the allocation of more expensive, high-CPU instances.

To address this issue:

  1. Check Instance Availability: Verify the availability of larger instance types in your region using the EC2 console or AWS CLI.

  2. Review Account Limits: Check your EC2 service quotas in the AWS Management Console. You may need to request a quota increase for specific instance types.

  3. Update Compute Environment: Ensure your compute environment is configured to use instance types with more than 36 CPUs. You might need to specify additional instance types or use a different instance selection strategy.

  4. Consider Using Spot Instances: If available, Spot Instances might provide access to larger instance types at a lower cost, potentially increasing your chances of getting high-CPU instances.

  5. Contact AWS Support: If you've verified all the above and still can't get larger instances, it may be worth contacting AWS Support for further assistance.

Remember, the availability of high-CPU instances can vary based on region and current demand. If possible, consider splitting your workload across multiple smaller instances or exploring alternative solutions like distributed computing if consistently larger instances are unavailable.
Sources
CPU options for Amazon EC2 instances - Amazon Elastic Compute Cloud
Supported CPU options for Amazon EC2 instance types - Amazon Elastic Compute Cloud

profile picture
answered 11 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions