Can an AWS Batch job use Reserved Instances

0 votes

To Developers,

Can an AWS Batch job use Reserved Instances? I would end up using a base of RI's + (On-Demand or Spot Instances) per Client. I would like the cost savings from Reserved Instances but need more reliability than spot.

Aug 27, 2018 in AWS by bug_seeker
• 15,520 points
1,565 views

1 answer to this question.

0 votes

Yes, Batch compute resources are just ec2 instances - and reserved instances are just a billing mechanism, and are not assigned to a particular instance - i.e. you don't tell AWS which EC2 instance in particular is a RI and which is an OnDemand - it doesn't matter.

So if you have 20 RI, and need 40 running during the month, so you fill the gap with 20 on-demand or spot instances, then 20 will be billed as RI and 20 will be OD/or spot. If you kill any 25 instances (for example), you will still be billed for 20 RI in this example and no spot or OD instances.

My guess is that maximizing the use of spot instances is going to save you some money - but it is sound logic to have a certain number of RI around to provide a base level of service - and you can't count on there being ANY spot or ANY OD instances at any given time.

answered Aug 27, 2018 by Priyaj
• 58,090 points

Related Questions In AWS

0 votes
0 answers

Is there any way, where I can use one IP for 2 AWS instances?

Is there any way, where I can ...READ MORE

Sep 18, 2020 in AWS by anonymous
• 19,610 points
305 views
0 votes
1 answer
0 votes
1 answer

Want to use an AWS Cognito User Pool without putting a password(for an easier approach)

Currently, AWS Cognito is not supporting passwordless ...READ MORE

answered May 4, 2018 in AWS by Cloud gunner
• 4,670 points
5,207 views
0 votes
1 answer

Can we rename an AWS customer IAM policy?

No, you cannot rename your custom policy. You ...READ MORE

answered May 9, 2018 in AWS by Cloud gunner
• 4,670 points
643 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,531 views
+2 votes
1 answer
0 votes
2 answers
0 votes
2 answers

How many instances can be created under AWS free tier account

Ans 1. Amazon charges based on usage per ...READ MORE

answered Jun 7, 2018 in AWS by MISHA
• 520 points
1,639 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP