> On Apr 11, 2016, at 6:31 PM, Nick <[email protected]> wrote: > > While you could use namespaces to achieve this, you need to consider what it > means to have two 'environments' running together, and what are the > consequences of mistakes. > > Generally we've found the simplest option is to have extra cloud projects for > extra environments, which is usually very cheap/free assuming you aren't > simulating real loads constantly. Obviously there are some drawbacks to this, > such as ease of code promotion, but if you're using other services in google > cloud, they aren't intrinsically namespace aware, so you need to be careful. >
We use separate projects as well and it works reasonably well. It makes it much less stressful to push builds to the test environment. Unfortunately you are likely to need some sort of mechanism to change configuration between environments. For example, if you use google cloud storage, bucket names must be globally unique so you have to store or derive the root bucket names for each environment. Karl >> On Monday, April 11, 2016 at 11:20:34 PM UTC+10, youssef dehbi alaoui wrote: >> hi everyone i need in my application two types of data (but same entities), >> one for testing and the other for production... so i'm wondering if there is >> a solution to make a difference between these two types like having two >> datastores???? >> Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/b51ace6a-b8c5-4404-97eb-6793408f4027%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3676F8DE-8885-44F3-B467-8997FCFE5979%40strajillion.com. For more options, visit https://groups.google.com/d/optout.
