I've been reading the GCP documentation trying to find a way to ingest data from a Microsoft SQL Server database passively (like using Cloud SQL). The problem is that Cloud SQL keeps idle most of the time (data is updated once a week) and I could not figure out how to start/stop the instance using Cloud Functions or Scheduler. In addition to that, I also need to automate the data pipeline sending data do Dataprep, which is not possible using Cloud SQL (sql server instance).
To sum up, I need to ingest data -> clean/enrich it -> make it available for analysis
*I would like to avoid using external paid APIs
These are the sources I've read:
Cloud Scheduler - how to schedule start/stop
Cloud SQL Admin API Stack Overflow - schedule-start-stop-on-gcp-sql-instance
Issue tracker gcp - start/stop cloud sql
Cloud Storage - upload objects API docs
These is a brief image of the cloud architecture: