I have a job that makes use of Tesseract for OCR. Tesseract runs *a lot* faster on GPU-optimized computers. So I was thinking of running this job on an AWS EC2 instance of type P or G, which have NVIDIA Tesla GPUs. However, these instance types are quite expensive, and the job runs only about 10 times per day, for an estimated duration of ~10 minutes. So it would be very costly to have an AWS EC2 instance online 24/7.
Is there a way in Jenkins, maybe by means of some plugin, that I can for example put in my Jenkinsfile: agent { label 'tesseract' } and that when a job with label 'tesseracr' enters the queue, Jenkins connects to AWS, starts an instance based off an already existing image, runs the job on that image, and then terminates the instance? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/25a9ac47-fdb7-4f1b-a546-73b014d9cb19o%40googlegroups.com.