Re: [google-appengine] Re: Global app engine as described in the article

2018-11-28 Thread Aron Suarez
Here is the link,

https://stackoverflow.com/questions/53467607/global-deployment-of-nodejs-with-app-engine-as-described-in-the-docs?noredirect=1#comment93873390_53467607

is there any plan to make this szenario possible in the neqr future?

Best Aron

On Thu, Nov 29, 2018, 05:14 Attila-Mihaly Balazs  Hi Aron,
>
> Could you please provide the stackoverflow link? We're having a similar
> internal discussion and would love to see the discussion over there.
>
> All the best,
> Attila
>
> --
> 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 post to this group, send email to google-appengine@googlegroups.com.
> 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/95ac72ab-d840-44ea-97b6-4a00bc189845%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/95ac72ab-d840-44ea-97b6-4a00bc189845%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CAPvF_0%3Ddebcve15bFsVVnA0HatCFwUAcke8Ra%3D%2Bx%2BMTid1Sn%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Global app engine as described in the article

2018-11-27 Thread Aron Suarez
My quest was aswred on stackoverflow:

This is from a google cloud member:

"As you mentioned, the issue with that diagram is that, although App Engine 
Flex instances actually run in your project, they are not visible to you 
and you can't use them as backend for the global load balancer. Indeed, 
this diagram is wrong and can't be implemented as-is. I've requested a 
documentation update to correct that.

One workaround, as you also mentioned, is to proxy requests to App Engine 
via Compute Engine VMs running in the same region. This isn't optimal 
though and may introduce a single point of failure.

Since App Engine Flex actually runs Docker containers on VMs, you can 
achieve a similar setup using Google Kubernetes Engine, with the advantage 
that you can run one cluster per region, all in the same project."




On Tuesday, 27 November 2018 03:06:04 UTC+1, Aron Suarez wrote:
>
> Hi Mohammad 
>
> Thanks for your answer. Sorry for my unclear question. 
>
> My question is related to the second last part. Where is described, how to 
> deploy a app engine flex application global. 
>
> For my is the theory clear, but how can i setup a Cloud Load Balncer to 
> balance the traffic between multiple app engine apps. I can't select a app 
> engine flex app as a backand service and i can't select cross project 
> backand resources. 
>
> How can i achive that, how is described as the second last part? 
>
> Best Aron

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/38673a08-15db-46a1-aa6f-4bdcd1764955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Global app engine as described in the article

2018-11-26 Thread Aron Suarez
Hi Mohammad

Thanks for your answer. Sorry for my unclear question.

My question is related to the second last part. Where is described, how to
deploy a app engine flex application global.

For my is the theory clear, but how can i setup a Cloud Load Balncer to
balance the traffic between multiple app engine apps. I can't select a app
engine flex app as a backand service and i can't select cross project
backand resources.

How can i achive that, how is described as the second last part?

Best Aron

On Nov 26, 2018 21:40, "'Mohammad I (Cloud Platform Support)' via Google
App Engine"  wrote:

> Hello Aron,
>
> The article
> <https://cloud.google.com/solutions/architecture/scaling-commerce-workloads-architecture#using_gae_name_short_flexible_environment>
>  that
> you have shared indicates that every project is deployed within a single
> region for App Engine Flexible environment. If user likes to create a
> global deployment, user needs to create multiple projects, one for each
> region that is needed for serving customer locations. For each
> microservices out of a single project, user must provision and operate data
> storage infrastructure. User needs to provide service account credentials
> to access the data infrastructure project for each project that corresponds
> to an App Engine flexible environment deployment.
>
> You can get more information on “Quickstart for Node.js in the App Engine
> Flexible Environment”[1] and “The Node.js Runtime” in the following
> documents:
>
> [1] https://cloud.google.com/appengine/docs/flexible/nodejs/quickstart
> [2] https://cloud.google.com/appengine/docs/flexible/nodejs/runtime
>
>
> On Sunday, November 25, 2018 at 3:17:34 PM UTC-6, Aron Suarez wrote:
>>
>> In this article
>> <https://cloud.google.com/solutions/architecture/scaling-commerce-workloads-architecture>
>> describe google a global deployment of a nodejs app in app engine flex.
>>
>> How can i achieve that?
>>
>> My first idea was to proxy all requests over compute engine, but it looks
>> like this is possible without this round trip.
>>
>> Thanks for any help.
>>
> --
> 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 post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/google-appengine/7dc8c362-4a74-41eb-959d-b0ceda921faf%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/7dc8c362-4a74-41eb-959d-b0ceda921faf%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/CAPvF_0kT5AiF5wW-LCnV3R3i8QCA6LxdcFHzJ_BcMiXOtJcsog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Global app engine as described in the article

2018-11-26 Thread Aron Suarez
Hi Mohammad

Thanks for your answer. Sorry for my unclear question.

My question is related to the second last part. Where is described, how to 
deploy a app engine flex application global.

For my is the theory clear, but how can i setup a Cloud Load Balncer to balance 
the traffic between multiple app engine apps. I can't select a app engine flex 
app as a backand service and i can't select cross project backand resources.

