[google-appengine] Re: Google App Engine: versioning with custom sub domains

2020-07-14 Thread alexander noteboom
Alex,

We are doing just what you describe, although we do it under the naked 
domain.

we have app.io pointing to appengine, which has a wildcard certificate 
mapped.
My appengine settings for custom domain are like this:

custom domain name | cert | record type | data | alias
*.app.io  | wildcard-certificate |  cname |  ghs.googlehosted.com. |   *
app.io  | wildcard-certificate |  A |  xx.xx.xx.xx |  (none)


all requests for app.io go to the default version.  We also have a release 
candidate version deployed, named 'rc'
Without any configuring all request for rc.app.io go automagically to the 
rc version.

This only works when you have the wildcard certifcate in place.  Just 
adding custom domain mappings for each version will not work.



Alexander

On Friday, 10 July 2020 20:20:15 UTC+2, Alex Fox wrote:
>
> I'm trying to setup GAE with a custom sub domain and a specific version 
> url.
>
> For example I have an app running with the following setup
> *VERSION_ID: 1234*
> *SERVICE_ID: my-app*
> *PROJECT_ID: my-project*
>
> The provided url *https://1234-dot-my-app-dot-my-project.ew.r.appspot.com 
> * works fine. 
> But I can't get to work with my custom domain + sub domain. Googles 
> documentation states the following urls are the same:
>
> *https://VERSION_ID-dot-default-dot-PROJECT_ID.REGION_ID.r.appspot.com 
> *
> *https://VERSION_ID.CUSTOM_DOMAIN *
>
> But when visiting *1234.api.mycustomdomain.com 
> * it does not work. However 
> *api.mycustomdomain.com 
> * works, pointing to the latest running 
> version of *my-app*
>
> What am I missing?
> 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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f572053e-e3f9-4466-b7c3-5c57c737ade2o%40googlegroups.com.


[google-appengine] Re: Any more migration stories?

2020-06-23 Thread alexander noteboom
We are in the middle of the migration.  It is a horrible experience.
We tried to break it into small steps. 
Still in python2, we first replaced memcache with redis and  replaced 
search with elasticsearch.  These steps were do-able.

Next we tried to make the python2 code compatible with python3 using 
futurize.  Had a lot of problems with future_builtins and unicode, so we 
futurized except those.


After that we tried to migrate to Cloud Tasks, but that failed horrible 
because of the lack of transactional tasks. Our application heavily relies 
on that.
We thought up a solution, but that required the migration to Cloud ndb. So 
we have to combine these two steps.

That is where we currently are. Fighting with Cloud Tasks, Cloud NDB, 
namespaces, and getting it running using python3 on a local machine.
The most annoying thing is that there is no local Task Emulator available, 
and no Datastore Emulator viewer available. 


On Tuesday, 5 May 2020 23:06:48 UTC+2, Charlie Engelke wrote:
>
> This is very helpful feedback. Anybody else have comments for us?
>
> On Tuesday, May 5, 2020 at 1:17:52 PM UTC-7 Charlie Engelke wrote:
>
>> I'd still like to here anyone's stories involving migrating their App 
>> Engine apps from Python 2.7 to Python 3.7. Have you migrated yet? Planning 
>> to do so soon? Not going to move to the new platform?
>>
>> And any particular pain points? Things that would have helped? 
>>
>> Thanks,
>>
>> Charlie
>>
>> On Friday, May 1, 2020 at 2:18:33 PM UTC-7 Charlie Engelke wrote:
>>
>>> Have you recently migrated from App Engine for Python 2.7 to App Engine 
>>> for Python 3.7? Are you working on migrating now, or planning to soon? Or 
>>> maybe you are using App Engine for Python 2.7 and aren't planning such a 
>>> migration.
>>>
>>> In each of those cases, I'd like to hear how things went or are going 
>>> for you, pain points you encounter, things that went easily, and anything 
>>> else you have to share. I'm working on creating some new code samples to 
>>> help with this, and your stories will be a big help.
>>>
>>> Thanks,
>>>
>>> Charlie
>>>
>>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2de767ae-ee69-4e3c-9db4-2c1a1897c045o%40googlegroups.com.