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


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…


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.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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: