[google-appengine] Re: Run Jenkins on Google App Engine Standard environment

2020-12-17 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Thank you for the information you provided. I was able to find a tutorial 
on how to use Jenkins with Cloud Run here 
.
 
The guide explains how to build docker image in dockerized Jenkins, push 
image to Google Container Registry and deploy it to Cloud Run.

I believe that Cloud Run would be appropriate for your use case since it 
can scale down to zero. Look here .

Cloud Run abstracts away all infrastructure management by automatically 
scaling up and down from zero almost instantaneously—depending on traffic.

For your question on Virtual Machine scaling, I was able to find this 
document . One Compute VM must 
be turned on to operate.

Pricing for Compute Engine is based on per-second usage of the machine 
types, persistent disks, and other resources that you select for your 
virtual machines.

I hope this helps.


On Thursday, December 17, 2020 at 10:54:20 AM UTC-5 krisztia...@mintest.io 
wrote:

> Thanks for your answers. And yes, I want to run Jenkins inside App Engine. 
> Currently I am running Jenkins inside GCE, but I need that feature what App 
> Engine gives us, it can scale down to zero and, the engine runs only, when 
> a request comes. GCE is running in 0-24. And I have to pay 0-24, aren't I? 
> Or can we scale to zero the GCE? :O 
> On Thursday, December 17, 2020 at 2:39:24 AM UTC+1 
> advanced.develo...@gmail.com wrote:
>
>> Hello,
>> From what I understand from your question, you want to run Jenkins in App 
>> Engine.  GAE is design for microservice architecture and I really doubt it 
>> can be used to run Jenkins loads.   May I ask what features do you find in 
>> App Engine appealing to do this? 
>> I would like to suggest exploring using GCE instance with auto-scaling 
>> features. You should be able to find tutorials for this.
>>
>> If your question is related to deploying App Engine instances using 
>> Jenkins, I have not done it myself but this should be possible.
>>
>> On Wednesday, December 16, 2020 at 3:32:59 PM UTC-5 Elliott (Cloud 
>> Platform Support) wrote:
>>
>>>
>>> Hello,
>>>
>>> Using the information I have available to me from your question, I was 
>>> able to find a video link  that has a 
>>> laboratory setting up Jenkins with Google App Engine.
>>>
>>> I hope this is sufficient for you since I do not have more detail to go 
>>> on. If you have some more specific questions, please reply.
>>>
>>> From the link:
>>>
>>> Google App Engine is a platform as a service offered by Google. It helps 
>>> in running our application on world class Google infrastructure without 
>>> worrying too much. So, how do we automate the deployment of applications 
>>> onto Google App Engine with a continuous Integration and continuous 
>>> delivery tool like Jenkins.
>>>
>>> In this video, you will learn about custom plugins, configuring Google 
>>> service-account-credentials in Jenkins and deploying applications onto 
>>> Google App Engine securely while also stopping and deleting previous 
>>> versions along with rolling back the changes in case of test failure.
>>>
>>> I hope this helps.
>>>
>>> On Wednesday, December 16, 2020 at 11:01:34 AM UTC-5 
>>> krisztia...@mintest.io wrote:
>>>
 Hello.
 I want to run Jenkins on GAE in Standard environment, but I cant find 
 any tutorial, project, document or anything...
 Somebody did that before?
 Maybe can you help me where, to start?
 Thanks for your reply. :)

>>>

-- 
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/1c2bae24-00e2-4f35-a88c-88605d1ae089n%40googlegroups.com.


[google-appengine] Re: Run Jenkins on Google App Engine Standard environment

2020-12-17 Thread Krisztian Zagonyi
Thanks for your answers. And yes, I want to run Jenkins inside App Engine. 
Currently I am running Jenkins inside GCE, but I need that feature what App 
Engine gives us, it can scale down to zero and, the engine runs only, when 
a request comes. GCE is running in 0-24. And I have to pay 0-24, aren't I? 
Or can we scale to zero the GCE? :O 
On Thursday, December 17, 2020 at 2:39:24 AM UTC+1 
advanced.develo...@gmail.com wrote:

