Using Firebase and s3 to store images


#1

Is it possible to use firebase and s3 together. I need to store images and firebase can get pricy. Could I use s3 to store to store the images and save the url (from s3) to firebase as a string. And then call the url as needed from firebase?

Also could be the cost associated with this, I know that I would be paying for storage. But are there any cost when an image is loaded from a url (data transfer)?

Thanks


#2

depends on your requirements. I use firebase to store images also as base64 encoded string. If your images are more than 1 MB in size, base64 encoding will take its toll on the device.

Yes, you can store in S3 and save the resulting url in firebase. Yes, there will be cost for accessing the url from S3. AWS will charge for it.