In one of our projects customer security prohibits instances with external IP connections, the instances are on-premise connected via VPN.
In this project we set up a second network, allowing external connections.
We want to replicate an existing Master MySQL instance in
network-1 (without external IP address) to a new Slave MySQL instance in
network-2 (Google default).
My thought is to connect via the internal IP addresses, but attempts configuring as with normal external addresses seem to fail.
user@instance-1:~$ mysql -h 10.132.0.2 -u replicationuser -p Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '10.132.0.2' (111)