[google-appengine] Re: Could you suggest me a suitable solution on GCP?

2021-01-19 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Jaromir,

I understand that you would like some advice on running your Spring Boot 
application on Google Cloud Platform. There are a few ways you can do this. 
For example, you may use Google App Engine Standard or Google Google 
Kubernetes GKE, both having tutorials here 
.

To offer the best advice, what are your concerns specifically? Maybe after 
using the information from the links, you would be more sure.

The community would recommend an environment but if you provide your use 
case, it will be easier.

For example, for Google App Engine Standard, applications can be easy to 
create. Since this is managed, the app may be simple to maintain and scale 
depending on traffic and data. You don’t need to maintain a server. In 
theory, you upload your app and that’s it.


On Monday, January 18, 2021 at 2:35:57 PM UTC-5 behav...@gmail.com wrote:

>
> Hi,
> I have a Spring boot application that produce small public REST API. Is 
> written in Java11 and I would like to run it in Apache Tomcat 9.x .
>
>
> Could you recommend me , which environment should I use on GCP? 
>
> I started with App Engine (standard environment), but I am not sure if it 
> is suitable form java + spring application.
>
> I would like to run my app in 1 instance, later (if  will be necessary ) 
> to scale in more instance.
>
> Thanks for advice.
> Jaromir
>
>

-- 
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/ed3c61ba-314c-4620-881f-2c7a7470af66n%40googlegroups.com.


[google-appengine] Modify Datastore Admin Backup Built-in Taskqueue

2021-01-19 Thread ray abanid
Hello everyone,

I have some questions regarding the datastore backup. I'm wondering if we 
can modify or override the built-in task queue on datastore admin 
*/_ah/datastore_admin/backup.create?*

What I want to do when exporting the data from datastore is that I would 
only need to export the data that has specific date range that I specify. I 
saw on the documentation that you can pass a parameter to the URL. Is its 
possible to pass the parameter on the date range like this one?
*/_ah/datastore_admin/backup.create?name=MyBackup&StartDate=12-01-20&EndDate=01-12-21.*

Please let me know if I miss something.

Thanks a lot
Ray

-- 
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/a4ab7954-563e-43f0-a10d-d57f9de76e9fn%40googlegroups.com.


[google-appengine] Re: Modify Datastore Admin Backup Built-in Taskqueue

2021-01-19 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

I understand that you to want to export the data from Cloud Datastore that 
has a specific date range you that may specify programmatically such as the 
example:

/_ah/datastore_admin/backup.create?name=MyBackup&StartDate=12-01-20&EndDate=01-12-21

I did some research into this and found that the backup URL is meant to be 
done automatically. I was wanting to share some documentation available to 
the public on the details but since this is not standard, examples are 
limited. So to evolve this conversation and provide advice to you, can you 
please provide the documentation you found to illustrate your use case?

I have found that it may be possible to use the URL with parameters 
,
 
but I am unable to verify this using official documentation. So it may not 
work.


I have looked at Cloud Datastore Admin as an option but it is deprecated 
.
 
I would suggest looking into the new method of exporting as backup 
.

To add value to this thread, I was able to find a thread with an accepted 
answer relating to a similar question 

 
indicating the Cloud Datastore Admin is deprecated and that upgrading to 
the Cloud Datastore export service was recommended.

I hope this helps.


On Tuesday, January 19, 2021 at 10:10:50 AM UTC-5 ray.a...@gmail.com wrote:

> Hello everyone,
>
> I have some questions regarding the datastore backup. I'm wondering if we 
> can modify or override the built-in task queue on datastore admin 
> */_ah/datastore_admin/backup.create?*
>
> What I want to do when exporting the data from datastore is that I would 
> only need to export the data that has specific date range that I specify. I 
> saw on the documentation that you can pass a parameter to the URL. Is its 
> possible to pass the parameter on the date range like this one?
>
> */_ah/datastore_admin/backup.create?name=MyBackup&StartDate=12-01-20&EndDate=01-12-21.*
>
> Please let me know if I miss something.
>
> Thanks a lot
> Ray
>

-- 
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/8587eb9c-ce18-400b-aa8b-2f7893715749n%40googlegroups.com.


[google-appengine] Re: Could you suggest me a suitable solution on GCP?

2021-01-19 Thread behavin behavin
Hi Elliott,
I appreciate you answering me, thanks for links I started to reading it 
from begining. I have also deployed my springboot application to Google App 
Engine Standard . It works but I have some problems with that.

My use case:
 - I would like use "platform-as-a-service", where I deploy my springboot 
app  (jar or war) and let application running for long time. 
 - My app is connected to google cloud SQL (mysql8).
 - I would like use advantage of simple maintain and scaling (automatically 
create more instances if it will be necessary).
 - I would like use a similar product like Elasticbeanstalk on AWS, (using 
Apache Tomcat 9.x  , springboot is familiar with it) but from Google Cloud.
 - My application has cca 100MB (with libraries).
 - In first phase I expect just only hundreds or thousands requests per 
whole day.
 - I would like use CI/CD from gitlab.

Now, after I deployed to Google App Engine Standard (runtime: java11, 
instance_class: B2, manual_scaling:  instances: 1 ) I have this problem:
- During or after the app start I noticed that server is several times 
restarted. After cca 5 minutes it is stable and working normally. I am not 
sure if Google App Engine Standard is suitable solution for me...

Thanks for answer and have a nice day.
Jaromír


Dne úterý 19. ledna 2021 v 16:05:35 UTC+1 uživatel Elliott (Cloud Platform 
Support) napsal:

> Hello Jaromir,
>
> I understand that you would like some advice on running your Spring Boot 
> application on Google Cloud Platform. There are a few ways you can do this. 
> For example, you may use Google App Engine Standard or Google Google 
> Kubernetes GKE, both having tutorials here 
> .
>
> To offer the best advice, what are your concerns specifically? Maybe after 
> using the information from the links, you would be more sure.
>
> The community would recommend an environment but if you provide your use 
> case, it will be easier.
>
> For example, for Google App Engine Standard, applications can be easy to 
> create. Since this is managed, the app may be simple to maintain and scale 
> depending on traffic and data. You don’t need to maintain a server. In 
> theory, you upload your app and that’s it.
>
>
> On Monday, January 18, 2021 at 2:35:57 PM UTC-5 behav...@gmail.com wrote:
>
>>
>> Hi,
>> I have a Spring boot application that produce small public REST API. Is 
>> written in Java11 and I would like to run it in Apache Tomcat 9.x .
>>
>>
>> Could you recommend me , which environment should I use on GCP? 
>>
>> I started with App Engine (standard environment), but I am not sure if it 
>> is suitable form java + spring application.
>>
>> I would like to run my app in 1 instance, later (if  will be necessary ) 
>> to scale in more instance.
>>
>> Thanks for advice.
>> Jaromir
>>
>>

-- 
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/0dcf815e-e2c9-44a8-a25b-a914dcf73179n%40googlegroups.com.