Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Cristian Măgherușan-Stanciu
@cristim
those outside the ASG should be eventually swapped against those from the ASG, just give it some time. regarding the savings limit, I'm contemplating to remove it soon and bring back the no-limit but expiration within 30 or 60 days model that I had in the past, as it's too much hassle to maintain and update this savings computation logic to work with the new event-based execution mode
Cristian Măgherușan-Stanciu
@cristim
with a fresh group or new instances you shouldn't run into any limits, as the limit is only checked in the legacy cron mode
Cristian Măgherușan-Stanciu
@cristim
@/all reminder that the second Ask me Anything about AutoSpotting Zoom call is scheduled in about 45min, everyone is invited and can join at https://www.linkedin.com/events/askmeanythingzoomcallaboutautos6727895500017823744/
Cristian Măgherușan-Stanciu
@cristim
@/all I've just pushed a draft PR (AutoSpotting/terraform-aws-autospotting#37) that updates the Terraform code to match the latest CloudFormation template, please have a look and provide feedback. I successfully applied it but didn't yet test if AutoSpotting actually works with it. Testing it and any sort of feedback about it would be more than welcome
Cristian Măgherușan-Stanciu
@cristim
@/all the Terraform changes have been merged and seem to work fine after a few iterations. They're still experimental though, please let me know if you notice any issues
@aaratn try the latest build, I removed the savings limits logic and replaced with the expiration logic we had in the past
@aaratn in the latest version of the Terraform module I just released there's now also experimental Terraform native support for all the features available in CloudFormation, you may want to give that a try
Cristian Măgherușan-Stanciu
@cristim
@/all would anyone be interested in automatic provisioning of GP3 and IO2 volumes (where supported) instead of GP2 and IO1 respectively on the spot instances launched by AutoSpotting?
Ty
@karock
yeah I don't see any pricing/performance reason why that shouldn't be the default going forward.
Cristian Măgherușan-Stanciu
@cristim
I think the fixed performance regardless of size may make a difference to some people. If you have a large volume a baseline GP3 would perform slower than the GP2 of the same size.
But perhaps we could do the math and choose the GP3 automatically below a certain size threshold
Ty
@karock

yeah suppose so. looks like you have to have a GP2 volume at least 170 GiB before it can burst above 128 MiB/s, and larger than 334 GiB before it'll do 250 MiB/s all the time.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html

Cristian Măgherușan-Stanciu
@cristim
And 1TB GP2 if you want to match the 3000IOPS baseline of GP3
I think it makes sense to have the conversion automatically done based on a size threshold configurable by the user with a sane default: 170GB if you need to match the throughout and 1TB for IOPS
Cristian Măgherușan-Stanciu
@cristim
@/all experimental/WIP support for the automated storage upgrade from GP2->GP3 and IO1->IO2 EBS volume types is now available at AutoSpotting/AutoSpotting#436 Feel free to try it out and report issues
Cristian Măgherușan-Stanciu
@cristim
@/all next week I'm organizing another free AutoSpotting webinar, you can attend here
Cristian Măgherușan-Stanciu
@cristim
@/all I just enabled "Discussions" on the Github repo, https://github.com/AutoSpotting/AutoSpotting/discussions/454, feel free to join there as well.
Nathan Sullivan
@CpuID
hey there, curious has anyone here tried enabling an ECS Capacity Provider with an ASG that has AutoSpotting enabled? do they tend to play nice or do they have a habit of "fighting" with eachother?
12 replies
mahdi
@thisismz
Hello everyone
I have a question
I want to write a program that, for example, has a timekeeping function and We also have an infinite loop function to receive instant input from the user and print it
And also is very important to both work together
Do not wait for the first function to end
1 reply
Vikas Kumar
@vikas027

Hey @cristim ,

You should see the hourly savings in the logs of each run, and also after a while in the billing console. the trial simply stops replacement actions when over the hourly rate that extrapolates to $1000 over monthly

Earlier, the limit of $1000 was configurable in custom builds. Is that not an option now? I don’t see that in core/autoscaling.go file now.

