Create bucket for store image (Similar s3 but into digital ocean)

March 22, 2016 2.3k views
DigitalOcean Node.js Configuration Management Security

Hi,

I have a serious problem, currently storing disk images in my vps (avatars), but the browser blocks these local connections. Then I send them to the pages through express js, this is complicated, when I wish to functionality that is visible in the avatar, if I have the gravatar ..... everything is easy, but for images stored locally .... is the problem.

Any help.......

1 comment
  • as far as i know, digitalocean doesn't have an offering similar to s3 buckets. My suspicion is that there is something with your code in reading your local avatar images, or possibly permissions on the local VPS filesystem for the images to be readable by the webserver. Just a guess based on your description.

1 Answer

We have recently launched Spaces, an Object Storage product with simple pricing. See: https://www.digitalocean.com/products/spaces/ You can use Spaces to store and serve images, however, it is not a CDN and is not meant to be used as such, so keep that in mind if you need super high performance at great traffic levels.

Have another answer? Share your knowledge.