Status Update
Comments
di...@google.com <di...@google.com> #2
po...@gmail.com <po...@gmail.com> #3
ma...@gmail.com <ma...@gmail.com> #4
ch...@format14crm.com <ch...@format14crm.com> #5
ph...@gmail.com <ph...@gmail.com> #7
mi...@getground.co.uk <mi...@getground.co.uk> #8
ca...@gmail.com <ca...@gmail.com> #9
pd...@g.hmc.edu <pd...@g.hmc.edu> #10
ra...@gmail.com <ra...@gmail.com> #11
cp...@calimerepoint.com <cp...@calimerepoint.com> #12
sd...@tis-c.co.jp <sd...@tis-c.co.jp> #13
70...@gmail.com <70...@gmail.com> #14
de...@upswinggolf.app <de...@upswinggolf.app> #15
be...@prismaticdigital.com <be...@prismaticdigital.com> #16
[Deleted User] <[Deleted User]> #17
an...@itsolver.net <an...@itsolver.net> #18
er...@gmail.com <er...@gmail.com> #19
de...@gmail.com <de...@gmail.com> #20
gz...@raptus.com <gz...@raptus.com> #21
ad...@vectorinstitute.ai <ad...@vectorinstitute.ai> #22
tm...@gmail.com <tm...@gmail.com> #23
sb...@gmail.com <sb...@gmail.com> #24
rs...@forefronttelecare.com <rs...@forefronttelecare.com> #25
ma...@moogah.com <ma...@moogah.com> #26
ha...@gmail.com <ha...@gmail.com> #27
sh...@cardinalgroup.com <sh...@cardinalgroup.com> #28
I have DEV-DB that I use probably few hours in a week. This feature will help to save a lot of money for our project.
md...@meditech.com <md...@meditech.com> #29
ro...@transcom.com <ro...@transcom.com> #30
sa...@clear-cut.co.il <sa...@clear-cut.co.il> #31
ya...@ikshealth.com <ya...@ikshealth.com> #32
mk...@gmail.com <mk...@gmail.com> #33
jo...@johnlavery.com <jo...@johnlavery.com> #34
le...@gmail.com <le...@gmail.com> #35
[Deleted User] <[Deleted User]> #36
jo...@googlemail.com <jo...@googlemail.com> #37
al...@heroseattle.com <al...@heroseattle.com> #38
Ab...@dixonscarphone.com <Ab...@dixonscarphone.com> #39
th...@hotmail.co.uk <th...@hotmail.co.uk> #40
se...@veriskope.com <se...@veriskope.com> #41
da...@gmail.com <da...@gmail.com> #42
ke...@gmail.com <ke...@gmail.com> #43
[Deleted User] <[Deleted User]> #44
re...@gmail.com <re...@gmail.com> #45
Same as ra...@gmail.com
I need this feature as well. Querries from my service only occur rarely. It's completely unreasonable to run the instance 24/7 (and charge for it). My DB was automatically migrated from first generation beginning this year and since then my bills went up significantly without receiving any extra value. Just a less flexible pricing model :(
do...@gmail.com <do...@gmail.com> #46
wa...@gmail.com <wa...@gmail.com> #47
tr...@gmail.com <tr...@gmail.com> #48
lo...@gmail.com <lo...@gmail.com> #49
As a workaround I created a cloud function which is triggered by a scheduled job, it's described here:
li...@gmail.com <li...@gmail.com> #50
[Deleted User] <[Deleted User]> #51
fr...@gmail.com <fr...@gmail.com> #52
gh...@eosfintek.com <gh...@eosfintek.com> #53
du...@chapeltonfarm.co.uk <du...@chapeltonfarm.co.uk> #54
ak...@tcs.woolworths.com.au <ak...@tcs.woolworths.com.au> #55
aa...@gmail.com <aa...@gmail.com> #56
hk...@hkosm.de <hk...@hkosm.de> #57
au...@gmail.com <au...@gmail.com> #58
ke...@gmail.com <ke...@gmail.com> #59
Sooo, cashing in on keeping databases running with no traffic, with no concern for the energy waste. Come on, Google "Don't be evil"
[Deleted User] <[Deleted User]> #60
m....@gmail.com <m....@gmail.com> #61
lp...@gmail.com <lp...@gmail.com> #62
ma...@gmail.com <ma...@gmail.com> #63
vi...@vidia.in <vi...@vidia.in> #64
[Deleted User] <[Deleted User]> #65
[Deleted User] <[Deleted User]> #66
ii...@shahedahmmed.com <ii...@shahedahmmed.com> #67
lu...@gmail.com <lu...@gmail.com> #68
ma...@innovativemedia.pl <ma...@innovativemedia.pl> #69
jo...@gmail.com <jo...@gmail.com> #70
ad...@edutechno.ca <ad...@edutechno.ca> #71
se...@gmail.com <se...@gmail.com> #72
ac...@regaltechsupport.com <ac...@regaltechsupport.com> #73
si...@gmail.com <si...@gmail.com> #74
br...@limestone-analytics.com <br...@limestone-analytics.com> #75
l....@gmail.com <l....@gmail.com> #76
aj...@google.com <aj...@google.com> #77
Hi Cloud SQL Users,
While we take a look at offering this natively in Cloud SQL, there is an alternative you can consider to lower your compute costs at no-traffic times.
Cloud SQL supports on-demand stop and start calls through the Console, gcloud, and API for single primary instances.
You can combine this tool with Cloud Functions, Pub/Sub, and Cloud Scheduler to schedule your instance to stop and start and no-traffic times. Jonathan from our team has a nice tutorial blog post on how you can do this.
All the best,
Akhil
Cloud SQL Product Manager
[Deleted User] <[Deleted User]> #78
kw...@gmail.com <kw...@gmail.com> #79
There might be a small caveat with the manual starting / stopping for cloud sql instances. If I'm not mistaken while the instance is switched off charges are still incurred for reserving the public ip.
For small use cases that leverage the smallest instance (db-f1-micro
) the costs of keeping the ip reserved ($0.01/hr) is almost the same as keeping the instance up and running ($0.015/hr) which sort of defeats the point if the goal was cost saving.
The alternative is to use private ip, but when using with services like Cloud Run that then requires using VPC connectors that doubles the costs! I recall it requires 2 minimum instances running all the time.
As things stand switching off the instance may not save any costs, some suggestions I would make (not sure how feasible they are):
- Some from of new serverless SQL offering (like Cloud Run) charged by usage that can scale to zero
- Offer some form of "internal ip" or google managed address (e.g.
myinstnace.region.cloudsql....
) so it's not necessarily public, but still accessible from cloud services using the usual auth mechanisms without the extra burden of VPC connectors- Perhaps some way to make cloud sql proxy work without the public ip requirement might also alleviate this point
Thanks!
gr...@gmail.com <gr...@gmail.com> #80
Please see the attached graph of costs of my project - you can notice two changing points. The first one was when I introduced switching off the instance. As you can see - the blue area representing instance costs shrunk significantly, however, the red one appeared instead and drained all the savings. It was the cost connected with public IP address reservation. A few days later I added disabling the public IP address when the instance is off and re-enabling it when I run it and it allowed me to achieve the result I expected.
It wasn't as straightforward as it may seem to be, as for some reason I wasn't able to disable the instance and the IP address in a single request, so I ended up having 4 Cloud Scheduler tasks: two for starting up the instance, and two for disabling it. Please let me know if anybody is interested in the details, I'll post them then. It's a pity, however, that such a simple mechanism is not provided by Google and must be mitigated by having 2 Pub/Sub topics and 4 Cloud Scheduler tasks.
sp...@live.de <sp...@live.de> #81
In one of your tech videos (
This would not be feasable if everyone in the team has to create a separate SQL instance, which then is idle 99.9% of the time and generates unnecessary cost.
Description
Would like to have on-demand feature enable for second generation mysql instances.