G-Cloud SQL Instance type change

143 views
Skip to first unread message

Arun Prasad

unread,
Feb 7, 2019, 10:40:51 PM2/7/19
to Google Cloud SQL discuss
Hi Team,

I need to change the Instance type of my Cloud SQL Instance type, in order to do this i need to know if stopping the Instance change the Public IP ?

Kurt Josephson

unread,
Feb 7, 2019, 10:47:08 PM2/7/19
to google-cloud...@googlegroups.com
The public IP will stay the same when changing instance types (although your instance will have ~2 to 10 minutes of downtime while it switches machine types (I usually have experienced about 5 minutes, but have had it last up to 10 minutes).

-Kurt

On Thu, Feb 7, 2019 at 10:40 PM Arun Prasad <arunpr...@gmail.com> wrote:
Hi Team,

I need to change the Instance type of my Cloud SQL Instance type, in order to do this i need to know if stopping the Instance change the Public IP ?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/b5bc8927-6024-4851-8d3e-e36d68dd82df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arun Prasad

unread,
Feb 7, 2019, 11:14:09 PM2/7/19
to google-cloud...@googlegroups.com
Hey Kurt,

Thanks for the reply. But my setup is like i do have a failover replica is there, so while i am changing the instance type what’s the possibilities of changing IP?
I read like, the IP of primary Instance will automatically allow to the Failover Instance. Correct me if i am wrong. 
In that case is it okay to Stop the primary for 5-10 minuets?

Kurt Josephson

unread,
Feb 7, 2019, 11:37:41 PM2/7/19
to google-cloud...@googlegroups.com
Google wants to make these changes as seamless as possible so that your application (or whatever you have accessing the db) is always connecting to the same IP.  This means that if you make changes due to scaling (changing instance type) or a failover event triggers due to a region-wide failure, your sql instance will always have the same public ip.

The alternative would be a major hassle - so luckily they have you covered :)

-Kurt

Arun Prasad

unread,
Feb 7, 2019, 11:39:38 PM2/7/19
to google-cloud...@googlegroups.com
Hey Kurt,

Thanks for that wonderful reply. I scheduled it for today and the only concern i had is about the IP address. Thanks for your detailed explanation.

Reply all
Reply to author
Forward
0 new messages