After some research and testing, we have decided to start using Google Cloud Composer. Since our current DAGs and tasks are relatively small, and don't require the server to run continuously, I am looking how to manage costs.
Two questions:
- The option to use
preemptible
VMs seems logical. This saves costs considerably, and I'm thinking to go for 3xn1-standard-4
. I expect each task to be quite short, so don't think this will have significant impact for our workloads. Is it possible to usepreemptible
VMs with Composer? - Schedule to turn the Composer environment on/off, as asked in this post. I can't find how to do this in the documentation, either by turning the whole enviroment down, or to shutdown the workers as proposed in the answer.
Help, anyone?