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

Posted March 22, 2016 9.9k views
Node.jsSecurityDigitalOceanConfiguration Management


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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

We have recently launched Spaces, an Object Storage product with simple pricing. See: You can use Spaces to store and serve images.

UPDATE Feb 1, 2020: I would recommend making use of the built-in CDN to serve images and other assets for better performance: