Ask HN: Image Hosting Service Reccomended?
1–6 of 6 posts
Re: Ask HN: Image Hosting Service Reccomended?
#2If not, store it on your database as blobs.
Regardless on which one above you choose, if you implement something like Cloudflare, you can get a CDN for those images. If you don't want everything behind Cloudflare, you can have the images served under a different subdomain and have that under cloudflare.
If not, an alternative to S3 is Google Cloud Storage. Create a bucket. Set it as public (everything in the bucket is available) and then you just need to worry about upload.
Here's a quick example in python, https://pypi.org/project/google-cloud-storage/
bucket = client.get_bucket('bucket-id')
new_blob = bucket.blob('remote/path/storage.txt')
new_blob.upload_from_filename(filename='/local/path.txt')
# or
blob.upload_from_string('New contents!')Re: Ask HN: Image Hosting Service Reccomended?
#3Will you have a filesystem? If so, you can store them there. If not, store it on your database as blobs. Regardless on which one above you choose, if you implement something like Cloudflare, you can get a CDN for those images. If you don't want everything behind Cloudflare, you can have the images served under a different subdomain and have that under cloudflare. If not, an alternative to S3 is Google Cloud Storage.…
30 images doesn't seem like it's worth a separate service contract.
Re: Ask HN: Image Hosting Service Reccomended?
#4Re: Ask HN: Image Hosting Service Reccomended?
#5Re: Ask HN: Image Hosting Service Reccomended?
#6Free teir offers up to 25GB of net viewing bandwidth. Plenty for what ur doing.