Google Cloud SQL “Idling IP Address”

橙三吉。 提交于 2019-12-05 03:03:14

You will be charged $0.01 for every hour the instance is not active and has an IPv4 address assigned. You can un-assign IP address using the Google Developers Console, go to your Cloud SQL instance, click on Edit and uncheck 'Assign an IPv4 address to my Cloud SQL instance' box.

The IP address will always be charged when the instance is not running. You can unassign an IP address to prevent this idle charge.

Click your SQL instance to go to Instance details > Connections > Public IP - uncheck it.

https://cloud.google.com/sql/docs/mysql/configure-ip

Note: When you disable public IP for an instance, you release its IPv4 address. If you later reenable public IP for this instance, it will get a different IPv4 address, and all applications that use the public IP address to connect to this instance must be modified.

Basically if you remove the public connection to your instance the IP is released too.

https://cloud.google.com/sql/docs/mysql/configure-ip

Click the instance name to open its Instance details page.
Select the Connections tab.
Deselect the Public IP checkbox.
Click Save to update the instance.==> Save is disabled on unchecking Public IP checkbox. Looks like either Private IP or Public IP checkbox should be selected to enable Save button.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!