I am having a look at GCP cloud scheduler for running a cloud function which collects and stores some data for my research project. I was looking at running the function every hour for 6 months. However after assessing the pricing this would come to about $440 (24 * 183 * 0.1). This seems quite expensive for quite a simple operation and the cost would only increase if I wanted it to run at my desired rate of every 20 minutes.
Is this the correct usage of cloud scheduler? Wouldn't it be cheaper to fire up a f1-micro instance and have that cron task to fire the function? Is there something special about it that I would lose doing it this way? Especially as IBM cloud functions have free cron
Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention.
There are a number of reasons why costs on GCP may be higher than expected, including: Your applications were simply “lifted and shifted” into the cloud without being modernized to use their new environment efficiently. Your compute usage is not being properly monitored.
In addition to one of the largest networks in the world, Google Cloud generally cheaper than AWS and Azure. The bill on minute-level increments, only charging for the computing time that is used. Depending on the instance, GCP is 25-50% cheaper than AWS.
As mentioned in the doc here:
The actual running of a job is called an execution. A job is not billed for individual executions. For instance, if a single job is defined to run for "every day of the month", then that job is billed $0.1/month and not $3/month for 30 executions of that single job.
So if you have only one job running every hour for 6 months, you'll be charged only $0.60
regarding:
The pricings only apply on the 4th scheduled job set and beyond. The first 3 are free. – Kolban Jul 23 '19 at 21:28
its important to know that its per account not projects. So if in one google account you have multiple projects and in each of them 3 jobs - only 3 jobs in all this projects will be free.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With