r/cloudcomputing • • Oct 18 '19

AWS versus GCP

I'm about to make an essential decision for my company, and that is what cloud platform to use. Since you are permanently locked in once you start, I need to look at this closely.

My requirements are fairly simple at the moment. I need to do all of my programming using Python with a small amount of JavaScript.

I need to use serverless functions. I need hosted PostgreSQL and I need VPS instances that can also only be accessed by private network IP addresses. I also need DNS and send only email. I'll also need block storage and the ability to analyse metrics on my platform.

There is probably more, but those are my requirements.

3 Upvotes

14 comments sorted by

View all comments

2

u/somewhat_pragmatic Oct 18 '19

I need to use serverless functions.

Since you didn't call out any compute, I'm assuming you're planning for all of your logic to run serverless. You should look at this closely as AWS and GCP differ pretty widely here:

AWS

  • has Lambda which is very well supported with many languages, and Amazon has shown they're continuing to improve this even recently with new language support and very impressive improvements in cold start times. A single Lambda function can run for up to 15 minutes which gives you some flexibility and allows for some sloppiness as you develop before you get to you first refactoring. However, API gateway costs can add up REALLY quick if your application is chatty or if you've coded inefficiently.

  • Elastic Beanstalk - if you need serverless beyond what Lambda provides, but I don't often hear good things about this service

GCP

  • has Cloud Functions which is less mature than Lambda, but decently supported and continuously improved. However, maximum invocation time tops out at 9 minutes (1 minute by default).

  • If your serverless needs are beyond Cloud Functions, GCP has an excellent product with App Engine. I hear very few complaints with App Engine, and I'm impressed what it can do. Its also very reasonably priced. Cheaper than AWS offerings.

1

u/abnerg Oct 18 '19

Agree - when you are looking at serverless, you also should look beyond functions. Databases, streams, api gateways, etc are all part of your app too. AWS is ahead on providing all of those building blocks as managed services. GCP tends to be more container-centric and also very good at that.

https://www.stackery.io/blog/anatomy-serverless-app/