docker - Instance only when needed - GCP -


i have video editing task needs completed occasionally. task relatively intensive , therefore needs powerful machine it. can take 10 minutes complete. might 10-20 such requests per day, though increase in future.

i have created docker container consumer pulls jobs pubsub. thinking have instance of container on google container engine. however, understand it, need have @ least 1 instance of (large / powerful / expensive) container running @ times, if majority of time sat idle. therefore cost running service overly high until usage increased.

is there alternative way of running container (gcp or otherwise) push job service, starts instance of powerful machine, processes job, shuts down? therefore paying cpu hours used.

have @ cluster autoscaler: https://cloud.google.com/container-engine/docs/cluster-autoscaler


Comments