[google-appengine] Is this an attack?

2022-06-28 Thread Guanaco Devs
While checking the logs of my GAE flask app, I noticed that from June 3rd 
through June 10th there was a spike on traffick, which is highly unusual 
for my website.
I checked the logs and found the reason for that were 3 IP addresses:

94.154.188.130:   1045 Times,
176.103.88.57:  678 Times,
176.103.85.167:1392 Times,

I have posted the requests on a gist HERE 
 for 
the last one with 1392 requests. ipqualityscore 

 says 
that this is a proxy based from russia, actually the 3 ips in question are 
from the same data center, and Ip Quality score has it on a 99 Fraud Score 
while scamalitycs  shows nothing 
wrong, maybe because is a VPN or something of the likes.

According to the logs the first request was at 2022-06-04T08:50:45 with the 
last on that time frame was on 2022-06-10T01:03:42, so it was not a DOS 
attack, times between request were as long as 46 minutes and as frequent as 
1 second in between. 

What was that? Was my site being attacked? Or maybe just a someone playing 
a penetration tester?

There were 1273 unique endpoints as listed in the gist above, 98% of them 
returned a 404. As of today 27+ days, my site has 486 hours usage, during 
the time frame for this hits, was 214.
That raised my bill by US$0.95, is not much but since I do not have traffic 
on my site I usually pay nothing for it. Of course, if I had more traffic, 
I wouldn't have noticed this.
It was only for close to 6 days if it was to be more frequent is just 
raising the bill for nothing.

How can you protect against this?

Best Regards

-- 
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/70ee359d-25b0-4851-bd78-74f2291cd529n%40googlegroups.com.


[google-appengine] Unknown project in GCP Console

2021-09-04 Thread Guanaco Devs
Hi there.

I have noticed recently that I have in my GCP console 2 projects that I did 
not create and I guess came with the account. I have been using GCP for the 
last 4 years, was at the time of installing the gcloud-sdk, that I noticed 
those 2 projects.

Since I'm not the owner, how do I removed them from my GCP Console?

One of the projects name is "you-can-see-this-project" and the other 
"brave-watch-x".

When I try to delete it with the gcloud command I get

`*ERROR: (gcloud.projects.delete) User [my-em...@gmail.com] does not have 
permission to access projects instance [you-can-see-this-project] (or it 
may not exist): The caller does not have permission*`

If I try in the GCP Console I do not have valid permissions to remove them.

I really want to get rid of those projects.


Best Regards

Edgard

-- 
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/2368a3bd-e5df-467f-8d5b-7359702dd345n%40googlegroups.com.


Re: [google-appengine] Re: Need help tracing a road map in GCP for python web app deployment

2019-12-05 Thread Guanaco Devs
I think I finally found what I was looking for
https://cloud.google.com/solutions/web-serving-overview


Thank You & Best Regards
*Edgard Ochoa*
*Guanaco Devs*


On Thu, Dec 5, 2019 at 6:01 PM Guanaco Devs  wrote:

