by

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
autospotting_tag_filters = "spot_enabled=true" seems redundant, try to comment it out
Vikas Kumar
@vikas027
oh, ok. What should be my autoscaling group’s tag then for Autospotting binary to look at?
I think the original tag was spot-enabled, I just changed it to spot_enabled (again which has worked for me <= 0.1.2)
Vikas Kumar
@vikas027
@cristim - I have just tested with 0.1.4, I can see the environment variable TAG_FILTERS has a value of spot_enabled=true. Now, comparing the variables with 0.1.2
The only difference in the lambda env variables is that with 0.1.4 I have another variables called LICENSE whose value is evaluation
will do some more testing later tonight
Cristian Măgherușan-Stanciu
@cristim
I think it should be spot-enabled with dash
Not sure if it works with underscore and where that's coming from
Vikas Kumar
@vikas027
It works with 0.1.2 :) …anyways, I will check with 0.1.4 with spot-enabled soon
Cristian Măgherușan-Stanciu
@cristim
But shouldn't matter as long as whatever you configure matches your group's tags
Vikas Kumar
@vikas027
Yep, that is my understanding as well
Cristian Măgherușan-Stanciu
@cristim
You can also run it locally, extract the Lambda zip file and run it on a Linux VM with the same environment variables
There's also a debug variable that will show more logs
Vikas Kumar
@vikas027
Sorry, I am not sure how to simulate lambda and autoscaling group locally. I will check the debug flag soon
Cristian Măgherușan-Stanciu
@cristim
The first few lines of the logs should also show you the configuration as propagated to the binary
The Lambda payload is just a static Linux binary that you can run anywhere, it just needs the usual AWS access key and secret variables and whatever other environment variables you want to reproduce your configuration
Vikas Kumar
@vikas027
Ah, ok.. got you.
Cristian Măgherușan-Stanciu
@cristim
It would run against the same Autoscaling groups
Vikas Kumar
@vikas027
cool, will try it tonight and let you know. Cheers
Cristian Măgherușan-Stanciu
@cristim
Good luck and keep me posted
Vikas Kumar
@vikas027
@cristim - I don’t know the cause but I installed everything again and everything is working now. :| I did the same thing earlier which did not worked. I am so confused what has fixed it…. but whatever it is, things are working as they should.
I might sound like an idiot… but this is exactly what has happened :)
Cristian Măgherușan-Stanciu
@cristim
glad to hear that it works, I don't like this weird self-resolution but I don't know what can we do about it :)
Vikas Kumar
@vikas027
By the way, do you know what is the significance of variable LICENSE=evaulation. This was not there in v0.1.2. FYI I am using a custom built binary
Cristian Măgherușan-Stanciu
@cristim
it allows people to specify it when using official binaries, it shoudln't affect users of custom binaries like you
Vikas Kumar
@vikas027
cool, thank you!
Cristian Măgherușan-Stanciu
@cristim
you're welcome
Cristian Măgherușan-Stanciu
@cristim
@salvianreynaldi regarding #428, I'd love to see a patch making the attach/detach logic more intuitive
@salvianreynaldi BTW, I just discovered your ASG Terraform module, it's pretty cool and I'm in the process of adopting it for some stuff I'm working on
(the world is so small)
do you have an example of scaling policies for it?
Salvian Reynaldi
@salvianreynaldi
thanks @cristim
However, I don't currently have scaling policies example,
I'll try to add one this week
Cristian Măgherușan-Stanciu
@cristim
no worries @salvianreynaldi I'm going to figure it out somehow
Cristian Măgherușan-Stanciu
@cristim
@/all I decided to stop actively working on AutoSpotting going forward. I don't have the time to work on it and all my attempts to ramp up the income I get from it to eventually replace my full time job failed. Please consider migrating to some of the AWS native offerings or the proprietary tools in this space. If anyone is interested in taking over the development/maintenance work feel free to reach out to me. Huge thanks to everyone who supported me on Patreon and to all the open source contributors who helped over these years.
mello7tre
@mello7tre
this is a sad news...
Cristian Măgherușan-Stanciu
@cristim
@mello7tre agreed, I've spent a lot of time and effort on this project over the last 5 years or so, but the reality is that I can't do it anymore and it's better to make it clear so that perhaps someone else takes over instead of leaving it in this sort of limbo state
mello7tre
@mello7tre
unfortunately i do not have too much time to invest in this project too.
Or better i do not have so much time to taking it over.
I use AutoSpotting in the aws infra that i developed where i work, and the dev one i am currently using the event-based branch too without any problems (i am thinking to extend it to production).
I will be happy to continue contributing to it (if someone else take it), but i think i will not be a good maintainer (too few time).
Cristian Măgherușan-Stanciu
@cristim
Glad to hear that you got it working, it's a great improvement over the current situation and I would love to see it finally merged
xlr-8
@xlr-8
Hi @cristim I'm sorry to hear to.
I know I don't have the time to invest as much on the project as I did before, but I was still happy to check the progress and hope it keeps on going.
Perhaps opening an issue to allow people to raise their hand :wave: if they wanted to take over could be nice?
Wish you the best
Cristian Măgherușan-Stanciu
@cristim
Thanks for the idea @xlr-8,
Cristian Măgherușan-Stanciu
@cristim
I just created #431
Cristian Măgherușan-Stanciu
@cristim
I just found a volunteer, one of the companies who built a commercial product based on the AutoSpotting code base back when it was released under the MIT license. I hope they will take a good care of it.
xlr-8
@xlr-8
I hope so too
Cristian Măgherușan-Stanciu
@cristim
I'm also trying to look into ways to work on Autospotting as part of my job at AWS, which is currently unrelated, fingers crossed 😁
Cristian Măgherușan-Stanciu
@cristim
@/all I have an an update regarding my current situation including open source work for AutoSpotting as part of my current job at AWS: over the last weeks I was a lot in contact with people from the Spot team about a possible internal transfer to a position in their team that would allow me to work on Autospotting open source development about half of my time, and the rest as a Solution Architect for Spot and Autoscaling including supporting key AutoSpotting users. I would really like to get your help by supporting this initiative through your TAM contacts.
Cristian Măgherușan-Stanciu
@cristim
@/all I'm happy to announce an updated version of the AutoSpotting Terraform module that closes some of the feature gap with the CloudFormation template, in particular handling of termination events. You can get it from here https://registry.terraform.io/modules/AutoSpotting/autospotting/aws/0.1.5
please let me know if you notice any issues with it
Cristian Măgherușan-Stanciu
@cristim
I also recently enabled Github Sponsors, so if AutoSpotting is saving you any meaningful amount of money and you can afford a small fraction to support development, please support me on https://github.com/sponsors/cristim, thank you in advance!