Smeagol
Smeagol

Reputation: 632

What is the connection between Google cloud platform and Firebase storage?

I am trying to have media data somewhere on the Cloud and download them by my Android app. I found out that this should be done by the Google Cloud Platform.

But when I started to investigate I learned that I need to have Firebase Storage first. But do I still need the Cloud Platform then? Isn't it the same thing?

To be honest I don't understand the difference between these two.

So what is the difference and connection between the Google Cloud Platform and Firebase Storage? And how do they cooperate?

Upvotes: 1

Views: 388

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598807

Google Cloud Platform is a group of over 100 cloud based products offered by Google. Instead of covering that, I'm going to assume you are asking about Google Cloud Storage, which is one of those 100+ products, and which deals with storing and retrieving files.

Cloud Storage has a set of APIs that you can call from a trusted environment, such as your development machine, a server that you control, or a serverless environment like Cloud Functions. It does not offer SDKs for direct access from client-side platforms such as Android.

Firebase is also part of Google, and is a so-called serverless platform: it offers SDKs that can be used directly within your client-side application code. In this specific scenario, Firebase offers SDKs that access Cloud Storage from Android, iOS and Web clients.

To allow you to secure access to the files in Cloud Storage, Firebase relies on authenticating the user, and then a set of server-side security rules that you configure and that define who can access what files.

This combination of accessing Cloud Storage through Firebase is officially called Cloud Storage for Firebase, but often still referred to by its previous name of Firebase Storage.

Upvotes: 5

Related Questions