Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, I'M Looking Into The Aws Autoscaler. I Couldn'T Find The Task In My Ui, So I Ran The

Hey, I'm looking into the AWS autoscaler. I couldn't find the Task in my UI, so I ran the aws_autoscaler.py script remotely. It looks like to get it to work I have to commit the YAML with my AWS credentials to git. Not loving that, am I missing something? Thanks!

  
  
Posted 3 years ago
Votes Newest

Answers 14


something needs to run the autoscaler, I thought it would be the machine that runs the services queue, no?

  
  
Posted 3 years ago

I should manually copy it to the remote services agents?

The code itself needs to run somewhere, currently this has to be your machine, either you manually run the AWS autoscaler or an agents runs it for you. Make sense ?

  
  
Posted 3 years ago

right, of course 🙂 so just to make sure I'm running it correctly. I ran python aws_autoscaler.py --run on my laptop and I see the Task on ClearML. Then took a completed task, cloned it and enqueued to the queue defined on the autoscaler. That should spin up an instance, right? (it currently doesn't, and I'm not sure where to debug)

  
  
Posted 3 years ago

That should spin up an instance, right? (it currently doesn't, and I'm not sure where to debug)

Do you see the AWS scaler Task running ?
(This is the code/process that actually spins a new EC2 instance)

  
  
Posted 3 years ago

ok cool

  
  
Posted 3 years ago

It is stored on the Task itself

  
  
Posted 3 years ago

when I ran the script it autogenerated the YAML, so I should manually copy it to the remote services agents?

  
  
Posted 3 years ago

it is just local copy so you can rerun and reconfigure

  
  
Posted 3 years ago

no need for it actually

  
  
Posted 3 years ago

Ohh ignore the YAML

  
  
Posted 3 years ago

I have to commit the YAML with my AWS credentials to git.

CleanPigeon16 please do not 🙂
either put them on the Task itself, or as OS env on the machine/agent running the Task.
Regrading where it is stored (I think the default is DevOps project, need to look at the code)

  
  
Posted 3 years ago

I looked there, but couldn't find it. I'm currently experimenting with your free hosted server

  
  
Posted 3 years ago

Exactly, just pointing to the fact that, that machine is yours ;)

  
  
Posted 3 years ago
1K Views
14 Answers
3 years ago
one year ago
Tags
Similar posts