Wednesday, July 24, 2013

Google Cloud SQL in Google Compute Engine

I am deploying a Django backend technology in a Google Compute Engine instance. As of now, i have MySQL server installed locally in that instance and I now wish to use the Google Cloud SQL as my backend instead. I am aware of;

The connection used if its in an App Engine

 DATABASES = {          'default': {              'ENGINE': 'google.appengine.ext.django.backends.rdbms',              'INSTANCE': 'my_project:instance1',              'NAME': 'my_database',          }      }

I would like to know if its possible to do something similar in Google Compute Engine?

I've read about the connection to external application here; https://developers.google.com/cloud-sql/docs/external

But I have no clue how to use the connections to produce something similar. Any guidelines i can follow?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/2954e521-9bc1-4aba-a58b-24dae0e3135f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment