How to stop GCP instance automatically with job stop at the same time

Hello.

 

We're using GCP VM instance to use Matillion.

The thing that we would like to do is how to stop instance automatically at the same time as the job end.

For example, when some orchestration job ends at 5am(set by job scheduler), GCP instance stops 5am as well at the same time.

 

We think that we should use cloud functions By GCP but I can't find any examples unfortunately.

 

Please need your help.

 

I would love that too - suggest you post it in the ideas portal!

Dear @Lightbody

Thanks for your opinion.

As you mentioned, I posted this content to ideas portal

I hope there is something way and Matillion team will make docs.