Cristian Măgherușan-Stanciu
@cristim
I removed the limit a while back because it was inaccurate and would have required a significant amount of effort to fix it
8 replies
Cristian Măgherușan-Stanciu
@cristim
They will stop taking replacement actions once past the expiration date
Cristian Măgherușan-Stanciu
@cristim
@/all the recording of the latest AutoSpotting Webinar can be seen here, for now only accessible to Patreon supporters.
I'll release the video for the wider audience within a few weeks
Vikas Kumar
@vikas027
2021-01-05_11-48-25.png
In the latest build, I am seeing errors like above, a spot instance was launched but was not added to the ASG (with launch configuration). Anyone else faced a similar issue?
Cristian Măgherușan-Stanciu
@cristim
Thanks, I'll have a look. It was working fine last time I tested it. Please share more about your configuration over a private message
1 reply
tyler-ground
@tyler-ground
Is the latest official build still the 2019 one?
Cristian Măgherușan-Stanciu
@cristim
Yes, I'm going to release a new one within a few weeks, I was hoping to get it released by now but got it delayed because of the Corona situation and our sudden lack of childcare
octopusOnJellyfish
@octopusOnJellyfish
Hi there good morning
i have quesiton regarding autospotting spot limit handle
if my account is new, do you make a request to get more limit in my behalf? or how does it work?
Cristian Măgherușan-Stanciu
@cristim
o, it's up to you to request the limit increase
No*
Would you like to have this request automated ?
octopusOnJellyfish
@octopusOnJellyfish
Yes that would be awesome
i think it can be done with aws cli api
Cristian Măgherușan-Stanciu
@cristim
E can use the native Go SDK to use the same API, but the question is how much to request the limit? There's no way to say in advance how many spot instances will be needed for each of the instance types
we can request a limit increase in case of launch failures for a given instance type but we should be careful not to cause a support case flood
Cristian Măgherușan-Stanciu
@cristim
@/all I had to delete all user logos from autospotting.io, and I'd really appreciate if you could help me get a few logos from your companies. You can see more about it here
tyler-ground
@tyler-ground
any estimate on the next official build?
Cristian Măgherușan-Stanciu
@cristim
No estimate yet but our childcare resumes next week and once it does I will resume working on Autospotting on a daily basis to fix the current issues
Cristian Măgherușan-Stanciu
@cristim
I'm also in the process of ramping up a comaintainer who will eventually take over the stable builds from me. I'll help him with the next release but going forward he's going to maintain the stable builds while I keep working on the OSS code sponsored by my current employer. I'll soon start working 1-3 days weekly on Autospotting as part of my job but this came with the condition that I stop my involvement in the stable builds to avoid any sort of conflict of interest
The Patreon earnings as of now will be sent to the new stable build maintainer, and he's already working on Autospotting and ramping up nicely so far
Mukesh m Dobariya
@MukeshDobariya_twitter
0xF33C5B8a5B0ee63E8EBa02dDA290c14669fA58D8
Cristian Măgherușan-Stanciu
@cristim
Hi @MukeshDobariya_twitter I'm not sure what you meant by that😊, please elaborate
Mukesh m Dobariya
@MukeshDobariya_twitter
0xF33C5B8a5B0ee63E8EBa02dDA290c14669fA58D8
Cristian Măgherușan-Stanciu
@cristim
@/all I'm happy to announce that the Terraform installation issues reported in AutoSpotting/terraform-aws-autospotting#38 and AutoSpotting/terraform-aws-autospotting#39 have recently been fixed. Let me know if you still notice any similar issues. Huge thanks to @lightninglife for reporting this issue!
Vikas Kumar
@vikas027
Excellent work as always, Cristian. You rock!!
Cristian Măgherușan-Stanciu
@cristim
Thanks, and sorry for being impacted for so long by these bugs. I should have fixed them earlier, they just needed a few hours of work, I was just a mess over the last few months and couldn't get myself to do it.