php - Google Compute Engine + Cloud SQL + Cloud DNS + Google Domains - IP Changed -


i've been running successful wordpress install on google compute engine lemp (linux, nginx, mysql , php) stack, , cloud sql (generation 2 mysql) , tried tie in domain last night using cloud dns.

i added record , cname , adjusted nameservers in google domains, nothing loading.

at first, getting 504 bad gateway nginx/ubuntu error, nothing happens.

however, noticed ip address compute engine changed, not sure how misunderstood reading , said yes.

is there way change cloud sql see new ip address? if process?

trying avoid having rebuild everything, guess that's how learn not in future.

every google compute virtual machine has assigned default ephemeral ip address, gets changed every time restart it. can read more ips, recommend promote current ephemeral address static 1 , update wordpress config settings.

please keep in mind in security risk @ moment, because old ip address granted access database might assigned user.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -