GCP Services Compute, Storage decision - vidyasekaran/GCP GitHub Wiki

GCP Compute when to use what compute services.

Below Compute Decision will help you choose the right compute service for you.

Its based on Question answer type ?

https://repository-images.githubusercontent.com/222889627/468d8800-0b93-11ea-8c42-c8c137f589b0

https://user-images.githubusercontent.com/300046/102997720-fd6cdd80-44e2-11eb-836b-9ebdf3e19a7b.png

https://user-images.githubusercontent.com/300046/102999844-0b246200-44e7-11eb-8b0e-ac87d722ab8c.png

              ** ComputeEngine            GKE                  App Engine         Cloud Run           Cloud Functions **
            
             1 Container per VM     OnPrem Kubernetes          No Ops               Managed               No Ops
          
            Long Lived VM          Rich Adminstration        Container Run     Stateless Container
            Physical Server       of Container Workload     by the Service

            <----------**Container Deployments**-------------------------------------------->
           -------------------------------------------------------------------------------------------------------------------
               IAAS                     Hybrid                    Paas          Stateless                     Serverless Logic
           --------------------------------------------------------------------------------------------------------------------

Below Compute Decision will help you choose the right Storage service for you.

https://user-images.githubusercontent.com/300046/30033965-bd70b7a8-915b-11e7-9aba-9c2cbf5f62e8.png

What are all the different GCP Services we can use to provide a solution is the idea of this document?

Cloud Functions - Is a Server less service - Run code in response to events

https://cdn.hashnode.com/res/hashnode/image/upload/v1569458612124/9xgprMBri.png https://miro.medium.com/max/1280/1*HZy0hGnKKlkNowGpnx1JmQ.png

URL : https://cloud.google.com/functions/ & https://cloud.google.com/functions/docs/

UseCases - https://cloud.google.com/functions#section-6

Concepts :

Events - Upload object to cloud storage Triggers - Respond to event with a function call Functions - Take event data and perform action

Events are triggered from

Cloud Storage,

Cloud pub/sub,

HTTP Get,Post,delete,put, options

FireBase,

Cloud FireStore,

Stack Driver logging

Cloud Run

https://cloud.google.com/run/docs/

Cloud Run is a managed compute platform that enables you to run containers that are invocable via requests or events. Cloud Run is serverless: it abstracts away all infrastructure management, so you can focus on what matters most — building great applications.

UseCases : https://cloud.google.com/run/docs/#use-cases