How can i achive that, how is described as the second last part?

Best Aron

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/738dea64-356a-43b1-92ca-57a8c2e7ec8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Global app engine as described in the article

2018-11-25 Thread Aron Suarez
In this article 

 
describe google a global deployment of a nodejs app in app engine flex.

How can i achieve that?

My first idea was to proxy all requests over compute engine, but it looks 
like this is possible without this round trip.

Thanks for any help.

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/76035c7f-3053-4167-8e67-4c901275ad02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-24 Thread Aron Adler
Could we clarify exactly what the issue here is? Everything was working for 
a couple of days, why did it go back to redirecting to the appspot domain? 

Also seeing as everyone seems to be having the same issue it doesn't really 
make sense for everyone to create separate support tickets. Can we get 
someone from Google to clarify what can be done to fix this?

On Friday, 24 February 2017 02:58:59 UTC, Anthony Davis wrote:
>
> Same issue here...
>
> On Thursday, February 23, 2017 at 1:43:23 PM UTC-6, Joseph Reisinger wrote:
>>
>> Hi Alex-
>>
>> I'm seeing this issue with a newly deployed app engine instance. Is it 
>> possible to get my domain whitelisted?
>>
>> Thanks
>>
>> —jr
>>
>> On Wednesday, February 15, 2017 at 8:15:27 AM UTC-8, Alex (Cloud Platform 
>> Support) wrote:
>>>
>>> Good news, it seems like this redirection issue has now been resolved. 
>>> Custom domains listed on Flexible Environment App Engine instances should 
>>> work as prescribed without redirecting to an appspot.com URL.
>>>
>>> Regards,
>>> Alex
>>>
>>

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
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/0ee2ed44-b868-4ce3-a9cc-69c94ea17d21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Custom domain redirecting to appspot URL

2017-02-09 Thread Aron Adler
Hi,

I have the same problem. Could someone please advise on how to whitelist my 
custom domain now that the whitelist request form is gone?

Thanks

On Tuesday, 31 January 2017 10:49:03 UTC, himanshu kapoor wrote:
>
> Hi Guys,
>
> I have mapped custom domain in my application but it redirects to my 
> appspot URL.
>
> check below URL:
> https://500bawal.com
>
> Note: Previously this domain was hosted on some other google project and 
> was working fine from which there i removed it (including verification) and 
> hosted on different google project.
>
> Can anyone help me in figuring out this.
>
> 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 post to this group, send email to google-appengine@googlegroups.com.
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/47388086-50b7-48bc-a309-0c613754992e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Can Application Settings anyhow guarantee me exactly 2 instances?

2014-03-18 Thread Aron Gombas
Yes, using modules is the right solution. Thanks for the hint, Jacob!
--
Aron Gombas


On Mon, Mar 17, 2014 at 5:30 PM, Jacob Taylor jacob.tay...@gmail.com wrote:
 One suggestion...I would check out the modules API. If you make everything a
 module, you could potentially set it to manual scaling and pick 2 instances.
 If I am correct, this would mean you always had 2, but never more.


 On Sat, Mar 15, 2014 at 6:15 PM, Barry Hunter barrybhun...@gmail.com
 wrote:




 On 16 March 2014 00:59, PK p...@gae123.com wrote:

 My understanding is that you might see more than 2 but you will not be
 charged for more than 2 with these settings.


 You wont be charged for more than 2 *idle* instances.

 But if the scheduler, spins up many instances, and they are serving
 traffic (however small) they are chargeable.

 min_idle_instances says appengine should always aim to keep this number of
 *deliberately* idle instances. So it will spin up enough to keep at least
 two idle at any time. (and because of the max_idle_instances, it shouldnt
 grow much *beyond* 2, and if it does wont be charged)


 (an idle instance, doesnt normally serve traffic, but in the case of a
 sudden spike, it should be able to serve a few, while new instances are
 being spun up. Once they are spun up, idle instances will go back to well,
 being idle)


 ... there simply isnt a max_instances, setting.




 PK
 http://www.gae123.com

 On March 15, 2014 at 5:28:11 PM, Aron Gombas (aron.gom...@gmail.com)
 wrote:

 Hi!

 I have an important, low-traffic, internal app. There are typically 0-2
 concurrent users, the peak would be maybe 5-6. Plus, there are some cron
 jobs and warmup requests that are also needs to be served, but I believe 1
 or 2 resident instances should be able to handle all traffic easily.

 As an experiment, what I want to completely eliminate is loading
 requests, after those 2 instances have been started. This is Java app, and
 the 10-15s additional response time caused by loading requests totally kills
 the experience. So, I'm happy to pay for the idle time, but I'd like to be
 sure that new instances are never started, and I pretty much bypass the
 heuristics and auto-scaling of the Scheduler.

 Is this possible at all?

 These are my current settings:

   min_idle_instances: 2
   max_idle_instances: 2
   min_pending_latency: 10ms
   max_pending_latency: 15.0s

 With these, when I look at the instances I can see 2 resident plus 2
 dynamic instances, although I'm the only user currently using the app.
 (There are short cron jobs and occasional warmup requests.)

 Cheers,

 Aron
 --
 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 post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 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 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 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 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Can Application Settings guarantee that I have exactly(!) N instances running all the time (i.e. no loading requests after the initial start)?

