Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Start and stop Airflow?

I'm testing airflow google composer but right now I don't use it all the time and it cost money to maintains the 3 VM. Is there a way to stop/start google composer/airflow ?

Is it possible to do it programmatically ? (I want to start it every morning at 9am and stop it every night at 9pm and the week-end)

Right now to stop most of the costs I change the number of VM in Kubernetes Engine (I switch from 3 to 0 to stop it and then to 0 to 3 to start it) but maybe there is a better way.

like image 810
MohamedLEGH Avatar asked Nov 23 '25 00:11

MohamedLEGH


1 Answers

There is no officially-supported mechanism for pausing a Composer environment. Even though you are able to reduce your VM costs by reducing the cluster size, you continue to be billed for the App Engine and Cloud SQL costs.

like image 122
Wilson Avatar answered Nov 24 '25 23:11

Wilson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!