> Hi Elliot
>
> I have an android app that is built for the owner of a shop to sell its
> products to their users, makes posts to social media, admins can make posts
> and users can browse and buy, I'm going for the web app because in this day
> and age if you have no web presence you really have nothing and I want to
> manage(post, sales) the project from the android app.
> All about web development for me(javascript, html & css) is very basic,
> but I'm confident I can make it with the help of GPC.
> My issue is exactly what you stated, "Google provides many ways", should I
> start with GAE and later move to another product like Containers(of which
> I'm blank) or VM's once I get more knowledge?.
>
> My issue here is were to deploy it to get started, rather than how to
> build it.
>
> Thank You & Best Regards
> *Edgard Ochoa*
> *Guanaco Devs*
>
>
> On Thu, Dec 5, 2019 at 3:27 PM 'Elliott (Cloud Platform Support)' via
> Google App Engine  wrote:
>
>> Hello Edgard,
>>
>> Google provides many ways to allow your application to live on GCP.
>> Depending on your use case, there are options with advantages and
>> disadvantages.
>>
>> Can you provide more details on your use case? This will help the
>> community to advise you.
>>
>> --
>> 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/c8b74d9e-1a00-4c92-99f5-ebad5fb29c0c%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/c8b74d9e-1a00-4c92-99f5-ebad5fb29c0c%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/CANxE3X6DvsDcpL%2BCqtp-356PA37K%2Bvgi3f64V%3D7Z%2BmpjHsLyQw%40mail.gmail.com.


Re: [google-appengine] Re: Need help tracing a road map in GCP for python web app deployment

2019-12-05 Thread Guanaco Devs
Hi Elliot

I have an android app that is built for the owner of a shop to sell its
products to their users, makes posts to social media, admins can make posts
and users can browse and buy, I'm going for the web app because in this day
and age if you have no web presence you really have nothing and I want to
manage(post, sales) the project from the android app.
All about web development for me(javascript, html & css) is very basic, but
I'm confident I can make it with the help of GPC.
My issue is exactly what you stated, "Google provides many ways", should I
start with GAE and later move to another product like Containers(of which
I'm blank) or VM's once I get more knowledge?.

My issue here is were to deploy it to get started, rather than how to build
it.

Thank You & Best Regards
*Edgard Ochoa*
*Guanaco Devs*


On Thu, Dec 5, 2019 at 3:27 PM 'Elliott (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Edgard,
>
> Google provides many ways to allow your application to live on GCP.
> Depending on your use case, there are options with advantages and
> disadvantages.
>
> Can you provide more details on your use case? This will help the
> community to advise you.
>
> --
> 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/c8b74d9e-1a00-4c92-99f5-ebad5fb29c0c%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/c8b74d9e-1a00-4c92-99f5-ebad5fb29c0c%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CANxE3X5-_VTf4%3DTbDLcxbY%2B0%3DBf6uRGcDjtndFt3htYZRMBs0A%40mail.gmail.com.


[google-appengine] Need help tracing a road map in GCP for python web app deployment

2019-12-04 Thread Guanaco Devs
Hi, First of all sorry if this is not the right place to post this, but I 
really need some guidance.

I want to build a web app with python and deploy it using GCP. My web app 
will be for e-commerce, I want to build it from scratch and plan to 
maintain it for as long as I live.
Due to the broad range of products in GCP I really don't know how to start, 
for instance "Flask vs. Django"(I'm already building my app with Flask). 
Then is, where or how to deploy it?, not the procedure, but the GCP product 
that might be a good fit for my needs.

I started with Firebase for Android and I'm quite familiar with all the 
"Development" products of Firebase I use them across my released apps with 
a 100% satisfaction, that's why I want to use Firestore/RTDB, Storage and 
Firebase Auth. Tried Wordpress(mostly to make the html and css easier for 
me) but drop it, because I felt that there were so many things out of my 
control and I did not find a way to integrate my Firebase knowledge with 
wordpress.

Thanks to my Firebase experience I learned basic python, javascript for my 
functions and have a good amount of bash scripts that help me maintain the 
backend for my products, without having to be in front of the computer and 
got to get familliar with `gcloud` and the cloud console.

Yet I fail to find what product is the best for me to deploy a python web 
app, should I go GAE, get a VM, Kubernetes, cloud run, is just so many 
products that I believe are good.

Best Regards
Edgard

-- 
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/cc653116-58a2-468b-a1ce-012330b782e6%40googlegroups.com.


[google-appengine] Re: Get the data from a document in Firestore as dictionary

2019-02-11 Thread Guanaco Devs
Thank you George.
Sorry, I thought Python functions were part of the platform and its 
services.
I did ask before in SO with the provided link since I didn't get any 
pointer there I thought that I could do it here.
What I'm looking is for the equivalent 
doc.to_dict()
for a event, something maybe like event.to_dict()

Best Regrds
Edgard
 


On Monday, February 11, 2019 at 7:22:15 PM UTC-6, George (Cloud Platform 
Support) wrote:
>
> Hello Guanaco, 
>
> There is a doc.to_dict() function as well. You may want to check an 
> example on the "google-cloud-firestore 0.31.0" Python documentation page 
> . 
>
> All this is above the scope of this discussion group, in fact off-topic. 
> You should post such questions to StackOverflow, or other similar forums. 
> This forum meant for general discussion on the platform and its services. 
> By contrast, in StackOverflow, you get in contact with experienced 
> programmers, who are happy to 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/b79a4fd7-bb6e-47b9-b708-d7b6a72c4fda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Get the data from a document in Firestore as dictionary

2019-02-11 Thread Guanaco Devs
When triggering a Python function for Firestore the data of the document 
comes whithin the event in the form of:
{
'value': {
'fields': {
'count': {
'integerValue': '0'
},
'verified': {
'booleanValue': False
},
'user': {
'stringValue': 'Matt'
}
}
}
}
Is there a Firestore function to convert the 'fields' key to a dictionary 
like:

{
'count': 0,
'verified': False,
'user': 'Matt',
}
When using JavaScript Functions one can get the data from the event as 
properties, is there something in Firestore likewise.
According to the answers in this 

 
question in SO, my best bet is to get the data straight from Firestore 
instead of writing some extra lines of code.

Best Regards
Edgard

-- 
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/890fe3c6-e155-4bea-aa9c-8aca6e38c3b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.