2014-03-17 Thread Aron Gombas
Thanks, Barry! Modules with Manual (or Basic) scaling seems exactly 
what I need. 

Aron

On Sunday, March 16, 2014 1:59:35 AM UTC+1, barryhunter wrote:

 You should be able to do it via modules
 https://developers.google.com/appengine/docs/java/modules/

 Can choose the 'scaling' class to use. Even when just having one 'default' 
 module. 

 (the main drawback of this, is you only get free 8 'hours' quota, rather 
 than 28 if leave it on the original automatic scaling - ie would use B4's 
 rather than F4's) 

 ... its the same (in effect) as as running your 'app' via a backend 
 instance of yesteryear.  


-- 
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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Can Application Settings guarantee that I have exactly(!) N instances running all the time (i.e. no loading requests after the initial start)?

2014-03-15 Thread Aron Gombas
Hi all,

So, I have an important, but low traffic internal app. Typically 0-2 
concurrent users, the peak would be max 5 users. Considering the warmup 
requests and some cron jobs, 1 or max. 2 instances should be sufficient to 
easily serve these.

What I'm trying to achieve is that using Application Settings, I want to 
have 2 resident instances (F4) and no loading requests after the 2 
instances were started. This is a Java app, and loading requests add 10-15s 
to the response time, totally killing the experience. I want to bypass the 
heuristics and auto-scaling in the Scheduler and always run on those 2 
instances, not more, not less. I am ready to pay for the idle time, but I 
don't want users to face those 15s responses. 

My current settings are:

min-idle-instances2/min-idle-instances
max-idle-instances2/max-idle-instances
min-pending-latency10ms/min-pending-latency
max-pending-latency15.0s/max-pending-latency

Even with these, I can see the 2 resident instance plus 0-2 more dynamic 
ones. It really drives me crazy. Currently it is 4 instances and it is only 
me using the app (plus the occasional warmups and cronjobs)...

Any suggestions? (I know that the long discussions about the Scheduler in 
this group, but I haven't seen this exact question asked ever.)

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Can Application Settings anyhow guarantee me exactly 2 instances?

2014-03-15 Thread Aron Gombas
Hi!

I have an important, low-traffic, internal app. There are typically 0-2 
concurrent users, the peak would be maybe 5-6. Plus, there are some cron 
jobs and warmup requests that are also needs to be served, but I believe 1 
or 2 resident instances should be able to handle all traffic easily.

As an experiment, what I want to completely eliminate is loading requests, 
after those 2 instances have been started. This is Java app, and the 10-15s 
additional response time caused by loading requests totally kills the 
experience. So, I'm happy to pay for the idle time, but I'd like to be sure 
that new instances are never started, and I pretty much bypass the 
heuristics and auto-scaling of the Scheduler.

Is this possible at all?

These are my current settings:

  min_idle_instances: 2
  max_idle_instances: 2
  min_pending_latency: 10ms
  max_pending_latency: 15.0s

With these, when I look at the instances I can see 2 resident plus 2 
dynamic instances, although I'm the only user currently using the app. 
(There are short cron jobs and occasional warmup requests.)

Cheers,

Aron

-- 
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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Mercurial

2009-12-14 Thread Aron Roberts

On Dec 14, 2009, at 2:41 PM, Sam wrote:

 
 I previously used subversion but I have recently swapped to mercurial.
 The problem I encounter is that my eclipse project is not at the root
 of the repository and as mercurial does not support the cloning of
 subsets of the repository I can not clone just the folder with the
 Google app engine project in. This is preventing me form using Google
 app engine plugin to develop my application.



This sounds like a shortcoming of the Eclipse plugin more than anything else. 
Why on earth would it not be able to make a project in any directory you 
choose? My appengine projects are not at the root of my repository either; 
however I use Mercurial, Komodo, and the Appengine Launcher with zero problems.

Perhaps there are folks better equipped to handle this issue on the eclipse 
forums?

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[appengine-java] Re: A matter in local time

2009-09-03 Thread Aron

I guess problem is that after deploying to GAE, any try will retrieve
the time zone
information *on the Google Servers*! Google can't find out what
timezone
your local developer box is located in.

Aron

On Sep 2, 1:08 pm, le anh leanhduc1...@gmail.com wrote:
 On Sep 2, 2:24 pm, leszek leszek.ptokar...@gmail.com wrote:

  If you delete double declaration (String formattedDate) and add proper
  imports and declaration  'Calendar cal = Calendar.getInstance()); it
  should work.
  But you are having this problem while running in local  environment
  (in your machine) or it does not work after deploying to google
  (production) environment ?

 It's also not correct when I change  Date date=new Date()  to
 Calendar cal = Calendar.getInstance(). They are same result.

 The code does not work correct after deploying to google (production)
 environment , meaning it does not work in Web Application Project of
 AppEngine .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---