Questions tagged [google-cloud-platform]

Google Cloud Platform provides cloud computing services that let you build applications and websites, store data, and analyze data on Google's infrastructure.

Google Cloud Platform provides cloud computing services that let you build applications and websites, store data, and analyze data on Google's infrastructure.

Google Cloud Platform encompasses the following services across several focus areas:

Compute

Storage

Big Data & Analytics

Developer tools & application development

Services

Further information:

Online Coursera Specialization:

GCP Certification:

47450 questions
532
votes
12 answers

What is the difference between Google App Engine and Google Compute Engine?

I was wondering what the difference between App Engine & Compute Engine are. Can anyone explain the difference to me?
471
votes
22 answers

How to change the project in GCP using CLI commands

How can I change the current running project to another project in GCP (Google Cloud Platform) account using cli commands other than using gcloud init manually? gcloud projects list will list the projects running on my account. I want to change the…
Ebin Davis
  • 5,421
  • 3
  • 15
  • 20
424
votes
5 answers

What's the difference between Cloud Firestore and the Firebase Realtime Database?

Google just released Cloud Firestore, their new Document Database for apps. I have been reading the documentation but I don't see a lot of differences between Firestore and Firebase DB. The main point is that Firestore uses documents and collections…
309
votes
9 answers

What is Firebase Firestore 'Reference' data type good for?

I'm just exploring the new Firebase Firestore and it contains a data type called reference. It is not clear to me what this does. Is it like foreign key? Can it be used to point to a collection that is located somewhere else? If reference is an…
281
votes
9 answers

How to open a specific port such as 9090 in Google Compute Engine

I have 2 Google Compute Engine instances and I want to open port 9090 in both the instances. I think we need to add some firewall rules. Can you tell me how can I do that?
Subhradip Bose
  • 3,065
  • 2
  • 13
  • 17
266
votes
34 answers

Enabling CORS in Cloud Functions for Firebase

I'm currently learning how to use new Cloud Functions for Firebase and the problem I'm having is that I can't access the function I wrote through an AJAX request. I get the "No 'Access-Control-Allow-Origin'" error. Here's an example of the function…
240
votes
14 answers

How to use Google App Engine with my own naked domain (not subdomain)?

After hours of reading about and experimenting with DNS records I can access my Google App Engine app via these URLs: myappid.appspot.com www.myappid.myowndomain.example What does not work: myowndomain.example www.myowndomain.example I want to…
Mark
  • 5,331
  • 5
  • 21
  • 10
228
votes
19 answers

How do I structure Cloud Functions for Firebase to deploy multiple functions from multiple files?

I would like to create multiple Cloud Functions for Firebase and deploy them all at the same time from one project. I would also like to separate each function into a separate file. Currently I can create multiple functions if I put them both in…
199
votes
40 answers

gcloud command not found - while installing Google Cloud SDK

I am on a mac and am trying to install the Google Cloud SDK (including the gcloud command line utility) using this command in terminal curl https://sdk.cloud.google.com | bash as seen at https://cloud.google.com/sdk/ It got all the way to the end…
192
votes
17 answers

Google Firestore - How to get several documents by multiple ids in one round-trip?

I am wondering if it's possible to get multiple documents by a list of ids in one round trip (network call) to the Firestore database.
185
votes
8 answers

How to think in data stores instead of databases?

As an example, Google App Engine uses Google Datastore, not a standard database, to store data. Does anybody have any tips for using Google Datastore instead of databases? It seems I've trained my mind to think 100% in object relationships that…
Jim
  • 11,229
  • 20
  • 79
  • 114
164
votes
7 answers

Pricing of Google App Engine Flexible env, a $500 lesson

I followed the Nodejs on App Engine Flexible env tutorial: https://cloud.google.com/appengine/docs/flexible/nodejs/create-app Having successfully deployed and tested the tutorial, I changed the code to experiment a little and successfully deployed…
drenocartero
  • 4,941
  • 7
  • 26
  • 26
163
votes
16 answers

Choosing Java vs Python on Google App Engine

Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless of the languages used to write that code. Which language…
157
votes
3 answers

Composer require branch name

For example I want to require: { "repositories": [ { "type": "git", "url": "https://github.com/google/google-api-php-client.git" } ], "require": { "google/apiclient": "v1-master" } } In this example I try require…
Wizard
  • 10,985
  • 38
  • 91
  • 165
155
votes
9 answers

Google Cloud Bigtable vs Google Cloud Datastore

What is the difference between Google Cloud Bigtable and Google Cloud Datastore / App Engine datastore, and what are the main practical advantages/disadvantages? AFAIK Cloud Datastore is build on top of Bigtable.
1
2 3
99 100