I am building a backend for an application with Google App Engine and Cloud SQL.
I do have:
- A webserver as a proxy in front of my API server which handles sessions (using Cloud SQL and memcache) and calls the API
- An API server which has access to the resource in the Cloud SQL instance
- oAuth server which also needs Cloud SQL and memcache for tokens etc.
So my questions: Do I need three Cloud SQL project, which all have their own replica? Or is it ok to have one Cloud SQL project and all three App Engine projects access this Cloud SQL instance through the Cloud SQL proxy?
All projects will be located in the us-central region.
Would love to hear some thoughts.
Thanks!