tag:blogger.com,1999:blog-3810253236812062548.post4728424482277412282..comments2023-11-13T20:36:06.246-08:00Comments on JPA Persistence: AWS Spot EC2 Instances for Elastic Beanstalk saves around 70-90% of instance costs over reserved or on-demandMichael O'Brienhttp://www.blogger.com/profile/14907623981077693781noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3810253236812062548.post-63709372581359427542016-06-30T02:22:19.085-07:002016-06-30T02:22:19.085-07:00Another option is to find the underlying Launch Co...Another option is to find the underlying Launch Configuration of your Elastic Beanstalk environment, copy it, specify the EC2 instance type and spot price within the launch configuration, and finally, modify the underlying Auto Scaling Group of your EB to use the new launch configuration.<br /><br />That way, you don't have to mess with the .ebextensions and you get the nice AWS console when configuring the Spot Fleet.<br /><br />Post by Elad NavaElad Navahttps://www.blogger.com/profile/06786191015672523594noreply@blogger.comtag:blogger.com,1999:blog-3810253236812062548.post-17699115423796197622016-01-25T07:39:22.025-08:002016-01-25T07:39:22.025-08:00Unfortunately no. But, given that the bid price yo...Unfortunately no. But, given that the bid price you specify is actually the <b>maximum</b> price you're able to pay, I just put a high value (actually, the current on demand price) at my .ebextensions and it was enough for my use case.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3810253236812062548.post-16106931397222818332016-01-25T06:02:00.963-08:002016-01-25T06:02:00.963-08:00I would also be interested in seeing this. Daniel ...I would also be interested in seeing this. Daniel did you have any luck?Anonymoushttps://www.blogger.com/profile/01034625628626827382noreply@blogger.comtag:blogger.com,1999:blog-3810253236812062548.post-30322922572756513522015-07-21T10:12:46.360-07:002015-07-21T10:12:46.360-07:00This is a very very good tip. Thanks a lot!
Now, ...This is a very very good tip. Thanks a lot!<br /><br />Now, one question: You said about putting the bid price at an environment property/variable at beanstalk, so there's no need to change the .config file at ebextensions everytime we want to increase our bid. Do you have an example of a .config that do that? I'm trying to get the environment property value using Fn:GetAtt or Ref, but I'm not able to do so.<br /><br />Thanks again!Anonymousnoreply@blogger.com