> Hello,
> From what I understand from your question, you want to run Jenkins in App 
> Engine.  GAE is design for microservice architecture and I really doubt it 
> can be used to run Jenkins loads.   May I ask what features do you find in 
> App Engine appealing to do this? 
> I would like to suggest exploring using GCE instance with auto-scaling 
> features. You should be able to find tutorials for this.
>
> If your question is related to deploying App Engine instances using 
> Jenkins, I have not done it myself but this should be possible.
>
> On Wednesday, December 16, 2020 at 3:32:59 PM UTC-5 Elliott (Cloud 
> Platform Support) wrote:
>
>>
>> Hello,
>>
>> Using the information I have available to me from your question, I was 
>> able to find a video link  that has a 
>> laboratory setting up Jenkins with Google App Engine.
>>
>> I hope this is sufficient for you since I do not have more detail to go 
>> on. If you have some more specific questions, please reply.
>>
>> From the link:
>>
>> Google App Engine is a platform as a service offered by Google. It helps 
>> in running our application on world class Google infrastructure without 
>> worrying too much. So, how do we automate the deployment of applications 
>> onto Google App Engine with a continuous Integration and continuous 
>> delivery tool like Jenkins.
>>
>> In this video, you will learn about custom plugins, configuring Google 
>> service-account-credentials in Jenkins and deploying applications onto 
>> Google App Engine securely while also stopping and deleting previous 
>> versions along with rolling back the changes in case of test failure.
>>
>> I hope this helps.
>>
>> On Wednesday, December 16, 2020 at 11:01:34 AM UTC-5 
>> krisztia...@mintest.io wrote:
>>
>>> Hello.
>>> I want to run Jenkins on GAE in Standard environment, but I cant find 
>>> any tutorial, project, document or anything...
>>> Somebody did that before?
>>> Maybe can you help me where, to start?
>>> Thanks for your reply. :)
>>>
>>

-- 
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/f978c680-da39-400f-a261-3d6ac89b4cfdn%40googlegroups.com.


[google-appengine] Re: inconsistent daily "frontend instance" costs

2020-12-17 Thread Ehsan Kia
it still is strange because the only place that does show my instance usage 
(the daily dashboard) is always well below 28h. While it does say:
> Due to the way estimates are calculated, the sum of individual resource 
costs may not match the displayed total exactly.
still, every day i'm being charged ~$0.50, which means 10 extra hours. 
That's almost 50% more than what's displayed.
Also this issue only started very recently, I haven't had any issues with 
this for the past 3-4 months.
On Wednesday, December 16, 2020 at 3:07:03 AM UTC-5 vladoi wrote:

> According to the official documentatio:
> "Setting the maximum to 1 instance **usually** keeps your instance hour 
> usage within the free tier."
> However, please consider the important note:
> "*Important:* App Engine applies the max_instances setting on a best 
> effort basis. *In some circumstances, App Engine may briefly exceed the 
> limit you specify.*"
>
> [1]. https://cloud.google.com/appengine/docs/managing-costs
>
> On Tuesday, December 15, 2020 at 3:35:55 PM UTC+1 ph0...@gmail.com wrote:
>
>> None of the older versions are running, and I have an instance limit, but 
>> I still went ahead and deleted all the older versions. It's still happening.
>>
>> I'm pretty convinced AppEngine is miscalculating my usage...
>> On Monday, December 14, 2020 at 4:07:10 AM UTC-5 vladoi wrote:
>>
>>> Hello, 
>>>
>>> Did  you stop serving the previously deployed versions of your GAE 
>>> Application ?  If you no longer require these versions you can delete the 
>>> version by following our public official documentation [1] [2]: 
>>>
>>>  
>>>
>>> [1]. 
>>> https://cloud.google.com/nodejs/getting-started/delete-tutorial-resources#deleting_app_versions
>>>  
>>> [2]. https://cloud.google.com/sdk/gcloud/reference/app/versions/delete.
>>>
>>> On Friday, December 11, 2020 at 8:57:20 PM UTC+1 ph0...@gmail.com wrote:
>>>
 I don't think so, since again, the billing section on the AppEngine 
 Dashboard  generally takes 
 that into account, in my experience. But yes I've also verified that it is 
 F1.
 Again last night, when I wrote this email at 3am, the counter was at 
 24.5h right before the reset, but today I see a charge of $0.55.

 The annoying part is that there seems to be no way to actually see the 
 finalized quota usage to verify these costs. How can I make sure what 
 Google is charging me is the right amount if I can't even see the usage? 
 Is 
 there some API that gives access to that which I'm missing?

 On Friday, December 11, 2020 at 12:30:12 PM UTC-5 jdfi...@cedreo.com 
 wrote:

