Google Cloud Platform Blog
Product updates, customer stories, and tips and tricks on Google Cloud Platform
Cloud SQL instances now come with a free IPv6 address
Wednesday, November 12, 2014
The Internet is quickly running out of IPv4 addresses (the traditional IP addresses, e.g. 173.194.251.158), which has led to rationing strategies such as having to pay for reserved addresses. The industry response to this issue has been to develop a new, much larger, address space: IPv6 offers an abundance of available IPs (of the form 2001:4860:4864:1:329a:211f:1d19:a258). Google has been
at the forefront of IPv6 adoption
, and we are now assigning an immutable IPv6 address to each and every Cloud SQL instance and making these addresses available for free.
Everything is ready for you to benefit from IPv6: you can see the IPv6 address of your instance using the
Cloud SDK
command-line tool. With the current version of the tool, the command is:
gcloud sql instances describe
The response will be of this form (we’ve bolded the IPv6 address and shortened the output for readability).
currentDiskSize: 82.4 MB
databaseVersion: MYSQL_5_5
instance: testinstance1
instanceType: CLOUDSQL_INSTANCE
ipAddresses:
[
ipAddress: 173.194.251.158
]
ipv6Address: 2001:4860:4864:1:329a:211f:1d19:a258
maxDiskSize: 250.0 GB
(...)
Alternatively, you can see it in the Google Developers Console (in the Properties section on the instance overview page):
All new and existing Cloud SQL, instances will be assigned an immutable IPv6 address. Please note however that in order to use it you need to explicitly authorize your Cloud SQL instances to receive IPv6 traffic. You can do this using the same access control mechanism you use to control IPv4 traffic, by explicitly authorizing external IPv6 addresses that are allowed to connect to your instance. For details, see how you can
configuring access control for IP connections
.
If you currently connect to your instance over IPv4, you can continue to do so, or you can switch to connect over IPv6. If you make the change, you can then choose to release your IPv4 address and stop paying for it. To do so, follow the
instructions to edit the properties of a Cloud SQL instance
.
We understand how frustrating it is to optimize for artificial constraints, like a limited address space, which is why we’re bringing IPv6 to Google Cloud SQL so you can focus on your applications instead. For any question please join us on Stack Overflow using the
google-cloud-sql tag
.
-- Posted by Easwar Swaminathan, Software Engineer
Free Trial
GCP Blogs
Big Data & Machine Learning
Kubernetes
GCP Japan Blog
Firebase Blog
Apigee Blog
Popular Posts
World's largest event dataset now publicly available in BigQuery
A look inside Google’s Data Center Networks
Enter the Andromeda zone - Google Cloud Platform’s latest networking stack
Using labels to organize Google Cloud Platform resources
New in Google Cloud Storage: auto-delete, regional buckets and faster uploads
Labels
Announcements
193
Big Data & Machine Learning
134
Compute
271
Containers & Kubernetes
92
CRE
27
Customers
107
Developer Tools & Insights
151
Events
38
Infrastructure
44
Management Tools
87
Networking
43
Open
1
Open Source
135
Partners
102
Pricing
28
Security & Identity
85
Solutions
24
Stackdriver
24
Storage & Databases
164
Weekly Roundups
20
Feed
Subscribe by email
Demonstrate your proficiency to design, build and manage solutions on Google Cloud Platform.
Learn More
Technical questions? Check us out on
Stack Overflow
.
Subscribe to
our monthly newsletter
.
Google
on
Follow @googlecloud
Follow
Follow