Google cloud platform

HavocXphere

Honorary Master
Joined
Oct 19, 2007
Messages
33,153
Reaction score
1,297
Location
Europe
I set up a google cloud platform account...but am a little bewildered by the amount of things on offer. Could someone help me make sense of them?

Looking to host some python code - web scraping, number crunching, maybe some light webpage hosting with results of number crunching. Needs to be something where I can bring in my own python modules/libs and preferably Python 3.

The main choices seem to be:

App Engine - I gather this requires somewhat of a hybrid of classic python and app engine specific commands? Looks like python 2.7 only to me?

Compute - A full VM by the looks of it? Debian image and all that jazz?

Kubernets - I gather I don't need this if I don't have lots of containers?

So I'm guessing I need either app engine or compute? Compute seems preferable because it's a classic environment, but I'm guessing App Engine has better performance given the more constrain functionality?

Or would I split it like App Engine is front end and compute crunches the numbers?

Anyway...any pointers on where to dive in would be appreciated.
 
I set up a google cloud platform account...but am a little bewildered by the amount of things on offer. Could someone help me make sense of them?

Looking to host some python code - web scraping, number crunching, maybe some light webpage hosting with results of number crunching. Needs to be something where I can bring in my own python modules/libs and preferably Python 3.

The main choices seem to be:

App Engine - I gather this requires somewhat of a hybrid of classic python and app engine specific commands? Looks like python 2.7 only to me?

Compute - A full VM by the looks of it? Debian image and all that jazz?

Kubernets - I gather I don't need this if I don't have lots of containers?

So I'm guessing I need either app engine or compute? Compute seems preferable because it's a classic environment, but I'm guessing App Engine has better performance given the more constrain functionality?

Or would I split it like App Engine is front end and compute crunches the numbers?

Anyway...any pointers on where to dive in would be appreciated.

Sorry cant help but had the same experience on AWS and Azure
 
I also just started up with gcp this week, so not going to be much help here either but I knew I wanted Kubernete's.

That being said, take a look at the documentation for Python https://cloud.google.com/python/docs/, apart from them being the ultimate in upselling, it gives you a pretty good idea of what to use where and examples of each.

I also heard that you get a micro vm instance is free forever.

I guess your main decision here would be around cost. I managed to rack up a $10 bill in 2 days for an unworking application.
 
mostly spot on, but IIRC app engine is basically a "managed" platform for your app, so you dont have to worry about devops-y stuff. Could be wrong though.

Ive only used the Compute instance.

Also have a look at the functions (you get 2 million free a month). IIRC they only support Node.js though.

https://cloud.google.com/functions/
 
Opted for AppEngine for now...might need the hand holding & frankly don't trust myself to do full stack web facing...security holes for days.

Didn't care for the tutorial on AppEngine. "Copy this text to clone a github Hello world"...congrats you're done. Next tutorial...NoSQL. Wait what? Reminds me of this:

d6d.jpg

That said...all good. Figured out that I can edit the .py with nano in the shell so that so gets my main requirement sorted. (Something pythony in the cloud)

mostly spot on, but IIRC app engine is basically a "managed" platform for your app, so you dont have to worry about devops-y stuff. Could be wrong though.

Ive only used the Compute instance.

Also have a look at the functions (you get 2 million free a month). IIRC they only support Node.js though.

https://cloud.google.com/functions/
That sounds like something I might be able to leverage for scrapping purposes....later...much later.

I also just started up with gcp this week, so not going to be much help here either but I knew I wanted Kubernete's.

That being said, take a look at the documentation for Python https://cloud.google.com/python/docs/, apart from them being the ultimate in upselling, it gives you a pretty good idea of what to use where and examples of each.

I also heard that you get a micro vm instance is free forever.

I guess your main decision here would be around cost. I managed to rack up a $10 bill in 2 days for an unworking application.
Yeah micro VM but has to be in US region. Noticed they're kinda sneaky about it...compute and appengine defaults to different datacenters and there is a tiny charge for cross center communication. Setting everything to east 1b seems like the best from what I can tell.

Cost - well there is the 300 USD credit so not to worried...and frankly don't particularly care as long as I don't get a mega bill.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X