> Hello, maybe it is due to your instance class. If I remember correctly 
> one hour of an F2 is billed as two hours and F4 is billed as 4 hours.  I 
> think the base idea is that one hour represents one hour of F1. There is 
> this part of the doc that helped us understand our cost when we are 
> facing 
> the same question:
>
> " *Important:* When you view your bill 
> , you will not 
> see the names of the individual instance classes in your billing line 
> items. Instead, you see instance hours from the "B" classes reported as 
> "Backend Instances", and instance hours from the "F" classes reported as 
> "Frontend Instances". The bill will apply the appropriate multiple of 
> instance hours for each instance class you use. For example, if you use 
> an 
> F4 instance for one hour, you see "Frontend Instance" billing for four 
> instance hours at the F1 rate."
>
> It is extracted from https://cloud.google.com/appengine/pricing.
> On Friday, December 11, 2020 at 9:04:14 AM UTC+1 ph0...@gmail.com 
> wrote:
>
>> Every day, I look at the appengine quota page, an hour before it's 
>> about to reset for the day, and it's sitting well below the 28h 
>> free-tier 
>> limit, yet the next day, I check billing for the previous day and I have 
>> ~1$ of charges, which at $0.05/hour, that means 20 hours of extra time. 
>> So 
>> unless my application somehow managed to start 20 instances in the last 
>> hour (which isn't possible, the limit is 3), those numbers make no sense.
>>
>> I remember years ago it was possible to see the quota usage for 
>> previous days, but it seems like that page doesn't even exist anymore, 
>> so 
>> there's no way for me to verify how many frontend instance hours were 
>> used 
>> in previous days. But the charges I'm getting definitely do not make 
>> sense. 
>> I never pass 28 hours, yet I'm constantly getting charged every day for 
>> "frontend instance".
>>
>> Is there any way to debug where these costs come from and what my 
>> usage is? I'm not sure if GCP intentionally hides this information away, 
>> all I can see is the bi

Re: [google-appengine] Re: replicate from one datastore to another firestore

2020-12-17 Thread Rajesh Gupta
I had raised a production issue.  The team said that they cannot increase
the indexes quota.
Can you help me out with the increase in index quota.? I need another
25-50, so that we don't slow down our expansion of our SAAS.

Regarding your suggestion: export to GCS and then import to  Firestore:
This is not suitable in my case. I am looking at almost realtime data
transfer to firestore, so that I can use firestore data for certain queries.

Cheers,
Rajesh
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*


On Wed, Dec 16, 2020 at 4:44 PM 'vladoi' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hello,
>
> >What are my options here?
> From your use case description, I believe you should contact Google Cloud
> Support [1] to request a Datastore indexes quota increase. Also you can
> export your Datastore data to GCS and then import it on your other project
> (Firestore Datastore Mode) [2].
>
> [1]. https://cloud.google.com/support/docs/procedures
> [2]. https://cloud.google.com/support/docs/procedures
>
> On Wednesday, December 16, 2020 at 5:23:32 AM UTC+1
> rajesh...@veersoftsolutions.com wrote:
>
>> Hello,
>> I want to copy the data from one datastore project to another firestore
>> project in realtime
>> Here is the scenario
>> - We use Objectify to put data the datastore
>> - After doing put, the row from datastore should be replicated to another
>> firestore project in almost realtime
>>
>> Why am I doing this?
>> I am out of quota for datastore indexes.  I have to query data.  So, I
>> thought I will replicate to firestore and query the data.
>>
>> What are my options here?
>>
>> --
>> Rajesh
>> www.servicefolder.com
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> --
> 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/5a237e07-fe5f-4d73-ac1e-da009dc1bbb3n%40googlegroups.com
> 
> .
>


-- 
Rajesh
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
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/CA%2BS7ijZ46NY4Np9e0jtmWjTXt5mgZ1SfG6JY2pW8wLD3_t6pTQ%40mail.gmail.com.