Reputation: 687
I have my API, DB and Frontend website all hosted on GCP in the 'Australia' region.
I'm now wanting to release my website to the United States. so i've mapped another domain name pointing to my website which will function slightly differently if the domain name is a .com as opposed to a .com.au.
Is it possible to replicate my API, DB and FE to a 'United states' region as well as the Australia region? Is it essentially the same website, so i'd rather not have to deploy multiple versions of it.
Thanks!
Upvotes: 0
Views: 267
Reputation: 1547
Since App Engine links itself to a location, you are not going to be able to move it to a different region. You would need to create a new project in which you can deploy a copy of your application but in a region closer to your customers in order to diminish their latency.
If your database is on Cloud SQL, there is no issue with you having multiple App Engine projects connecting to a central Cloud SQL instance, so you can actually use the same database for US and Australia.
Another solution would be to use a different approach such as deploying your application on GKE on different regions so you can have it all centralized on the same project.
I hope you find this information useful!
Upvotes: 1