1

It seems that to create users and databases/tables on Google Cloud SQL requires you to

  1. download a MySQL client
  2. get an instance IP so that you can use the client to connect to the cloud instance

But it shows that to get an IP requires you to pay extra. Is there any way around it?

Can I request an IP for setting up and then remove it later to avoid the charges?

3 Answers3

1

You can add and remove the IP address at any time, and only pay for the charges accrued during the time it was active.

However, unless you are accessing it via a GAE application (which does not need to use the IP) it won't be much use without an IP.

Currently connecting via IPv6 is free:

https://cloud.google.com/sql/docs/mysql-client#connect-ipv6

If you can, we recommend that you connect to your instance over IPv6. Each instance has an IPv6 address that is free to use. To connect over IPv4, you must explicitly assign an IPv4 addresss to your instance, which incurs a charge per hour idle.

Paul Collingwood
  • 8,978
  • 3
  • 20
  • 34
1

You are only charged for external IP addresses for instances that are charged 'per use', and then only when they are idle.

Joe Faith
  • 578
  • 2
  • 5
0

The question is outdated. As of August 2020 public IPv4 for Cloud SQL is free unless this IP is idle.

More about idling IP in Cloud SQL in this question

qewg
  • 175
  • 1
  • 11