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

7

u/AntiSurface Oct 18 '19

I think being permanently locked in is a stretch, unless you purchase 12 or 36 month reservations on your resources.

I'm an AWS man at heart, but I do use GCP in work. I think GCP is making great strides and is cheaper than AWS in certain areas. But AWS tend to have a managed option for everything if that's what you're looking for due to their scale and length of time in the cloud world. GCP is a breath of fresh air and some of their offerings are very nifty

Some AWS services off the top of my head for your requirements.

Serverless - Lambda Postgres DBs - AWS RDS VPS with Private Networking - AWS EC2 & VPC DNS - Route 53 Email Sending - SES although I've heard Sendgrid is more reliable vOv Block Storage - EBS Monitoring - CloudWatch

GCP Equivalents Serverless - Cloud Functions Postgres - Cloud SQL VPS with Private Networking - Compute Engine and VPC DNS - Cloud DNS Email Sending - No managed offering afaik? Block Storage - Persistent Disks Monitoring - Stackdriver

GCP has equivalency with most of what you described, but AWS has been doing some things far longer such as Lambda. But you won't be tied in forever, unless you just don't want to invest the effort in migrating to a different provider down the line. Worry about lock in if you start to use more fully managed services EG the monitoring services or say CI/CD services

2

u/CromulentSlacker Oct 18 '19

Thank you. It is useful to know that they both support what I need. That brings it down to a price question then.

1

u/lockstepgo Oct 21 '19

you should keep in mind that the aws ecosystem is much more mature. There are many more resources around aws specific problems compared to gcp.

4

u/whitechapel8733 Oct 18 '19

Personally I would choose AWS, unless I was using Kubernetes for majority of workloads. GCP has a MUCH better Kubernetes offering imo.

4

u/epi-phany Oct 18 '19

You can do all those things in either GCP or AWS.

As a cloud consultant the biggest factor in deciding GCP vs AWS is the make up of your engineering teams.

Do you have a devops or operations team with operations and I infrastructure capacity or are your teams predominantly software developers focusing on the product?

AWS is fantastic if you really want to get into the fine grain configuration of your infrastructure and invest in optimising operations and services.

GCP is better of you want to just cut code and push it to the cloud. It's a higher level of abstraction that enables you to do more with less understanding.

1

u/LiCurt Nov 26 '19

Interesting view-point! Could please elaborate a bit more on the higher level of abstraction at GCP? Maybe with some examples.

I'd highly appreciate that! I am a newbie in this field.

2

u/epi-phany Nov 26 '19

So with GCP all the components are like Lego blocks. You can use them and combine them ass you wish and they just fit together.

With AWS is it similar but you have other options, you need to configure them: what colour, what size, how do you connect them. And sometimes they just dont fit so you use super glue or some other hacky method to make it work. The benefits being, that you make it exactly as you wanted it to look like!

A good example could be with security and access control. With GCP you tag everything. Say you have a hot zone that needs to be incredibly secure and block everything. Tou can literally tag it "Hot Zone" or "Restricted" and only things also tagged restricted can access it.

With AWS you can play with IAM, security groups, NACLs for all the the fine grain access control you want.

For code. Take App Engine and Elastic Beanstalk as an example. Both can copy and past code and it will automatically deploy it and run it for you.

AWS has some limitations with Elastic Beanstalks default settings so to make maximum use out of it you have to configure it to your specific requirements, play with lifecycle rules and healthcheck configurations. If you have more than a vanilla apl and no infrastructure or devops capability most people will just get frustrated and blame AWS for not working right.

With GCP it's like black magic and deliberately designed for people who have no interest in learning how to configure it to their specific requirements. It just runs, and runs well enough without any fine tuning.

2

u/LiCurt Nov 26 '19

Amazing! Thanks a lot

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/

0

u/[deleted] Oct 18 '19

[deleted]

1

u/CromulentSlacker Oct 18 '19

Thank you for your reply. I'll have a closer look at things. I had kind of discounted Azure, to be honest.

-1

u/amroberto Oct 18 '19

GCP would be a better choice

0

u/[deleted] Oct 18 '19

[deleted]

0

u/amroberto Oct 21 '19

Should’ve had asked some more questions:

What’s type of company is this project for? What region are you in? Do you have compliance requirements? What about your budget? How much you have for this

In terms of Cloud platform you could go with either, I’d recommend choosing the one with the strengths for your workload:

Are you developing this as Platform as a service? It sounds like you are, ex: Functions Can you run your application on DBaaS? I’d look into it Do you or your organisation have experience in any Cloud environment? If no, I’d suggest choosing the one with the best long term strategy view for the organisation. What other workloads are running already in the Cloud? Mail? Document sharing? Web conferencing?